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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- id: collapsible_disclosure-antd-T01
  name: "FAQ: expand Shipping details"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (multi-expand)"
  implementation_component: "AntD: Collapse"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the FAQ card, expand the "Shipping details" section. The task will finish automatically when done.'
  ui_copy: 'FAQ
Please expand the "Shipping details" section.'
  setup_description: |-
    You are on a simple FAQ page presented as a single centered card.

    - Layout: isolated_card, centered in the viewport.
    - Component: one Ant Design Collapse with 4 panels stacked vertically.
    - Panel headers (top to bottom): "Shipping details", "Returns", "Warranty", "Contact".
    - Initial state: all panels are collapsed (no content visible).
    - Affordances: each header row is clickable and shows the standard AntD expand/collapse chevron.
    - No other interactive elements are required for success; expanding the correct panel is sufficient.
  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: 1
      semantic_observability: 1
      disambiguation_load: 1
    justification: "Single, clearly labeled panel in a single Collapse instance with no clutter or extra steps."
  success_trigger:
    human_readable:
      - 'The only Collapse instance on the page has the panel titled "Shipping details" expanded (its content region is visible / aria-expanded=true on its header control).'
      - "No confirmation (Apply/OK) click is required."
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Shipping details"
        allow_other_panels_expanded: true
        mode: "multiple"
      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:
    - 'Expanding any other panel (e.g., "Returns") instead of "Shipping details".'
    - 'Leaving "Shipping details" collapsed.'
    - "Expanding the correct panel in a non-existent/wrong instance (not applicable here, but should not be counted)."
  expected_interaction_path:
    - 'Click the header row labeled "Shipping details".'
    - "Verify the panel content becomes visible."
  notes: |-
    Checker hint: use data-testid on the Collapse root (e.g., collapse-root) and each panel header (e.g., collapse-header-shipping-details).
    Expanded state can be detected via aria-expanded on the clickable header element, plus visibility of the associated region.

- id: collapsible_disclosure-antd-T02
  name: "Account sections: switch to Billing (accordion mode)"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (accordion=true)"
  implementation_component: "AntD: Collapse"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the "Account sections" accordion, expand the "Billing" section so it is the only open section. The task will finish automatically when done.'
  ui_copy: 'Account sections
Expand "Billing".'
  setup_description: |-
    A single centered card titled "Account sections" contains an Ant Design Collapse configured in accordion mode.

    - Layout: isolated_card, centered.
    - Component: one AntD Collapse with accordion behavior (only one panel open at a time).
    - Panels: "Overview", "Billing", "Security".
    - Initial state: "Overview" is expanded; "Billing" and "Security" are collapsed.
    - Interaction: clicking a panel header expands it and collapses the previously open panel automatically.
  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: 1
      semantic_observability: 1
      disambiguation_load: 1
    justification: "Accordion mode reduces ambiguity (only one can be open), and the target header is directly visible."
  success_trigger:
    human_readable:
      - 'Within the "Account sections" accordion, the expanded panel is exactly "Billing" (and "Overview" is no longer expanded).'
      - "No confirmation click is required."
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Billing"]
        order_insensitive: true
        mode: "single"
      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:
    - 'Leaving "Overview" expanded.'
    - 'Expanding "Security" instead of "Billing".'
    - 'Having multiple panels expanded at once (should be impossible in this configuration, but must not count).'
  expected_interaction_path:
    - 'Click the "Billing" panel header.'
    - "Ensure only Billing content is visible."
  notes: |-
    Checker hint: in accordion mode, validate the activeKey corresponds to the Billing panel key (or header aria-expanded state).

- id: collapsible_disclosure-antd-T03
  name: "Preferences: collapse everything (dark theme)"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (multi-expand)"
  implementation_component: "AntD: Collapse"
  task_template: clear_reset
  secondary_template: null
  browsergym_goal: 'In the "Preferences" card, collapse all sections so none are expanded. The task will finish automatically when done.'
  ui_copy: 'Preferences
Collapse all sections (leave none expanded).'
  setup_description: |-
    The page is in dark theme and shows a single centered card labeled "Preferences".

    - Layout: isolated_card, centered.
    - Theme: dark (dark background and dark card surface).
    - Component: one Ant Design Collapse (multi-expand allowed).
    - Panels: "General", "Notifications", "Privacy".
    - Initial state: "General" and "Notifications" are expanded; "Privacy" is collapsed.
    - There is no dedicated "Collapse all" button; you must collapse the expanded panels by interacting with their headers.
  scene_context:
    theme: dark
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Requires closing more than one open panel, but the component is isolated and labels are clear."
  success_trigger:
    human_readable:
      - 'All panels in the "Preferences" Collapse are collapsed (no panel content region is visible; all headers have aria-expanded=false).'
      - "No confirmation click is required."
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: []
        order_insensitive: true
        mode: "multiple"
      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:
    - "Leaving any panel expanded (even partially)."
    - "Collapsing the wrong thing outside the Collapse (not applicable here, but must not count)."
  expected_interaction_path:
    - 'Click the header of "General" to collapse it.'
    - 'Click the header of "Notifications" to collapse it.'
    - "Verify that no sections show content."
  notes: |-
    Checker hint: expanded panels can be detected via aria-expanded on each panel header control or by checking region visibility.

- id: collapsible_disclosure-antd-T04
  name: "Secondary preferences: expand Security (two instances)"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (accordion=true)"
  implementation_component: "AntD: Collapse"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the "Secondary preferences" accordion, expand the "Security" section. The task will finish automatically when done.'
  ui_copy: 'Preferences
Two cards: Primary preferences and Secondary preferences.
Expand "Security" in Secondary preferences.'
  setup_description: |-
    Two separate cards are stacked vertically in the center of the page.

    - Layout: isolated_card (two cards in the same scene), centered.
    - Instances: 2 Collapse components of the same type.
      1) Card title: "Primary preferences" (top)
      2) Card title: "Secondary preferences" (bottom)   TARGET INSTANCE
    - Each card contains an AntD Collapse in accordion mode with identical panels:
      - "Notifications", "Security", "Connected apps"
    - Initial state:
      - In BOTH instances, all panels start collapsed (no section open).
    - No other UI is required; the key difficulty is choosing the correct instance by its card title.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 2
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 1
      feedback_dynamics: 1
      semantic_observability: 1
      disambiguation_load: 3
    justification: "Two similar accordions require selecting the correct instance, but the target label is explicit and all headers are visible."
  success_trigger:
    human_readable:
      - 'In the accordion inside the card titled "Secondary preferences", the expanded panel is exactly "Security".'
      - 'The accordion inside "Primary preferences" remains unchanged (all panels stay collapsed).'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Security"]
        order_insensitive: true
        mode: "single"
        non_target_instances_must_remain_unchanged: true
        non_target_expected_expanded_panels: []
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: "Secondary preferences"
      terminal_condition: "task ends when predicate holds"
  negative_cases:
    - 'Expanding "Security" in the "Primary preferences" accordion (wrong instance).'
    - 'Expanding a different section in "Secondary preferences" (e.g., "Notifications").'
    - 'Leaving "Secondary preferences" with no section expanded.'
  expected_interaction_path:
    - 'Locate the card titled "Secondary preferences".'
    - 'Click the "Security" header within that accordion.'
    - "Confirm the Security panel content is visible in the Secondary card only."
  notes: |-
    Instrumentation hint: add data-testid to each instance container (e.g., collapse-instance-primary, collapse-instance-secondary) and to each panel header.

