meta config file format #1

Closed
opened 2024-10-02 07:51:00 +08:00 by manuel · 3 comments
Owner

goal: provide a clear config file format that is easy to manually edit by a TA with not much knowledge

meta config files should be able to handle

  • assignment (list of all assignments)
  • exercises (list of ex for each assignment)
  • test cases specifics (extra optional features such as score, mem or cpu limits)
goal: provide a clear config file format that is easy to manually edit by a TA with not much knowledge meta config files should be able to handle - [ ] assignment (list of all assignments) - [ ] exercises (list of ex for each assignment) - [ ] test cases specifics (extra optional features such as score, mem or cpu limits)
manuel added the
enhancement
label 2024-10-02 07:51:01 +08:00
Author
Owner

refer to https://focs.ji.sjtu.edu.cn/git/JOJ/JOJ3/wiki/JOJ3-Configuration-Schema for more details

at the moment the meta config file does not meet those requirements (to complexe to write and fields missing)

for now focus on:

  • assignment list
  • exercise lits

we can add more options later

refer to https://focs.ji.sjtu.edu.cn/git/JOJ/JOJ3/wiki/JOJ3-Configuration-Schema for more details at the moment the meta config file does not meet those requirements (to complexe to write and fields missing) for now focus on: - assignment list - exercise lits we can add more options later
王韵晨520370910012 was assigned by manuel 2024-10-02 07:53:00 +08:00
樊络一521370910049 was assigned by manuel 2024-10-02 07:53:00 +08:00
李衍志523370910113 was assigned by manuel 2024-10-02 07:53:00 +08:00
Author
Owner

IMPORTANT: ignore the following comment, design changed!


from MM:

reference: https://focs.ji.sjtu.edu.cn/git/engr151-24fa/engr151-joj/src/branch/master/home/tt/.config/joj/meta-conf.toml

issue: too much duplicated info (every course will have a "fixed" format of its own). the meta config file should provide a generic format, rather than specifying it for every single tasks

eg. in 151 we should have a list of assignments: ASSIGNMENTS="h1 h2 h3 h4 h5 h6 h7 h8 p1 p2 p3"
then something like: h1="1 2 3 4 5 6" (or h1="1-6" or h1=6 (for exercises from 1 to 6)) and p2="m1 m2 m3" list of patterns that can be tested on joj

on gitea/server the corresponding dir structure would be h1/1/ contains all files for h1 ex1 and p2/m1 the files for p2m1

to run joj students should commit with joj: h1 2 or joj: p2 m1

IMPORTANT: ignore the following comment, design changed! ---- from MM: reference: https://focs.ji.sjtu.edu.cn/git/engr151-24fa/engr151-joj/src/branch/master/home/tt/.config/joj/meta-conf.toml issue: too much duplicated info (every course will have a "fixed" format of its own). the meta config file should provide a generic format, rather than specifying it for every single tasks eg. in 151 we should have a list of assignments: `ASSIGNMENTS="h1 h2 h3 h4 h5 h6 h7 h8 p1 p2 p3"` then something like: `h1="1 2 3 4 5 6"` (or h1="1-6" or h1=6 (for exercises from 1 to 6)) and `p2="m1 m2 m3"` list of patterns that can be tested on joj on gitea/server the corresponding dir structure would be `h1/1/` contains all files for h1 ex1 and `p2/m1` the files for p2m1 to run joj students should commit with `joj: h1 2` or `joj: p2 m1`
Author
Owner

outdated, closing

outdated, closing
Sign in to join this conversation.
No Milestone
No project
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#1
No description provided.