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

Realistic fixtures #415

Merged
merged 7 commits into from
May 13, 2024
Merged

Realistic fixtures #415

merged 7 commits into from
May 13, 2024

Conversation

Topvennie
Copy link
Contributor

@Topvennie Topvennie commented May 11, 2024

Fixtures changes

  • Fixture now load in properly as well as a new type of fixture: realistic

  • Small, Medium en Large fixtures no longer contain

    • Docker images
    • Extra Checks
    • Extra Check Results
  • Realistic fixtures have been added

    • Load them in using ./development.sh -d real
    • Include working docker images and extra checks
    • Only load them in using ./development.sh -d real. Doing it manual will not always work.

The realistic fixtures have the following data

  • Courses

    • Course 1

      • Introduction to Computer Science
      • 2 teachers
      • 3 Assistants
      • 4 Studenten
      • 3 Projecten
        • Project 1
          - Name: Python
          • Open
          • Group size 3
            • Group 1 [2/3]
              • Submission 1
                • Non Valid
                • Checks Succeed
              • Submission 2
                • Valid
                • Checks Succeed
            • Group 2 [2/3]
              • Submission 1
                • Valid
                • Structure Checks Fail
              • Submission 2
                • Valid
                • Extra Checks Fail
            • Group 3 [0/3]
          • 1 structure check
            • Obligate .py in root (specifically main.py)
          • 2 extra checks
            • Runs main.py in root and exits the scrip with the same exit code as the main.py file
              • Docker image: Python
              • Time limit: 10 seconds
              • Memory limit: 50 MB
              • Log file: Unavailable (for students)
            • Generates some random characters and prints to console
              • Docker image: Ubuntu
              • Time limit: 30 seconds
              • Memory limit: 128 MB
              • Log file: Available (for students)
        • Project 2
          - Name: Java
          • Group size 3
            • Group 1 [3/3]
            • Group 2 [1/3]
          • Open
          • 2 structure checks
            • Obligate .java and block .class in src/
            • Obligate .pdf in verslag/
          • 0 extra checks
        • Project 3
          - Name: Javascript
          • Closed
          • Group size 1
            • Group 1 [1/1]
            • Group 2 [1/1]
            • Group 3 [1/1]
            • Group 4 [1/1]
          • 0 structure checks
          • 0 extra checks
    • Course 2

      • Name: The frog and its anatomy
      • 1 Teacher
      • 2 Assistants
      • 2 Students
      • 1 Project
        • Project 1
          - Name: Dissect a Frog
          • Open
          • Group size 2
            • Group 1 [1/2]
          • 1 structure check
            • Obligate .pdf in root
          • 0 extra checks
  • Docker images

    • Python
    • Node
    • Ubuntu

Closes #371

@Topvennie Topvennie added this to the Final milestone milestone May 11, 2024
@Topvennie Topvennie requested a review from DeLany123 May 11, 2024 14:34
@Topvennie Topvennie self-assigned this May 11, 2024
@DeLany123 DeLany123 merged commit 29c73f1 into development May 13, 2024
3 checks passed
@DeLany123 DeLany123 deleted the realistic_fixtures branch May 13, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fixtures for debugpurposes
2 participants