Pocro Vento Documentation

Backend: Rezultati certificiranja

Last modified with commit e90a924 on by Aljaž.

Backend task for the results page (GET /btc-certifications/{certificationId}/results, POST /written-exam-scores) – check the Usmeni ispit average, the pass rule and the komisija overview against the API spec and DB structure, permissions, implement, and verify with a hand-calculated example.

Docs: Rezultati certificiranja Spec: GET /btc-certifications/{certificationId}/results (getBtcCertificationResults), POST /btc-certifications/{certificationId}/written-exam-scores (setBtcCertificationWrittenExamScores), BtcCertificationResults, BtcWrittenExamScore in api-docs/openapi.yaml DB: BtcCertificationGrades, BtcCertificationCandidates, BtcCertificationWrittenExamScores, BtcCertificationBoardMembers 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, the trainer can enter Pismeni ispit, and the numbers and Prošao / Nije prošao match the hand-calculated example.