We've extracted the automated MCQ and AI-assisted unit test grading logic into a dedicated module. This cleans up multiple API endpoints by replacing duplicated code, ensuring that grading rules stay consistent whether grading a single submission or in bulk. Moving forward, updates to our evaluation algorithms will only need to happen in one place!

Refactoring complete

Refactored unit test grading logic into a centralized module to improve maintainability. - subh05sus/sparkmentis-fork