* feat: log exceptions for fall-through exceptions * chore: remove unused XBlock handler * refactor: log errors for XBlock handlers * refactor: log bad ORA locations * feat: log lock/grade contest errors * feat: log output data for ESG endpoints * feat: unpack extra error info from more endpoints
Enhanced Staff Grader (ESG) App
A backend-for-frontend (BFF) for ESG. It provides endpoints at the path {lms-url}/api/ora_staff_grader/{endpoint}.
ESG is an application on top of Open Response Assessments (ORA) designed to simplify staff grading of assignments. The BFF is designed to service the ESG microfrontend (MFE) by aggregating and packaging requests to both edx-platform and edx-ora2.
The BFF includes both an API and mock API (/mock) for testing. Exercise either with the attached Postman collections (and included examples) or see Enhanced Staff Grader Data Flow Design for API reference.
Quickstart
Connect to or exercise endpoints at {lms-url}/api/ora_staff_grader/{endpoint}.
Alternatively, use the attached postman collections to perform headless testing of endpoints. Following the setup below:
- Perform headless login: in
lms.postman_collection.jsonperform theGET Logincall to generate a new CSRF token followed by aPOST Loginwith valid staff credentials to authenticate with LMS. - Configure needed envirionment variables including
{{mock}} = False - Exercise endpoints: in
ora_staff_grader.postman_collection.json