File size: 94,277 Bytes
360df42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
- id: json_editor-antd-T01
  name: Enable email notifications flag
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: In the Notification settings (JSON) editor, set notifications.email to true, then click Apply. The task will finish automatically when done.
  ui_copy: Set notifications.email to true in the Notification settings (JSON) editor and apply the change.
  setup_description: |-
    Page shows a single centered Ant Design Card titled “Notification settings (JSON)”.
    Inside the card is an embedded JSON editor widget with a mode switch (Tabs: “Tree” and “Code”). It starts in Tree mode.
    In Tree mode, the JSON is shown as an expandable tree; boolean values can be edited via an inline true/false control.
    Below the editor are two buttons: a primary “Apply” button and a secondary “Reset” button.
    Initial JSON value:
    {
      "notifications": {"email": false, "sms": true},
      "theme": "light"
    }
    There are no other required inputs or distractors on the page.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: Single boolean edit in a single, clearly labeled editor with an explicit Apply button.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.notifications.email` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.notifications.email
        value: true
      tolerance: null
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Changing notifications.sms instead of notifications.email.
  - Setting notifications.email to false (no change) or leaving it unchanged.
  - Making the correct change but not clicking Apply.
  - Editing in a transient/invalid state where the JSON cannot be parsed.
  expected_interaction_path:
  - Click the notifications.email value in the tree.
  - Toggle/select true.
  - Click Apply.
  notes: Checker should read the committed JSON value (post-Apply) from a stable testid or app state, not the raw text in the code editor.
- id: json_editor-antd-T02
  name: Set retry count in a form section
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: set_scalar
  secondary_template: null
  browsergym_goal: In the Retry policy (JSON) editor, set retryCount to 3 and click Apply. The task will finish automatically when done.
  ui_copy: Update retryCount to 3 in the Retry policy (JSON) editor and apply.
  setup_description: |-
    Page shows an Ant Design form section titled “Request settings”.
    The form contains a few standard fields (e.g., Service name text input, Region select) that are NOT required for success.
    At the bottom of the section there is a labeled JSON editor: “Retry policy (JSON)”. The JSON editor starts in Tree mode.
    Numeric values are edited inline (click the number to edit).
    A primary “Apply” button sits directly under this JSON editor (applies only this editor), with a secondary “Reset” button next to it.
    Initial JSON value in the editor:
    {
      "retryCount": 1,
      "backoffMs": 250,
      "jitter": false
    }
    Other form controls are present as low clutter and should be ignored.
  scene_context:
    theme: light
    spacing: comfortable
    layout: form_section
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: low
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 2
    justification: A single numeric field change, but the editor is embedded in a small form section with a few irrelevant inputs.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.retryCount` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.retryCount
        value: 3
      tolerance: null
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Changing backoffMs or jitter instead of retryCount.
  - Setting retryCount to a different number (e.g., 2 or 30).
  - Leaving retryCount unchanged at 1.
  - Making the correct edit but not clicking Apply.
  - Introducing invalid JSON (e.g., deleting a required comma in Code mode).
  expected_interaction_path:
  - Locate the “Retry policy (JSON)” editor in the form section.
  - Click the value for retryCount and enter 3.
  - Confirm the inline edit (Enter/blur).
  - Click Apply.
  notes: If the editor supports both Tree and Code modes, the checker should evaluate the canonical parsed JSON, not the exact text formatting.
- id: json_editor-antd-T03
  name: Replace environment JSON in Code mode
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: enter_formatted
  secondary_template: null
  browsergym_goal: |-
    In the Environment (JSON) editor, switch to Code mode and replace the JSON with:
    {
      "env": "dev",
      "region": "us-east-1"
    }
    Then click Apply. The task will finish automatically when done.
  ui_copy: Replace the Environment JSON with env=dev and region=us-east-1, then apply.
  setup_description: |-
    Page shows a centered Ant Design Card titled “Environment (JSON)”.
    The card contains an embedded JSON editor with Tabs for “Tree” and “Code”. It starts in Tree mode showing an existing object.
    In Code mode, the editor is a plain-text JSON area with syntax highlighting and a validation message area.
    Below the editor are “Apply” (primary) and “Reset” (secondary) buttons.
    Initial JSON value (before editing):
    {
      "env": "local",
      "region": "us-west-2",
      "debug": true
    }
    No other controls affect task success.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 4
      disambiguation_load: 1
    justification: Short JSON snippet replacement in a single editor; Code mode makes the target state directly observable as text.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          env: dev
          region: us-east-1
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Leaving extra keys like debug in the final JSON.
  - Typos in string values (e.g., us-east1 or DEV).
  - Valid JSON but not matching the target content.
  - Correct content entered but Apply not clicked.
  - Invalid JSON (e.g., missing brace) at the time of Apply.
  expected_interaction_path:
  - Click the “Code” tab.
  - Select all text in the code editor and paste/type the target JSON.
  - Ensure no validation error is shown.
  - Click Apply.
  notes: Canonical equality should ignore whitespace and object key ordering.