- id: collapsible_disclosure-antd-T05
  name: "Docs list: scroll and open API limits"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (multi-expand, scroll container)"
  implementation_component: "AntD: Collapse"
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: 'In the documentation list, scroll if needed and expand the "API limits" section. The task will finish automatically when done.'
  ui_copy: 'API Documentation
Expand "API limits".'
  setup_description: |-
    The page shows a centered documentation card with a fixed-height scroll area.

    - Layout: isolated_card, centered.
    - Component: one AntD Collapse with 12 panels inside a div with its own vertical scroll (overflow:auto, height ~320px).
    - Panel headers include (among others): "Authentication", "Endpoints", "Rate limits", "API limits", "Webhooks", "Errors".
    - Initial state: all panels collapsed.
    - Not all headers are visible at once; you must scroll within the card to bring "API limits" into view.
    - There are no other interactive distractors.
  scene_context:
    theme: light
    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: 3
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Requires scrolling within an inner container and choosing among many similar section titles."
  success_trigger:
    human_readable:
      - 'The panel titled "API limits" is expanded in the documentation Collapse.'
      - "No confirmation click is required."
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "API limits"
        allow_other_panels_expanded: true
        mode: "multiple"
      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:
    - 'Expanding "Rate limits" instead of "API limits".'
    - 'Leaving "API limits" collapsed because it was off-screen.'
    - "Expanding the correct panel but in a different (non-target) component (not applicable here)."
  expected_interaction_path:
    - "Scroll within the documentation card until the 'API limits' header is visible."
    - 'Click the "API limits" header.'
    - "Verify the API limits content region is visible."
  notes: |-
    Checker hint: ensure the scroll container has a stable selector so agents can scroll it; use aria-expanded on the header button for the target panel.

- id: collapsible_disclosure-antd-T06
  name: "Modal: open dialog then expand Push notifications"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (accordion=true) in Modal"
  implementation_component: "AntD: Modal + Collapse"
  task_template: open_overlay
  secondary_template: null
  browsergym_goal: 'Open the "Edit notification categories" dialog, then expand the "Push notifications" section. You do not need to click Save/OK. The task will finish automatically when done.'
  ui_copy: 'Notifications
Button: "Edit notification categories"
In the dialog, expand "Push notifications".'
  setup_description: |-
    A notifications settings page includes a modal flow.

    - Layout: modal_flow (an overlay dialog must be opened).
    - Trigger: a primary button labeled "Edit notification categories" opens an AntD Modal dialog.
    - Inside the modal: one AntD Collapse in accordion mode with 3 panels:
      - "Email notifications" (expanded by default),
      - "Push notifications" (collapsed),
      - "SMS notifications" (collapsed).
    - The modal footer has "Cancel" and "OK" buttons, but they are NOT required for success; success is based only on the Collapse state inside the modal.
  scene_context:
    theme: light
    spacing: comfortable
    layout: modal_flow
    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: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 2
    justification: "Requires opening a modal overlay and then switching the expanded panel within an accordion."
  success_trigger:
    human_readable:
      - 'The modal dialog is open (visible), and within it the expanded panel is exactly "Push notifications".'
      - "No modal confirmation is required."
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Push notifications"]
        order_insensitive: true
        mode: "single"
        container: "modal"
        modal_title: "Edit notification categories"
      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:
    - "Expanding the correct section on the background page instead of inside the modal."
    - 'Leaving "Email notifications" expanded.'
    - 'Closing the modal without expanding "Push notifications".'
  expected_interaction_path:
    - 'Click "Edit notification categories" to open the modal.'
    - 'In the modal, click the "Push notifications" header.'
    - "Stop once Push notifications content is visible."
  notes: |-
    Checker hint: scope queries to the modal container (e.g., role=dialog) to avoid matching similarly named elements on the background page.

- id: collapsible_disclosure-antd-T07
  name: "Match reference: expand the panel that matches the Target header"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (multi-expand) with icon headers"
  implementation_component: "AntD: Collapse"
  task_template: match_reference
  secondary_template: null
  browsergym_goal: 'Expand the accordion panel whose header matches the "Target header" preview shown on the page. The task will finish automatically when done.'
  ui_copy: 'Accordion challenge
Target header preview: (icon + label)
Expand the matching section.'
  setup_description: |-
    A single centered card titled "Accordion challenge" contains:

    - A small "Target header" preview tile at the top of the card (shows an icon and a label in the exact header style).
    - Below it, one AntD Collapse with 5 panels. Each panel header includes a left icon + text label.
      Example labels: "Alerts", "Notifications", "Reminders", "Messages", "Updates".
    - Initial state: all panels collapsed.
    - Guidance is visual: the goal is determined by matching the header shown in the preview tile to one of the panel headers.
    - No other controls are required.
  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: 2
      target_acquisition: 2
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: "The target is specified by a visual reference rather than explicit text, and options are similar and icon-decorated."
  success_trigger:
    human_readable:
      - "Exactly one panel is expanded."
      - 'The expanded panel is the one whose header (icon + label text) matches the "Target header" preview tile.'
    canonical_predicate:
      predicate_type: matches_reference
      target_state:
        reference_element: "target-header-preview"
        match_fields: ["header_text", "header_icon"]
        expected_expanded_count: 1
        allow_other_panels_expanded: false
        mode: "multiple"
      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:
    - "Expanding a panel that does not match the preview."
    - "Expanding multiple panels at once."
    - "Leaving all panels collapsed."
  expected_interaction_path:
    - "Look at the Target header preview tile."
    - "Find the matching panel header in the Collapse."
    - "Click that panel header to expand it."
  notes: |-
    Instrumentation hint: give the preview tile a stable id (data-testid=target-header-preview) and expose each panel's header text/icon metadata for deterministic matching.

- id: collapsible_disclosure-antd-T08
  name: "Disambiguation: open Audit log in Admin settings (top-right)"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (accordion=true), multiple instances"
  implementation_component: "AntD: Collapse"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the "Admin settings" accordion, expand the "Audit log" section. The task will finish automatically when done.'
  ui_copy: 'Settings dashboard (top-right)
