@intellectif/lk-core 1.13.0 → 1.14.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 (75) hide show
  1. package/CHANGELOG.md +12 -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-hC5pGYeu.d.cts → ai-mC-5XhBc.d.cts} +92 -2
  8. package/dist/ai-mC-5XhBc.d.cts.map +1 -0
  9. package/dist/{ai-hC5pGYeu.d.ts → ai-mC-5XhBc.d.ts} +92 -2
  10. package/dist/ai-mC-5XhBc.d.ts.map +1 -0
  11. package/dist/{ai-writing-BDSYuifR.cjs → ai-writing-Bm2TUWQ-.cjs} +10 -4
  12. package/dist/ai-writing-Bm2TUWQ-.cjs.map +1 -0
  13. package/dist/{ai-writing-Dsmvv4T-.js → ai-writing-D3oREPsp.js} +10 -4
  14. package/dist/ai-writing-D3oREPsp.js.map +1 -0
  15. package/dist/{index-Dlei-7PX.d.ts → index-2UQ5v6NZ.d.ts} +2 -2
  16. package/dist/{index-Dlei-7PX.d.ts.map → index-2UQ5v6NZ.d.ts.map} +1 -1
  17. package/dist/{index-Du9Kx_H6.d.ts → index-BudO4ES2.d.ts} +2 -2
  18. package/dist/{index-Du9Kx_H6.d.ts.map → index-BudO4ES2.d.ts.map} +1 -1
  19. package/dist/{index-BlJU10O4.d.cts → index-CFKxHXAY.d.ts} +11 -4
  20. package/dist/{index-DVW_N4pJ.d.ts.map → index-CFKxHXAY.d.ts.map} +1 -1
  21. package/dist/{index-DVW_N4pJ.d.ts → index-CagMlF4b.d.cts} +11 -4
  22. package/dist/{index-BlJU10O4.d.cts.map → index-CagMlF4b.d.cts.map} +1 -1
  23. package/dist/{index-4x0auNOv.d.cts → index-CqmNcMFM.d.cts} +2 -2
  24. package/dist/{index-4x0auNOv.d.cts.map → index-CqmNcMFM.d.cts.map} +1 -1
  25. package/dist/{index-DohEHH10.d.cts → index-MgPVCiSJ.d.cts} +2 -2
  26. package/dist/{index-DohEHH10.d.cts.map → index-MgPVCiSJ.d.cts.map} +1 -1
  27. package/dist/index.cjs +12 -6
  28. package/dist/index.d.cts +86 -10
  29. package/dist/index.d.cts.map +1 -1
  30. package/dist/index.d.ts +86 -10
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +7 -7
  33. package/dist/{item-group-vTcNy2JF.js → item-group-BIl1ZJHg.js} +7 -6
  34. package/dist/item-group-BIl1ZJHg.js.map +1 -0
  35. package/dist/{item-group-CqdByaLR.cjs → item-group-DOk562oI.cjs} +7 -6
  36. package/dist/item-group-DOk562oI.cjs.map +1 -0
  37. package/dist/{registry-Cn2it-y7.js → registry-CroAI5nc.js} +517 -11
  38. package/dist/registry-CroAI5nc.js.map +1 -0
  39. package/dist/{registry-DUTE1vtq.cjs → registry-Dw19lNo2.cjs} +552 -10
  40. package/dist/registry-Dw19lNo2.cjs.map +1 -0
  41. package/dist/{schemas-BrA6CFWz.cjs → schemas-CEv2otNw.cjs} +3 -3
  42. package/dist/{schemas-BrA6CFWz.cjs.map → schemas-CEv2otNw.cjs.map} +1 -1
  43. package/dist/{schemas-DlxeS7Lu.js → schemas-COw7muXH.js} +3 -3
  44. package/dist/{schemas-DlxeS7Lu.js.map → schemas-COw7muXH.js.map} +1 -1
  45. package/dist/schemas.cjs +3 -3
  46. package/dist/schemas.d.cts +2 -2
  47. package/dist/schemas.d.ts +2 -2
  48. package/dist/schemas.js +3 -3
  49. package/dist/{scoring-weQ4SzwB.js → scoring-BxvOhHE0.js} +2 -2
  50. package/dist/{scoring-weQ4SzwB.js.map → scoring-BxvOhHE0.js.map} +1 -1
  51. package/dist/{scoring-IjLi2fYF.cjs → scoring-EpNBJ8Fs.cjs} +2 -2
  52. package/dist/{scoring-IjLi2fYF.cjs.map → scoring-EpNBJ8Fs.cjs.map} +1 -1
  53. package/dist/scoring.cjs +2 -2
  54. package/dist/scoring.d.cts +2 -2
  55. package/dist/scoring.d.ts +2 -2
  56. package/dist/scoring.js +2 -2
  57. package/dist/{xapi-BqEbpWag.cjs → xapi-C-cQgWRX.cjs} +2 -2
  58. package/dist/{xapi-BqEbpWag.cjs.map → xapi-C-cQgWRX.cjs.map} +1 -1
  59. package/dist/{xapi-DbRVH_RB.js → xapi-DHHm7Os9.js} +2 -2
  60. package/dist/{xapi-DbRVH_RB.js.map → xapi-DHHm7Os9.js.map} +1 -1
  61. package/dist/xapi.cjs +1 -1
  62. package/dist/xapi.d.cts +1 -1
  63. package/dist/xapi.d.ts +1 -1
  64. package/dist/xapi.js +1 -1
  65. package/package.json +1 -1
  66. package/vectors/scoring.json +833 -0
  67. package/vectors/validation.json +631 -0
  68. package/dist/ai-hC5pGYeu.d.cts.map +0 -1
  69. package/dist/ai-hC5pGYeu.d.ts.map +0 -1
  70. package/dist/ai-writing-BDSYuifR.cjs.map +0 -1
  71. package/dist/ai-writing-Dsmvv4T-.js.map +0 -1
  72. package/dist/item-group-CqdByaLR.cjs.map +0 -1
  73. package/dist/item-group-vTcNy2JF.js.map +0 -1
  74. package/dist/registry-Cn2it-y7.js.map +0 -1
  75. package/dist/registry-DUTE1vtq.cjs.map +0 -1