- id: json_editor-antd-T04
  name: Reset table preferences JSON to defaults
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: clear_reset
  secondary_template: null
  browsergym_goal: Reset the Table preferences (JSON) back to its saved default using the Reset button. The task will finish automatically when done.
  ui_copy: Use Reset to restore the Table preferences JSON to the saved default.
  setup_description: |-
    Page shows a centered Ant Design Card titled “Table preferences (JSON)”.
    An embedded JSON editor is displayed in Tree mode.
    Below the editor are two buttons: “Apply” (primary) and “Reset” (secondary).
    The page indicates the editor currently has unsaved changes (e.g., a small “Modified” tag).
    Current (dirty) JSON shown in the editor at load:
    {
      "sort": "date",
      "pageSize": 50,
      "showArchived": true
    }
    Clicking Reset restores the saved default JSON immediately (no extra confirmation) and clears the “Modified” indicator.
    Target saved default JSON is:
    {
      "sort": "name",
      "pageSize": 20,
      "showArchived": false
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: Single reset action with immediate feedback; no multi-instance disambiguation.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - No explicit confirmation is required; live state is used.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          sort: name
          pageSize: 20
          showArchived: false
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Manually editing values to something close but not exactly the saved default.
  - Clicking Apply after making additional edits that deviate from the default.
  - Ending with invalid JSON in Code mode.
  - Resetting a different component (there are none in baseline), or leaving the dirty JSON unchanged.
  expected_interaction_path:
  - Click the Reset button below the JSON editor.
  - Verify the JSON updates to the default state.
  notes: Reset should commit the saved default into the editor’s canonical state; checker should compare against the default JSON object.
- id: json_editor-antd-T05
  name: Update maxUsers in the Override config JSON (two editors)
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In the Override config (JSON) editor, set limits.maxUsers to 50 and click Apply for that editor. The task will finish automatically when done.
  ui_copy: Change limits.maxUsers to 50 in the Override config (JSON) editor and apply.
  setup_description: |-
    Page shows a single centered Ant Design Card titled “Limits configuration”.
    Inside the card there are TWO JSON editor instances of the same type, stacked vertically:
    1) “Primary config (JSON)”
    2) “Override config (JSON)”
    Each editor has its own Tree/Code tabs and its own button row directly underneath: “Apply” and “Reset”.
    Both editors start in Tree mode.
    Initial JSON in “Primary config (JSON)”: {"limits": {"maxUsers": 25, "maxProjects": 10}, "features": {"beta": false}}
    Initial JSON in “Override config (JSON)”: {"limits": {"maxUsers": 10, "maxProjects": 5}, "features": {"beta": false}}
    No other UI on the page affects success; the main challenge is choosing the correct labeled editor instance.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 2
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 4
    justification: Requires editing a nested path and correctly disambiguating between two similar JSON editor instances.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.limits.maxUsers` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - The correct labeled instance is the one that must satisfy the predicate.
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.limits.maxUsers
        value: 50
      tolerance: null
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: true
      target_instance_label_or_id: Override config (JSON)
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Updating limits.maxUsers in the Primary config (JSON) editor instead of the Override config (JSON) editor.
  - Updating maxProjects instead of maxUsers.
  - Setting maxUsers to a different number (e.g., 5, 25, or 500).
  - Making the correct edit in the Override editor but clicking Apply for the Primary editor (or not clicking Apply at all).
  - Leaving invalid JSON in the Override editor (e.g., by switching to Code mode and breaking syntax).
  expected_interaction_path:
  - Locate the “Override config (JSON)” editor (second instance).
  - Expand limits and click maxUsers.
  - Enter 50 and confirm the inline edit.
  - Click Apply under the Override editor.
  notes: Instrumentation should uniquely identify each editor instance (e.g., data-testid includes the instance label) so the checker can verify the correct instance.
- id: json_editor-antd-T06
  name: Find and edit apiBaseUrl in dark theme
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: search_and_select
  secondary_template: null
  browsergym_goal: In the Service settings (JSON) editor, use the editor’s search to find apiBaseUrl, set it to https://api.example.com, and click Apply. The task will finish automatically when done.
  ui_copy: Search for apiBaseUrl in the Service settings JSON, update it, and apply.
  setup_description: |-
    Page uses a dark theme but otherwise follows the baseline isolated card layout.
    A centered Ant Design Card titled “Service settings (JSON)” contains one JSON editor instance.
    The editor starts in Tree mode and includes a small search field in the editor toolbar (placeholder “Search…”).
    When a search term is entered, matching keys in the tree are highlighted and the view scrolls to the match.
    Below the editor are “Apply” (primary) and “Reset” (secondary) buttons.
    Initial JSON is a moderately sized object including the key apiBaseUrl near the middle of the document, for example:
    {
      "service": "billing",
      "apiBaseUrl": "https://api.dev.local",
      "timeouts": {"connectMs": 500, "readMs": 2000},
      "features": {"newUI": false}
    }
    No other components are required.
  scene_context:
    theme: dark
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 3
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 2
    justification: Requires using an in-editor search affordance and then editing a specific key in a moderately sized JSON tree.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.apiBaseUrl` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.apiBaseUrl
        value: https://api.example.com
      tolerance: null
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Editing a similarly named field like baseUrl or apiUrl instead of apiBaseUrl.
  - Setting apiBaseUrl to a different URL (e.g., http instead of https).
  - Updating the value but not clicking Apply.
  - Breaking JSON validity while editing in Code mode.
  expected_interaction_path:
  - Click into the editor’s Search field.
  - Type apiBaseUrl and jump to the matching key.
  - Edit the apiBaseUrl value to https://api.example.com.
  - Click Apply.
  notes: If the editor supports multiple matches, the checker should only care about the final JSON value at $.apiBaseUrl.
- id: json_editor-antd-T07
  name: Fix invalid JSON and save from a modal
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: editor_operation
  secondary_template: null
  browsergym_goal: Open the raw JSON editor, make the JSON valid, set mode to "safe" and threshold to 0.8, then click Apply. The task will finish automatically when done.
  ui_copy: Edit the raw configuration JSON in the modal and apply the valid JSON (mode=safe, threshold=0.8).
  setup_description: |-
    Page shows an Ant Design Card titled “Advanced configuration”. The card includes a button labeled “Edit raw JSON…”.
    Clicking “Edit raw JSON…” opens an Ant Design Modal titled “Edit raw configuration JSON”.
    Inside the modal is the JSON editor (starts in Code mode). The modal footer has “Apply” (primary) and “Cancel” buttons.
    When the JSON text is invalid, the editor shows a red validation message (e.g., “Invalid JSON”) and the Apply button is disabled.
    Initial JSON text in the modal is intentionally invalid (for example it contains a trailing comma):
    {
      "mode": "safe",
      "threshold": 0.8,
    }
    There are no other steps after Apply; applying closes the modal and commits the JSON value.
  scene_context:
    theme: light
    spacing: comfortable
    layout: modal_flow
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 3
      feedback_dynamics: 4
      semantic_observability: 4
      disambiguation_load: 1
    justification: Requires interacting with a modal layer and resolving a validation state before the Apply action becomes possible.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          mode: safe
          threshold: 0.8
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Closing the modal with Cancel (no commit).
  - Leaving the JSON invalid (Apply disabled) or introducing a different syntax error.
  - Saving valid JSON but with mode not equal to "safe" or threshold not equal to 0.8.
  - Changing values in the underlying page outside the JSON editor (should not matter).
  expected_interaction_path:
  - Click “Edit raw JSON…” to open the modal.
  - In Code mode, fix the JSON so it is valid and matches the requested values.
  - Click Apply in the modal footer.
  notes: Checker should read the committed JSON after the modal Apply, not the transient invalid text.