Expand "Audit log" in Admin settings.'
  setup_description: |-
    The settings dashboard is anchored toward the top-right of the viewport.

    - Layout: isolated_card (a single container region), placement: top_right.
    - Instances: 3 separate AntD Collapse accordions stacked with clear titles:
      - "User settings"
      - "Team settings"
      - "Admin settings"   TARGET INSTANCE
    - Each instance is configured as an accordion (only one panel open per instance).
    - Panel titles are similar across instances (e.g., "Access", "Roles", "Logs"), but only Admin settings contains a panel titled exactly "Audit log".
    - Initial state:
      - User settings: "Profile" expanded
      - Team settings: all collapsed
      - Admin settings: all collapsed
    - No other page elements are interactive for success.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: top_right
    scale: default
    instances: 3
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 4
    justification: "Multiple similar accordion instances require careful instance selection; the target area is not centered in the viewport."
  success_trigger:
    human_readable:
      - 'In the instance titled "Admin settings", the expanded panel is exactly "Audit log".'
      - 'Non-target instances ("User settings" and "Team settings") remain in their initial expanded/collapsed states.'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Audit log"]
        order_insensitive: true
        mode: "single"
        non_target_instances_must_remain_unchanged: true
        non_target_expected_state:
          "User settings": ["Profile"]
          "Team settings": []
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: "Admin settings"
      terminal_condition: "task ends when predicate holds"
  negative_cases:
    - 'Expanding "Audit log" (or any log-like section) in a different instance.'
    - 'Changing the open panel in "User settings" away from its initial "Profile" state.'
    - 'Leaving "Admin settings" with no expanded panel.'
  expected_interaction_path:
    - "Scroll slightly if needed to fully see the top-right settings region."
    - 'Locate the accordion titled "Admin settings".'
    - 'Click the "Audit log" header within that accordion.'
  notes: |-
    Checker hint: each instance should have a unique container selector (e.g., data-testid=accordion-admin-settings) to bind instance-level state checks.

- id: collapsible_disclosure-antd-T09
  name: "Compact + small: expand exactly Security and Privacy"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (multi-expand, size=small)"
  implementation_component: "AntD: Collapse"
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: 'In the compact "Account controls" accordion, expand exactly the "Security" and "Privacy" sections, and make sure all other sections are collapsed. The task will finish automatically when done.'
  ui_copy: 'Account controls (compact)
Open only: Security and Privacy.'
  setup_description: |-
    A dense "Account controls" card is displayed with compact spacing and a small component size.

    - Layout: isolated_card, centered.
    - Spacing: compact (reduced padding between rows).
    - Scale: small (AntD Collapse rendered with size="small"; smaller click targets).
    - Component: one AntD Collapse with multi-expand enabled.
    - Panels (6): "Profile", "Security", "Privacy", "Notifications", "Devices", "Sessions".
    - Initial state: "Profile" and "Devices" are expanded; the rest are collapsed.
    - There are no other interactive components; success depends only on the exact set of expanded panels.
  scene_context:
    theme: light
    spacing: compact
    layout: isolated_card
    placement: center
    scale: small
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 5
      target_acquisition: 4
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Small, compact targets plus an exact expanded-set requirement makes misclicks and extra open panels costly."
  success_trigger:
    human_readable:
      - 'Exactly two panels are expanded: "Security" and "Privacy".'
      - 'All other panels ("Profile", "Notifications", "Devices", "Sessions") are collapsed.'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Security", "Privacy"]
        order_insensitive: true
        mode: "multiple"
      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:
    - 'Leaving the initial "Profile" or "Devices" sections expanded.'
    - 'Opening any extra section in addition to "Security" and "Privacy".'
    - 'Opening only one of the two required sections.'
  expected_interaction_path:
    - 'Collapse any currently open sections that should not remain open ("Profile", "Devices").'
    - 'Expand "Security" and "Privacy".'
    - "Verify only those two are expanded."
  notes: |-
    Checker hint: treat expanded panels as a set (order-insensitive). For AntD, activeKey can be an array in multi-expand mode.

- id: collapsible_disclosure-antd-T10
  name: "Settings table cell: expand SMTP advanced options"
  canonical_type: collapsible_disclosure
  implementation_source: antd
  implementation_variant: "Collapse (single panel) inside table cell"
  implementation_component: "AntD: Table + Collapse"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the settings table, expand the "SMTP advanced options" section. The task will finish automatically when done.'
  ui_copy: 'Email delivery settings
In the table, expand "SMTP advanced options".'
  setup_description: |-
    The page is a compact settings table where the disclosure control is embedded in a table cell.

    - Layout: table_cell (the target component is inside a table row).
    - The table has multiple rows of text and switches, but only one collapsible disclosure component.
    - Target component: an AntD Collapse with a SINGLE panel titled "SMTP advanced options" placed in the rightmost cell of the "Email delivery" row.
    - Initial state: the "SMTP advanced options" panel is collapsed (no advanced content visible).
    - The cell is narrow, so the clickable header is smaller and surrounded by other table content (labels, toggles).
  scene_context:
    theme: light
    spacing: comfortable
    layout: table_cell
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: medium
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: "The disclosure header is a small target inside a dense table cell with nearby distractor controls."
  success_trigger:
    human_readable:
      - 'The table-embedded panel titled "SMTP advanced options" is expanded (its advanced content region is visible).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "SMTP advanced options"
        allow_other_panels_expanded: true
        mode: "multiple"
        container: "table_cell"
        row_label: "Email delivery"
      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:
    - "Clicking unrelated switches or inputs in the table without expanding the panel."
    - 'Expanding a different disclosure (should not exist), or expanding the wrong row.'
    - 'Leaving "SMTP advanced options" collapsed.'
  expected_interaction_path:
    - "Locate the table row labeled 'Email delivery'."
    - 'Click the "SMTP advanced options" header inside that row.'
    - "Verify the advanced options area becomes visible."
  notes: |-
    Instrumentation hint: provide stable selectors for the row (data-row-id=email-delivery) and the Collapse panel header.

- id: collapsible_disclosure-mui-T01
  name: "Checkout: expand Order summary"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion (uncontrolled)"
  implementation_component: "MUI: Accordion"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the checkout card, expand the "Order summary" section. The task will finish automatically when done.'
  ui_copy: 'Checkout
