alexsys-exam-renderer 0.1.44 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/exam-session/examPoints.d.ts +15 -0
- package/dist/exam-session/examPoints.d.ts.map +1 -1
- package/dist/index.js +1201 -1159
- package/dist/renderer/QuestionRenderer.d.ts +14 -1
- package/dist/renderer/QuestionRenderer.d.ts.map +1 -1
- package/dist/renderer/contentDirection.d.ts +3 -1
- package/dist/renderer/contentDirection.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -1
|
@@ -44,6 +44,21 @@ export declare function requiresDeferredAiScoring(question: QuestionBlock): ques
|
|
|
44
44
|
blocks: import("./examSessionTypes").GuidedWrittenResponseBlock[];
|
|
45
45
|
type: "guided-written-response";
|
|
46
46
|
});
|
|
47
|
+
/**
|
|
48
|
+
* Total shown in the section header and on the printed paper. Unlike
|
|
49
|
+
* {@link getSectionMaxScore} it counts the answers graded later by the AI: they
|
|
50
|
+
* carry a teacher-defined score, they are simply absent from the offline result.
|
|
51
|
+
* A section made only of those answers used to display 0.
|
|
52
|
+
*/
|
|
53
|
+
export declare function getSectionDisplayMaxScore(section: ExamSection): number;
|
|
54
|
+
/**
|
|
55
|
+
* Every question that counts towards the paper's total, AI-graded ones included.
|
|
56
|
+
* The builder stores those with `isScored: false` — they stay out of the offline
|
|
57
|
+
* result — while they still carry the score the teacher typed, which the printed
|
|
58
|
+
* paper has always shown. Filtering on that flag emptied whole sections.
|
|
59
|
+
*/
|
|
60
|
+
export declare function isQuestionGraded(question: QuestionBlock): boolean;
|
|
61
|
+
export declare function getQuestionDisplayMaxScore(question: QuestionBlock): number;
|
|
47
62
|
export declare function getSectionMaxScoreLabel(section: ExamSection): string;
|
|
48
63
|
export declare function withDerivedSectionScore(section: ExamSection): ExamSection;
|
|
49
64
|
//# sourceMappingURL=examPoints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"examPoints.d.ts","sourceRoot":"","sources":["../../src/exam-session/examPoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAGpE,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,UAKxD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,UAG7C;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,UAI1D;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,WAI5D;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,UAiBtD;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,aAAa,WAMvD;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIhE;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW,UAE3D;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW,CAKzE"}
|
|
1
|
+
{"version":3,"file":"examPoints.d.ts","sourceRoot":"","sources":["../../src/exam-session/examPoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAGpE,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,UAKxD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,UAG7C;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,UAI1D;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,WAI5D;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,UAiBtD;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,aAAa,WAMvD;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAA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