- id: json_editor-antd-T08
  name: Reorder pipeline steps array by dragging
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: drag_operation
  secondary_template: null
  browsergym_goal: In the Pipeline steps (JSON) editor, reorder the steps array to ["validate", "transform", "send"], then click Apply. The task will finish automatically when done.
  ui_copy: Drag to reorder the steps array to validate  transform  send, then apply.
  setup_description: |-
    The JSON editor card is anchored near the top-right of the viewport.
    UI uses Ant Design compact spacing (tighter padding and smaller gaps), but the editor remains fully visible.
    A Card titled “Pipeline steps (JSON)” contains one JSON editor starting in Tree mode.
    The JSON has an array field steps. In Tree mode, each array item row shows a drag handle icon (grip) used to reorder items.
    Below the editor are “Apply” and “Reset” buttons.
    Initial JSON value:
    {
      "steps": ["validate", "send", "transform"],
      "enabled": true
    }
    Only the order of the array items matters for success; the enabled flag is a distractor and should remain unchanged.
  scene_context:
    theme: light
    spacing: compact
    layout: isolated_card
    placement: top_right
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 2
    justification: Requires precise drag-and-drop reordering within a compact UI; success depends on exact array ordering and an Apply step.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.steps` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.steps
        value:
        - validate
        - transform
        - send
      tolerance: null
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Leaving the array order as validate  send  transform.
  - Producing a different order (e.g., transform first).
  - Deleting or duplicating an array item while dragging.
  - Reordering correctly but forgetting to click Apply.
  - Editing the wrong field (e.g., enabled) or making JSON invalid.
  expected_interaction_path:
  - In Tree mode, locate steps array.
  - Drag the “transform” item above “send” using the drag handle.
  - Verify the array order is validate, transform, send.
  - Click Apply.
  notes: Checker should treat the steps array as order-sensitive.
- id: json_editor-antd-T09
  name: Match the Target JSON shown in the reference panel
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Make the editable JSON match the Target JSON shown on the right, then click Apply. The task will finish automatically when done.
  ui_copy: Match the editable JSON to the Target JSON and apply.
  setup_description: |-
    Page shows a centered Ant Design Card titled “Logging configuration”.
    The card is split into two columns:
    - Left: an editable JSON editor (Tree/Code tabs, starts in Tree mode).
    - Right: a read-only panel titled “Target JSON” showing the desired final JSON as formatted text.
    Below the editable editor are “Apply” and “Reset” buttons.
    Initial editable JSON:
    {
      "enabled": false,
      "level": "debug",
      "tags": ["api"]
    }
    Target JSON shown in the right panel (reference) is:
    {
      "enabled": true,
      "level": "info",
      "tags": ["billing", "api"]
    }
    The reference panel is for visual guidance; only the left JSON editor is checked.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: visual
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 4
      disambiguation_load: 2
    justification: Multiple coordinated edits are needed (boolean, string, and array content) and must match a reference exactly before applying.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          enabled: true
          level: info
          tags:
          - billing
          - api
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Matching only some fields (e.g., enabled=true but level still debug).
  - Having tags that contain the right strings but in the wrong order (order matters here).
  - Adding extra keys beyond enabled/level/tags.
  - Correct JSON in the editor but Apply not clicked.
  - Copying the target into the wrong place (the reference panel is read-only).
  expected_interaction_path:
  - Compare the editable JSON with the Target JSON panel.
  - Edit enabled to true, set level to "info", and update tags to ["billing", "api"].
  - Click Apply.
  notes: For this task, enforce array ordering for tags to make matching strict; object key order should not matter.
- id: json_editor-antd-T10
  name: Scroll within a large JSON to enable betaUI
  canonical_type: json_editor
  implementation_source: antd
  implementation_variant: jsoneditor
  implementation_component: 'AntD: Card/Form + Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: In the Feature flags (JSON) editor, set featureFlags.betaUI to true and click Apply. The task will finish automatically when done.
  ui_copy: Enable featureFlags.betaUI in the Feature flags JSON and apply.
  setup_description: |-
    The JSON editor card is anchored near the bottom-left of the viewport; the page itself does not need scrolling.
    A Card titled “Feature flags (JSON)” contains one JSON editor starting in Tree mode.
    The JSON document is long (dozens of keys/sections). The editor has its own internal scrollbar.
    The object featureFlags appears far below the initial viewport of the editor, requiring scrolling inside the editor to reach it.
    Below the editor are “Apply” and “Reset” buttons.
    Initial JSON includes (among many other keys):
    {
      ...
      "featureFlags": {
        "betaUI": false,
        "newSearch": false,
        "fastCheckout": true
      }
      ...
    }
    Only featureFlags.betaUI must be changed.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: bottom_left
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 2
    justification: The main difficulty is locating the correct key within a long, scrollable JSON tree and then committing the change.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.featureFlags.betaUI` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.featureFlags.betaUI
        value: true
      tolerance: null
      require_confirm: true
      confirm_control: Apply
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting a different flag (e.g., newSearch) instead of betaUI.
  - Setting betaUI to false or leaving it unchanged.
  - Making the edit but not clicking Apply.
  - Accidentally collapsing/expanding unrelated sections and leaving betaUI unchanged.
  - Breaking JSON validity by switching to Code mode and introducing a syntax error.
  expected_interaction_path:
  - Scroll inside the JSON editor until featureFlags is visible.
  - Expand featureFlags if needed and toggle/edit betaUI to true.
  - Click Apply.
  notes: If the editor supports search, it should be present but not required; the task is categorized as scroll_find due to the long document.
- id: json_editor-mui-T01
  name: Disable logging.enabled and save
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: In the Logging config (JSON) editor, set logging.enabled to false and click Save. The task will finish automatically when done.
  ui_copy: Set logging.enabled to false in the Logging config JSON and save.
  setup_description: |-
    Page shows a centered MUI Card (Paper) titled “Logging config (JSON)”.
    An embedded JSON editor is shown with a mode selector (MUI ToggleButtonGroup: “Tree” and “Code”). It starts in Tree mode.
    Booleans can be edited inline via a true/false control.
    A “Save” button is located under the editor; clicking Save commits the JSON.
    Initial JSON value:
    {
      "logging": {"enabled": true, "level": "info"},
      "service": "orders"
    }
    No other page elements affect success.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: Single boolean change in a single editor with a clear Save action.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.logging.enabled` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.logging.enabled
        value: false
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Changing logging.level instead of logging.enabled.
  - Leaving logging.enabled true.
  - Making the correct change but not clicking Save.
  - Leaving the JSON invalid/unparseable.
  expected_interaction_path:
  - Expand logging in the JSON tree.
  - Set enabled to false.
  - Click Save.
  notes: Prefer reading committed state after Save; avoid reading temporary inline edit buffers.
- id: json_editor-mui-T02
  name: Set timeoutMs to 5000
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: set_scalar
  secondary_template: null
  browsergym_goal: In the Timeout config (JSON) editor, set timeoutMs to 5000 and click Save. The task will finish automatically when done.
  ui_copy: Update timeoutMs to 5000 in the Timeout config JSON and save.
  setup_description: |-
    Page shows a centered MUI Card titled “Timeout config (JSON)”.
    A single JSON editor instance starts in Tree mode.
    Numeric values are edited inline (click the number to open a small numeric text field).
    A “Save” button below the editor commits the JSON.
    Initial JSON value:
    {
      "timeoutMs": 2000,
      "connectMs": 500,
      "retries": 2
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: Single numeric edit with an explicit Save button; minimal clutter and no disambiguation.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.timeoutMs` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.timeoutMs
        value: 5000
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting connectMs or retries instead of timeoutMs.
  - Entering 500 or 50000 instead of 5000.
  - Making the correct edit but not clicking Save.
  - Leaving invalid JSON (e.g., if switched to Code mode and broke syntax).
  expected_interaction_path:
  - Click timeoutMs value in the tree.
  - Enter 5000 and confirm.
  - Click Save.
  notes: If the editor auto-coerces numbers, the checker should compare numeric types after parsing.