Please expand "Order summary".'
  setup_description: |-
    A simple checkout page shows one centered card with a short accordion stack.

    - Layout: isolated_card, centered.
    - Component: MUI Accordion components stacked (3 accordions):
      - "Order summary"
      - "Shipping address"
      - "Payment method"
    - Initial state: all accordions are collapsed (none expanded).
    - Clicking an accordion summary expands it to reveal details underneath.
    - No other interactive elements are required for 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: 1
      semantic_observability: 1
      disambiguation_load: 1
    justification: "A small number of clearly labeled accordion summaries in a single, uncluttered card."
  success_trigger:
    human_readable:
      - 'The accordion titled "Order summary" is expanded (aria-expanded=true on its summary button; details region visible).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Order summary"
        allow_other_panels_expanded: true
        mode: "multiple"
      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:
    - 'Expanding "Shipping address" or "Payment method" instead of "Order summary".'
    - 'Leaving "Order summary" collapsed.'
  expected_interaction_path:
    - 'Click the "Order summary" accordion summary.'
    - "Verify the order summary details appear."
  notes: |-
    Checker hint: MUI AccordionSummary uses a button with aria-expanded; verify it and/or the associated region visibility.

- id: collapsible_disclosure-mui-T02
  name: "Single accordion: collapse Details"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion (uncontrolled, defaultExpanded=true)"
  implementation_component: "MUI: Accordion"
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: 'Collapse the "Details" section so it is closed. The task will finish automatically when done.'
  ui_copy: 'Product
Details (currently open)
Please close Details.'
  setup_description: |-
    A product page shows a single accordion component labeled "Details".

    - Layout: isolated_card, centered.
    - Component: one MUI Accordion titled "Details".
    - Initial state: expanded by default (defaultExpanded=true); the details text is visible.
    - Interaction: clicking the "Details" summary toggles it closed.
    - No other accordions are present.
  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: 1
      semantic_observability: 1
      disambiguation_load: 1
    justification: "One accordion already open; the task is a single toggle to close it."
  success_trigger:
    human_readable:
      - 'The "Details" accordion is collapsed (summary button aria-expanded=false; details region not visible).'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: []
        order_insensitive: true
        mode: "multiple"
      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:
    - "Leaving the Details accordion expanded."
    - "Clicking elsewhere on the page without changing the accordion state."
  expected_interaction_path:
    - 'Click the "Details" accordion summary to collapse it.'
    - "Confirm the details content disappears."
  notes: |-
    Checker hint: for a single accordion, treat expanded_panels as empty when aria-expanded is false.

- id: collapsible_disclosure-mui-T03
  name: "Controlled group: switch to Privacy"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion (controlled single-expand group)"
  implementation_component: "MUI: Accordion"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the "Profile settings" accordion group, expand the "Privacy" section so it is the only open section. The task will finish automatically when done.'
  ui_copy: 'Profile settings
Expand "Privacy" (only one section can be open).'
  setup_description: |-
    A centered "Profile settings" card contains a controlled accordion group (classic single-expand behavior).

    - Layout: isolated_card, centered.
    - Component: 3 MUI Accordions wired to shared state so only one can be expanded:
      - "Profile" (expanded initially)
      - "Privacy"
      - "Billing"
    - Initial state: only "Profile" is expanded.
    - Interaction: clicking a different accordion summary expands it and collapses the previously expanded one.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 1
      depth_layering: 1
      feedback_dynamics: 1
      semantic_observability: 1
      disambiguation_load: 1
    justification: "Target is visible and a controlled group enforces a single open panel, but requires switching from the default open panel."
  success_trigger:
    human_readable:
      - 'Within the "Profile settings" group, the expanded accordion is exactly "Privacy".'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Privacy"]
        order_insensitive: true
        mode: "single"
      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:
    - 'Leaving "Profile" expanded.'
    - 'Expanding "Billing" instead of "Privacy".'
  expected_interaction_path:
    - 'Click the "Privacy" accordion summary.'
    - "Confirm only Privacy details are visible."

- id: collapsible_disclosure-mui-T04
  name: "Drawer: open customization and expand Widgets"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion in Drawer"
  implementation_component: "MUI: Drawer + Accordion"
  task_template: open_overlay
  secondary_template: null
  browsergym_goal: 'Open the "Customize dashboard" drawer, then expand the "Widgets" section inside it. The task will finish automatically when done.'
  ui_copy: 'Dashboard
Button: "Customize dashboard"
In the drawer, expand "Widgets".'
  setup_description: |-
    The dashboard page uses a right-side drawer overlay.

    - Layout: drawer_flow.
    - Trigger: button labeled "Customize dashboard" opens a MUI Drawer anchored on the right.
    - Inside the drawer: a vertical list of MUI Accordions:
      - "Theme"
      - "Layout"
      - "Widgets"
      - "Shortcuts"
    - Initial state: all drawer accordions are collapsed.
    - The drawer contains only the accordion list and a close icon; no other controls are needed for success.
  scene_context:
    theme: light
    spacing: comfortable
    layout: drawer_flow
    placement: top_right
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 2
    justification: "Requires opening an overlay drawer and then expanding the correct accordion section within it."
  success_trigger:
    human_readable:
      - 'The customization drawer is open, and the "Widgets" accordion inside the drawer is expanded.'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Widgets"
        allow_other_panels_expanded: true
        mode: "multiple"
        container: "drawer"
        drawer_title: "Customize dashboard"
      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:
    - "Expanding Widgets-like content on the background page without opening the drawer."
    - 'Expanding "Layout" or "Theme" instead of "Widgets" inside the drawer.'
    - "Leaving the drawer closed."
  expected_interaction_path:
    - 'Click "Customize dashboard" to open the drawer.'
    - 'Click the "Widgets" accordion summary within the drawer.'
    - "Verify Widgets details appear."

- id: collapsible_disclosure-mui-T05
  name: "Scroll list: expand Integrations"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion (uncontrolled) in scroll container"
  implementation_component: "MUI: Accordion"
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: 'Scroll within the accordion list if needed and expand the "Integrations" section. The task will finish automatically when done.'
  ui_copy: 'Settings
Expand "Integrations".'
  setup_description: |-
    A centered settings card contains a long accordion list in a fixed-height scroll area.

    - Layout: isolated_card, centered.
    - Component: a stack of 14 MUI Accordions contained in an inner scrollable div (height ~360px).
    - Items include: "Appearance", "Notifications", "Security", "API", "Integrations", "Webhooks", "Backups", etc.
    - Initial state: all items collapsed.
    - The "Integrations" item is near the bottom and is not initially visible; you must scroll inside the card.
  scene_context:
    theme: light
    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: 3
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 1
    justification: "The target accordion is off-screen within an inner scroll container and must be distinguished among many section titles."
  success_trigger:
    human_readable:
      - 'The accordion titled "Integrations" is expanded (its details are visible).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Integrations"
        allow_other_panels_expanded: true
        mode: "multiple"
      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:
    - 'Expanding "Integration status" or another similarly named item instead of "Integrations".'
    - 'Failing to scroll and leaving "Integrations" collapsed.'
  expected_interaction_path:
    - "Scroll within the settings card until 'Integrations' is visible."
    - 'Click the "Integrations" summary.'
    - "Verify the Integrations details region is visible."

