GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - INGInious/problems-custom

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
inginious-problems-custom
inginious-problems-custom
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
setup.py
setup.py
 
 

Repository files navigation

INGInious-problems-custom

Custom boxes INGInious problems.

Installing

pip3 install git+https://github.com/UCL-INGI/INGInious-problems-custom

Activating

In your configuration.yaml file, add the following plugin entry:

plugins:
  - plugin_module: "inginious-problems-custom"

Usage

The following example prints an exercise where the students must complete the foor loop fields. Boxes input are fetch using the following syntax : problemid/boxid

problems:
    problemid:
        type: custom
        header: Complete the for loop below.
        name: The for loop
        boxes:
            text1:
                type: text
                content: |-
                    .. raw:: html

                        <div class="row"><code>for(j=</code>
            for1:
                type: input-integer
                maxChars: 3
            text2:
                type: text
                content: |-
                    .. raw:: html

                        <code>; j <=</code>
            for2:
                type: input-decimal
                maxChars: 10
            text3:
                type: text
                content: |-
                    .. raw:: html

                        <code>;</code>
            for3:
                type: input-text
                maxChars: 10
            text4:
                type: text
                content: |-
                    .. raw:: html

                        <code>)</code></div>
            text5:
                type: text
                content: '``{``'
            for-content:
                type: multiline
                maxChars: 1000
                lines: 5
                language: python
            text6:
                type: text
                content: '``}``'

About

No description or website provided.

Topics

inginious

Resources

Readme
AGPL-3.0 license
Activity
Custom properties

Stars

0 stars

Watchers

4 watching

Forks

1 fork
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.