-
Notifications
You must be signed in to change notification settings - Fork 7
Calculate new "marks" field for question attempts in the database #731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sjd210
wants to merge
39
commits into
main
Choose a base branch
from
improvement/count-llm-marks-seperately
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+172
−40
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
ede6582
Add alternate state logic for LLM question parts
sjd210 1bfd46e
Add function to extract attempts by question ID
sjd210 2a4b1bf
Read marksAwarded value for LLMFreeText responses
sjd210 983de47
Change question correctness threshold to maxMarks
sjd210 501149d
Clean up experimental code
sjd210 c76f5f0
Adapt retrieval function response type as argument
sjd210 02d68a4
Merge branch 'main' into improvement/count-llm-marks-seperately
sjd210 7a6e2e3
Migrate database to add mark to question_attempts
sjd210 92203a6
Convert database migration query to split by dates
sjd210 9230a55
Update tests to new LLMFreeText correct definition
sjd210 a02f051
Update postgres functions to process marks field
sjd210 f2c4fd4
Add marks to test question_attempts table
sjd210 2700c48
Add marks to lightweight response
sjd210 0b5809d
Add marks to lightweight responses in tests
sjd210 248a000
Allow QuestionValidationResponse to derive marks
sjd210 696ecdf
Also add marks field to quiz_question_attempts
sjd210 c982579
Remove question ID extraction code
sjd210 d4e0cd9
Augment game items with new marks field
sjd210 36a60e7
Update migration script dates split ranges
sjd210 13a1077
Restructure update_marks function as a scalar
sjd210 a62e73f
Move game item augmentation to another branch
sjd210 1874716
Add marks to QuestionValidationResponseDTO
sjd210 733d777
Correct syntax error
sjd210 4cd2ea1
Simplify conditional
sjd210 351d514
Replace marksAwarded with marks in LLM response
sjd210 b750792
Allow quiz question attempt to register with marks
sjd210 05b8e3c
Cleanup unnecessary changes
sjd210 ecd6cf4
Replace placeholder database access code
sjd210 00db082
Remove unused imports
sjd210 9f6d09a
Reorder marks column to be after correct
sjd210 7b16212
Fully replace marksAwarded field in LLM response
sjd210 08263ed
Reset correctness criteria on LLM-marked questions
sjd210 bedca79
Correct SQL table representation
sjd210 43a51be
Reset LLM question test correctness criteria
sjd210 3ae21ff
Replace space with tab
sjd210 7541eba
Explicitly cast null marks to 0
sjd210 07c9d40
Replace another space with tab to fix test
sjd210 108d55a
Explicitly ignore "marksAwarded" field in Jackson
sjd210 accaa39
Update script to add but not update columns first
sjd210 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 2 additions & 8 deletions
10
src/main/java/uk/ac/cam/cl/dtg/isaac/dto/LLMFreeTextQuestionValidationResponseDTO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.