- id: collapsible_disclosure-mui-T06
  name: "Match reference: expand the accordion that matches the Target summary"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion (icon summaries) + reference card"
  implementation_component: "MUI: Accordion"
  task_template: match_reference
  secondary_template: null
  browsergym_goal: 'Expand the accordion section that matches the "Target summary" preview shown on the page. The task will finish automatically when done.'
  ui_copy: 'Accordion matching
Target summary preview shown above.
Expand the matching accordion.'
  setup_description: |-
    A single card titled "Accordion matching" contains:

    - A "Target summary" preview card at the top. The preview renders an accordion summary row (icon + label) exactly as it appears in the list.
    - Below, a list of 6 MUI Accordions with icons and labels such as:
      - "Alerts", "Messages", "Reminders", "Updates", "Mentions", "News"
    - Initial state: all items collapsed.
    - Guidance: visual; the agent must match the target preview to the correct accordion summary.
  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: 2
      target_acquisition: 2
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: "The goal is specified by a visual reference rather than explicit text, and there are multiple similar icon-labeled options."
  success_trigger:
    human_readable:
      - "Exactly one accordion is expanded."
      - 'The expanded accordion summary (icon + label text) matches the "Target summary" preview.'
    canonical_predicate:
      predicate_type: matches_reference
      target_state:
        reference_element: "target-summary-preview"
        match_fields: ["summary_text", "summary_icon"]
        expected_expanded_count: 1
        allow_other_panels_expanded: false
        mode: "multiple"
      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:
    - "Expanding multiple accordions."
    - "Expanding an accordion that does not match the preview."
    - "Leaving all accordions collapsed."
  expected_interaction_path:
    - "Inspect the Target summary preview."
    - "Find the matching accordion summary in the list."
    - "Click it to expand."
  notes: |-
    Instrumentation hint: data-testid=target-summary-preview for the preview; each AccordionSummary should expose label text and icon id for deterministic reference matching.

- id: collapsible_disclosure-mui-T07
  name: "Sidebar navigation: expand Workspace group"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion used as navigation groups"
  implementation_component: "MUI: Accordion"
  task_template: navigate_to
  secondary_template: null
  browsergym_goal: 'In the left sidebar, expand the "Workspace" group. The task will finish automatically when done.'
  ui_copy: 'Settings
Left sidebar groups: Account, Workspace, Billing, Support.
Expand Workspace.'
  setup_description: |-
    A settings page is arranged as a two-column panel.

    - Layout: settings_panel (sidebar + main content).
    - Left sidebar: 4 MUI Accordions used as navigation groups:
      - "Account", "Workspace", "Billing", "Support"
    - Each group reveals a small list of links when expanded; links are present as realistic clutter but are not required for success.
    - Initial state: all groups collapsed.
    - Right side: static placeholder content (not interactive).
  scene_context:
    theme: light
    spacing: comfortable
    layout: settings_panel
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: low
  difficulty:
    difficulty_bucket: mid
    tier: L1
    axes_ratings:
      precision_requirement: 1
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 1
      feedback_dynamics: 1
      semantic_observability: 1
      disambiguation_load: 2
    justification: "Navigation-like sidebar context adds mild clutter, but the target group is clearly labeled and visible."
  success_trigger:
    human_readable:
      - 'The sidebar accordion group titled "Workspace" is expanded (its link list is visible).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Workspace"
        allow_other_panels_expanded: true
        mode: "multiple"
        container: "sidebar"
      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:
    - 'Expanding "Account", "Billing", or "Support" instead of "Workspace".'
    - "Clicking a link inside a group without expanding Workspace."
    - 'Leaving "Workspace" collapsed.'
  expected_interaction_path:
    - "Look at the left sidebar group headers."
    - 'Click "Workspace" to expand it.'
    - "Verify its link list becomes visible."

- id: collapsible_disclosure-mui-T08
  name: "Compact precision: leave only Advanced and Security open"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion (uncontrolled multi-open), compact spacing"
  implementation_component: "MUI: Accordion"
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: 'In the compact settings accordion, expand exactly the "Advanced" and "Security" sections and make sure all other sections are collapsed. The task will finish automatically when done.'
  ui_copy: 'Compact settings
Open only: Advanced and Security.'
  setup_description: |-
    A dense settings card uses compact spacing and contains multiple independent accordions.

    - Layout: isolated_card, centered.
    - Spacing: compact (reduced padding and smaller gaps).
    - Component: 5 independent MUI Accordions (multiple can be expanded at once).
      Titles: "General", "Security", "Notifications", "API", "Advanced".
    - Initial state: "General" and "Advanced" are expanded; the rest are collapsed.
    - Success requires an exact final set: only "Advanced" and "Security" expanded.
  scene_context:
    theme: light
    spacing: compact
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 5
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Exact expanded-set constraint plus compact spacing increases risk of leaving extra panels open or mis-toggling."
  success_trigger:
    human_readable:
      - 'Exactly two accordions are expanded: "Advanced" and "Security".'
      - 'All other accordions ("General", "Notifications", "API") are collapsed.'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Advanced", "Security"]
        order_insensitive: true
        mode: "multiple"
      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:
    - 'Leaving "General" expanded.'
    - 'Expanding the wrong combination (e.g., "API" instead of "Security").'
    - "Having three or more accordions expanded."
  expected_interaction_path:
    - 'Collapse "General".'
    - 'Expand "Security".'
    - "Verify only Security and Advanced remain expanded."

- id: collapsible_disclosure-mui-T09
  name: "Table cell: expand SMTP settings details"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion inside table cell"
  implementation_component: "MUI: Table + Accordion"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the integrations table, expand the "SMTP settings" section. The task will finish automatically when done.'
  ui_copy: 'Integrations table
Expand "SMTP settings".'
  setup_description: |-
    A dense integrations table contains a collapsible disclosure embedded in one cell.

    - Layout: table_cell.
    - The table has several columns (Name, Status, Last sync, Details) with typical controls like switches and chips.
    - Target component: a single MUI Accordion titled "SMTP settings" located in the Details column.
    - Initial state: collapsed (no details visible).
    - The accordion summary button is smaller because it sits inside a narrow cell and competes with nearby controls.
  scene_context:
    theme: light
    spacing: comfortable
    layout: table_cell
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: medium
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: "Small click target inside a crowded table cell increases accidental interactions and mis-targeting."
  success_trigger:
    human_readable:
      - 'The table-embedded accordion titled "SMTP settings" is expanded (details region visible).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "SMTP settings"
        allow_other_panels_expanded: true
        mode: "multiple"
        container: "table_cell"
      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:
    - "Toggling a switch or clicking a chip without expanding the accordion."
    - 'Expanding the wrong disclosure (should not exist) or leaving SMTP settings collapsed.'
  expected_interaction_path:
    - "Locate the Details column accordion labeled 'SMTP settings'."
    - 'Click the "SMTP settings" summary button.'
    - "Verify details content appears."

