Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide more generality for later assignments #10

Open
willGraham01 opened this issue Oct 11, 2024 · 0 comments
Open

Provide more generality for later assignments #10

willGraham01 opened this issue Oct 11, 2024 · 0 comments

Comments

@willGraham01
Copy link
Collaborator

The current checker works well for 2023-24, which is the year it was hastily written for. However it is very clunky if the assignment for the following year has a slightly different file structure, or naming conventions.

A quick redesign of how assignments are stored and interpreted should address this. Instead of defining assignments as hard-coded objects, we will provide them as .yaml files with certain keywords for directories, option/compulsory files, etc.

- name: Assignment 20YY-YY
- number: 01 # or 02 or LSA
- structure:
  - candidate_number:
    - directory: True
    - next_folder_down:
      - directory: True
      - git-root: True
      - file_1:
        - type: ".py"
        - compulsory: True
      - file_2:
        - type: ".py"
        - compulsory: False
      - report:
        - directory: True
        - file_1:
          - type: ".md"
          - compulsory: True
        - file_2:
          - type: ".pdf"
          - compulsory: False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant