icoa-cli 2.19.70 → 2.19.71
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/commands/exam.js +4 -1
- package/package.json +1 -1
package/dist/commands/exam.js
CHANGED
|
@@ -1247,7 +1247,9 @@ export function registerExamCommand(program) {
|
|
|
1247
1247
|
const helpState = getHelpState(state);
|
|
1248
1248
|
clearExamState();
|
|
1249
1249
|
const percentage = Math.round(score / total * 100);
|
|
1250
|
-
// Report demo stats to server
|
|
1250
|
+
// Report demo stats to server (includes full interaction audit
|
|
1251
|
+
// trail so admin can see hint usage patterns, time per question,
|
|
1252
|
+
// answer changes — same data we collect for real exams).
|
|
1251
1253
|
const config = getConfig();
|
|
1252
1254
|
fetch('https://practice.icoa2026.au/api/icoa/demo-stats', {
|
|
1253
1255
|
method: 'POST',
|
|
@@ -1262,6 +1264,7 @@ export function registerExamCommand(program) {
|
|
|
1262
1264
|
tokens_used: 0,
|
|
1263
1265
|
solved: percentage >= 60 ? 1 : 0,
|
|
1264
1266
|
timestamp: new Date().toISOString(),
|
|
1267
|
+
interactions: state.interactions || [],
|
|
1265
1268
|
}),
|
|
1266
1269
|
signal: AbortSignal.timeout(5000),
|
|
1267
1270
|
}).catch(() => { });
|