- id: collapsible_disclosure-mui-T10
  name: "Dark + two instances: expand Audit settings in Admin controls"
  canonical_type: collapsible_disclosure
  implementation_source: mui
  implementation_variant: "Accordion (two instances) in dark theme"
  implementation_component: "MUI: Accordion"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the "Admin controls" accordion list, expand the "Audit settings" section. The task will finish automatically when done.'
  ui_copy: 'Admin page (dark)
Two lists: User preferences and Admin controls.
Expand "Audit settings" in Admin controls.'
  setup_description: |-
    The page uses a dark theme and contains two similar accordion lists side-by-side.

    - Theme: dark.
    - Layout: isolated_card, centered.
    - Instances: 2 MUI accordion groups with clear titles:
      - "User preferences"
      - "Admin controls"   TARGET INSTANCE
    - Each group contains 4 accordion items. Some labels are similar ("Logs", "Audit settings", "Usage", "Security").
    - Initial state:
      - User preferences: all collapsed
      - Admin controls: all collapsed
    - Success depends on expanding the correct item in the correct instance; other instance must remain unchanged.
  scene_context:
    theme: dark
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 2
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 3
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 4
    justification: "Dark theme plus multiple similar accordion instances increases disambiguation and target selection difficulty."
  success_trigger:
    human_readable:
      - 'In the instance titled "Admin controls", the panel titled "Audit settings" is expanded.'
      - 'The "User preferences" instance remains unchanged (all panels stay collapsed).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Audit settings"
        allow_other_panels_expanded: true
        mode: "multiple"
        non_target_instances_must_remain_unchanged: true
        non_target_expected_state:
          "User preferences": []
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: "Admin controls"
      terminal_condition: "task ends when predicate holds"
  negative_cases:
    - 'Expanding "Audit settings" under "User preferences" (wrong instance).'
    - 'Expanding a different section in "Admin controls" (e.g., "Security").'
    - 'Changing the state of "User preferences" while working (should remain collapsed).'
  expected_interaction_path:
    - 'Locate the "Admin controls" group heading.'
    - 'Click the "Audit settings" accordion summary within that group.'
    - "Verify Audit settings details are visible in Admin controls only."
  notes: |-
    Checker hint: use aria-expanded on the AccordionSummary button for the target item, scoped to the Admin controls container.

- id: collapsible_disclosure-mantine-T01
  name: "FAQ: expand Payment"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion (multiple=false)"
  implementation_component: "Mantine: Accordion"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the FAQ card, expand the "Payment" section. The task will finish automatically when done.'
  ui_copy: 'FAQ
Please expand "Payment".'
  setup_description: |-
    A single centered FAQ card contains a Mantine Accordion (single-open by default).

    - Layout: isolated_card, centered.
    - Component: Mantine Accordion with 4 items:
      - "Payment"
      - "Shipping"
      - "Returns"
      - "Contact"
    - Initial state: all items are collapsed (no panels open).
    - Clicking an item control expands its panel content below.
    - No other interactive elements are present.
  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: 1
      semantic_observability: 1
      disambiguation_load: 1
    justification: "Clear labels, single instance, and no extra UI—just expand one item."
  success_trigger:
    human_readable:
      - 'The accordion item titled "Payment" is expanded (panel content visible / control indicates opened state).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Payment"
        allow_other_panels_expanded: true
        mode: "single"
      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:
    - 'Expanding "Shipping" or "Returns" instead of "Payment".'
    - 'Leaving "Payment" collapsed.'
  expected_interaction_path:
    - 'Click the "Payment" accordion control.'
    - "Verify the Payment panel content appears."
  notes: |-
    Checker hint: Mantine Accordion items can be checked via data-accordion attributes and opened state on the item/control.

- id: collapsible_disclosure-mantine-T02
  name: "Dark theme: close Returns (single item)"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion (single item, defaultValue open)"
  implementation_component: "Mantine: Accordion"
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: 'Collapse the "Returns" section so it is closed. The task will finish automatically when done.'
  ui_copy: 'Returns policy (dark)
Returns section is open.
Please close it.'
  setup_description: |-
    The page uses a dark theme and contains a single collapsible disclosure item.

    - Theme: dark.
    - Layout: isolated_card, centered.
    - Component: Mantine Accordion with ONE item titled "Returns".
    - Initial state: the item is expanded by default (defaultValue="Returns"); the policy text is visible.
    - Interaction: clicking the control toggles it closed.
  scene_context:
    theme: dark
    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: 1
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Only one disclosure item is present; the task is a direct toggle, with dark theme as a robustness factor."
  success_trigger:
    human_readable:
      - 'The "Returns" item is collapsed (panel not visible).'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: []
        order_insensitive: true
        mode: "single"
      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:
    - "Leaving the Returns section open."
    - "Clicking unrelated areas without changing the disclosure state."
  expected_interaction_path:
    - 'Click the "Returns" accordion control to collapse it.'
    - "Confirm the policy content disappears."

- id: collapsible_disclosure-mantine-T03
  name: "Multiple-open: collapse all items"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion (multiple=true)"
  implementation_component: "Mantine: Accordion"
  task_template: clear_reset
  secondary_template: null
  browsergym_goal: 'In the "Help topics" accordion, collapse all sections so none are expanded. The task will finish automatically when done.'
  ui_copy: 'Help topics
Collapse all sections (leave none expanded).'
  setup_description: |-
    A centered card titled "Help topics" contains a Mantine Accordion configured to allow multiple open items.

    - Layout: isolated_card, centered.
    - Component: Mantine Accordion with multiple=true and 4 items:
      - "Getting started"
      - "Billing"
      - "Security"
      - "Troubleshooting"
    - Initial state: "Billing" and "Security" are expanded by default (defaultValue is an array of two items).
    - There is no separate reset button; collapse the open items by toggling their controls.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: easy
    tier: L1
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 2
      density_choice_interference: 2
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Requires closing multiple open items in a multi-open accordion, but the UI is simple and centered."
  success_trigger:
    human_readable:
      - "All accordion items are collapsed (no panels open)."
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: []
        order_insensitive: true
        mode: "multiple"
      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:
    - "Leaving any item expanded."
    - "Collapsing only one of the two initially open items."
  expected_interaction_path:
    - 'Collapse "Billing" if it is open.'
    - 'Collapse "Security" if it is open.'
    - "Verify no panels remain open."

- id: collapsible_disclosure-mantine-T04
  name: "Modal: open Edit profile then expand Notifications"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion in Modal"
  implementation_component: "Mantine: Modal + Accordion"
  task_template: open_overlay
  secondary_template: null
  browsergym_goal: 'Open the "Edit profile" dialog, then expand the "Notifications" section inside it. You do not need to click Save. The task will finish automatically when done.'
  ui_copy: 'Profile
