@intellectif/lk-core 1.12.0 → 1.13.0

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/ai-check.cjs +2 -2
  4. package/dist/ai-check.d.cts +1 -1
  5. package/dist/ai-check.d.ts +1 -1
  6. package/dist/ai-check.js +2 -2
  7. package/dist/{ai-Cu17iVHa.d.ts → ai-hC5pGYeu.d.cts} +122 -5
  8. package/dist/ai-hC5pGYeu.d.cts.map +1 -0
  9. package/dist/{ai-Cu17iVHa.d.cts → ai-hC5pGYeu.d.ts} +122 -5
  10. package/dist/ai-hC5pGYeu.d.ts.map +1 -0
  11. package/dist/{ai-writing-gO4GRscd.cjs → ai-writing-BDSYuifR.cjs} +18 -5
  12. package/dist/ai-writing-BDSYuifR.cjs.map +1 -0
  13. package/dist/{ai-writing-BgeeCOl7.js → ai-writing-Dsmvv4T-.js} +18 -5
  14. package/dist/ai-writing-Dsmvv4T-.js.map +1 -0
  15. package/dist/{index-CpamCGyZ.d.cts → index-4x0auNOv.d.cts} +2 -2
  16. package/dist/{index-CpamCGyZ.d.cts.map → index-4x0auNOv.d.cts.map} +1 -1
  17. package/dist/{index-DjZ1vIVg.d.cts → index-BlJU10O4.d.cts} +26 -4
  18. package/dist/index-BlJU10O4.d.cts.map +1 -0
  19. package/dist/{index-BfUyl6ml.d.ts → index-DVW_N4pJ.d.ts} +26 -4
  20. package/dist/index-DVW_N4pJ.d.ts.map +1 -0
  21. package/dist/{index-BTZWUwOe.d.ts → index-Dlei-7PX.d.ts} +2 -2
  22. package/dist/{index-BTZWUwOe.d.ts.map → index-Dlei-7PX.d.ts.map} +1 -1
  23. package/dist/{index-DYnacygI.d.cts → index-DohEHH10.d.cts} +2 -2
  24. package/dist/{index-DYnacygI.d.cts.map → index-DohEHH10.d.cts.map} +1 -1
  25. package/dist/{index-B1zEN1Ur.d.ts → index-Du9Kx_H6.d.ts} +2 -2
  26. package/dist/{index-B1zEN1Ur.d.ts.map → index-Du9Kx_H6.d.ts.map} +1 -1
  27. package/dist/index.cjs +11 -7
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +14 -13
  30. package/dist/index.d.cts.map +1 -1
  31. package/dist/index.d.ts +14 -13
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +11 -7
  34. package/dist/index.js.map +1 -1
  35. package/dist/{item-group-CRZNJ08j.cjs → item-group-CqdByaLR.cjs} +54 -22
  36. package/dist/item-group-CqdByaLR.cjs.map +1 -0
  37. package/dist/{item-group-CnlBLM9Z.js → item-group-vTcNy2JF.js} +54 -22
  38. package/dist/item-group-vTcNy2JF.js.map +1 -0
  39. package/dist/{registry-BClnM5V3.js → registry-Cn2it-y7.js} +387 -3
  40. package/dist/registry-Cn2it-y7.js.map +1 -0
  41. package/dist/{registry-DgLcT4rZ.cjs → registry-DUTE1vtq.cjs} +387 -3
  42. package/dist/registry-DUTE1vtq.cjs.map +1 -0
  43. package/dist/{schemas-BA8Y8z-S.cjs → schemas-BrA6CFWz.cjs} +3 -3
  44. package/dist/{schemas-BA8Y8z-S.cjs.map → schemas-BrA6CFWz.cjs.map} +1 -1
  45. package/dist/{schemas-VZnN68qG.js → schemas-DlxeS7Lu.js} +3 -3
  46. package/dist/{schemas-VZnN68qG.js.map → schemas-DlxeS7Lu.js.map} +1 -1
  47. package/dist/schemas.cjs +3 -3
  48. package/dist/schemas.d.cts +2 -2
  49. package/dist/schemas.d.ts +2 -2
  50. package/dist/schemas.js +3 -3
  51. package/dist/{scoring-Cfu_2qQ1.cjs → scoring-IjLi2fYF.cjs} +2 -2
  52. package/dist/{scoring-Cfu_2qQ1.cjs.map → scoring-IjLi2fYF.cjs.map} +1 -1
  53. package/dist/{scoring-BxDiwN7I.js → scoring-weQ4SzwB.js} +2 -2
  54. package/dist/{scoring-BxDiwN7I.js.map → scoring-weQ4SzwB.js.map} +1 -1
  55. package/dist/scoring.cjs +2 -2
  56. package/dist/scoring.d.cts +2 -2
  57. package/dist/scoring.d.ts +2 -2
  58. package/dist/scoring.js +2 -2
  59. package/dist/{xapi-BhROEuZQ.cjs → xapi-BqEbpWag.cjs} +2 -2
  60. package/dist/{xapi-BhROEuZQ.cjs.map → xapi-BqEbpWag.cjs.map} +1 -1
  61. package/dist/{xapi-BitXmAYB.js → xapi-DbRVH_RB.js} +2 -2
  62. package/dist/{xapi-BitXmAYB.js.map → xapi-DbRVH_RB.js.map} +1 -1
  63. package/dist/xapi.cjs +1 -1
  64. package/dist/xapi.d.cts +1 -1
  65. package/dist/xapi.d.ts +1 -1
  66. package/dist/xapi.js +1 -1
  67. package/package.json +1 -1
  68. package/vectors/scoring.json +934 -1
  69. package/vectors/validation.json +827 -1
  70. package/dist/ai-Cu17iVHa.d.cts.map +0 -1
  71. package/dist/ai-Cu17iVHa.d.ts.map +0 -1
  72. package/dist/ai-writing-BgeeCOl7.js.map +0 -1
  73. package/dist/ai-writing-gO4GRscd.cjs.map +0 -1
  74. package/dist/index-BfUyl6ml.d.ts.map +0 -1
  75. package/dist/index-DjZ1vIVg.d.cts.map +0 -1
  76. package/dist/item-group-CRZNJ08j.cjs.map +0 -1
  77. package/dist/item-group-CnlBLM9Z.js.map +0 -1
  78. package/dist/registry-BClnM5V3.js.map +0 -1
  79. package/dist/registry-DgLcT4rZ.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$comment": "Grade-stability corpus for @intellectif/lk-core. Generated by scripts/generate-vectors.mjs from the built package; never edit expectations by hand. Replay with vectors/replay.mjs. See vectors/README.md.",
