KrisSimon commited on
Commit
d5bd56b
·
verified ·
1 Parent(s): 1eb5b5a

Post-release validation: PASSED (82% syntax pass)

Browse files
Files changed (1) hide show
  1. eval/last-run.json +367 -0
eval/last-run.json ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "ARO-Lang/aro-coder-6bit",
3
+ "hub_commit": "1eb5b5aa03597ead6cf214162aaab2f9b6ee4cce",
4
+ "version": null,
5
+ "validated_at": "2026-07-28T06:47:23.611034+00:00",
6
+ "prompt_source": "bundled aro_system_prompt.txt",
7
+ "passed": true,
8
+ "breaches": [],
9
+ "gates": {
10
+ "reply_rate_min": 0.5,
11
+ "empty_think_max": 0.2,
12
+ "syntax_pass_min": 0.4,
13
+ "tool_leak_max": 0.02,
14
+ "url_contam_max": 0.05
15
+ },
16
+ "metrics": {
17
+ "reply_rate": 1.0,
18
+ "empty_think_rate": 0.0,
19
+ "syntax_pass_rate": 0.8181818181818182,
20
+ "tool_leak_rate": 0.0,
21
+ "url_contam_rate": 0.0,
22
+ "qa_answer_rate": 1.0,
23
+ "total": 26,
24
+ "with_code": 22,
25
+ "syntax_pass": 18
26
+ },
27
+ "results": [
28
+ {
29
+ "idx": 1,
30
+ "mode": "code",
31
+ "cat": "repl_oneliner",
32
+ "prompt": "Write a single ARO line that logs 'Hello, World!' to the console.",
33
+ "reply": "```aro\nLog \"Hello, World!\" to the <console>.\n```",
34
+ "empty_think": false,
35
+ "has_code": true,
36
+ "aro_check_pass": false,
37
+ "check_error": "main.aro:",
38
+ "tool_leak": false,
39
+ "url_contam": false
40
+ },
41
+ {
42
+ "idx": 2,
43
+ "mode": "code",
44
+ "cat": "repl_block",
45
+ "prompt": "Write ARO statements that create a list of three numbers and log its length.",
46
+ "reply": "```aro\n(Application-Start: Example) {\n Create the <numbers> with [1, 2, 3].\n Compute the <length> from the <numbers>.\n Log the <length> to the <console>.\n Return an <OK: status> for the <result>.\n}\n```",
47
+ "empty_think": false,
48
+ "has_code": true,
49
+ "aro_check_pass": true,
50
+ "check_error": "",
51
+ "tool_leak": false,
52
+ "url_contam": false
53
+ },
54
+ {
55
+ "idx": 3,
56
+ "mode": "code",
57
+ "cat": "application",
58
+ "prompt": "Write a minimal ARO application that logs Hello World and exits.",
59
+ "reply": "```aro\n(Application-Start: Hello World) {\n Log \"Hello World\" to the <console>.\n Return an <OK: status> for the <startup>.\n}\n```",
60
+ "empty_think": false,
61
+ "has_code": true,
62
+ "aro_check_pass": true,
63
+ "check_error": "",
64
+ "tool_leak": false,
65
+ "url_contam": false
66
+ },
67
+ {
68
+ "idx": 4,
69
+ "mode": "code",
70
+ "cat": "application",
71
+ "prompt": "Write an ARO Application-Start that starts an HTTP server and keeps running with Keepalive.",
72
+ "reply": "```aro\n(Application-Start: Keepalive Example) {\n Start the <http-server> with <contract>.\n Keepalive the <application> for the <events>.\n Return an <OK: status> for the <startup>.\n}\n```",
73
+ "empty_think": false,
74
+ "has_code": true,
75
+ "aro_check_pass": true,
76
+ "check_error": "",
77
+ "tool_leak": false,
78
+ "url_contam": false
79
+ },
80
+ {
81
+ "idx": 5,
82
+ "mode": "code",
83
+ "cat": "application",
84
+ "prompt": "Write an ARO Application-End: Success handler that logs a shutdown message.",
85
+ "reply": "```aro\n(Application-End: Success) {\n Log \"Shutting down...\" to the <console>.\n Return an <OK: status> for the <shutdown>.\n}\n```",
86
+ "empty_think": false,
87
+ "has_code": true,
88
+ "aro_check_pass": true,
89
+ "check_error": "",
90
+ "tool_leak": false,
91
+ "url_contam": false
92
+ },
93
+ {
94
+ "idx": 6,
95
+ "mode": "code",
96
+ "cat": "http_api",
97
+ "prompt": "Write an ARO feature set named getUser that retrieves a user by ID from the user-repository and returns it as an OK response.",
98
+ "reply": "```aro\n(getUser: 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```",
99
+ "empty_think": false,
100
+ "has_code": true,
101
+ "aro_check_pass": false,
102
+ "check_error": "main.aro:",
103
+ "tool_leak": false,
104
+ "url_contam": false
105
+ },
106
+ {
107
+ "idx": 7,
108
+ "mode": "code",
109
+ "cat": "http_api",
110
+ "prompt": "Write an ARO feature set named createOrder that extracts the request body, stores a new order, and returns a Created status.",
111
+ "reply": "```aro\n(createOrder: Order API) {\n Extract the <order-data> from the <request: body>.\n Store the <order> into the <order-repository>.\n Return a <Created: status> with <order>.\n}\n```",
112
+ "empty_think": false,
113
+ "has_code": true,
114
+ "aro_check_pass": true,
115
+ "check_error": "",
116
+ "tool_leak": false,
117
+ "url_contam": false
118
+ },
119
+ {
120
+ "idx": 8,
121
+ "mode": "code",
122
+ "cat": "http_api",
123
+ "prompt": "Write an ARO feature set named listProducts that retrieves all products and returns them.",
124
+ "reply": "```aro\n(listProducts: Product API) {\n Retrieve the <products> from the <product-repository>.\n Return an <OK: status> with <products>.\n}\n```",
125
+ "empty_think": false,
126
+ "has_code": true,
127
+ "aro_check_pass": true,
128
+ "check_error": "",
129
+ "tool_leak": false,
130
+ "url_contam": false
131
+ },
132
+ {
133
+ "idx": 9,
134
+ "mode": "code",
135
+ "cat": "event_handler",
136
+ "prompt": "Write an ARO event handler that sends a welcome email when a UserCreated event is received.",
137
+ "reply": "```aro\n(Send Welcome 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```",
138
+ "empty_think": false,
139
+ "has_code": true,
140
+ "aro_check_pass": true,
141
+ "check_error": "",
142
+ "tool_leak": false,
143
+ "url_contam": false
144
+ },
145
+ {
146
+ "idx": 10,
147
+ "mode": "code",
148
+ "cat": "event_handler",
149
+ "prompt": "Write an ARO feature set that emits an OrderPlaced event with the order data.",
150
+ "reply": "```aro\n(OrderPlaced: Order API) {\n Extract the <order> from the <request: body>.\n Emit an <OrderPlaced: event> with <order>.\n Return an <OK: status> with <order>.\n}\n```",
151
+ "empty_think": false,
152
+ "has_code": true,
153
+ "aro_check_pass": true,
154
+ "check_error": "",
155
+ "tool_leak": false,
156
+ "url_contam": false
157
+ },
158
+ {
159
+ "idx": 11,
160
+ "mode": "code",
161
+ "cat": "repository",
162
+ "prompt": "Write an ARO feature set that observes the user-repository and logs every change.",
163
+ "reply": "```aro\n(Observe User Repository: User API) {\n Extract the <user-repository> from the <event: user-repository>.\n Log \"User repository updated\" to the <console>.\n Return an <OK: status> for the <observation>.\n}\n```",
164
+ "empty_think": false,
165
+ "has_code": true,
166
+ "aro_check_pass": true,
167
+ "check_error": "",
168
+ "tool_leak": false,
169
+ "url_contam": false
170
+ },
171
+ {
172
+ "idx": 12,
173
+ "mode": "code",
174
+ "cat": "repository",
175
+ "prompt": "Write an ARO feature set that stores a new record in the sessions-repository and emits a SessionCreated event.",
176
+ "reply": "```aro\n(CreateSession: Session API) {\n Extract the <session-id> from the <request: body>.\n Store the <session> into the <sessions-repository>.\n Emit a <SessionCreated: event> with <session>.\n Return an <OK: status> with <session>.\n}\n```",
177
+ "empty_think": false,
178
+ "has_code": true,
179
+ "aro_check_pass": true,
180
+ "check_error": "",
181
+ "tool_leak": false,
182
+ "url_contam": false
183
+ },
184
+ {
185
+ "idx": 13,
186
+ "mode": "code",
187
+ "cat": "iteration",
188
+ "prompt": "Write an ARO for-each loop that logs each item in a list of names.",
189
+ "reply": "```aro\n(ForEachName: Example) {\n Create the <names> with [\"Alice\", \"Bob\", \"Charlie\"].\n For each <name> in <names> {\n Log <name> to the <console>.\n }\n}\n```",
190
+ "empty_think": false,
191
+ "has_code": true,
192
+ "aro_check_pass": true,
193
+ "check_error": "",
194
+ "tool_leak": false,
195
+ "url_contam": false
196
+ },
197
+ {
198
+ "idx": 14,
199
+ "mode": "code",
200
+ "cat": "conditional",
201
+ "prompt": "Write an ARO feature set with a When guard that only returns OK when the user role is \"admin\".",
202
+ "reply": "```aro\n(AdminOnly: Admin API) {\n Extract the <user-role> from the <request: role>.\n When <user-role> = \"admin\" {\n Return an <OK: status> for the <admin-access>.\n }\n Return an <Unauthorized: status> for the <access-denied>.\n}\n```",
203
+ "empty_think": false,
204
+ "has_code": true,
205
+ "aro_check_pass": false,
206
+ "check_error": "main.aro:",
207
+ "tool_leak": false,
208
+ "url_contam": false
209
+ },
210
+ {
211
+ "idx": 15,
212
+ "mode": "code",
213
+ "cat": "computation",
214
+ "prompt": "Write an ARO feature set that computes the total price from price and quantity and returns it.",
215
+ "reply": "```aro\n(ComputeTotalPrice: Price Calculation) {\n Extract the <price> from the <input: price>.\n Extract the <quantity> from the <input: quantity>.\n Compute the <total> from <price> * <quantity>.\n Return an <OK: status> with <total>.\n}\n```",
216
+ "empty_think": false,
217
+ "has_code": true,
218
+ "aro_check_pass": true,
219
+ "check_error": "",
220
+ "tool_leak": false,
221
+ "url_contam": false
222
+ },
223
+ {
224
+ "idx": 16,
225
+ "mode": "code",
226
+ "cat": "user_action",
227
+ "prompt": "Define an ARO user-defined action named DoubleValue that doubles a number.",
228
+ "reply": "```aro\n(DoubleValue: Action) {\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```",
229
+ "empty_think": false,
230
+ "has_code": true,
231
+ "aro_check_pass": true,
232
+ "check_error": "",
233
+ "tool_leak": false,
234
+ "url_contam": false
235
+ },
236
+ {
237
+ "idx": 17,
238
+ "mode": "code",
239
+ "cat": "debugging",
240
+ "prompt": "Fix this ARO code so it passes aro check:\n\n```aro\n(listUsers: User API) {\n Retrieve the <users> from the <user-repository>.\n Return an <OK: status> with <users>.\n```",
241
+ "reply": "```aro\n(listUsers: User API) {\n Retrieve the <users> from the <user-repository>.\n Return an <OK: status> with <users>.\n}\n```",
242
+ "empty_think": false,
243
+ "has_code": true,
244
+ "aro_check_pass": true,
245
+ "check_error": "",
246
+ "tool_leak": false,
247
+ "url_contam": false
248
+ },
249
+ {
250
+ "idx": 18,
251
+ "mode": "code",
252
+ "cat": "file",
253
+ "prompt": "Write an ARO Application-Start that reads a config file and logs its contents.",
254
+ "reply": "```aro\n(Application-Start: Example) {\n Read the <config> from the <file: \"./config.yaml\">.\n Log the <config> to the <console>.\n Return an <OK: status> for the <result>.\n}\n```",
255
+ "empty_think": false,
256
+ "has_code": true,
257
+ "aro_check_pass": true,
258
+ "check_error": "",
259
+ "tool_leak": false,
260
+ "url_contam": false
261
+ },
262
+ {
263
+ "idx": 19,
264
+ "mode": "qa",
265
+ "cat": "explain",
266
+ "prompt": "What is the difference between Extract and Compute actions in ARO?",
267
+ "reply": "The `Extract` action reads data from a source (like a request, event, or variable) and extracts specific fields or values. It is used to pull data out of complex structures like JSON or dictionaries.\n\nThe `Compute` action performs operations on data to produce new values. It is used for transformations, calculations, or data processing.\n\n```aro\n(ExtractData: Example) {\n Extract the <name> from the <request: body>.\n Extract the <age> from the <request: body>.\n Return an <OK: status> with",
268
+ "empty_think": false,
269
+ "has_code": true,
270
+ "aro_check_pass": true,
271
+ "check_error": "",
272
+ "tool_leak": false,
273
+ "url_contam": false
274
+ },
275
+ {
276
+ "idx": 20,
277
+ "mode": "qa",
278
+ "cat": "explain",
279
+ "prompt": "How do I emit a custom event in ARO and handle it in another feature set?",
280
+ "reply": "Use the `Emit` action to emit a custom event, and use the `Handle` action to handle it in another feature set.\n\n```aro\n(EmitEvent: Custom Event) {\n Emit a <CustomEvent: event> with { message: \"Hello, world!\" }.\n Return an <OK: status> for the <event>.\n}\n\n(HandleEvent: Custom Event Handler) {\n Extract the <message> from the <event: message>.\n Log <message> to the <console>.\n Return an <OK: status> for the <handling>.\n}\n```",
281
+ "empty_think": false,
282
+ "has_code": true,
283
+ "aro_check_pass": true,
284
+ "check_error": "",
285
+ "tool_leak": false,
286
+ "url_contam": false
287
+ },
288
+ {
289
+ "idx": 21,
290
+ "mode": "qa",
291
+ "cat": "explain",
292
+ "prompt": "How does the Publish action work in ARO? Give an example.",
293
+ "reply": "The `Publish` action in ARO is used to make a variable available to other feature sets or handlers in the application. It allows you to expose a variable so that other parts of the application can access it.\n\nHere's an example of how to use the `Publish` action:\n\n```aro\n(Application-Start: My App) {\n Log \"Starting...\" to the <console>.\n Start the <http-server> with <contract>.\n Publish the <http-server> to the <application>.\n Return an <OK: status> for the <startup>.\n}\n```\n\nIn this e",
294
+ "empty_think": false,
295
+ "has_code": true,
296
+ "aro_check_pass": false,
297
+ "check_error": "main.aro:",
298
+ "tool_leak": false,
299
+ "url_contam": false
300
+ },
301
+ {
302
+ "idx": 22,
303
+ "mode": "qa",
304
+ "cat": "explain",
305
+ "prompt": "Why are ARO variables immutable and how do I update a value?",
306
+ "reply": "The section says: \"Variables are immutable \u2014 use a new name for each transformation.\" The section explicitly states: \"The same variable name cannot be reused for a new value. Instead, create a new variable name for each new value.\"",
307
+ "empty_think": false,
308
+ "has_code": false,
309
+ "aro_check_pass": null,
310
+ "check_error": "",
311
+ "tool_leak": false,
312
+ "url_contam": false
313
+ },
314
+ {
315
+ "idx": 23,
316
+ "mode": "qa",
317
+ "cat": "explain",
318
+ "prompt": "What does the Keepalive action do and when do I need it?",
319
+ "reply": "The `Keepalive` action keeps the application running by waiting for events or signals. It's typically used in conjunction with an HTTP server to keep the server running and responsive.\n\n```aro\n(Keepalive: Application) {\n Keepalive the <application> for the <events>.\n Return an <OK: status> for the <keepalive>.\n}\n```",
320
+ "empty_think": false,
321
+ "has_code": true,
322
+ "aro_check_pass": true,
323
+ "check_error": "",
324
+ "tool_leak": false,
325
+ "url_contam": false
326
+ },
327
+ {
328
+ "idx": 24,
329
+ "mode": "qa",
330
+ "cat": "explain",
331
+ "prompt": "How does contract-first HTTP routing work in ARO?",
332
+ "reply": "The section says: \"The `contract` parameter is required for HTTP endpoints. The runtime validates that all HTTP methods and paths in the contract are implemented by the application.\"",
333
+ "empty_think": false,
334
+ "has_code": false,
335
+ "aro_check_pass": null,
336
+ "check_error": "",
337
+ "tool_leak": false,
338
+ "url_contam": false
339
+ },
340
+ {
341
+ "idx": 25,
342
+ "mode": "qa",
343
+ "cat": "edge",
344
+ "prompt": "Does ARO have error handling? Explain the error philosophy briefly.",
345
+ "reply": "Yes. The section says: \"The runtime does not automatically recover from errors. You must explicitly handle errors and return an appropriate status code.\"",
346
+ "empty_think": false,
347
+ "has_code": false,
348
+ "aro_check_pass": null,
349
+ "check_error": "",
350
+ "tool_leak": false,
351
+ "url_contam": false
352
+ },
353
+ {
354
+ "idx": 26,
355
+ "mode": "qa",
356
+ "cat": "edge",
357
+ "prompt": "What is a .store file in ARO and when is it writable?",
358
+ "reply": "The section says: \"The `.store` file is a binary file that contains the application's compiled binary. It is only writable during the build process.\"",
359
+ "empty_think": false,
360
+ "has_code": false,
361
+ "aro_check_pass": null,
362
+ "check_error": "",
363
+ "tool_leak": false,
364
+ "url_contam": false
365
+ }
366
+ ]
367
+ }