Pocro Vento Documentation

Backend: Assessment results

GitHub Issue: #228

Last modified with commit 374306c on by Aljaž.

Backend task for the results page (GET /assessments/{assessmentId}/results, POST /written-test-grades) – check the calculation rules against the API spec and DB structure, permissions, implement, and verify with a hand-calculated example.

Docs: Assessment results Spec: GET /assessments/{assessmentId}/results (getAssessmentResults), POST /assessments/{assessmentId}/written-test-grades (setAssessmentWrittenTestGrades), AssessmentResults, AssessmentWrittenTestGrade in api-docs/openapi.yaml DB: AssessmentGrades, AssessmentCandidates, AssessmentWrittenTestGrades, AssessmentBoardMembers in api/database/create_schema.sql

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

The results page and CSV can be built from the API, and the numbers match the hand-calculated example.