Button: "Edit profile"
In the dialog, expand "Notifications".'
  setup_description: |-
    A profile page uses a modal overlay flow.

    - Layout: modal_flow.
    - Trigger: button labeled "Edit profile" opens a Mantine Modal.
    - Inside the modal: a Mantine Accordion (single-open) with items:
      - "Personal info" (expanded by default)
      - "Notifications"
      - "Privacy"
    - The modal footer includes "Cancel" and "Save" buttons, but success is determined only by the accordion state inside the open modal.
  scene_context:
    theme: light
    spacing: comfortable
    layout: modal_flow
    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: 3
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 2
    justification: "Adds an overlay step (open modal) and requires switching which item is expanded inside the accordion."
  success_trigger:
    human_readable:
      - 'The "Edit profile" modal is open, and within it the expanded accordion item is "Notifications".'
      - "No Save/Cancel action is required."
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Notifications"]
        order_insensitive: true
        mode: "single"
        container: "modal"
        modal_title: "Edit profile"
      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:
    - "Closing the modal without expanding Notifications."
    - 'Leaving "Personal info" expanded.'
    - 'Expanding "Privacy" instead of "Notifications".'
  expected_interaction_path:
    - 'Click "Edit profile" to open the modal.'
    - 'Click "Notifications" inside the modal accordion.'
    - "Stop once Notifications content is visible."

- id: collapsible_disclosure-mantine-T05
  name: "Two instances: expand API keys in Advanced"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion (two instances)"
  implementation_component: "Mantine: Accordion"
  task_template: disclose
  secondary_template: null
  browsergym_goal: 'In the "Advanced" accordion, expand the "API keys" section. The task will finish automatically when done.'
  ui_copy: 'Developer settings
Two accordions: General and Advanced.
Expand "API keys" in Advanced.'
  setup_description: |-
    Two accordion cards are shown one after another in the same centered region.

    - Layout: isolated_card.
    - Instances: 2 Mantine Accordions with clear headings:
      - "General"
      - "Advanced"   TARGET INSTANCE
    - Each accordion has 3 items. The "Advanced" accordion includes: "API keys", "Webhooks", "Rate limits".
    - Initial state:
      - General: all collapsed
      - Advanced: all collapsed
    - No other controls are required; the main challenge is selecting the correct 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: 1
      feedback_dynamics: 1
      semantic_observability: 1
      disambiguation_load: 3
    justification: "Multiple similar accordion instances require picking the right card; the target item label is explicit."
  success_trigger:
    human_readable:
      - 'In the instance titled "Advanced", the item titled "API keys" is expanded.'
      - 'The "General" accordion remains unchanged (all items stay collapsed).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "API keys"
        allow_other_panels_expanded: true
        mode: "single"
        non_target_instances_must_remain_unchanged: true
        non_target_expected_state:
          "General": []
      tolerance: null
      require_confirm: false
      confirm_control: null
      require_correct_instance: true
      target_instance_label_or_id: "Advanced"
      terminal_condition: "task ends when predicate holds"
  negative_cases:
    - 'Expanding "API keys" in the "General" accordion (wrong instance).'
    - 'Expanding "Webhooks" or "Rate limits" in Advanced instead of "API keys".'
    - "Changing the state of the General accordion while working."
  expected_interaction_path:
    - 'Locate the accordion titled "Advanced".'
    - 'Click the "API keys" item control.'
    - "Confirm the API keys panel opens in Advanced only."

- id: collapsible_disclosure-mantine-T06
  name: "Visual match: expand the item that matches the Target chip"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion (icon/emoji controls) + reference chip"
  implementation_component: "Mantine: Accordion"
  task_template: match_reference
  secondary_template: null
  browsergym_goal: 'Expand the accordion item that matches the "Target" chip shown above the list. The task will finish automatically when done.'
  ui_copy: 'Match the target
Target chip shown above.
Expand the matching item.'
  setup_description: |-
    A single centered card contains an accordion and a visual reference.

    - Layout: isolated_card, centered.
    - At the top: a "Target" chip that shows an emoji + label exactly as it appears in an accordion control (e.g., "🔒 Security" or "📦 Shipping").
    - Below: one Mantine Accordion with 6 items, each control includes an emoji icon and a label.
    - Initial state: all items collapsed.
    - Guidance is visual: match the Target chip to the correct accordion control.
  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: 2
      target_acquisition: 2
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 1
    justification: "Requires matching a visual reference (emoji+label) against several similar accordion controls."
  success_trigger:
    human_readable:
      - "Exactly one accordion item is expanded."
      - 'The expanded item matches the "Target" chip (emoji + label text).'
    canonical_predicate:
      predicate_type: matches_reference
      target_state:
        reference_element: "target-chip"
        match_fields: ["control_text", "control_icon"]
        expected_expanded_count: 1
        allow_other_panels_expanded: false
        mode: "single"
      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:
    - "Expanding the wrong item (does not match the Target chip)."
    - "Expanding more than one item."
    - "Leaving all items collapsed."
  expected_interaction_path:
    - "Read the Target chip."
    - "Find the matching accordion control."
    - "Click it to expand."

- id: collapsible_disclosure-mantine-T07
  name: "Compact scroll: find and expand Rate limits"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion (long list) inside scroll area"
  implementation_component: "Mantine: ScrollArea + Accordion"
  task_template: scroll_find
  secondary_template: null
  browsergym_goal: 'In the compact developer docs list, scroll if needed and expand the "Rate limits" section. The task will finish automatically when done.'
  ui_copy: 'Developer docs (compact)
Expand "Rate limits".'
  setup_description: |-
    A developer documentation card uses compact spacing and an inner scroll area.

    - Layout: isolated_card, centered.
    - Spacing: compact (tight padding on controls).
    - Component: Mantine Accordion with 15 items placed inside a Mantine ScrollArea (fixed height ~320px).
    - Items include: "Getting started", "Authentication", "Errors", "Limits", "Usage", "Rate limits", "Webhooks", etc.
    - Initial state: all items collapsed.
    - "Rate limits" is not initially visible; must scroll inside the ScrollArea.
  scene_context:
    theme: light
    spacing: compact
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 4
      depth_layering: 2
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Compact spacing reduces target size, and a long, scrollable list of similar items increases search and selection difficulty."
  success_trigger:
    human_readable:
      - 'The accordion item titled "Rate limits" is expanded.'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Rate limits"
        allow_other_panels_expanded: true
        mode: "single"
      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:
    - 'Expanding "Limits" or "Usage" instead of "Rate limits".'
    - "Failing to scroll within the inner scroll area and leaving Rate limits collapsed."
  expected_interaction_path:
    - "Scroll inside the docs ScrollArea until 'Rate limits' is visible."
    - 'Click "Rate limits" to expand.'
    - "Verify content appears."