@@ -2930,6 +2930,839 @@
2930
2930
  "fn": "score",
2931
2931
  "id": "score/mt/many/reused-letter"
2932
2932
  },
2933
+ {
2934
+ "args": [
2935
+ "mark-the-words",
2936
+ {
2937
+ "id": "mw-past",
2938
+ "instructions": "Mark every verb in the past.",
2939
+ "schemaVersion": "1.0",
2940
+ "scoringStrategy": "partial",
2941
+ "targets": [
2942
+ {
2943
+ "occurrence": 1,
2944
+ "text": "went"
2945
+ },
2946
+ {
2947
+ "text": "bought"
2948
+ },
2949
+ {
2950
+ "text": "had never gone"
2951
+ },
2952
+ {
2953
+ "occurrence": 2,
2954
+ "text": "went"
2955
+ }
2956
+ ],
2957
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
2958
+ "title": "The past",
2959
+ "type": "mark-the-words"
2960
+ },
2961
+ {
2962
+ "marked": [2, 7, 10, 11, 12, 17],
2963
+ "type": "mark-the-words"
2964
+ }
2965
+ ],
2966
+ "expect": {
2967
+ "details": [
2968
+ {
2969
+ "correctResponse": ["2"],
2970
+ "itemId": "t1",
2971
+ "learnerResponse": ["2"],
2972
+ "outcome": "correct",
2973
+ "weight": 1
2974
+ },
2975
+ {
2976
+ "correctResponse": ["7"],
2977
+ "itemId": "t2",
2978
+ "learnerResponse": ["7"],
2979
+ "outcome": "correct",
2980
+ "weight": 1
2981
+ },
2982
+ {
2983
+ "correctResponse": ["10", "11", "12"],
2984
+ "itemId": "t3",
2985
+ "learnerResponse": ["10", "11", "12"],
2986
+ "outcome": "correct",
2987
+ "weight": 1
2988
+ },
2989
+ {
2990
+ "correctResponse": ["17"],
2991
+ "itemId": "t4",
2992
+ "learnerResponse": ["17"],
2993
+ "outcome": "correct",
2994
+ "weight": 1
2995
+ }
2996
+ ],
2997
+ "feedback": null,
2998
+ "maxScore": 1,
2999
+ "passed": true,
3000
+ "score": 1
3001
+ },
3002
+ "fn": "score",
3003
+ "id": "score/mw/partial/all-found"
3004
+ },
3005
+ {
3006
+ "args": [
3007
+ "mark-the-words",
3008
+ {
3009
+ "id": "mw-past",
3010
+ "instructions": "Mark every verb in the past.",
3011
+ "schemaVersion": "1.0",
3012
+ "scoringStrategy": "partial",
3013
+ "targets": [
3014
+ {
3015
+ "occurrence": 1,
3016
+ "text": "went"
3017
+ },
3018
+ {
3019
+ "text": "bought"
3020
+ },
3021
+ {
3022
+ "text": "had never gone"
3023
+ },
3024
+ {
3025
+ "occurrence": 2,
3026
+ "text": "went"
3027
+ }
3028
+ ],
3029
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3030
+ "title": "The past",
3031
+ "type": "mark-the-words"
3032
+ },
3033
+ {
3034
+ "marked": [2, 7, 17],
3035
+ "type": "mark-the-words"
3036
+ }
3037
+ ],
3038
+ "expect": {
3039
+ "details": [
3040
+ {
3041
+ "correctResponse": ["2"],
3042
+ "itemId": "t1",
3043
+ "learnerResponse": ["2"],
3044
+ "outcome": "correct",
3045
+ "weight": 1
3046
+ },
3047
+ {
3048
+ "correctResponse": ["7"],
3049
+ "itemId": "t2",
3050
+ "learnerResponse": ["7"],
3051
+ "outcome": "correct",
3052
+ "weight": 1
3053
+ },
3054
+ {
3055
+ "correctResponse": ["10", "11", "12"],
3056
+ "itemId": "t3",
3057
+ "learnerResponse": [],
3058
+ "outcome": "incorrect-omission",
3059
+ "weight": 1
3060
+ },
3061
+ {
3062
+ "correctResponse": ["17"],
3063
+ "itemId": "t4",
3064
+ "learnerResponse": ["17"],
3065
+ "outcome": "correct",
3066
+ "weight": 1
3067
+ }
3068
+ ],
3069
+ "feedback": null,
3070
+ "maxScore": 1,
3071
+ "passed": true,
3072
+ "score": 0.75
3073
+ },
3074
+ "fn": "score",
3075
+ "id": "score/mw/partial/one-missed"
3076
+ },
3077
+ {
3078
+ "args": [
3079
+ "mark-the-words",
3080
+ {
3081
+ "id": "mw-past",
3082
+ "instructions": "Mark every verb in the past.",
3083
+ "schemaVersion": "1.0",
3084
+ "scoringStrategy": "partial",
3085
+ "targets": [
3086
+ {
3087
+ "occurrence": 1,
3088
+ "text": "went"
3089
+ },
3090
+ {
3091
+ "text": "bought"
3092
+ },
3093
+ {
3094
+ "text": "had never gone"
3095
+ },
3096
+ {
3097
+ "occurrence": 2,
3098
+ "text": "went"
3099
+ }
3100
+ ],
3101
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3102
+ "title": "The past",
3103
+ "type": "mark-the-words"
3104
+ },
3105
+ {
3106
+ "marked": [2, 7, 10, 12, 17],
3107
+ "type": "mark-the-words"
3108
+ }
3109
+ ],
3110
+ "expect": {
3111
+ "details": [
3112
+ {
3113
+ "correctResponse": ["2"],
3114
+ "itemId": "t1",
3115
+ "learnerResponse": ["2"],
3116
+ "outcome": "correct",
3117
+ "weight": 1
3118
+ },
3119
+ {
3120
+ "correctResponse": ["7"],
3121
+ "itemId": "t2",
3122
+ "learnerResponse": ["7"],
3123
+ "outcome": "correct",
3124
+ "weight": 1
3125
+ },
3126
+ {
3127
+ "correctResponse": ["10", "11", "12"],
3128
+ "itemId": "t3",
3129
+ "learnerResponse": ["10", "12"],
3130
+ "outcome": "incorrect",
3131
+ "weight": 1
3132
+ },
3133
+ {
3134
+ "correctResponse": ["17"],
3135
+ "itemId": "t4",
3136
+ "learnerResponse": ["17"],
3137
+ "outcome": "correct",
3138
+ "weight": 1
3139
+ }
3140
+ ],
3141
+ "feedback": null,
3142
+ "maxScore": 1,
3143
+ "passed": true,
3144
+ "score": 0.75
3145
+ },
3146
+ "fn": "score",
3147
+ "id": "score/mw/partial/phrase-half-marked"
3148
+ },
3149
+ {
3150
+ "args": [
3151
+ "mark-the-words",
3152
+ {
3153
+ "id": "mw-past",
3154
+ "instructions": "Mark every verb in the past.",
3155
+ "schemaVersion": "1.0",
3156
+ "scoringStrategy": "partial",
3157
+ "targets": [
3158
+ {
3159
+ "occurrence": 1,
3160
+ "text": "went"
3161
+ },
3162
+ {
3163
+ "text": "bought"
3164
+ },
3165
+ {
3166
+ "text": "had never gone"
3167
+ },
3168
+ {
3169
+ "occurrence": 2,
3170
+ "text": "went"
3171
+ }
3172
+ ],
3173
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3174
+ "title": "The past",
3175
+ "type": "mark-the-words"
3176
+ },
3177
+ {
3178
+ "marked": [2, 7, 10, 11, 12, 17, 5],
3179
+ "type": "mark-the-words"
3180
+ }
3181
+ ],
3182
+ "expect": {
3183
+ "details": [
3184
+ {
3185
+ "correctResponse": ["2"],
3186
+ "itemId": "t1",
3187
+ "learnerResponse": ["2"],
3188
+ "outcome": "correct",
3189
+ "weight": 1
3190
+ },
3191
+ {
3192
+ "correctResponse": ["7"],
3193
+ "itemId": "t2",
3194
+ "learnerResponse": ["7"],
3195
+ "outcome": "correct",
3196
+ "weight": 1
3197
+ },
3198
+ {
3199
+ "correctResponse": ["10", "11", "12"],
3200
+ "itemId": "t3",
3201
+ "learnerResponse": ["10", "11", "12"],
3202
+ "outcome": "correct",
3203
+ "weight": 1
3204
+ },
3205
+ {
3206
+ "correctResponse": ["17"],
3207
+ "itemId": "t4",
3208
+ "learnerResponse": ["17"],
3209
+ "outcome": "correct",
3210
+ "weight": 1
3211
+ },
3212
+ {
3213
+ "correctResponse": [],
3214
+ "itemId": "w5",
3215
+ "learnerResponse": ["5"],
3216
+ "outcome": "incorrect",
3217
+ "weight": 1
3218
+ }
3219
+ ],
3220
+ "feedback": null,
3221
+ "maxScore": 1,
3222
+ "passed": true,
3223
+ "score": 0.75
3224
+ },
3225
+ "fn": "score",
3226
+ "id": "score/mw/partial/wrong-mark-costs"
3227
+ },
3228
+ {
3229
+ "args": [
3230
+ "mark-the-words",
3231
+ {
3232
+ "id": "mw-past",
3233
+ "instructions": "Mark every verb in the past.",
3234
+ "schemaVersion": "1.0",
3235
+ "scoringStrategy": "partial",
3236
+ "targets": [
3237
+ {
3238
+ "occurrence": 1,
3239
+ "text": "went"
3240
+ },
3241
+ {
3242
+ "text": "bought"
3243
+ },
3244
+ {
3245
+ "text": "had never gone"
3246
+ },
3247
+ {
3248
+ "occurrence": 2,
3249
+ "text": "went"
3250
+ }
3251
+ ],
3252
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3253
+ "title": "The past",
3254
+ "type": "mark-the-words"
3255
+ },
3256
+ {
3257
+ "marked": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18],
3258
+ "type": "mark-the-words"
3259
+ }
3260
+ ],
3261
+ "expect": {
3262
+ "details": [
3263
+ {
3264
+ "correctResponse": ["2"],
3265
+ "itemId": "t1",
3266
+ "learnerResponse": ["2"],
3267
+ "outcome": "correct",
3268
+ "weight": 1
3269
+ },
3270
+ {
3271
+ "correctResponse": ["7"],
3272
+ "itemId": "t2",
3273
+ "learnerResponse": ["7"],
3274
+ "outcome": "correct",
3275
+ "weight": 1
3276
+ },
3277
+ {
3278
+ "correctResponse": ["10", "11", "12"],
3279
+ "itemId": "t3",
3280
+ "learnerResponse": ["10", "11", "12"],
3281
+ "outcome": "correct",
3282
+ "weight": 1
3283
+ },
3284
+ {
3285
+ "correctResponse": ["17"],
3286
+ "itemId": "t4",
3287
+ "learnerResponse": ["17"],
3288
+ "outcome": "correct",
3289
+ "weight": 1
3290
+ },
3291
+ {
3292
+ "correctResponse": [],
3293
+ "itemId": "w0",
3294
+ "learnerResponse": ["0"],
3295
+ "outcome": "incorrect",
3296
+ "weight": 1
3297
+ },
3298
+ {
3299
+ "correctResponse": [],
3300
+ "itemId": "w1",
3301
+ "learnerResponse": ["1"],
3302
+ "outcome": "incorrect",
3303
+ "weight": 1
3304
+ },
3305
+ {
3306
+ "correctResponse": [],
3307
+ "itemId": "w3",
3308
+ "learnerResponse": ["3"],
3309
+ "outcome": "incorrect",
3310
+ "weight": 1
3311
+ },
3312
+ {
3313
+ "correctResponse": [],
3314
+ "itemId": "w4",
3315
+ "learnerResponse": ["4"],
3316
+ "outcome": "incorrect",
3317
+ "weight": 1
3318
+ },
3319
+ {
3320
+ "correctResponse": [],
3321
+ "itemId": "w5",
3322
+ "learnerResponse": ["5"],
3323
+ "outcome": "incorrect",
3324
+ "weight": 1
3325
+ },
3326
+ {
3327
+ "correctResponse": [],
3328
+ "itemId": "w6",
3329
+ "learnerResponse": ["6"],
3330
+ "outcome": "incorrect",
3331
+ "weight": 1
3332
+ },
3333
+ {
3334
+ "correctResponse": [],
3335
+ "itemId": "w8",
3336
+ "learnerResponse": ["8"],
3337
+ "outcome": "incorrect",
3338
+ "weight": 1
3339
+ },
3340
+ {
3341
+ "correctResponse": [],
3342
+ "itemId": "w9",
3343
+ "learnerResponse": ["9"],
3344
+ "outcome": "incorrect",
3345
+ "weight": 1
3346
+ },
3347
+ {
3348
+ "correctResponse": [],
3349
+ "itemId": "w13",
3350
+ "learnerResponse": ["13"],
3351
+ "outcome": "incorrect",
3352
+ "weight": 1
3353
+ },
3354
+ {
3355
+ "correctResponse": [],
3356
+ "itemId": "w14",
3357
+ "learnerResponse": ["14"],
3358
+ "outcome": "incorrect",
3359
+ "weight": 1
3360
+ },
3361
+ {
3362
+ "correctResponse": [],
3363
+ "itemId": "w15",
3364
+ "learnerResponse": ["15"],
3365
+ "outcome": "incorrect",
3366
+ "weight": 1
3367
+ },
3368
+ {
3369
+ "correctResponse": [],
3370
+ "itemId": "w16",
3371
+ "learnerResponse": ["16"],
3372
+ "outcome": "incorrect",
3373
+ "weight": 1
3374
+ },
3375
+ {
3376
+ "correctResponse": [],
3377
+ "itemId": "w18",
3378
+ "learnerResponse": ["18"],
3379
+ "outcome": "incorrect",
3380
+ "weight": 1
3381
+ }
3382
+ ],
3383
+ "feedback": null,
3384
+ "maxScore": 1,
3385
+ "passed": false,
3386
+ "score": 0
3387
+ },
3388
+ "fn": "score",
3389
+ "id": "score/mw/partial/everything-marked-floors-at-zero"
3390
+ },
3391
+ {
3392
+ "args": [
3393
+ "mark-the-words",
3394
+ {
3395
+ "id": "mw-past",
3396
+ "instructions": "Mark every verb in the past.",
3397
+ "schemaVersion": "1.0",
3398
+ "scoringStrategy": "partial",
3399
+ "targets": [
3400
+ {
3401
+ "occurrence": 1,
3402
+ "text": "went"
3403
+ },
3404
+ {
3405
+ "text": "bought"
3406
+ },
3407
+ {
3408
+ "text": "had never gone"
3409
+ },
3410
+ {
3411
+ "occurrence": 2,
3412
+ "text": "went"
3413
+ }
3414
+ ],
3415
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3416
+ "title": "The past",
3417
+ "type": "mark-the-words"
3418
+ },
3419
+ {
3420
+ "marked": [],
3421
+ "type": "mark-the-words"
3422
+ }
3423
+ ],
3424
+ "expect": {
3425
+ "details": [
3426
+ {
3427
+ "correctResponse": ["2"],
3428
+ "itemId": "t1",
3429
+ "learnerResponse": [],
3430
+ "outcome": "incorrect-omission",
3431
+ "weight": 1
3432
+ },
3433
+ {
3434
+ "correctResponse": ["7"],
3435
+ "itemId": "t2",
3436
+ "learnerResponse": [],
3437
+ "outcome": "incorrect-omission",
3438
+ "weight": 1
3439
+ },
3440
+ {
3441
+ "correctResponse": ["10", "11", "12"],
3442
+ "itemId": "t3",
3443
+ "learnerResponse": [],
3444
+ "outcome": "incorrect-omission",
3445
+ "weight": 1
3446
+ },
3447
+ {
3448
+ "correctResponse": ["17"],
3449
+ "itemId": "t4",
3450
+ "learnerResponse": [],
3451
+ "outcome": "incorrect-omission",
3452
+ "weight": 1
3453
+ }
3454
+ ],
3455
+ "feedback": null,
3456
+ "maxScore": 1,
3457
+ "passed": false,
3458
+ "score": 0
3459
+ },
3460
+ "fn": "score",
3461
+ "id": "score/mw/partial/nothing-marked"
3462
+ },
3463
+ {
3464
+ "args": [
3465
+ "mark-the-words",
3466
+ {
3467
+ "id": "mw-past",
3468
+ "instructions": "Mark every verb in the past.",
3469
+ "schemaVersion": "1.0",
3470
+ "scoringStrategy": "partial",
3471
+ "targets": [
3472
+ {
3473
+ "occurrence": 1,
3474
+ "text": "went"
3475
+ },
3476
+ {
3477
+ "text": "bought"
3478
+ },
3479
+ {
3480
+ "text": "had never gone"
3481
+ },
3482
+ {
3483
+ "occurrence": 2,
3484
+ "text": "went"
3485
+ }
3486
+ ],
3487
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3488
+ "title": "The past",
3489
+ "type": "mark-the-words"
3490
+ },
3491
+ {
3492
+ "marked": [2, 2, 7, -1, 1.5, 99, "3"],
3493
+ "type": "mark-the-words"
3494
+ }
3495
+ ],
3496
+ "expect": {
3497
+ "details": [
3498
+ {
3499
+ "correctResponse": ["2"],
3500
+ "itemId": "t1",
3501
+ "learnerResponse": ["2"],
3502
+ "outcome": "correct",
3503
+ "weight": 1
3504
+ },
3505
+ {
3506
+ "correctResponse": ["7"],
3507
+ "itemId": "t2",
3508
+ "learnerResponse": ["7"],
3509
+ "outcome": "correct",
3510
+ "weight": 1
3511
+ },
3512
+ {
3513
+ "correctResponse": ["10", "11", "12"],
3514
+ "itemId": "t3",
3515
+ "learnerResponse": [],
3516
+ "outcome": "incorrect-omission",
3517
+ "weight": 1
3518
+ },
3519
+ {
3520
+ "correctResponse": ["17"],
3521
+ "itemId": "t4",
3522
+ "learnerResponse": [],
3523
+ "outcome": "incorrect-omission",
3524
+ "weight": 1
3525
+ }
3526
+ ],
3527
+ "feedback": null,
3528
+ "maxScore": 1,
3529
+ "passed": false,
3530
+ "score": 0.5
3531
+ },
3532
+ "fn": "score",
3533
+ "id": "score/mw/partial/tampered-positions-ignored",
3534
+ "note": "A repeated, negative, fractional, out-of-range or non-number position marks nothing, right or wrong."
3535
+ },
3536
+ {
3537
+ "args": [
3538
+ "mark-the-words",
3539
+ {
3540
+ "id": "mw-past",
3541
+ "instructions": "Mark every verb in the past.",
3542
+ "schemaVersion": "1.0",
3543
+ "scoringStrategy": "all-or-nothing",
3544
+ "targets": [
3545
+ {
3546
+ "occurrence": 1,
3547
+ "text": "went"
3548
+ },
3549
+ {
3550
+ "text": "bought"
3551
+ },
3552
+ {
3553
+ "text": "had never gone"
3554
+ },
3555
+ {
3556
+ "occurrence": 2,
3557
+ "text": "went"
3558
+ }
3559
+ ],
3560
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3561
+ "title": "The past",
3562
+ "type": "mark-the-words"
3563
+ },
3564
+ {
3565
+ "marked": [2, 7, 10, 11, 12, 17],
3566
+ "type": "mark-the-words"
3567
+ }
3568
+ ],
3569
+ "expect": {
3570
+ "details": [
3571
+ {
3572
+ "correctResponse": ["2"],
3573
+ "itemId": "t1",
3574
+ "learnerResponse": ["2"],
3575
+ "outcome": "correct",
3576
+ "weight": 1
3577
+ },
3578
+ {
3579
+ "correctResponse": ["7"],
3580
+ "itemId": "t2",
3581
+ "learnerResponse": ["7"],
3582
+ "outcome": "correct",
3583
+ "weight": 1
3584
+ },
3585
+ {
3586
+ "correctResponse": ["10", "11", "12"],
3587
+ "itemId": "t3",
3588
+ "learnerResponse": ["10", "11", "12"],
3589
+ "outcome": "correct",
3590
+ "weight": 1
3591
+ },
3592
+ {
3593
+ "correctResponse": ["17"],
3594
+ "itemId": "t4",
3595
+ "learnerResponse": ["17"],
3596
+ "outcome": "correct",
3597
+ "weight": 1
3598
+ }
3599
+ ],
3600
+ "feedback": null,
3601
+ "maxScore": 1,
3602
+ "passed": true,
3603
+ "score": 1
3604
+ },
3605
+ "fn": "score",
3606
+ "id": "score/mw/all-or-nothing/all-found"
3607
+ },
3608
+ {
3609
+ "args": [
3610
+ "mark-the-words",
3611
+ {
3612
+ "id": "mw-past",
3613
+ "instructions": "Mark every verb in the past.",
3614
+ "schemaVersion": "1.0",
3615
+ "scoringStrategy": "all-or-nothing",
3616
+ "targets": [
3617
+ {
3618
+ "occurrence": 1,
3619
+ "text": "went"
3620
+ },
3621
+ {
3622
+ "text": "bought"
3623
+ },
3624
+ {
3625
+ "text": "had never gone"
3626
+ },
3627
+ {
3628
+ "occurrence": 2,
3629
+ "text": "went"
3630
+ }
3631
+ ],
3632
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3633
+ "title": "The past",
3634
+ "type": "mark-the-words"
3635
+ },
3636
+ {
3637
+ "marked": [2, 7, 10, 11, 12, 17, 0],
3638
+ "type": "mark-the-words"
3639
+ }
3640
+ ],
3641
+ "expect": {
3642
+ "details": [
3643
+ {
3644
+ "correctResponse": ["2"],
3645
+ "itemId": "t1",
3646
+ "learnerResponse": ["2"],
3647
+ "outcome": "correct",
3648
+ "weight": 1
3649
+ },
3650
+ {
3651
+ "correctResponse": ["7"],
3652
+ "itemId": "t2",
3653
+ "learnerResponse": ["7"],
3654
+ "outcome": "correct",
3655
+ "weight": 1
3656
+ },
3657
+ {
3658
+ "correctResponse": ["10", "11", "12"],
3659
+ "itemId": "t3",
3660
+ "learnerResponse": ["10", "11", "12"],
3661
+ "outcome": "correct",
3662
+ "weight": 1
3663
+ },
3664
+ {
3665
+ "correctResponse": ["17"],
3666
+ "itemId": "t4",
3667
+ "learnerResponse": ["17"],
3668
+ "outcome": "correct",
3669
+ "weight": 1
3670
+ },
3671
+ {
3672
+ "correctResponse": [],
3673
+ "itemId": "w0",
3674
+ "learnerResponse": ["0"],
3675
+ "outcome": "incorrect",
3676
+ "weight": 1
3677
+ }
3678
+ ],
3679
+ "feedback": null,
3680
+ "maxScore": 1,
3681
+ "passed": false,
3682
+ "score": 0
3683
+ },
3684
+ "fn": "score",
3685
+ "id": "score/mw/all-or-nothing/one-wrong-mark"
3686
+ },
3687
+ {
3688
+ "args": [
3689
+ {
3690
+ "id": "mw-past",
3691
+ "instructions": "Mark every verb in the past.",
3692
+ "schemaVersion": "1.0",
3693
+ "scoringStrategy": "partial",
3694
+ "targets": [
3695
+ {
3696
+ "occurrence": 1,
3697
+ "text": "went"
3698
+ },
3699
+ {
3700
+ "text": "bought"
3701
+ },
3702
+ {
3703
+ "text": "had never gone"
3704
+ },
3705
+ {
3706
+ "occurrence": 2,
3707
+ "text": "went"
3708
+ }
3709
+ ],
3710
+ "text": "Yesterday she went to the market and bought bread. She had never gone there before, but she went again.",
3711
+ "title": "The past",
3712
+ "type": "mark-the-words"
3713
+ },
3714
+ {
3715
+ "marked": [2, 7, 10, 11, 12, 1],
3716
+ "type": "mark-the-words"
3717
+ }
3718
+ ],
3719
+ "expect": {
3720
+ "details": [
3721
+ {
3722
+ "correctResponse": ["2"],
3723
+ "itemId": "t1",
3724
+ "learnerResponse": ["2"],
3725
+ "outcome": "correct",
3726
+ "weight": 1
3727
+ },
3728
+ {
3729
+ "correctResponse": ["7"],
3730
+ "itemId": "t2",
3731
+ "learnerResponse": ["7"],
3732
+ "outcome": "correct",
3733
+ "weight": 1
3734
+ },
3735
+ {
3736
+ "correctResponse": ["10", "11", "12"],
3737
+ "itemId": "t3",
3738
+ "learnerResponse": ["10", "11", "12"],
3739
+ "outcome": "correct",
3740
+ "weight": 1
3741
+ },
3742
+ {
3743
+ "correctResponse": ["17"],
3744
+ "itemId": "t4",
3745
+ "learnerResponse": [],
3746
+ "outcome": "incorrect-omission",
3747
+ "weight": 1
3748
+ },
3749
+ {
3750
+ "correctResponse": [],
3751
+ "itemId": "w1",
3752
+ "learnerResponse": ["1"],
3753
+ "outcome": "incorrect",
3754
+ "weight": 1
3755
+ }
3756
+ ],
3757
+ "feedback": null,
3758
+ "maxScore": 1,
3759
+ "passed": false,
3760
+ "score": 0.5,
3761
+ "status": "scored"
3762
+ },
3763
+ "fn": "evaluate",
3764
+ "id": "evaluate/mw/scored"
3765
+ },
2933
3766
  {
2934
3767
  "args": [
2935
3768
  {