-
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for multiple-correct-weighted answer key (#166)
* feat: support for multiple-correct-weighted answer key; minor refactor evaluation schema * fix: update validation
- Loading branch information
1 parent
f9f6dc3
commit c448e0c
Showing
18 changed files
with
295 additions
and
142 deletions.
There are no files selected for viewing
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
samples/sample2/answer_key.csv → samples/answer-key/using-csv/answer_key.csv
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
q1,B | ||
q1,C | ||
q2,E | ||
q3,A | ||
q4,C | ||
q4,B | ||
q5,B |
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"pageDimensions": [ | ||
300, | ||
400 | ||
], | ||
"bubbleDimensions": [ | ||
25, | ||
25 | ||
], | ||
"preProcessors": [ | ||
{ | ||
"name": "CropPage", | ||
"options": { | ||
"morphKernel": [ | ||
10, | ||
10 | ||
] | ||
} | ||
} | ||
], | ||
"fieldBlocks": { | ||
"MCQ_Block_1": { | ||
"fieldType": "QTYPE_MCQ5", | ||
"origin": [ | ||
65, | ||
60 | ||
], | ||
"fieldLabels": [ | ||
"q1..5" | ||
], | ||
"labelsGap": 52, | ||
"bubblesGap": 41 | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"source_type": "custom", | ||
"options": { | ||
"questions_in_order": [ | ||
"q1..5" | ||
], | ||
"answers_in_order": [ | ||
"C", | ||
"E", | ||
[ | ||
"A", | ||
"C" | ||
], | ||
[ | ||
[ | ||
"B", | ||
2 | ||
], | ||
[ | ||
"C", | ||
"3/2" | ||
] | ||
], | ||
"C" | ||
], | ||
"should_explain_scoring": true | ||
}, | ||
"marking_schemes": { | ||
"DEFAULT": { | ||
"correct": "3", | ||
"incorrect": "-1", | ||
"unmarked": "0" | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"pageDimensions": [ | ||
300, | ||
400 | ||
], | ||
"bubbleDimensions": [ | ||
25, | ||
25 | ||
], | ||
"preProcessors": [ | ||
{ | ||
"name": "CropPage", | ||
"options": { | ||
"morphKernel": [ | ||
10, | ||
10 | ||
] | ||
} | ||
} | ||
], | ||
"fieldBlocks": { | ||
"MCQ_Block_1": { | ||
"fieldType": "QTYPE_MCQ5", | ||
"origin": [ | ||
65, | ||
60 | ||
], | ||
"fieldLabels": [ | ||
"q1..5" | ||
], | ||
"labelsGap": 52, | ||
"bubblesGap": 41 | ||
} | ||
} | ||
} |
This file contains 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 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 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 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 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.