Skip to main content

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
        priority: 3000
        button: true
    weighted_mean:
        enabled: true
        weighting: 0.25
        round: true
        round_digits: 2
    task_list_bars:
        total_grade:
            enabled: true
            label: Grade
        base_grade:
            enabled: true
            label: Completion
        style_grade:
            enabled: true
            label: Coding Style
    show_graders: false

Developer Notes

This plugin uses htmx to provide some interactivity.

Release files for inginious-coding-style 1.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inginious-coding-style 1.5.3
File Size Uploaded
inginious-coding-style-1.5.3.tar.gz 43.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inginious-coding-style 1.5.3
File Interpreter ABI Platform
inginious_coding_style-1.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 97.7 kB

Release files / inginious-coding-style-1.5.3.tar.gz

Download URL inginious-coding-style-1.5.3.tar.gz
Size 43.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d70ae77a7084cf2ad03e9c5773d7b4b8be1ee3fdfa469bf83406c40fcf5a31c8
BLAKE2b-256 checksum
How to use checksums
80455935bc2e6c635b1e374f50056a2477eed66c4f5c47edc181cca6292c21ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.8.6 Darwin/18.0.0

Release files / inginious_coding_style-1.5.3-py3-none-any.whl

Download URL inginious_coding_style-1.5.3-py3-none-any.whl
Size 54.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae14391905a2e1c44a5e701e977a88d8a02d02f2df829f90bd82bbbb564ed673
BLAKE2b-256 checksum
How to use checksums
d6b590a89f90e1d9bd97ab452a8bdf34db2ccdac55e4274cc2ebb639df3d86d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.8.6 Darwin/18.0.0

Release history Release notifications | RSS feed

This release

1.5.3 This release

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page