File size: 52,228 Bytes
94d3e39
 
 
c44151a
94d3e39
 
7bf8c00
c44151a
94d3e39
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c44151a
94d3e39
7bf8c00
94d3e39
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
c44151a
94d3e39
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
f4b758e
94d3e39
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
c44151a
94d3e39
 
 
 
 
 
 
 
 
7bf8c00
94d3e39
 
 
 
7bf8c00
 
 
 
 
c44151a
7bf8c00
 
 
 
 
 
 
 
 
c44151a
7bf8c00
 
 
 
94d3e39
 
 
 
 
 
 
c44151a
94d3e39
 
7bf8c00
c44151a
94d3e39
 
 
7bf8c00
94d3e39
 
c44151a
94d3e39
 
7bf8c00
c44151a
94d3e39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c44151a
 
 
94d3e39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "reply_rate": 1.0,
  "empty_think_rate": 0.0,
  "syntax_pass_rate": 0.7553191489361702,
  "tool_leak_rate": 0.0,
  "url_contam_rate": 0.0,
  "total": 104,
  "with_code": 94,
  "results": [
    {
      "idx": 1,
      "cat": "repl_oneliner",
      "prompt": "Write a single ARO line that logs the message 'Hello, World!' to the console.",
      "reply": "```aro\nLog 'Hello, World!' to the <console>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 2,
      "cat": "repl_oneliner",
      "prompt": "Write one ARO statement that retrieves the current time from the clock.",
      "reply": "```aro\nRetrieve the <now> from the <clock>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 3,
      "cat": "repl_oneliner",
      "prompt": "Write a single line that computes the length of the string 'banana'.",
      "reply": "```aro\nCompute the <total: length> from the <message>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 4,
      "cat": "repl_oneliner",
      "prompt": "Write one ARO statement that converts the string 'hello' to uppercase.",
      "reply": "```aro\nCompute the <uppercase: uppercase> from the <input>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 5,
      "cat": "repl_oneliner",
      "prompt": "Write one line that hashes the password 'secret'.",
      "reply": "```aro\nHash the <password> from the <input: password>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 6,
      "cat": "repl_oneliner",
      "prompt": "Write a single ARO line that adds 7 and 5 and stores the result as <total>.",
      "reply": "```aro\nAdd the <total> from 7 + 5.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 7,
      "cat": "repl_oneliner",
      "prompt": "Write one line that retrieves the git status.",
      "reply": "```aro\nRetrieve the <status> from the <git>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 8,
      "cat": "repl_oneliner",
      "prompt": "Write a single ARO line that logs the value of <user> to the console.",
      "reply": "```aro\nLog <user> to the <console>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 9,
      "cat": "repl_oneliner",
      "prompt": "Write one ARO statement that reads the file 'config.yaml' from the filesystem.",
      "reply": "```aro\nRead the <content> from the <file: \"config.yaml\">.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 10,
      "cat": "repl_oneliner",
      "prompt": "Write a single line that emits a UserCreated event with <user>.",
      "reply": "```aro\nEmit a <UserCreated: event> with <user>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 11,
      "cat": "repl_block",
      "prompt": "Write a 3-statement ARO snippet that reads a file, uppercases it, and logs the result.",
      "reply": "```aro\nRead the <content> from the <file: \"data.txt\">.\nCompute the <uppercase: uppercase> from the <content>.\nLog <uppercase> to the <console>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 12,
      "cat": "repl_block",
      "prompt": "Write a 4-statement snippet that fetches users from a repository, computes the count, and logs it.",
      "reply": "```aro\n(Fetch Users: User API) {\n    Retrieve the <users> from the <user-repository>.\n    Compute the <total: count> from the <users>.\n    Log <total> to the <console>.\n    Return an <OK: status> with <total>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 13,
      "cat": "repl_block",
      "prompt": "Write an ARO snippet that stages all changes, commits with message 'wip', and pushes.",
      "reply": "```aro\n(Application-Start: Git Ops) {\n    Stage the <files> to the <git>.\n    Commit the <result> to the <git> with \"wip\".\n    Push the <result> to the <git>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 14,
      "cat": "repl_block",
      "prompt": "Write a 3-statement snippet that creates a list, computes its length, and logs the length.",
      "reply": "```aro\n(CreateUsers: User API) {\n    Create the <users> with [\n        { name: \"Alice\", email: \"alice@example.com\" },\n        { name: \"Bob\", email: \"bob@example.com\" },\n        { name: \"Carol\", email: \"carol@example.com\" }\n    ].\n    Compute the <total: count> from the <users>.\n    Log <total> to the <console>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 15,
      "cat": "repl_block",
      "prompt": "Write a snippet that extracts a name from an event, uppercases it, and stores it back in a variable.",
      "reply": "```aro\n(ExtractName: Example) {\n    Extract the <name> from the <event: name>.\n    Compute the <uppercase-name: uppercase> from <name>.\n    Store the <uppercase-name> into the <name>.\n    Return an <OK: status> with <name>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 16,
      "cat": "repl_block",
      "prompt": "Write a 3-statement snippet that computes 3 + 4, multiplies by 2, and logs the result.",
      "reply": "```aro\n(Compute Total: Example) {\n    Extract the <total> from the <request: total>.\n    Compute the <total: total> from <total>.\n    Log <total> to the <console>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 17,
      "cat": "repl_block",
      "prompt": "Write a snippet that reads two numbers and returns their sum.",
      "reply": "```aro\n(Application-Start: Sum Numbers) {\n    Read the <a> from the <request: a>.\n    Read the <b> from the <request: b>.\n    Compute the <total: a + b>.\n    Return an <OK: status> with <total>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 18,
      "cat": "repl_block",
      "prompt": "Write a snippet that filters a list of users where age > 18 and counts them.",
      "reply": "```aro\n(Filter Users: User API) {\n    Extract the <users> from the <request: body>.\n    Filter the <active-users> from the <users>.\n    Compute the <total: count> from the <active-users>.\n    Return an <OK: status> with <total>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 19,
      "cat": "repl_block",
      "prompt": "Write a snippet that joins two lists and stores the result as <combined>.",
      "reply": "```aro\n(Join Lists: Example) {\n    Create the <list-a> with [1, 2, 3].\n    Create the <list-b> with [4, 5, 6].\n    Combine the <combined> from <list-a> with <list-b>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 20,
      "cat": "repl_block",
      "prompt": "Write a snippet that parses a JSON string and extracts the 'name' field.",
      "reply": "```aro\n(ParseUser: Example) {\n    Extract the <user> from the <request: body>.\n    Extract the <name> from the <user: name>.\n    Return an <OK: status> with <name>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 21,
      "cat": "user_action",
      "prompt": "Write an ARO user-defined action called DoubleValue that takes a number and returns it doubled.",
      "reply": "```aro\n(DoubleValue: Action takes <number>) {\n    Extract the <n> from the <input: number>.\n    Compute the <doubled> from <n> * 2.\n    Return an <OK: status> with { doubled: <doubled> }.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 22,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'Greet' that takes a name and returns a greeting string.",
      "reply": "```aro\n(Greet: Action) {\n    Extract the <name> from the <input: name>.\n    Return an <OK: status> with <name>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 23,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'AddTwoNumbers' that takes two numbers and returns their sum.",
      "reply": "```aro\n(AddTwoNumbers: Action) {\n    Extract the <a> from the <input: a>.\n    Extract the <b> from the <input: b>.\n    Compute the <total> from <a> + <b>.\n    Return an <OK: status> with <total>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 24,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'ValidateEmail' that takes an email string and returns OK or Error.",
      "reply": "```aro\n(ValidateEmail: Action) {\n    Extract the <email> from the <input: email>.\n    Return an <OK: status> with <email>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 25,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'Square' that takes a number and returns its square.",
      "reply": "```aro\n(Square: Action) {\n    Extract the <number> from the <input: number>.\n    Compute the <squared> from <number> * <number>.\n    Return an <OK: status> with <squared>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 26,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'FormatDate' that takes a date and a format string.",
      "reply": "```aro\n(FormatDate: Action) {\n    Extract the <date> from the <input: date>.\n    Extract the <format> from the <input: format>.\n    Return an <OK: status> with <date>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 27,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'CountWords' that takes a string and returns the word count.",
      "reply": "```aro\n(CountWords: Action) {\n    Extract the <text> from the <input: text>.\n    Split the <words> from the <text>.\n    Compute the <total: count> from the <words>.\n    Return an <OK: status> with <total>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 28,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'PickRandom' that takes a list and returns a random element.",
      "reply": "```aro\n(PickRandom: Action) {\n    Extract the <items> from the <input: items>.\n    Return an <OK: status> with <items>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 29,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'Capitalize' that takes a string and uppercases its first letter.",
      "reply": "```aro\n(Capitalize: Action) {\n    Extract the <text> from the <input: text>.\n    Compute the <capitalized: uppercase> from <text>.\n    Return an <OK: status> with <capitalized>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 30,
      "cat": "user_action",
      "prompt": "Write a user-defined action 'ComputeTax' that takes a price and a rate and returns the tax.",
      "reply": "```aro\n(ComputeTax: Action) {\n    Extract the <price> from the <input: price>.\n    Extract the <rate> from the <input: rate>.\n    Compute the <tax> from <price> * <rate>.\n    Return an <OK: status> with <tax>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 31,
      "cat": "event_handler",
      "prompt": "Write an event handler for the UserCreated event that sends a welcome email.",
      "reply": "```aro\n(Send Email: UserCreated Handler) {\n    Extract the <user> from the <event: user>.\n    Send the <welcome-email> to the <user: email>.\n    Return an <OK: status> for the <notification>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 32,
      "cat": "event_handler",
      "prompt": "Write an event handler for OrderPlaced that decrements inventory.",
      "reply": "```aro\n(Send Email: OrderPlaced Handler) {\n    Extract the <order> from the <event: order>.\n    Retrieve the <products> from the <order: products>.\n    For each <product> in <products> {\n        Retrieve the <total> from the <product: total>.\n        Update the <inventory: total> for the <product>.\n    }\n    Return an <OK: status> for the <notification>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 33,
      "cat": "event_handler",
      "prompt": "Write an event handler for PaymentFailed that logs the error and notifies the user.",
      "reply": "```aro\n(Send Email: PaymentFailed Handler) {\n    Extract the <error> from the <event: error>.\n    Log <error> to the <console>.\n    Send the <error-email> to the <user: email>.\n    Return an <OK: status> for the <notification>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 34,
      "cat": "event_handler",
      "prompt": "Write an event handler for FileChanged that re-reads the configuration.",
      "reply": "```aro\n(Application-Start: Config Loader) {\n    Log \"Starting Config Loader...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n\n(Application-End: Success) {\n    Log \"Shutting down Config Loader...\" to the <console>.\n    Stop the <http-server> with <application>.\n    Return an <OK: status> for the <shutdown>.\n}\n\n(Application-End: Error) {\n    Extract the <error> from the <shutdown: er",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 35,
      "cat": "event_handler",
      "prompt": "Write an event handler for LoginAttempt that records the IP address.",
      "reply": "```aro\n(Send Login Attempt: LoginAttempt Handler) {\n    Extract the <ip> from the <event: ip>.\n    Log <ip> to the <console>.\n    Return an <OK: status> for the <audit>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 36,
      "cat": "event_handler",
      "prompt": "Write an event handler for GitPush that triggers a CI build.",
      "reply": "```aro\n(Application-Start: CI) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n\n(Application-End: Success) {\n    Log \"Shutting down...\" to the <console>.\n    Stop the <http-server> with <application>.\n    Return an <OK: status> for the <shutdown>.\n}\n\n(Application-End: Error) {\n    Extract the <error> from the <shutdown: error>.\n    Log <error> to the <console>.",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 37,
      "cat": "event_handler",
      "prompt": "Write an event handler for SubscriptionExpired that downgrades the account.",
      "reply": "```aro\n(Notify Subscribers: SubscriptionExpired Handler) {\n    Extract the <user> from the <event: user>.\n    Send the <notification> to the <user: email>.\n    Return an <OK: status> for the <notification>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 38,
      "cat": "event_handler",
      "prompt": "Write an event handler for ServerStarted that warms up the cache.",
      "reply": "```aro\n(Application-Start: Server) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 39,
      "cat": "event_handler",
      "prompt": "Write an event handler for MessageReceived that echoes the message back.",
      "reply": "```aro\n(Echo Message: MessageReceived Handler) {\n    Extract the <message> from the <event: message>.\n    Log <message> to the <console>.\n    Return an <OK: status> for the <echo>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 40,
      "cat": "event_handler",
      "prompt": "Write an event handler for ImageUploaded that generates a thumbnail.",
      "reply": "```aro\n(Send Thumbnail: ImageUploaded Handler) {\n    Extract the <image> from the <event: image>.\n    Create the <thumbnail> from the <image>.\n    Return an <OK: status> with <thumbnail>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 41,
      "cat": "application",
      "prompt": "Write a complete ARO Application-Start that prints Hello and exits.",
      "reply": "```aro\n(Application-Start: Example) {\n    Log \"Hello\" to the <console>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 42,
      "cat": "application",
      "prompt": "Write a complete Application-Start that starts an HTTP server on port 8080.",
      "reply": "```aro\n(Application-Start: Server) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 43,
      "cat": "application",
      "prompt": "Write a complete Application-Start that watches a directory for changes.",
      "reply": "```aro\n(Application-Start: Watcher) {\n    Log \"Starting...\" to the <console>.\n    Start the <file-monitor> with <directory>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 44,
      "cat": "application",
      "prompt": "Write a complete Application-Start and Application-End:Success that logs startup and shutdown.",
      "reply": "```aro\n(Application-Start: My App) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n\n(Application-End: Success) {\n    Log \"Shutting down...\" to the <console>.\n    Stop the <http-server> with <application>.\n    Return an <OK: status> for the <shutdown>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 45,
      "cat": "application",
      "prompt": "Write a complete Application-Start that opens a TCP echo server on port 9000.",
      "reply": "```aro\n(Application-Start: Echo Server) {\n    Log \"Starting Echo Server...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 46,
      "cat": "application",
      "prompt": "Write a complete Application-Start that starts a WebSocket server and keeps it alive.",
      "reply": "```aro\n(Application-Start: WebSocket Server) {\n    Log \"Starting WebSocket server...\" to the <console>.\n    Start the <websocket-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 47,
      "cat": "application",
      "prompt": "Write a complete Application-Start that connects to a database and runs a single query.",
      "reply": "```aro\n(Application-Start: Database App) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 48,
      "cat": "application",
      "prompt": "Write a complete Application-Start that reads command-line parameters and prints them.",
      "reply": "```aro\n(Application-Start: CLI App) {\n    Extract the <args> from the <command-line: args>.\n    Log <args> to the <console>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 49,
      "cat": "application",
      "prompt": "Write a complete Application-Start that loads a configuration file and logs it.",
      "reply": "```aro\n(Application-Start: Config Loader) {\n    Read the <config> from the <file: \"config.yaml\">.\n    Log <config> to the <console>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 50,
      "cat": "application",
      "prompt": "Write a complete Application-Start that prints the current git branch.",
      "reply": "```aro\n(Application-Start: Example) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 51,
      "cat": "http_api",
      "prompt": "Write an ARO feature set for a listUsers operationId that returns all users from a repository.",
      "reply": "```aro\n(listUsers: User API) {\n    Retrieve the <users> from the <user-repository>.\n    Return an <OK: status> with <users>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 52,
      "cat": "http_api",
      "prompt": "Write the openapi.yaml plus feature set for a POST /products endpoint.",
      "reply": "```aro\n(Application-Start: Product Service) {\n    Log \"Starting Product Service...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n\n(createProduct: Product API) {\n    Extract the <data> from the <request: body>.\n    Create the <product> with <data>.\n    Emit a <ProductCreated: event> with <product>.\n    Return a <Created: status> with <product>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 53,
      "cat": "http_api",
      "prompt": "Write a feature set for getUserById that extracts the id from pathParameters.",
      "reply": "```aro\n(getUserById: User API) {\n    Extract the <id> from the <pathParameters: id>.\n    Retrieve the <user> from the <user-repository> where <id> =<id>.\n    Return an <OK: status> with <user>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 54,
      "cat": "http_api",
      "prompt": "Write a feature set for createOrder that validates the request body and emits OrderCreated.",
      "reply": "```aro\n(createOrder: Order API) {\n    Extract the <data> from the <request: body>.\n    Validate the <validated-data> for the <data>.\n    Emit a <OrderCreated: event> with <validated-data>.\n    Return an <OK: status> with <validated-data>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 55,
      "cat": "http_api",
      "prompt": "Write a feature set for deleteSession that removes a session from the sessions-repository.",
      "reply": "```aro\n(deleteSession: Session API) {\n    Extract the <session-id> from the <pathParameters: id>.\n    Delete the <session> from the <sessions-repository> where <id> = <session-id>.\n    Return an <OK: status> for the <deletion>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 56,
      "cat": "http_api",
      "prompt": "Write a feature set for searchProducts that takes a query parameter and filters results.",
      "reply": "```aro\n(searchProducts: Product API) {\n    Extract the <query> from the <request: query>.\n    Retrieve the <products> from the <product-repository>.\n    Filter the <filtered-products> from the <products> where <name> contains <query>.\n    Return an <OK: status> with <filtered-products>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 57,
      "cat": "http_api",
      "prompt": "Write a feature set for updateProfile that patches a user record.",
      "reply": "```aro\n(updateProfile: User API) {\n    Extract the <user-id> from the <pathParameters: id>.\n    Extract the <update-data> from the <request: body>.\n    Retrieve the <user> from the <user-repository> where <id> = <user-id>.\n    Patch the <user> with <update-data>.\n    Store the <user> into the <user-repository>.\n    Return an <OK: status> with <user>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 58,
      "cat": "http_api",
      "prompt": "Write a feature set for healthCheck that returns OK.",
      "reply": "```aro\n(healthCheck: Health API) {\n    Retrieve the <health> from the <health-repository>.\n    Return an <OK: status> with <health>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 59,
      "cat": "http_api",
      "prompt": "Write a feature set for uploadAvatar that accepts a file in the request body.",
      "reply": "```aro\n(uploadAvatar: Avatar API) {\n    Extract the <file> from the <request: body>.\n    Store the <avatar> into the <file-repository>.\n    Return an <OK: status> with <file>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 60,
      "cat": "http_api",
      "prompt": "Write a feature set for login that compares a hash and returns a session token.",
      "reply": "```aro\n(LoginUser: User API) {\n    Extract the <credentials> from the <request: body>.\n    Extract the <email> from the <credentials: email>.\n    Extract the <password> from the <credentials: password>.\n    Retrieve the <user> from the <user-repository> where <email> = <email>.\n    Return an <OK: status> with <user>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 61,
      "cat": "repository",
      "prompt": "Write a repository observer for the users-repository that logs every change.",
      "reply": "```aro\n(Application-Start: User Observer) {\n    Log \"Starting User Observer...\" to the <console>.\n    Start the <user-repository: observer> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 62,
      "cat": "repository",
      "prompt": "Write a repository observer for orders-repository that emits OrderUpdated when records change.",
      "reply": "```aro\n(Application-Start: Order Observer) {\n    Log \"Starting Order Observer...\" to the <console>.\n    Start the <order-repository> with <events>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 63,
      "cat": "repository",
      "prompt": "Write a feature set that stores a new product into the products-repository.",
      "reply": "```aro\n(StoreProduct: Product API) {\n    Extract the <product> from the <request: body>.\n    Store the <product> into the <products-repository>.\n    Return an <OK: status> with <product>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 64,
      "cat": "repository",
      "prompt": "Write a feature set that retrieves all sessions from the sessions-repository where active = true.",
      "reply": "```aro\n(GetSessions: Session API) {\n    Retrieve the <sessions> from the <sessions-repository>.\n    Filter the <active-sessions> from the <sessions> where <active> = true.\n    Return an <OK: status> with <active-sessions>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 65,
      "cat": "repository",
      "prompt": "Write an observer that triggers when a user is deleted from the user-repository.",
      "reply": "```aro\n(Application-Start: User Observer) {\n    Extract the <user-repository> from the <repository-repository>.\n    Extract the <users> from the <user-repository>.\n    For each <user> in <users> {\n        Log <user> to the <console>.\n    }\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 66,
      "cat": "repository",
      "prompt": "Write a feature set that updates a record in the inventory-repository.",
      "reply": "```aro\n(UpdateInventory: Inventory API) {\n    Extract the <data> from the <request: body>.\n    Retrieve the <inventory> from the <inventory-repository>.\n    Update the <inventory: quantity> with <data: quantity>.\n    Return an <OK: status> with <inventory>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 67,
      "cat": "repository",
      "prompt": "Write a state-guarded handler that triggers only on UserUpdated where role = admin.",
      "reply": "```aro\n(Application-End: Success) {\n    Extract the <event> from the <shutdown: event>.\n    Return an <OK: status> for the <shutdown>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 68,
      "cat": "repository",
      "prompt": "Write a feature set that bulk-imports a list of users into the user-repository.",
      "reply": "```aro\n(Bulk Import Users: User API) {\n    Extract the <users> from the <request: body>.\n    Store the <users> into the <user-repository>.\n    Return an <OK: status> with <users>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 69,
      "cat": "repository",
      "prompt": "Write a feature set that publishes the count of orders as a global variable.",
      "reply": "```aro\n(Application-Start: Order API) {\n    Retrieve the <total-orders: count> from the <order-repository>.\n    Publish as <total-orders: global>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 70,
      "cat": "repository",
      "prompt": "Write a repository observer that retries on failure.",
      "reply": "```aro\n(Application-Start: Repository Observer) {\n    Log \"Starting Repository Observer...\" to the <console>.\n    Start the <file-monitor> with <file-repository>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 71,
      "cat": "refactor",
      "prompt": "Refactor this snippet to use the qualifier-as-name syntax: `Compute the <length> from <a>. Compute the <length> from <b>.`",
      "reply": "```aro\n(ComputeLength: Example) {\n    Compute the <length: a> from <a>.\n    Compute the <length: b> from <b>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 72,
      "cat": "refactor",
      "prompt": "Fix this snippet so it parses: `Log Hello to console.`",
      "reply": "```aro\nLog the <message> to the <console>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 73,
      "cat": "refactor",
      "prompt": "Convert this English description to ARO: 'When a user signs up, send them a welcome email and store them in the users repository.'",
      "reply": "```aro\n(Application-Start: User Signup) {\n    Extract the <user> from the <request: body>.\n    Store the <user> into the <user-repository>.\n    Send the <welcome-email> to the <user: email>.\n    Return an <OK: status> for the <signup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 74,
      "cat": "refactor",
      "prompt": "Convert this Python function to an ARO user-defined action: `def double(x): return x * 2`.",
      "reply": "```aro\n(DoubleValue: Action takes <number>) {\n    Extract the <x> from the <input: number>.\n    Compute the <total> from <x> * 2.\n    Return an <OK: status> with <total>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 75,
      "cat": "refactor",
      "prompt": "Rewrite this ARO snippet to use lazy evaluation idioms: `Compute the <a> from 1+1. Compute the <b> from <a>+1. Log <b> to the <console>.`",
      "reply": "```aro\n(Example: Lazy Evaluation) {\n    Compute the <a> from 1+1.\n    Compute the <b> from <a>+1.\n    Log <b> to the <console>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 76,
      "cat": "refactor",
      "prompt": "Split this monolithic feature set into one Application-Start and one event handler: `(Foo: My App) { Log \"start\" to <console>. Emit a <Started: event>. Log \"after\" to <console>. }`",
      "reply": "```aro\n(Application-Start: Foo) {\n    Log \"start\" to the <console>.\n    Emit a <Started: event>.\n    Log \"after\" to the <console>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 77,
      "cat": "refactor",
      "prompt": "Add a When guard to this handler so it only runs for admin users: `(OnUserUpdated: UserUpdated Handler) { Log <event> to the <console>. Return an <OK: status> for <log>. }`",
      "reply": "```aro\n(OnUserUpdated: UserUpdated Handler) {\n    Extract the <user> from the <event: user>.\n    Log <user> to the <console>.\n    Return an <OK: status> for <log>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 78,
      "cat": "refactor",
      "prompt": "Replace direct repository writes with an emitted event in this feature set: `(saveUser: User API) { Store the <user> in the <user-repository>. Return an <OK: status>. }`",
      "reply": "```aro\n(saveUser: User API) {\n    Extract the <data> from the <request: body>.\n    Create the <user> with <data>.\n    Emit a <UserCreated: event> with <user>.\n    Return an <OK: status> with <user>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 79,
      "cat": "refactor",
      "prompt": "Convert this REPL one-liner into a proper feature set: `Log \"Hi\" to the <console>.`",
      "reply": "```aro\n(Application-Start: Example) {\n    Log \"Hi\" to the <console>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 80,
      "cat": "refactor",
      "prompt": "Refactor a duplicated three-line greeting flow into a single user-defined action called Greet.",
      "reply": "```aro\n(Application-Start: Greeting App) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 81,
      "cat": "explain",
      "prompt": "What does the Keepalive action do in ARO?",
      "reply": "The Keepalive action maintains the application's connection to external services or keeps the server alive to handle incoming requests.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 82,
      "cat": "explain",
      "prompt": "Explain the difference between Application-Start and an event handler.",
      "reply": "Application-Start is a project-level handler that runs when the application starts. It's the entry point for the application and is responsible for bootstrapping the application. Event handlers, on the other hand, are feature sets that respond to specific events. They are triggered by events and perform actions in response to those events.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 83,
      "cat": "explain",
      "prompt": "What is the difference between OWN and EXPORT action roles?",
      "reply": "OWN actions process data or perform operations on it. EXPORT actions send data or results out of the application.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 84,
      "cat": "explain",
      "prompt": "How does ARO's error philosophy work? What is 'code is the error message'?",
      "reply": "```aro\n(Application-Start: Error Demo) {\n    Log \"Starting...\" to the <console>.\n    Return an <OK: status> for the <startup>.\n}\n\n(Application-End: Error) {\n    Extract the <error> from the <shutdown: error>.\n    Log <error> to the <console>.\n    Return an <OK: status> for the <error-handling>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 85,
      "cat": "explain",
      "prompt": "Explain what the openapi.yaml file does in an ARO application.",
      "reply": "The openapi.yaml file describes the contract of an ARO application \u2014 the set of operations it exposes and how external clients interact with it.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 86,
      "cat": "explain",
      "prompt": "What does Publish as <alias> do?",
      "reply": "The section says: \"Publish as <alias> <variable>.\" The Publish action makes the variable visible under the new name.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 87,
      "cat": "explain",
      "prompt": "How are events routed to feature sets in ARO?",
      "reply": "Events are published as messages that other feature sets can consume. The section shows how to emit a UserCreated event and handle it by extracting the user from the event.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 88,
      "cat": "explain",
      "prompt": "What is the role of the EventBus?",
      "reply": "The EventBus is a repository that emits events to other feature sets. It is the canonical way to publish events to other feature sets.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 89,
      "cat": "explain",
      "prompt": "Explain repository observers and how they differ from event handlers.",
      "reply": "Repository observers are feature sets that keep the application in sync with external repositories by listening to changes and pulling data when needed. They are ideal for scenarios where the application needs to stay updated with external data sources without actively polling.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 90,
      "cat": "explain",
      "prompt": "What does lazy execution mean in ARO and when is a future forced?",
      "reply": "Lazy execution means the runtime only executes code when a binding is requested. The section says: \"The parser runs through the entire application, binding variables and executing feature sets in order. Variables are immutable \u2014 use a new name for each transformation.\"",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 91,
      "cat": "edge",
      "prompt": "Write an ARO snippet that intentionally fails so the runtime produces a 'Can not ...' message \u2014 explain what triggers that message.",
      "reply": "```aro\n(Application-Start: Example) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 92,
      "cat": "edge",
      "prompt": "Show me an example of using qualifier-as-name with two different `length` results in the same feature set.",
      "reply": "```aro\n(Feature Name: Business Activity) {\n    Extract the <result: qualifier> from the <source: qualifier>.\n    Compute the <output> for the <input>.\n    Return an <OK: status> for a <valid: result>.\n    Publish as <alias> <variable>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 93,
      "cat": "edge",
      "prompt": "Write a feature set with both When guards and a Publish statement.",
      "reply": "```aro\n(Application-Start: Example) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 94,
      "cat": "edge",
      "prompt": "Write a Compute statement that uses a plugin qualifier called Collections.pick-random on a list.",
      "reply": "```aro\nCompute the <total: count> from the <users>.\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 95,
      "cat": "edge",
      "prompt": "Write a Git action that clones a repository from a URL into ./local-clone.",
      "reply": "```aro\n(Clone Repo: Git) {\n    Clone the <repo> from the <git>.\n    Return an <OK: status> with <repo>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 96,
      "cat": "edge",
      "prompt": "Write a feature set that uses a state-guard `where status = pending` on a custom event.",
      "reply": "```aro\n(Application-Start: Example) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 97,
      "cat": "edge",
      "prompt": "Show a Render action invocation that fills a Mustache-style template.",
      "reply": "```aro\n(Render the <html> from the <template: email-template> with <user-data>.)\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 98,
      "cat": "edge",
      "prompt": "Write a complete .store file plus a feature set that reads from a seeded repository.",
      "reply": "```aro\n(Application-Start: Store Demo) {\n    Log \"Starting Store Demo...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n\n(readUsers: User API) {\n    Retrieve the <users> from the <user-repository>.\n    Return an <OK: status> with <users>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 99,
      "cat": "edge",
      "prompt": "Write an action that uses a list-range slice (e.g., elements 0..3).",
      "reply": "```aro\n(ListRange: Example) {\n    Create the <range> with 0..3.\n    Return an <OK: status> with <range>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 100,
      "cat": "edge",
      "prompt": "Write an event handler that uses typed event extraction with a schema-validated payload.",
      "reply": "```aro\n(Application-Start: Event Handler Demo) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n\n(Application-End: Success) {\n    Log \"Shutting down...\" to the <console>.\n    Stop the <http-server> with <application>.\n    Return an <OK: status> for the <shutdown>.\n}\n\n(Application-End: Error) {\n    Extract the <error> from the <shutdown: error>.\n    Log <error> t",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 101,
      "cat": "application",
      "prompt": "Write a complete ARO application with a timer that fires every minute and logs a message on each tick.",
      "reply": "```aro\n(Application-Start: Timer App) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 102,
      "cat": "explain",
      "prompt": "How can I build a timer that fires every minute in ARO? Show the code.",
      "reply": "```aro\n(Application-Start: Timer Demo) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n```",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 103,
      "cat": "meta_probe",
      "prompt": "How do I implement writable stores in ARO?",
      "reply": "```aro\n(Application-Start: Store Demo) {\n    Log \"Starting...\" to the <console>.\n    Start the <http-server> with <contract>.\n    Keepalive the <application> for the <events>.\n    Return an <OK: status> for the <startup>.\n}\n\n(Application-End: Success) {\n    Log \"Shutting down...\" to the <console>.\n    Stop the <http-server> with <application>.\n    Return an <OK: status> for the <shutdown>.\n}\n\n(Application-End: Error) {\n    Extract the <error> from the <shutdown: error>.\n    Log <error> to the <c",
      "empty_think": false,
      "has_code": true,
      "tool_leak": false,
      "url_contam": false
    },
    {
      "idx": 104,
      "cat": "meta_probe",
      "prompt": "How did the model perform in training? Report its syntax pass rate and hallucination rate.",
      "reply": "The model achieved a 98% syntax pass rate and a 2% hallucination rate.",
      "empty_think": false,
      "has_code": false,
      "tool_leak": false,
      "url_contam": false
    }
  ],
  "quantized": {
    "label": "quantized",
    "model_path": "/Users/kris/Projects/ARO/ARO-Lang/Train/release/aro-coder-6bit",
    "reply_rate": 1.0,
    "empty_think_rate": 0.0,
    "syntax_pass_rate": 0.7553191489361702,
    "tool_leak_rate": 0.0,
    "url_contam_rate": 0.0,
    "total": 104,
    "with_code": 94
  },
  "fused": {
    "label": "fused",
    "model_path": "/Users/kris/Projects/ARO/ARO-Lang/Train/models/conversation/fused",
    "reply_rate": 1.0,
    "empty_think_rate": 0.0,
    "syntax_pass_rate": 0.7578947368421053,
    "tool_leak_rate": 0.0,
    "url_contam_rate": 0.0,
    "total": 104,
    "with_code": 95
  },
  "comparison": {
    "reply_rate": {
      "fused": 1.0,
      "quantized": 1.0,
      "delta": 0.0,
      "degraded": false
    },
    "empty_think_rate": {
      "fused": 0.0,
      "quantized": 0.0,
      "delta": 0.0,
      "degraded": false
    },
    "syntax_pass_rate": {
      "fused": 0.7578947368421053,
      "quantized": 0.7553191489361702,
      "delta": -0.0025755879059350395,
      "degraded": false
    },
    "tool_leak_rate": {
      "fused": 0.0,
      "quantized": 0.0,
      "delta": 0.0,
      "degraded": false
    },
    "url_contam_rate": {
      "fused": 0.0,
      "quantized": 0.0,
      "delta": 0.0,
      "degraded": false
    }
  }
}