|
Ran
|
Files
452
|
Run time
11s
|
Badge
README BADGES
|
push
github
CP3108 SR AI-powered marking (#3126) * Add Grading comment selector basic UI * Connect to backend * Content changes not found but are showing up as changed * Hide generate comment button if no LLM prompt * Input field for API key during Course creation * Add input field for enabling LLM Grading * Disable comment selector if llm grading not enabled * Added LLM API Key input and integration with backend * Add to the course editing panel for llm grading and api key * Update localStorage.ts Fix redux state not saving issue * Add save chosen and final comment feature Comment selector can now handle selecting multiple suggestions * Add Spinner when generating comments * Update to show API Key as password field * Fix format * Revert "Content changes not found but are showing up as changed" This reverts commit 780a269f0. * Edit frontend to load previous AI comments by default * Moves api key, api url, llm model and course prompt to course level * Add tooltip about formatting instructions * style * Add view "composed prompt" in the grading editor view * Remove un-used 'save comments' * typo * Add copy prompt to clipboard * Fix typo * Fix bug preventing avengers from generating ai comments * Fix TS errors * Fix more TS errors! * fix some style issues * Update src/pages/academy/grading/subcomponents/GradingEditor.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/commons/dropdown/DropdownCreateCourse.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Work on comments * Small style fix * Abstract styles to scss modules * Remove llmApiKey from any kind of storage on FE * Re-format ai_comments to reference answer_id instead * Merge all prompts into :prompts --------- Co-authored-by: tkaixiang <tkaixiang@gmail.com>
1918 of 5737 branches covered (33.43%)
Branch coverage included in aggregate %.
4847 of 11272 relevant lines covered (43.0%)
28.54 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|