- id: json_editor-mui-T03
  name: Edit env string with live commit
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: enter_text
  secondary_template: null
  browsergym_goal: In the Environment (JSON) editor, change env to "staging". The task will finish automatically when done.
  ui_copy: Set env to staging in the Environment JSON.
  setup_description: |-
    Page shows a centered MUI Card titled “Environment (JSON)”.
    The JSON editor starts in Tree mode.
    String values are edited inline (click the string value to open a small text field).
    This page uses live commit: once you confirm an inline edit (Enter or blur), the new JSON is immediately committed and a small MUI Snackbar briefly appears saying “Saved”. There is NO separate Save button.
    Initial JSON value:
    {
      "env": "dev",
      "region": "us-central-1"
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 1
    justification: A single inline string edit, but requires noticing that changes are committed automatically without a Save button.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.env` equals the target value.
    - The JSON document is valid and parseable.
    - No explicit confirmation is required; live state is used.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.env
        value: staging
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Editing region instead of env.
  - Typing "stagin" or other typos.
  - Leaving env as "dev".
  - Switching to Code mode and leaving invalid JSON.
  expected_interaction_path:
  - Click the env value in the tree.
  - Type staging and confirm the inline edit (Enter/blur).
  - Wait for the editor to commit (e.g., brief “Saved” snackbar).
  notes: Checker should read the editor’s committed model state (after inline commit), not rely on the transient Snackbar.
- id: json_editor-mui-T04
  name: Replace JSON in Code mode (dark theme)
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: enter_formatted
  secondary_template: null
  browsergym_goal: |-
    In the Deployment settings (JSON) editor, switch to Code mode and replace the JSON with:
    {
      "region": "eu-west-1",
      "debug": false
    }
    Then click Save. The task will finish automatically when done.
  ui_copy: Replace the Deployment settings JSON with region=eu-west-1 and debug=false, then save.
  setup_description: |-
    Page uses a dark theme and shows a centered MUI Card titled “Deployment settings (JSON)”.
    The JSON editor has a ToggleButtonGroup to switch modes (“Tree” and “Code”) and starts in Tree mode.
    In Code mode, the editor shows raw JSON text with a validation error area. When JSON is invalid, Save is disabled.
    A “Save” button below the editor commits the JSON.
    Initial JSON value:
    {
      "region": "us-east-2",
      "debug": true,
      "replicas": 2
    }
    Only the JSON editor state matters for success.
  scene_context:
    theme: dark
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 4
      disambiguation_load: 1
    justification: Requires switching modes and fully replacing JSON content; Save is gated by JSON validity.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          region: eu-west-1
          debug: false
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Leaving extra keys like replicas in the final JSON.
  - Using debug=true instead of false.
  - Correct JSON typed but Save not clicked.
  - Invalid JSON at the time of Save (e.g., missing brace).
  expected_interaction_path:
  - Click Code mode in the mode selector.
  - Replace the text with the target JSON.
  - Ensure there is no validation error.
  - Click Save.
  notes: Equality should ignore whitespace and object key order.
- id: json_editor-mui-T05
  name: Add version field inside a table cell editor
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: editor_operation
  secondary_template: null
  browsergym_goal: In the Webhook payload template (JSON) editor, add a top-level field version set to 2, then click Save. The task will finish automatically when done.
  ui_copy: 'Add version: 2 to the Webhook payload template JSON and save.'
  setup_description: |-
    Page uses a settings table layout (MUI Table) with two columns: “Setting” and “Value”.
    Most rows are simple text values (URL, Method) and are irrelevant.
    One row is labeled “Webhook payload template (JSON)”. Its Value cell contains a compact embedded JSON editor.
    The JSON editor starts in Tree mode and is slightly narrower than the full page because it lives inside the table cell.
    A “Save” button for this row is shown directly below the cell editor.
    Initial JSON value in the cell editor:
    {
      "event": "user.created",
      "data": {"id": "", "email": ""}
    }
    You must add a new top-level key version with numeric value 2.
  scene_context:
    theme: light
    spacing: comfortable
    layout: table_cell
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: medium
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 3
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 2
    justification: Editing is done in a constrained table-cell layout with surrounding distractor rows, and requires adding a new field before saving.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.version` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.version
        value: 2
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Adding version inside data instead of at the top level.
  - Adding version as a string ("2") instead of a number (2).
  - Setting version to a different number.
  - Adding the key but not clicking Save.
  - Making the JSON invalid (e.g., malformed structure in Code mode).
  expected_interaction_path:
  - Locate the row “Webhook payload template (JSON)”.
  - Add a new top-level field version with value 2 (via Tree add control or Code edit).
  - Click the row’s Save button.
  notes: Checker should parse JSON and verify $.version is numeric 2; key ordering is irrelevant.
- id: json_editor-mui-T06
  name: Add an allowed origin in the Backend editor (two instances)
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: search_and_select
  secondary_template: null
  browsergym_goal: In the Allowed origins (Backend JSON) editor, add https://example.com to allowedOrigins and click Save for that editor. The task will finish automatically when done.
  ui_copy: Add https://example.com to allowedOrigins in the Backend JSON editor and save.
  setup_description: |-
    Page shows a centered MUI Card titled “CORS settings (JSON)”.
    Inside are TWO JSON editor instances stacked:
    1) “Allowed origins (Frontend JSON)”
    2) “Allowed origins (Backend JSON)”
    Each editor includes a small in-editor search box (placeholder “Search…”) and starts in Tree mode.
    Each editor has its own Save button directly below it.
    Initial JSON in Frontend editor: {"allowedOrigins": ["https://app.example.com"], "allowCredentials": true}
    Initial JSON in Backend editor: {"allowedOrigins": ["https://api.example.com"], "allowCredentials": false}
    You must update only the Backend editor so that its allowedOrigins array contains https://example.com.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 2
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 3
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 4
    justification: Requires choosing the correct of two similar editors and adding an item to an array; search helps locate the field but adds an extra control to use.
  success_trigger:
    human_readable:
    - The array at path `$.allowedOrigins` contains all required members (order does not matter).
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - The correct labeled instance is the one that must satisfy the predicate.
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        json_path: $.allowedOrigins
        must_include:
        - https://example.com
        must_exclude: []
      tolerance:
        duplicates: ignore
        order: ignore
      require_confirm: true
      confirm_control: Save
      require_correct_instance: true
      target_instance_label_or_id: Allowed origins (Backend JSON)
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Adding the URL to the Frontend JSON editor instead of the Backend editor.
  - Replacing the existing origin instead of adding a new item (array should still contain the original entry).
  - Adding a malformed URL string (typo).
  - Adding correctly but not clicking Save for the Backend editor.
  - Leaving invalid JSON in the Backend editor.
  expected_interaction_path:
  - Locate the “Allowed origins (Backend JSON)” editor.
  - Use the search field to jump to allowedOrigins.
  - Add a new array item https://example.com.
  - Click Save under the Backend editor.
  notes: Checker should treat allowedOrigins as an order-insensitive set for this task.
