assignment level toml config #28

Closed
opened 2025-09-25 15:08:40 +08:00 by manuel · 1 comment
Owner

Goal: shorten toml config files

Assignments are often composed of several tasks, eg. h1/ex1 h1/ex2 etc.

@bomingzh has added a stage.base_case_dir option which saves the definition of each test case. however the rest of the config still needs to be copy/pasted (eg. compile or cq stages)

having an option include = [ "ex1", "ex2", "ex3" ] would make things way easier/faster/more flexible and less prone to copy/paste mistakes.

at least for simple configuration setups this would likely mean

  • cat the task level toml config files
  • drop a few lines, eg. name
  • adjust the path of test cases (and possibly other task specific files? (not sure if there is any course having such files))
Goal: shorten toml config files Assignments are often composed of several tasks, eg. `h1/ex1 h1/ex2` etc. @bomingzh has added a `stage.base_case_dir` option which saves the definition of each test case. however the rest of the config still needs to be copy/pasted (eg. compile or cq stages) having an option `include = [ "ex1", "ex2", "ex3" ]` would make things way easier/faster/more flexible and less prone to copy/paste mistakes. at least for simple configuration setups this would likely mean - cat the task level toml config files - drop a few lines, eg. `name` - adjust the path of test cases (and possibly other task specific files? (not sure if there is any course having such files))
manuel added the
enhancement
help wanted
labels 2025-09-25 15:08:40 +08:00
Author
Owner

hard to implement, workaround with

  • basedir for test cases
  • makefile for compilation (and similar stages)
hard to implement, workaround with - `basedir` for test cases - makefile for compilation (and similar stages)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JOJ/JOJ3-config-generator#28
No description provided.