- id: collapsible_disclosure-mantine-T08
  name: "Exact set: keep only Shipping and Billing open"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion (multiple=true) exact-state"
  implementation_component: "Mantine: Accordion"
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: 'In the order form accordion, expand exactly the "Shipping" and "Billing" sections and make sure all other sections are collapsed. The task will finish automatically when done.'
  ui_copy: 'Order form
Open only: Shipping and Billing.'
  setup_description: |-
    An order form card uses a multi-open accordion to organize sections.

    - Layout: isolated_card, centered.
    - Component: Mantine Accordion with multiple=true and 6 items:
      - "Customer"
      - "Shipping"
      - "Billing"
      - "Payment"
      - "Discounts"
      - "Review"
    - Initial state: "Shipping", "Billing", and "Review" are expanded.
    - Success requires an exact final expanded set: only "Shipping" and "Billing" open.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L3
    axes_ratings:
      precision_requirement: 5
      target_acquisition: 3
      density_choice_interference: 3
      depth_layering: 1
      feedback_dynamics: 3
      semantic_observability: 2
      disambiguation_load: 1
    justification: "Exact expanded-set requirement with multiple initially open items increases the cost of mistakes and requires careful toggling."
  success_trigger:
    human_readable:
      - 'Exactly two items are expanded: "Shipping" and "Billing".'
      - 'All other items are collapsed, including the initially open "Review".'
    canonical_predicate:
      predicate_type: equals
      target_state:
        expanded_panels: ["Shipping", "Billing"]
        order_insensitive: true
        mode: "multiple"
      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:
    - 'Leaving "Review" expanded.'
    - "Opening any extra section (e.g., Payment) in addition to Shipping and Billing."
    - "Opening only one of Shipping/Billing."
  expected_interaction_path:
    - "Collapse any open sections that should not remain open (e.g., Review)."
    - "Ensure Shipping and Billing are expanded."
    - "Verify only those two remain expanded."
  notes: |-
    Checker hint: in multiple=true mode, Mantine Accordion value is an array; compare as an order-insensitive set.

- id: collapsible_disclosure-mantine-T09
  name: "Bottom-left placement + mixed guidance: expand the correct Team section"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Accordion + reference preview (mixed guidance)"
  implementation_component: "Mantine: Accordion"
  task_template: match_reference
  secondary_template: null
  browsergym_goal: 'In the bottom-left accordion card, expand the "Team…" section that matches the Target preview. The task will finish automatically when done.'
  ui_copy: 'Team settings
Target preview shown.
Expand the matching Team section.'
  setup_description: |-
    The accordion card is positioned near the bottom-left of the viewport.

    - Layout: isolated_card, placement: bottom_left.
    - At the top of the card: a "Target preview" row that shows the exact header style (icon + full label).
    - Below: one Mantine Accordion with several similarly prefixed items:
      - "Team access"
      - "Team members"
      - "Team roles"
      - "Team invitations"
    - Initial state: all items collapsed.
    - Guidance is mixed:
      - Text hint: the correct item starts with "Team…"
      - Visual hint: choose the one that matches the Target preview exactly.
  scene_context:
    theme: light
    spacing: comfortable
    layout: isolated_card
    placement: bottom_left
    scale: default
    instances: 1
    guidance: mixed
    clutter: none
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 3
      density_choice_interference: 4
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 3
      disambiguation_load: 2
    justification: "Non-central placement plus several similarly named options increases search and selection difficulty; target is specified by a reference preview."
  success_trigger:
    human_readable:
      - "Exactly one Team item is expanded."
      - 'The expanded item matches the Target preview (icon + full label).'
    canonical_predicate:
      predicate_type: matches_reference
      target_state:
        reference_element: "team-target-preview"
        match_fields: ["control_text", "control_icon"]
        expected_expanded_count: 1
        allow_other_panels_expanded: false
        mode: "single"
      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:
    - "Expanding a different Team item than the preview indicates."
    - "Expanding multiple items."
    - "Leaving all items collapsed."
  expected_interaction_path:
    - "Look at the Target preview at the top of the card."
    - "Find the matching Team item header below."
    - "Click it to expand."

- id: collapsible_disclosure-mantine-T10
  name: "Settings panel: expand Advanced options (Collapse component)"
  canonical_type: collapsible_disclosure
  implementation_source: mantine
  implementation_variant: "Collapse (button-controlled)"
  implementation_component: "Mantine: Collapse"
  task_template: toggle_state
  secondary_template: null
  browsergym_goal: 'In the settings panel, expand the "Advanced options" section. The task will finish automatically when done.'
  ui_copy: 'Settings panel
Button: "Show advanced"
Advanced options section is currently hidden.'
  setup_description: |-
    This task uses Mantine's Collapse component (single disclosure region) inside a settings panel.

    - Layout: settings_panel.
    - The panel includes typical form controls as distractors (text inputs, toggles, and a Save button), but none are required for success.
    - Target component: a Mantine Collapse region labeled "Advanced options".
      - The Collapse content is controlled by a small button labeled "Show advanced" located near the top-right of the panel section.
    - Initial state: the Collapse region is collapsed (Advanced options content not visible).
    - Success is achieved when the Collapse region is expanded and its content is visible.
  scene_context:
    theme: light
    spacing: comfortable
    layout: settings_panel
    placement: center
    scale: default
    instances: 1
    guidance: text
    clutter: medium
  difficulty:
    difficulty_bucket: hard
    tier: L2
    axes_ratings:
      precision_requirement: 2
      target_acquisition: 4
      density_choice_interference: 2
      depth_layering: 1
      feedback_dynamics: 2
      semantic_observability: 2
      disambiguation_load: 3
    justification: "Small toggle control in a cluttered settings panel makes target acquisition and disambiguation harder than a plain accordion list."
  success_trigger:
    human_readable:
      - 'The "Advanced options" Collapse region is expanded (its content is visible on the page).'
    canonical_predicate:
      predicate_type: set_membership
      target_state:
        expanded_panel: "Advanced options"
        allow_other_panels_expanded: true
        mode: "single"
        implementation_variant: "collapse_region"
      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:
    - "Clicking Save or other settings controls without expanding Advanced options."
    - "Toggling unrelated switches while Advanced options remains hidden."
    - "Leaving the Advanced options region collapsed."
  expected_interaction_path:
    - 'Locate the "Show advanced" button.'
    - "Click it to expand the Advanced options region."
    - "Verify Advanced options content becomes visible."
  notes: |-
    Checker hint: since this is a single-region Collapse, represent state as expanded_panels=["Advanced options"] when visible.