- id: json_editor-mui-T07
  name: Set rateLimit.perMinute inside a form section
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In the Rate limit (JSON) editor, set rateLimit.perMinute to 120 and click Save. The task will finish automatically when done.
  ui_copy: Update rateLimit.perMinute to 120 in the Rate limit JSON and save.
  setup_description: |-
    Page shows a MUI form section titled “API limits”.
    Above the JSON editor are unrelated controls (e.g., a Select for strategy and a TextField for plan name) that are NOT required.
    A labeled JSON editor “Rate limit (JSON)” appears within the section and starts in Tree mode.
    The JSON contains a nested object rateLimit with fields perMinute and burst.
    A Save button under the editor commits changes.
    Initial JSON value:
    {
      "rateLimit": {"perMinute": 60, "burst": 30},
      "enabled": true
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: form_section
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: low
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 2
    justification: Nested-path edit within a cluttered form section; requires selecting the correct nested field and saving.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.rateLimit.perMinute` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.rateLimit.perMinute
        value: 120
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting burst instead of perMinute.
  - Setting perMinute to 12 or 1200 instead of 120.
  - Leaving perMinute unchanged at 60.
  - Making the edit but not clicking Save.
  - Leaving invalid JSON.
  expected_interaction_path:
  - Locate the “Rate limit (JSON)” editor within the form section.
  - Expand rateLimit and click perMinute.
  - Enter 120 and confirm the edit.
  - Click Save.
  notes: Distraction form controls should not affect the checker; only the JSON editor’s committed value matters.
- id: json_editor-mui-T08
  name: Drag to reorder priority array (order-sensitive)
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: drag_operation
  secondary_template: null
  browsergym_goal: In the Priority order (JSON) editor, reorder priority to ["P1", "P2", "P3"], then click Save. The task will finish automatically when done.
  ui_copy: Reorder priority to P1, P2, P3 and save.
  setup_description: |-
    Page shows a centered MUI Card titled “Priority order (JSON)”.
    A single JSON editor starts in Tree mode.
    The JSON includes an array field priority. Each item row in the array shows a drag handle used for reordering.
    A Save button below the editor commits the JSON.
    Initial JSON value:
    {
      "priority": ["P3", "P1", "P2"],
      "label": "Support queue"
    }
    Only the order of the priority array determines success.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 1
    justification: Order-sensitive drag-and-drop reordering inside the JSON editor with an explicit Save step.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.priority` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.priority
        value:
        - P1
        - P2
        - P3
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Ending with a different order (e.g., P1, P3, P2).
  - Deleting or duplicating an array entry while dragging.
  - Editing label instead of priority.
  - Reordering correctly but not clicking Save.
  - Leaving JSON invalid.
  expected_interaction_path:
  - Locate the priority array in Tree mode.
  - Drag items until the order is P1, P2, P3.
  - Click Save.
  notes: Array order must be enforced by the checker; key order is irrelevant.
- id: json_editor-mui-T09
  name: Make Draft payload match the reference (two editors)
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Make the Draft payload JSON match the Target payload JSON shown on the page, then click Save draft. The task will finish automatically when done.
  ui_copy: Match the Draft payload JSON to the Target payload JSON and save the draft.
  setup_description: |-
    Page shows a centered MUI Card titled “Webhook payloads”.
    It contains two editable JSON editor instances side-by-side:
    - Left: “Draft payload JSON” (editable; has its own “Save draft” button)
    - Right: “Published payload JSON” (editable; has its own “Save published” button)
    Below the editors, a read-only panel titled “Target payload JSON” displays the desired JSON for the Draft as formatted text.
    Both editors start in Tree mode.
    Initial Draft JSON:
    {
      "id": "evt_000",
      "type": "payment.failed",
      "amount": 0
    }
    Initial Published JSON (distractor; should not be edited):
    {
      "id": "evt_999",
      "type": "payment.succeeded",
      "amount": 9.99
    }
    Target payload JSON shown in the read-only panel is:
    {
      "id": "evt_123",
      "type": "payment.succeeded",
      "amount": 19.99
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 2
    guidance: visual
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 4
      disambiguation_load: 4
    justification: Requires matching multiple fields to a reference while avoiding edits to a similar second editor; also requires using the correct Save button.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - The correct labeled instance is the one that must satisfy the predicate.
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          id: evt_123
          type: payment.succeeded
          amount: 19.99
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Save draft
      require_correct_instance: true
      target_instance_label_or_id: Draft payload JSON
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Editing the Published payload JSON instead of (or in addition to) the Draft payload JSON.
  - Matching only some fields (e.g., correct type but wrong id).
  - Using amount 19.9 or 19 instead of 19.99.
  - Draft matches target but Save draft not clicked.
  - Clicking Save published instead of Save draft.
  - Leaving invalid JSON in Draft.
  expected_interaction_path:
  - Read the Target payload JSON panel.
  - Edit the Draft payload JSON fields (id, type, amount) to match the target.
  - Click Save draft.
  notes: Checker must enforce correct instance and correct confirm control (Save draft).
- id: json_editor-mui-T10
  name: Fix invalid JSON in a small drawer editor and set sampleRate
  canonical_type: json_editor
  implementation_source: mui
  implementation_variant: jsoneditor
  implementation_component: 'MUI: Paper/Card + ToggleButtonGroup/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: editor_operation
  secondary_template: null
  browsergym_goal: Open the Advanced sampling (JSON) drawer, make the JSON valid, set sampleRate to 0.25, and click Save. The task will finish automatically when done.
  ui_copy: 'Edit Advanced sampling JSON in the drawer: valid JSON with sampleRate=0.25; then save.'
  setup_description: |-
    Page shows a MUI settings card titled “Telemetry”. It contains a button labeled “Edit advanced sampling (JSON)”.
    Clicking the button opens a MUI Drawer from the right. The drawer title is “Advanced sampling (JSON)”.
    Inside the drawer is a small-scale JSON editor (smaller font/controls than default) starting in Code mode.
    When the JSON text is invalid, an error message is shown and the drawer’s “Save” button is disabled.
    Initial JSON text in the drawer is invalid (missing a closing brace):
    {
      "sampleRate": 0.1,
      "mode": "adaptive"

    You must fix the syntax so the JSON becomes valid, and set sampleRate to 0.25. Other fields (like mode) can remain unchanged.
    Clicking Save commits the JSON and closes the drawer.
  scene_context:
    theme: light
    spacing: comfortable
    layout: drawer_flow
    placement: center
    scale: small
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 3
      density_choice_interference: 1
      depth_layering: 3
      feedback_dynamics: 5
      semantic_observability: 4
      disambiguation_load: 2
    justification: Combines overlay depth (drawer), validation-gated saving, and a small-scale code editor requiring precise numeric entry.
  success_trigger:
    human_readable:
    - The committed JSON numeric value at path `$.sampleRate` is within ±0.0001 of the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: within_tolerance
      target_state:
        json_path: $.sampleRate
        value: 0.25
      tolerance:
        type: absolute
        value: 0.0001
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Leaving the JSON invalid so Save cannot be performed.
  - Setting sampleRate to a different value (e.g., 0.2 or 25).
  - Entering 0.2502 (outside tolerance) or leaving sampleRate at 0.1.
  - Fixing JSON and editing sampleRate but not clicking Save.
  - Editing the wrong field (e.g., mode) without updating sampleRate.
  expected_interaction_path:
  - Click “Edit advanced sampling (JSON)” to open the drawer.
  - In Code mode, fix the JSON syntax (make it valid).
  - Set sampleRate to 0.25.
  - Click Save in the drawer.
  notes: Checker should parse committed JSON after Save and verify sampleRate within tolerance; also ensure JSON is valid.
- id: json_editor-mantine-T01
  name: Edit serviceName string and save
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: enter_text
  secondary_template: null
  browsergym_goal: In the Service metadata (JSON) editor, change serviceName to "Orders API" and click Save. The task will finish automatically when done.
  ui_copy: Set serviceName to Orders API in the Service metadata JSON and save.
  setup_description: |-
    Page shows a centered Mantine Card titled “Service metadata (JSON)”.
    A single embedded JSON editor starts in Tree mode. Mantine styling is used for surrounding controls.
    String values are edited inline (click the value to edit).
    A “Save” button below the editor commits the JSON.
    Initial JSON value:
    {
      "serviceName": "Orders",
      "owner": "platform"
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: Single inline text edit in one editor with an explicit Save button.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.serviceName` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.serviceName
        value: Orders API
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Editing owner instead of serviceName.
  - Setting serviceName to a different string (e.g., "Order API").
  - Correct edit but Save not clicked.
  - Leaving invalid JSON after switching to Code mode.
  expected_interaction_path:
  - Click the serviceName value.
  - Type Orders API and confirm the edit.
  - Click Save.
  notes: Mantine wrapper should expose a stable Save control; checker reads committed JSON after Save.
- id: json_editor-mantine-T02
  name: Enable cache.enabled flag
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: In the Cache settings (JSON) editor, set cache.enabled to true and click Save. The task will finish automatically when done.
  ui_copy: Turn cache.enabled on in the Cache settings JSON and save.
  setup_description: |-
    Page shows a centered Mantine Card titled “Cache settings (JSON)”.
    The JSON editor starts in Tree mode. Boolean values can be edited via an inline true/false control.
    A Save button is shown under the editor.
    Initial JSON value:
    {
      "cache": {"enabled": false, "ttlSeconds": 60},
      "strategy": "memory"
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: A single boolean toggle in a clearly labeled, single-instance editor.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.cache.enabled` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.cache.enabled
        value: true
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Changing ttlSeconds or strategy instead of cache.enabled.
  - Leaving cache.enabled false.
  - Correct toggle but Save not clicked.
  - Invalid JSON in final state.
  expected_interaction_path:
  - Expand cache in the tree.
  - Set enabled to true.
  - Click Save.
- id: json_editor-mantine-T03
  name: Revert JSON to last saved state
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: clear_reset
  secondary_template: null
  browsergym_goal: Use the Revert button to restore the View options (JSON) editor back to the last saved state. The task will finish automatically when done.
  ui_copy: Revert the View options JSON back to the last saved state.
  setup_description: |-
    Page shows a centered Mantine Card titled “View options (JSON)”.
    A single JSON editor is shown in Tree mode.
    Below the editor are two controls: a primary “Save” button and a secondary “Revert” button.
    The editor loads with unsaved changes already present (an inline “Unsaved changes” indicator is visible).
    Current (dirty) JSON shown at load:
    {
      "layout": "list",
      "pageSize": 50,
      "showHints": false
    }
    Clicking Revert immediately restores the last saved JSON (no confirmation).
    The last saved JSON should be:
    {
      "layout": "grid",
      "pageSize": 25,
      "showHints": true
    }
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L0
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: Single revert action with immediate state change in a single editor.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - No explicit confirmation is required; live state is used.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          layout: grid
          pageSize: 25
          showHints: true
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: false
      confirm_control: null
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Clicking Save instead of Revert and keeping the dirty JSON.
  - Manually editing values but not restoring the exact saved defaults.
  - Leaving invalid JSON.
  - Reverting partially (e.g., only one field changed) instead of the full saved state.
  expected_interaction_path:
  - Click the Revert button under the JSON editor.
  - Verify the JSON updates to the last saved values.
  notes: Revert should set the editor’s committed JSON state to the saved snapshot; checker compares against that snapshot.
- id: json_editor-mantine-T04
  name: Replace limits JSON in a modal (Code mode)
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: enter_formatted
  secondary_template: null
  browsergym_goal: |-
    Open the Limits (JSON) editor modal, switch to Code mode if needed, and replace the JSON with:
    {
      "limits": {"maxItems": 100, "maxSizeMb": 10}
    }
    Then click Save. The task will finish automatically when done.
  ui_copy: In the modal JSON editor, replace the JSON with limits.maxItems=100 and limits.maxSizeMb=10, then save.
  setup_description: |-
    Page shows a Mantine Card titled “Upload limits”. It contains a button labeled “Edit limits (JSON)…”.
    Clicking the button opens a Mantine Modal titled “Limits (JSON)”.
    Inside the modal is the JSON editor with a mode control (Tree/Code). It starts in Code mode for this task.
    The modal footer contains “Save” and “Cancel” buttons. Save is disabled if JSON is invalid.
    Initial JSON in the modal:
    {
      "limits": {"maxItems": 50, "maxSizeMb": 5},
      "enforce": true
    }
    You must replace it with the provided JSON (only the limits object; no extra keys like enforce).
  scene_context:
    theme: light
    spacing: comfortable
    layout: modal_flow
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 3
      feedback_dynamics: 3
      semantic_observability: 4
      disambiguation_load: 1
    justification: Requires working in a modal and replacing the JSON content precisely in Code mode before saving.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          limits:
            maxItems: 100
            maxSizeMb: 10
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Leaving extra keys (e.g., enforce) in the final JSON.
  - Setting maxItems/maxSizeMb to different values.
  - Valid JSON but not matching the target structure.
  - Not clicking Save (closing with Cancel).
  - Saving invalid JSON (should be prevented by disabled Save).
  expected_interaction_path:
  - Click “Edit limits (JSON)…”.
  - In Code mode, replace the JSON with the target snippet.
  - Click Save in the modal.
  notes: For equality, ignore whitespace; enforce that only the limits object is present (no additional keys).
- id: json_editor-mantine-T05
  name: Set preferences.locale in User overrides (two editors)
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: hierarchical_path_select
  secondary_template: null
  browsergym_goal: In the User overrides (JSON) editor, set preferences.locale to "fr-CA" and click Save for that editor. The task will finish automatically when done.
  ui_copy: Update preferences.locale to fr-CA in the User overrides JSON editor and save.
  setup_description: |-
    Page shows a centered Mantine Card titled “User preferences”.
    Inside the card are TWO JSON editor instances:
    1) “Default preferences (JSON)”
    2) “User overrides (JSON)”
    Each editor starts in Tree mode and has its own Save button below it.
    Initial JSON in Default preferences:
    {
      "preferences": {"locale": "en-US", "timezone": "UTC"}
    }
    Initial JSON in User overrides:
    {
      "preferences": {"locale": "en-US", "timezone": "America/New_York"}
    }
    You must edit only the User overrides editor.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 2
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 4
    justification: Nested-path string edit combined with disambiguation between two similar JSON editor instances.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.preferences.locale` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - The correct labeled instance is the one that must satisfy the predicate.
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.preferences.locale
        value: fr-CA
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: true
      target_instance_label_or_id: User overrides (JSON)
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Changing locale in the Default preferences (JSON) editor instead of User overrides (JSON).
  - Changing timezone instead of locale.
  - Setting locale to "fr" or "fr_CA" instead of "fr-CA".
  - Correct edit but clicking Save on the wrong editor or not clicking Save.
  - Leaving invalid JSON in User overrides.
  expected_interaction_path:
  - Locate the “User overrides (JSON)” editor.
  - Expand preferences and edit locale to fr-CA.
  - Click Save under the User overrides editor.
  notes: Checker must verify the correct instance label and committed state after the instance’s Save.
- id: json_editor-mantine-T06
  name: Match formatting options to a visual reference
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: match_reference
  secondary_template: null
  browsergym_goal: Make the editable JSON match the Reference JSON shown on the page, then click Save. The task will finish automatically when done.
  ui_copy: Match the JSON editor to the Reference JSON and save.
  setup_description: |-
    Page shows a centered Mantine Card titled “Formatter options (JSON)”.
    The card is split into two areas:
    - Left: one editable JSON editor (starts in Tree mode) with a Save button underneath.
    - Right: a read-only card labeled “Reference JSON” showing the desired final JSON as formatted text.
    Initial editable JSON:
    {
      "format": {"pretty": false, "indent": 4},
      "sortKeys": false
    }
    Reference JSON shown on the right:
    {
      "format": {"pretty": true, "indent": 2},
      "sortKeys": true
    }
    Only the editable JSON editor is checked; the reference card is for visual guidance.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: visual
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 4
      disambiguation_load: 2
    justification: Requires coordinating multiple edits across nested and top-level fields to match a reference, with an explicit Save step.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          format:
            pretty: true
            indent: 2
          sortKeys: true
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Changing only one of the required fields (e.g., pretty=true but indent still 4).
  - Setting indent to 2 as a string ("2") instead of a number (2).
  - Correct JSON but Save not clicked.
  - Adding extra keys beyond format and sortKeys.
  - Invalid JSON after edits.
  expected_interaction_path:
  - Compare editable JSON with the Reference JSON card.
  - Set format.pretty to true, format.indent to 2, and sortKeys to true.
  - Click Save.
  notes: Object key ordering should not affect equality; numeric types should be preserved.
- id: json_editor-mantine-T07
  name: Reorder columns array in dark theme
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: drag_operation
  secondary_template: null
  browsergym_goal: In the Table config (JSON) editor, reorder columns to ["id", "email", "createdAt"], then click Save. The task will finish automatically when done.
  ui_copy: Drag to reorder columns to id, email, createdAt and save.
  setup_description: |-
    Page uses a dark theme and shows a centered Mantine Card titled “Table config (JSON)”.
    A single JSON editor starts in Tree mode.
    The JSON includes an array field columns. Each item row in the array shows a drag handle used to reorder items.
    A Save button below the editor commits changes.
    Initial JSON value:
    {
      "columns": ["email", "id", "createdAt"],
      "pageSize": 25
    }
    Only the order of columns matters; pageSize is a distractor.
  scene_context:
    theme: dark
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 1
    justification: Order-sensitive drag reordering within the JSON editor, under dark theme styling and requiring a Save confirmation.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.columns` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.columns
        value:
        - id
        - email
        - createdAt
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Ending with any other ordering (e.g., email first).
  - Accidentally removing or duplicating a column entry while dragging.
  - Editing pageSize instead of columns.
  - Reordering correctly but not clicking Save.
  - Invalid JSON state after edits.
  expected_interaction_path:
  - Locate columns array.
  - Drag items until the order is id, email, createdAt.
  - Click Save.
  notes: Checker should enforce order-sensitive comparison for the columns array.
- id: json_editor-mantine-T08
  name: Scroll to find experimental.searchV2 in compact mode
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: In the Features (JSON) editor, set features.experimental.searchV2 to true and click Save. The task will finish automatically when done.
  ui_copy: Enable features.experimental.searchV2 in the Features JSON and save.
  setup_description: |-
    The JSON editor card is anchored near the top-left of the viewport.
    The page uses compact spacing (reduced padding and tighter rows) for the editor area.
    A Mantine Card titled “Features (JSON)” contains a single JSON editor starting in Tree mode.
    The JSON document is long and requires scrolling inside the editor to reach lower sections.
    The nested object features.experimental appears far down the tree.
    A Save button is located below the editor.
    The JSON includes (among other sections):
    {
      ...
      "features": {
        "experimental": {
          "searchV2": false,
          "checkoutV3": false
        }
      }
      ...
    }
    Only features.experimental.searchV2 must be changed.
  scene_context:
    theme: light
    spacing: compact
    layout: isolated_card
    placement: top_left
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 2
    justification: Requires scrolling within a dense, compact JSON tree to locate a deeply nested boolean and then saving.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.features.experimental.searchV2` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.features.experimental.searchV2
        value: true
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Setting checkoutV3 instead of searchV2.
  - Leaving searchV2 false or unchanged.
  - Correct edit but not clicking Save.
  - Breaking JSON validity (e.g., in Code mode).
  expected_interaction_path:
  - Scroll within the editor until features.experimental is visible.
  - Set searchV2 to true.
  - Click Save.
  notes: Even if the editor has a search box, the task is intended to test scrolling/locating within a long document.
- id: json_editor-mantine-T09
  name: Add Slack integration object in a dashboard scene
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: search_and_select
  secondary_template: null
  browsergym_goal: In the Integrations (JSON) editor, add integrations.slack with enabled=true and channel="#alerts", then click Save. The task will finish automatically when done.
  ui_copy: Add integrations.slack (enabled + channel) to the Integrations JSON and save.
  setup_description: |-
    Page uses a dashboard layout with multiple Mantine Cards (stats, recent events, and logs) as distractors.
    One card in the dashboard is titled “Integrations (JSON)”. This card contains the only JSON editor relevant to the task.
    The JSON editor starts in Tree mode and includes a search field in its toolbar (placeholder “Search…”).
    Below the editor is a Save button.
    Initial JSON value:
    {
      "integrations": {
        "email": {"enabled": true, "address": "alerts@example.com"},
        "pagerduty": {"enabled": false}
      }
    }
    You must add a new object integrations.slack with fields enabled=true and channel="#alerts".
  scene_context:
    theme: light
    spacing: comfortable
    layout: dashboard
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: high
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 2
      feedback_dynamics: 3
      semantic_observability: 3
      disambiguation_load: 3
    justification: Requires adding a new nested object with multiple fields in a cluttered dashboard scene, ideally using search to locate the correct insertion point.
  success_trigger:
    human_readable:
    - The committed JSON value at path `$.integrations.slack` equals the target value.
    - The JSON document is valid and parseable.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: path_equals
      target_state:
        json_path: $.integrations.slack
        value:
          enabled: true
          channel: '#alerts'
      tolerance: null
      require_confirm: true
      confirm_control: Save
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Adding slack at the top level instead of under integrations.
  - Adding only enabled without channel (or vice versa).
  - 'Using channel "alerts" without the leading #.'
  - Editing existing integrations (email/pagerduty) instead of adding slack.
  - Correct object added but Save not clicked.
  - Leaving invalid JSON.
  expected_interaction_path:
  - Locate the “Integrations (JSON)” card in the dashboard.
  - Use the editor search to jump to integrations.
  - Add a new child key slack under integrations and set its fields enabled=true and channel="#alerts".
  - Click Save.
  notes: Checker should parse JSON and compare the slack object as a nested structure (key order inside slack can be ignored).
- id: json_editor-mantine-T10
  name: Replace advanced JSON, save, and confirm
  canonical_type: json_editor
  implementation_source: mantine
  implementation_variant: jsoneditor
  implementation_component: 'Mantine: Card + SegmentedControl/Tabs + Buttons + (external) JSONEditor (josdejong/jsoneditor)'
  task_template: enter_formatted
  secondary_template: null
  browsergym_goal: |-
    Open the Advanced config (JSON) modal. In Code mode, replace the JSON with:
    {
      "mode": "strict",
      "sampling": {"sampleRate": 0.5},
      "tags": ["prod"]
    }
    Click Save, then confirm the dialog to apply the change. The task will finish automatically when done.
  ui_copy: In the Advanced config modal, replace the JSON with the provided target and confirm to apply.
  setup_description: |-
    Page shows a Mantine settings card titled “Runtime config”. A button labeled “Edit advanced config (JSON)…“ opens a Mantine Modal.
    The modal title is “Advanced config (JSON)”. The modal contains:
    - Left: JSON editor with Tree/Code mode selector (starts in Code mode).
    - Right: a read-only panel titled “Target JSON” showing the same target snippet (visual reference).
    Modal footer has a “Save” button and a “Cancel” button.
    When Save is clicked, a confirmation dialog appears (Mantine confirm modal) with buttons “Confirm” and “Cancel”. The JSON is not committed until “Confirm” is clicked.
    Initial JSON in the editor is:
    {
      "mode": "lenient",
      "sampling": {"sampleRate": 0.1},
      "tags": []
    }
    You must replace it with the target JSON and complete the confirm step.
  scene_context:
    theme: light
    spacing: comfortable
    layout: modal_flow
    placement: center
    scale: default
    instances: 1
    guidance: mixed
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 4
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 4
      feedback_dynamics: 4
      semantic_observability: 4
      disambiguation_load: 2
    justification: Requires a full JSON replacement in an overlay plus an additional confirmation dialog before the change is committed.
  success_trigger:
    human_readable:
    - The committed JSON document equals the target JSON after canonical parsing (whitespace-insensitive).
    - Object key order is ignore; array order is respect.
    - The change is committed via the required confirmation control.
    - Instance disambiguation is not required (only one target instance).
    canonical_predicate:
      predicate_type: equals
      target_state:
        json:
          mode: strict
          sampling:
            sampleRate: 0.5
          tags:
          - prod
      tolerance:
        object_key_order: ignore
        array_order: respect
      require_confirm: true
      confirm_control: Confirm
      require_correct_instance: false
      target_instance_label_or_id: null
      terminal_condition: task ends when predicate holds
  negative_cases:
  - Clicking Save but cancelling the confirmation dialog (no commit).
  - Closing the modal with Cancel.
  - Committing JSON that is valid but does not match the target (wrong mode/sampleRate/tags).
  - Leaving extra keys beyond mode, sampling, and tags.
  - Confirming while the editor content is invalid JSON.
  expected_interaction_path:
  - Click “Edit advanced config (JSON)…“ to open the modal.
  - In Code mode, replace the JSON with the target snippet.
  - Click Save.
  - In the confirmation dialog, click Confirm.
  notes: Checker should verify the committed JSON after the confirm step; it should not pass if the user only clicks Save without Confirm.