No project description provided
Project description
INGInious Coding Style
INGInious Coding Style is a plugin for INGInious 0.7 and up that allows tutors to grade several aspect of student submissions' coding style.
INGInious Coding Style should be easy to use for both tutors and students. The plugin adds new buttons and elements to various existing menus in the application that can be used to add and view coding style grades.
Documentation
Full documentation can be found here: https://pederha.github.io/inginious-coding-style/
Installation
pip install inginious-coding-style
Configuration
INGInious Coding Style is highly configurable and provides granular control of the majority of its features. Despite this, extensive configuration is not necessary, as the plugin tries to implement sensible defaults, and therefore should just work straight out of the box.
Minimal Configuration
The following YAML snippet provides the default plugin configuration, and is a good starting point for exploring the plugin's functionality:
plugins:
- plugin_module: inginious_coding_style
name: "INGInious Coding Style"
Full Configuration
Below is an example of a configuration making use of all available configuration options.
plugins:
- plugin_module: inginious_coding_style
name: "INGInious Coding Style"
enabled:
# This enables all default categories + 1 custom category
- comments
- modularity
- structure
- idiomaticity
- coolness # Our custom category
categories:
# This is a definition for a new category
- id: coolness
name: Coolness
description: How cool the code looks B-)
# This redefines a default category
- id: comments
name: Kommentering
description: Hvor godt kommentert koden er.
submission_query:
header: CSG
button: true
priority: 3000
weighted_mean:
enabled: false
weighting: 0.25
task_list_bar: true
TODO
User Features
- Make each coding style grade progress bar on
/course/<courseid>
a clickable element that links to the relevant coding style grades page (/submission/<submissionid>/codingstyle
) for the relevant task.
Admin/Tutor Features
- Add
graded_by: List[str]
attribute toCodingStyleGrades
to record which admin/tutor graded the submission's coding style.
Plugin Configuration
- Add ability to enable/disable grading categories on a per-course basis.
- Add ability to enable/disable plugin on a per course-basis.
Robustness
- Better exception handling for Pydantic
ValidationError
. If something fails to validate, we should be able to display human-readable messages both in the web interface and in the logs.
Developer Notes
This plugin uses htmx to provide some interactivity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for inginious-coding-style-1.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e192f36d4f438e774864c8bd397ae9fc84d7a99c2ee0622fe250024565e0e5ab |
|
MD5 | 47dea380e812b4f470d8d55a0a8f25aa |
|
BLAKE2b-256 | 75d98fb852bfe3f1e4e05f19032c8014a4832c1734a6746b109f5d0e4ca4051e |
Hashes for inginious_coding_style-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47001264353ffb811a06da6e27bab79ae6b6402088fccc81a4e1584dc39a5cc7 |
|
MD5 | 0fe0d35a8df2d41bfff03e5242675102 |
|
BLAKE2b-256 | 41d03bdfdbe4681806e8033159fdfb64eae09f44f5a1060eb9ae68c6030fcbf2 |