ZINC-FYP-2022-23 / console

ZINC UI for teaching assistants
1 stars 0 forks source link

Auto-generate Expected Output of Test Cases #45

Open AnsonH opened 1 year ago

AnsonH commented 1 year ago

:warning: Dependencies

Do NOT merge this PR to master blindly! This PR depends on multiple features in other repos. Please deploy these changes in the given order:

  1. Grader - Support of the "Auto-generate expected output of test cases" feature in the StdioTest stage.
    • i.e., temp/feature/autogenerate-testcase is merged to stable branch
  2. Webhook a. Skip grade immediately if submission is already extracted b. New /decompression hook to trigger decompression manually
  3. Student UI - Auto-generate Expected Output of Test Cases
  4. Merge this PR to console's master
  5. Hasura Server - Remove Decompression event trigger in submissions table

The motivation for Steps 2 and 5 is explained here.

Description

This PR integrates the StdioTest stage's "auto-generate expected output of test cases" feature. If it is on, TAs can simply submit the assignment's solutions and the Grader will automatically generate the expected output of each test case in the StdioTest stage.

Changes

UI Changes:

Stage Reports:

API:

Screenshots

GUI Assignment Builder

Submissions Page

Stage Report