3
3
  "corpusVersion": 2,
4
- "frozenFrom": "@intellectif/lk-core@1.9.0",
4
+ "frozenFrom": "@intellectif/lk-core@1.12.0",
5
5
  "vectors": [
6
6
  {
7
7
  "args": [
@@ -2091,6 +2091,939 @@
2091
2091
  "fn": "evaluate",
2092
2092
  "id": "evaluate/gs/scored"
2093
2093
  },
2094
+ {
2095
+ "args": [
2096
+ "matching",
2097
+ {
2098
+ "id": "mt-headings",
2099
+ "instructions": "Choose the correct heading for each paragraph.",
2100
+ "optionUse": "once",
2101
+ "options": [
2102
+ {
2103
+ "id": "i",
2104
+ "label": "i",
2105
+ "text": "A costly experiment"
2106
+ },
2107
+ {
2108
+ "id": "ii",
2109
+ "label": "ii",
2110
+ "text": "Why the trams disappeared"
2111
+ },
2112
+ {
2113
+ "id": "iii",
2114
+ "label": "iii",
2115
+ "text": "A return nobody expected"
2116
+ },
2117
+ {
2118
+ "id": "iv",
2119
+ "label": "iv",
2120
+ "text": "The view from the passengers"
2121
+ }
2122
+ ],
2123
+ "optionsTitle": "List of Headings",
2124
+ "prompts": [
2125
+ {
2126
+ "correctOptionId": "ii",
2127
+ "id": "pA",
2128
+ "text": "Paragraph A"
2129
+ },
2130
+ {
2131
+ "correctOptionId": "iii",
2132
+ "id": "pB",
2133
+ "text": "Paragraph B"
2134
+ },
2135
+ {
2136
+ "correctOptionId": "i",
2137
+ "feedback": "Look at the second sentence.",
2138
+ "id": "pC",
2139
+ "text": "Paragraph C"
2140
+ }
2141
+ ],
2142
+ "schemaVersion": "1.0",
2143
+ "scoringStrategy": "partial",
2144
+ "title": "The return of the tram",
2145
+ "type": "matching"
2146
+ },
2147
+ {
2148
+ "matches": {
2149
+ "pA": "ii",
2150
+ "pB": "iii",
2151
+ "pC": "i"
2152
+ },
2153
+ "type": "matching"
2154
+ }
2155
+ ],
2156
+ "expect": {
2157
+ "details": [
2158
+ {
2159
+ "correctResponse": ["ii"],
2160
+ "itemId": "pA",
2161
+ "learnerResponse": ["ii"],
2162
+ "outcome": "correct",
2163
+ "weight": 1
2164
+ },
2165
+ {
2166
+ "correctResponse": ["iii"],
2167
+ "itemId": "pB",
2168
+ "learnerResponse": ["iii"],
2169
+ "outcome": "correct",
2170
+ "weight": 1
2171
+ },
2172
+ {
2173
+ "correctResponse": ["i"],
2174
+ "itemId": "pC",
2175
+ "learnerResponse": ["i"],
2176
+ "outcome": "correct",
2177
+ "weight": 1
2178
+ }
2179
+ ],
2180
+ "feedback": null,
2181
+ "maxScore": 1,
2182
+ "passed": true,
2183
+ "score": 1
2184
+ },
2185
+ "fn": "score",
2186
+ "id": "score/mt/partial/all-right"
2187
+ },
2188
+ {
2189
+ "args": [
2190
+ "matching",
2191
+ {
2192
+ "id": "mt-headings",
2193
+ "instructions": "Choose the correct heading for each paragraph.",
2194
+ "optionUse": "once",
2195
+ "options": [
2196
+ {
2197
+ "id": "i",
2198
+ "label": "i",
2199
+ "text": "A costly experiment"
2200
+ },
2201
+ {
2202
+ "id": "ii",
2203
+ "label": "ii",
2204
+ "text": "Why the trams disappeared"
2205
+ },
2206
+ {
2207
+ "id": "iii",
2208
+ "label": "iii",
2209
+ "text": "A return nobody expected"
2210
+ },
2211
+ {
2212
+ "id": "iv",
2213
+ "label": "iv",
2214
+ "text": "The view from the passengers"
2215
+ }
2216
+ ],
2217
+ "optionsTitle": "List of Headings",
2218
+ "prompts": [
2219
+ {
2220
+ "correctOptionId": "ii",
2221
+ "id": "pA",
2222
+ "text": "Paragraph A"
2223
+ },
2224
+ {
2225
+ "correctOptionId": "iii",
2226
+ "id": "pB",
2227
+ "text": "Paragraph B"
2228
+ },
2229
+ {
2230
+ "correctOptionId": "i",
2231
+ "feedback": "Look at the second sentence.",
2232
+ "id": "pC",
2233
+ "text": "Paragraph C"
2234
+ }
2235
+ ],
2236
+ "schemaVersion": "1.0",
2237
+ "scoringStrategy": "partial",
2238
+ "title": "The return of the tram",
2239
+ "type": "matching"
2240
+ },
2241
+ {
2242
+ "matches": {
2243
+ "pA": "ii",
2244
+ "pB": "iv",
2245
+ "pC": "i"
2246
+ },
2247
+ "type": "matching"
2248
+ }
2249
+ ],
2250
+ "expect": {
2251
+ "details": [
2252
+ {
2253
+ "correctResponse": ["ii"],
2254
+ "itemId": "pA",
2255
+ "learnerResponse": ["ii"],
2256
+ "outcome": "correct",
2257
+ "weight": 1
2258
+ },
2259
+ {
2260
+ "correctResponse": ["iii"],
2261
+ "itemId": "pB",
2262
+ "learnerResponse": ["iv"],
2263
+ "outcome": "incorrect",
2264
+ "weight": 1
2265
+ },
2266
+ {
2267
+ "correctResponse": ["i"],
2268
+ "itemId": "pC",
2269
+ "learnerResponse": ["i"],
2270
+ "outcome": "correct",
2271
+ "weight": 1
2272
+ }
2273
+ ],
2274
+ "feedback": null,
2275
+ "maxScore": 1,
2276
+ "passed": false,
2277
+ "score": 0.6666666666666666
2278
+ },
2279
+ "fn": "score",
2280
+ "id": "score/mt/partial/one-wrong"
2281
+ },
2282
+ {
2283
+ "args": [
2284
+ "matching",
2285
+ {
2286
+ "id": "mt-headings",
2287
+ "instructions": "Choose the correct heading for each paragraph.",
2288
+ "optionUse": "once",
2289
+ "options": [
2290
+ {
2291
+ "id": "i",
2292
+ "label": "i",
2293
+ "text": "A costly experiment"
2294
+ },
2295
+ {
2296
+ "id": "ii",
2297
+ "label": "ii",
2298
+ "text": "Why the trams disappeared"
2299
+ },
2300
+ {
2301
+ "id": "iii",
2302
+ "label": "iii",
2303
+ "text": "A return nobody expected"
2304
+ },
2305
+ {
2306
+ "id": "iv",
2307
+ "label": "iv",
2308
+ "text": "The view from the passengers"
2309
+ }
2310
+ ],
2311
+ "optionsTitle": "List of Headings",
2312
+ "prompts": [
2313
+ {
2314
+ "correctOptionId": "ii",
2315
+ "id": "pA",
2316
+ "text": "Paragraph A"
2317
+ },
2318
+ {
2319
+ "correctOptionId": "iii",
2320
+ "id": "pB",
2321
+ "text": "Paragraph B"
2322
+ },
2323
+ {
2324
+ "correctOptionId": "i",
2325
+ "feedback": "Look at the second sentence.",
2326
+ "id": "pC",
2327
+ "text": "Paragraph C"
2328
+ }
2329
+ ],
2330
+ "schemaVersion": "1.0",
2331
+ "scoringStrategy": "partial",
2332
+ "title": "The return of the tram",
2333
+ "type": "matching"
2334
+ },
2335
+ {
2336
+ "matches": {
2337
+ "pA": "ii",
2338
+ "pC": "i"
2339
+ },
2340
+ "type": "matching"
2341
+ }
2342
+ ],
2343
+ "expect": {
2344
+ "details": [
2345
+ {
2346
+ "correctResponse": ["ii"],
2347
+ "itemId": "pA",
2348
+ "learnerResponse": ["ii"],
2349
+ "outcome": "correct",
2350
+ "weight": 1
2351
+ },
2352
+ {
2353
+ "correctResponse": ["iii"],
2354
+ "itemId": "pB",
2355
+ "learnerResponse": [""],
2356
+ "outcome": "incorrect-omission",
2357
+ "weight": 1
2358
+ },
2359
+ {
2360
+ "correctResponse": ["i"],
2361
+ "itemId": "pC",
2362
+ "learnerResponse": ["i"],
2363
+ "outcome": "correct",
2364
+ "weight": 1
2365
+ }
2366
+ ],
2367
+ "feedback": null,
2368
+ "maxScore": 1,
2369
+ "passed": false,
2370
+ "score": 0.6666666666666666
2371
+ },
2372
+ "fn": "score",
2373
+ "id": "score/mt/partial/unanswered-prompt"
2374
+ },
2375
+ {
2376
+ "args": [
2377
+ "matching",
2378
+ {
2379
+ "id": "mt-headings",
2380
+ "instructions": "Choose the correct heading for each paragraph.",
2381
+ "optionUse": "once",
2382
+ "options": [
2383
+ {
2384
+ "id": "i",
2385
+ "label": "i",
2386
+ "text": "A costly experiment"
2387
+ },
2388
+ {
2389
+ "id": "ii",
2390
+ "label": "ii",
2391
+ "text": "Why the trams disappeared"
2392
+ },
2393
+ {
2394
+ "id": "iii",
2395
+ "label": "iii",
2396
+ "text": "A return nobody expected"
2397
+ },
2398
+ {
2399
+ "id": "iv",
2400
+ "label": "iv",
2401
+ "text": "The view from the passengers"
2402
+ }
2403
+ ],
2404
+ "optionsTitle": "List of Headings",
2405
+ "prompts": [
2406
+ {
2407
+ "correctOptionId": "ii",
2408
+ "id": "pA",
2409
+ "text": "Paragraph A"
2410
+ },
2411
+ {
2412
+ "correctOptionId": "iii",
2413
+ "id": "pB",
2414
+ "text": "Paragraph B"
2415
+ },
2416
+ {
2417
+ "correctOptionId": "i",
2418
+ "feedback": "Look at the second sentence.",
2419
+ "id": "pC",
2420
+ "text": "Paragraph C"
2421
+ }
2422
+ ],
2423
+ "schemaVersion": "1.0",
2424
+ "scoringStrategy": "partial",
2425
+ "title": "The return of the tram",
2426
+ "type": "matching"
2427
+ },
2428
+ {
2429
+ "matches": {
2430
+ "pA": "ii",
2431
+ "pB": "",
2432
+ "pC": "i"
2433
+ },
2434
+ "type": "matching"
2435
+ }
2436
+ ],
2437
+ "expect": {
2438
+ "details": [
2439
+ {
2440
+ "correctResponse": ["ii"],
2441
+ "itemId": "pA",
2442
+ "learnerResponse": ["ii"],
2443
+ "outcome": "correct",
2444
+ "weight": 1
2445
+ },
2446
+ {
2447
+ "correctResponse": ["iii"],
2448
+ "itemId": "pB",
2449
+ "learnerResponse": [""],
2450
+ "outcome": "incorrect-omission",
2451
+ "weight": 1
2452
+ },
2453
+ {
2454
+ "correctResponse": ["i"],
2455
+ "itemId": "pC",
2456
+ "learnerResponse": ["i"],
2457
+ "outcome": "correct",
2458
+ "weight": 1
2459
+ }
2460
+ ],
2461
+ "feedback": null,
2462
+ "maxScore": 1,
2463
+ "passed": false,
2464
+ "score": 0.6666666666666666
2465
+ },
2466
+ "fn": "score",
2467
+ "id": "score/mt/partial/empty-string-is-unanswered"
2468
+ },
2469
+ {
2470
+ "args": [
2471
+ "matching",
2472
+ {
2473
+ "id": "mt-headings",
2474
+ "instructions": "Choose the correct heading for each paragraph.",
2475
+ "optionUse": "once",
2476
+ "options": [
2477
+ {
2478
+ "id": "i",
2479
+ "label": "i",
2480
+ "text": "A costly experiment"
2481
+ },
2482
+ {
2483
+ "id": "ii",
2484
+ "label": "ii",
2485
+ "text": "Why the trams disappeared"
2486
+ },
2487
+ {
2488
+ "id": "iii",
2489
+ "label": "iii",
2490
+ "text": "A return nobody expected"
2491
+ },
2492
+ {
2493
+ "id": "iv",
2494
+ "label": "iv",
2495
+ "text": "The view from the passengers"
2496
+ }
2497
+ ],
2498
+ "optionsTitle": "List of Headings",
2499
+ "prompts": [
2500
+ {
2501
+ "correctOptionId": "ii",
2502
+ "id": "pA",
2503
+ "text": "Paragraph A"
2504
+ },
2505
+ {
2506
+ "correctOptionId": "iii",
2507
+ "id": "pB",
2508
+ "text": "Paragraph B"
2509
+ },
2510
+ {
2511
+ "correctOptionId": "i",
2512
+ "feedback": "Look at the second sentence.",
2513
+ "id": "pC",
2514
+ "text": "Paragraph C"
2515
+ }
2516
+ ],
2517
+ "schemaVersion": "1.0",
2518
+ "scoringStrategy": "partial",
2519
+ "title": "The return of the tram",
2520
+ "type": "matching"
2521
+ },
2522
+ {
2523
+ "matches": {
2524
+ "pA": "smuggled",
2525
+ "pB": "iii",
2526
+ "pC": "i"
2527
+ },
2528
+ "type": "matching"
2529
+ }
2530
+ ],
2531
+ "expect": {
2532
+ "details": [
2533
+ {
2534
+ "correctResponse": ["ii"],
2535
+ "itemId": "pA",
2536
+ "learnerResponse": ["smuggled"],
2537
+ "outcome": "incorrect-omission",
2538
+ "weight": 1
2539
+ },
2540
+ {
2541
+ "correctResponse": ["iii"],
2542
+ "itemId": "pB",
2543
+ "learnerResponse": ["iii"],
2544
+ "outcome": "correct",
2545
+ "weight": 1
2546
+ },
2547
+ {
2548
+ "correctResponse": ["i"],
2549
+ "itemId": "pC",
2550
+ "learnerResponse": ["i"],
2551
+ "outcome": "correct",
2552
+ "weight": 1
2553
+ }
2554
+ ],
2555
+ "feedback": null,
2556
+ "maxScore": 1,
2557
+ "passed": false,
2558
+ "score": 0.6666666666666666
2559
+ },
2560
+ "fn": "score",
2561
+ "id": "score/mt/partial/option-never-offered"
2562
+ },
2563
+ {
2564
+ "args": [
2565
+ "matching",
2566
+ {
2567
+ "id": "mt-headings",
2568
+ "instructions": "Choose the correct heading for each paragraph.",
2569
+ "optionUse": "once",
2570
+ "options": [
2571
+ {
2572
+ "id": "i",
2573
+ "label": "i",
2574
+ "text": "A costly experiment"
2575
+ },
2576
+ {
2577
+ "id": "ii",
2578
+ "label": "ii",
2579
+ "text": "Why the trams disappeared"
2580
+ },
2581
+ {
2582
+ "id": "iii",
2583
+ "label": "iii",
2584
+ "text": "A return nobody expected"
2585
+ },
2586
+ {
2587
+ "id": "iv",
2588
+ "label": "iv",
2589
+ "text": "The view from the passengers"
2590
+ }
2591
+ ],
2592
+ "optionsTitle": "List of Headings",
2593
+ "prompts": [
2594
+ {
2595
+ "correctOptionId": "ii",
2596
+ "id": "pA",
2597
+ "text": "Paragraph A"
2598
+ },
2599
+ {
2600
+ "correctOptionId": "iii",
2601
+ "id": "pB",
2602
+ "text": "Paragraph B"
2603
+ },
2604
+ {
2605
+ "correctOptionId": "i",
2606
+ "feedback": "Look at the second sentence.",
2607
+ "id": "pC",
2608
+ "text": "Paragraph C"
2609
+ }
2610
+ ],
2611
+ "schemaVersion": "1.0",
2612
+ "scoringStrategy": "partial",
2613
+ "title": "The return of the tram",
2614
+ "type": "matching"
2615
+ },
2616
+ {
2617
+ "matches": {
2618
+ "pA": "ii",
2619
+ "pB": "ii",
2620
+ "pC": "i"
2621
+ },
2622
+ "type": "matching"
2623
+ }
2624
+ ],
2625
+ "expect": {
2626
+ "details": [
2627
+ {
2628
+ "correctResponse": ["ii"],
2629
+ "itemId": "pA",
2630
+ "learnerResponse": ["ii"],
2631
+ "outcome": "correct",
2632
+ "weight": 1
2633
+ },
2634
+ {
2635
+ "correctResponse": ["iii"],
2636
+ "itemId": "pB",
2637
+ "learnerResponse": ["ii"],
2638
+ "outcome": "incorrect",
2639
+ "weight": 1
2640
+ },
2641
+ {
2642
+ "correctResponse": ["i"],
2643
+ "itemId": "pC",
2644
+ "learnerResponse": ["i"],
2645
+ "outcome": "correct",
2646
+ "weight": 1
2647
+ }
2648
+ ],
2649
+ "feedback": null,
2650
+ "maxScore": 1,
2651
+ "passed": false,
2652
+ "score": 0.6666666666666666
2653
+ },
2654
+ "fn": "score",
2655
+ "id": "score/mt/partial/one-option-for-two-prompts",
2656
+ "note": "Under optionUse \"once\" a repeated option is scored prompt by prompt: the second use earns nothing the key does not give it."
2657
+ },
2658
+ {
2659
+ "args": [
2660
+ "matching",
2661
+ {
2662
+ "id": "mt-headings",
2663
+ "instructions": "Choose the correct heading for each paragraph.",
2664
+ "optionUse": "once",
2665
+ "options": [
2666
+ {
2667
+ "id": "i",
2668
+ "label": "i",
2669
+ "text": "A costly experiment"
2670
+ },
2671
+ {
2672
+ "id": "ii",
2673
+ "label": "ii",
2674
+ "text": "Why the trams disappeared"
2675
+ },
2676
+ {
2677
+ "id": "iii",
2678
+ "label": "iii",
2679
+ "text": "A return nobody expected"
2680
+ },
2681
+ {
2682
+ "id": "iv",
2683
+ "label": "iv",
2684
+ "text": "The view from the passengers"
2685
+ }
2686
+ ],
2687
+ "optionsTitle": "List of Headings",
2688
+ "prompts": [
2689
+ {
2690
+ "correctOptionId": "ii",
2691
+ "id": "pA",
2692
+ "text": "Paragraph A"
2693
+ },
2694
+ {
2695
+ "correctOptionId": "iii",
2696
+ "id": "pB",
2697
+ "text": "Paragraph B"
2698
+ },
2699
+ {
2700
+ "correctOptionId": "i",
2701
+ "feedback": "Look at the second sentence.",
2702
+ "id": "pC",
2703
+ "text": "Paragraph C"
2704
+ }
2705
+ ],
2706
+ "schemaVersion": "1.0",
2707
+ "scoringStrategy": "all-or-nothing",
2708
+ "title": "The return of the tram",
2709
+ "type": "matching"
2710
+ },
2711
+ {
2712
+ "matches": {
2713
+ "pA": "ii",
2714
+ "pB": "iii",
2715
+ "pC": "i"
2716
+ },
2717
+ "type": "matching"
2718
+ }
2719
+ ],
2720
+ "expect": {
2721
+ "details": [
2722
+ {
2723
+ "correctResponse": ["ii"],
2724
+ "itemId": "pA",
2725
+ "learnerResponse": ["ii"],
2726
+ "outcome": "correct",
2727
+ "weight": 1
2728
+ },
2729
+ {
2730
+ "correctResponse": ["iii"],
2731
+ "itemId": "pB",
2732
+ "learnerResponse": ["iii"],
2733
+ "outcome": "correct",
2734
+ "weight": 1
2735
+ },
2736
+ {
2737
+ "correctResponse": ["i"],
2738
+ "itemId": "pC",
2739
+ "learnerResponse": ["i"],
2740
+ "outcome": "correct",
2741
+ "weight": 1
2742
+ }
2743
+ ],
2744
+ "feedback": null,
2745
+ "maxScore": 1,
2746
+ "passed": true,
2747
+ "score": 1
2748
+ },
2749
+ "fn": "score",
2750
+ "id": "score/mt/all-or-nothing/all-right"
2751
+ },
2752
+ {
2753
+ "args": [
2754
+ "matching",
2755
+ {
2756
+ "id": "mt-headings",
2757
+ "instructions": "Choose the correct heading for each paragraph.",
2758
+ "optionUse": "once",
2759
+ "options": [
2760
+ {
2761
+ "id": "i",
2762
+ "label": "i",
2763
+ "text": "A costly experiment"
2764
+ },
2765
+ {
2766
+ "id": "ii",
2767
+ "label": "ii",
2768
+ "text": "Why the trams disappeared"
2769
+ },
2770
+ {
2771
+ "id": "iii",
2772
+ "label": "iii",
2773
+ "text": "A return nobody expected"
2774
+ },
2775
+ {
2776
+ "id": "iv",
2777
+ "label": "iv",
2778
+ "text": "The view from the passengers"
2779
+ }
2780
+ ],
2781
+ "optionsTitle": "List of Headings",
2782
+ "prompts": [
2783
+ {
2784
+ "correctOptionId": "ii",
2785
+ "id": "pA",
2786
+ "text": "Paragraph A"
2787
+ },
2788
+ {
2789
+ "correctOptionId": "iii",
2790
+ "id": "pB",
2791
+ "text": "Paragraph B"
2792
+ },
2793
+ {
2794
+ "correctOptionId": "i",
2795
+ "feedback": "Look at the second sentence.",
2796
+ "id": "pC",
2797
+ "text": "Paragraph C"
2798
+ }
2799
+ ],
2800
+ "schemaVersion": "1.0",
2801
+ "scoringStrategy": "all-or-nothing",
2802
+ "title": "The return of the tram",
2803
+ "type": "matching"
2804
+ },
2805
+ {
2806
+ "matches": {
2807
+ "pA": "ii",
2808
+ "pB": "iii",
2809
+ "pC": "iv"
2810
+ },
2811
+ "type": "matching"
2812
+ }
2813
+ ],
2814
+ "expect": {
2815
+ "details": [
2816
+ {
2817
+ "correctResponse": ["ii"],
2818
+ "itemId": "pA",
2819
+ "learnerResponse": ["ii"],
2820
+ "outcome": "correct",
2821
+ "weight": 1
2822
+ },
2823
+ {
2824
+ "correctResponse": ["iii"],
2825
+ "itemId": "pB",
2826
+ "learnerResponse": ["iii"],
2827
+ "outcome": "correct",
2828
+ "weight": 1
2829
+ },
2830
+ {
2831
+ "correctResponse": ["i"],
2832
+ "itemId": "pC",
2833
+ "learnerResponse": ["iv"],
2834
+ "outcome": "incorrect",
2835
+ "weight": 1
2836
+ }
2837
+ ],
2838
+ "feedback": null,
2839
+ "maxScore": 1,
2840
+ "passed": false,
2841
+ "score": 0
2842
+ },
2843
+ "fn": "score",
2844
+ "id": "score/mt/all-or-nothing/one-wrong"
2845
+ },
2846
+ {
2847
+ "args": [
2848
+ "matching",
2849
+ {
2850
+ "id": "mt-headings",
2851
+ "instructions": "Choose the correct heading for each paragraph.",
2852
+ "optionUse": "many",
2853
+ "options": [
2854
+ {
2855
+ "id": "A",
2856
+ "label": "A",
2857
+ "text": "A"
2858
+ },
2859
+ {
2860
+ "id": "B",
2861
+ "label": "B",
2862
+ "text": "B"
2863
+ },
2864
+ {
2865
+ "id": "C",
2866
+ "label": "C",
2867
+ "text": "C"
2868
+ }
2869
+ ],
2870
+ "prompts": [
2871
+ {
2872
+ "correctOptionId": "B",
2873
+ "id": "q1",
2874
+ "text": "a reference to a failed plan"
2875
+ },
2876
+ {
2877
+ "correctOptionId": "B",
2878
+ "id": "q2",
2879
+ "text": "the cost of a new line"
2880
+ },
2881
+ {
2882
+ "correctOptionId": "A",
2883
+ "id": "q3",
2884
+ "text": "what passengers said"
2885
+ }
2886
+ ],
2887
+ "schemaVersion": "1.0",
2888
+ "scoringStrategy": "partial",
2889
+ "title": "The return of the tram",
2890
+ "type": "matching"
2891
+ },
2892
+ {
2893
+ "matches": {
2894
+ "q1": "B",
2895
+ "q2": "B",
2896
+ "q3": "C"
2897
+ },
2898
+ "type": "matching"
2899
+ }
2900
+ ],
2901
+ "expect": {
2902
+ "details": [
2903
+ {
2904
+ "correctResponse": ["B"],
2905
+ "itemId": "q1",
2906
+ "learnerResponse": ["B"],
2907
+ "outcome": "correct",
2908
+ "weight": 1
2909
+ },
2910
+ {
2911
+ "correctResponse": ["B"],
2912
+ "itemId": "q2",
2913
+ "learnerResponse": ["B"],
2914
+ "outcome": "correct",
2915
+ "weight": 1
2916
+ },
2917
+ {
2918
+ "correctResponse": ["A"],
2919
+ "itemId": "q3",
2920
+ "learnerResponse": ["C"],
2921
+ "outcome": "incorrect",
2922
+ "weight": 1
2923
+ }
2924
+ ],
2925
+ "feedback": null,
2926
+ "maxScore": 1,
2927
+ "passed": false,
2928
+ "score": 0.6666666666666666
2929
+ },
2930
+ "fn": "score",
2931
+ "id": "score/mt/many/reused-letter"
2932
+ },
2933
+ {
2934
+ "args": [
2935
+ {
2936
+ "id": "mt-headings",
2937
+ "instructions": "Choose the correct heading for each paragraph.",
2938
+ "optionUse": "once",
2939
+ "options": [
2940
+ {
2941
+ "id": "i",
2942
+ "label": "i",
2943
+ "text": "A costly experiment"
2944
+ },
2945
+ {
2946
+ "id": "ii",
2947
+ "label": "ii",
2948
+ "text": "Why the trams disappeared"
2949
+ },
2950
+ {
2951
+ "id": "iii",
2952
+ "label": "iii",
2953
+ "text": "A return nobody expected"
2954
+ },
2955
+ {
2956
+ "id": "iv",
2957
+ "label": "iv",
2958
+ "text": "The view from the passengers"
2959
+ }
2960
+ ],
2961
+ "optionsTitle": "List of Headings",
2962
+ "prompts": [
2963
+ {
2964
+ "correctOptionId": "ii",
2965
+ "id": "pA",
2966
+ "text": "Paragraph A"
2967
+ },
2968
+ {
2969
+ "correctOptionId": "iii",
2970
+ "id": "pB",
2971
+ "text": "Paragraph B"
2972
+ },
2973
+ {
2974
+ "correctOptionId": "i",
2975
+ "feedback": "Look at the second sentence.",
2976
+ "id": "pC",
2977
+ "text": "Paragraph C"
2978
+ }
2979
+ ],
2980
+ "schemaVersion": "1.0",
2981
+ "scoringStrategy": "partial",
2982
+ "title": "The return of the tram",
2983
+ "type": "matching"
2984
+ },
2985
+ {
2986
+ "matches": {
2987
+ "pA": "ii",
2988
+ "pB": "iii",
2989
+ "pC": "iv"
2990
+ },
2991
+ "type": "matching"
2992
+ }
2993
+ ],
2994
+ "expect": {
2995
+ "details": [
2996
+ {
2997
+ "correctResponse": ["ii"],
2998
+ "itemId": "pA",
2999
+ "learnerResponse": ["ii"],
3000
+ "outcome": "correct",
3001
+ "weight": 1
3002
+ },
3003
+ {
3004
+ "correctResponse": ["iii"],
3005
+ "itemId": "pB",
3006
+ "learnerResponse": ["iii"],
3007
+ "outcome": "correct",
3008
+ "weight": 1
3009
+ },
3010
+ {
3011
+ "correctResponse": ["i"],
3012
+ "itemId": "pC",
3013
+ "learnerResponse": ["iv"],
3014
+ "outcome": "incorrect",
3015
+ "weight": 1
3016
+ }
3017
+ ],
3018
+ "feedback": null,
3019
+ "maxScore": 1,
3020
+ "passed": false,
3021
+ "score": 0.6666666666666666,
3022
+ "status": "scored"
3023
+ },
3024
+ "fn": "evaluate",
3025
+ "id": "evaluate/mt/scored"
3026
+ },
2094
3027
  {
2095
3028
  "args": [
2096
3029
  "fill-in-the-blanks",