Dataset Viewer
Auto-converted to Parquet Duplicate
run_id
stringlengths
37
37
worktree
stringclasses
5 values
seq
int64
0
133
offset_ms
int64
0
900k
kind
stringclasses
20 values
event
unknown
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
1
16
driver-resolved
{ "modelId": "granite4:3b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
2
32
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789614405550, "objects": [ { "name": "current_d...
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
3
471
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_dd71c8622acfc17841ad2e772253463f", "tool": "inspect_schema", "operationId": "sql.query.read" }
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
4
665
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_b33f38e186a7a5e0f1fdb377508d9e11", "tool": "inspect_schema", "operationId": "sql.query.read" }
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
5
666
tool-completed
{ "kind": "tool-completed", "stepId": "step_b33f38e186a7a5e0f1fdb377508d9e11", "artifact": { "correlationId": "e8203815-2082-446d-b8d0-61c31b126d79", "runId": "arun_bdaba8ab67cf4463b78a473c6ea85318", "operationId": "sql.query.read", "summary": { "rowCount": 8, "columnNames": [ ...
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
6
1,039
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_6e66bd6011516628df9e01d4e4caaa08", "tool": "inspect_schema", "operationId": "sql.query.read" }
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
7
2,384
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "The database contains eight tables: **department**, **dept_emp**, **dept_manager**, **employee**, **salary**, **title**, **current_dept_emp**, and **dept_emp_latest_date**. Each table stores data about employees and their departments, with **employee** ...
arun_bdaba8ab67cf4463b78a473c6ea85318
lb-guncel
8
2,401
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-investigation.1" } }
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
1
14
driver-resolved
{ "modelId": "deepseek-r1:8b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
2
29
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789539745709, "objects": [ { "name": "current_d...
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
3
31,150
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_f610d01680bfdc7fe61967f3129365f0", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
4
31,154
tool-completed
{ "kind": "tool-completed", "stepId": "step_f610d01680bfdc7fe61967f3129365f0", "artifact": { "correlationId": "0e31698e-d96c-4c9a-819a-cd3ee6ae7461", "runId": "arun_f937551f8a534691a954cf5aa9a816cd", "operationId": "db.operations.read", "summary": { "rowCount": 1, "columnNames": [ ...
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
5
71,037
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_bffb0192f1cc40fd60a18eb62cd5bbaf", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
6
71,038
tool-completed
{ "kind": "tool-completed", "stepId": "step_bffb0192f1cc40fd60a18eb62cd5bbaf", "artifact": { "correlationId": "6d468670-16da-4a40-85bf-ee23501bb11d", "runId": "arun_f937551f8a534691a954cf5aa9a816cd", "operationId": "db.operations.read", "summary": { "rowCount": 0, "columnNames": [ ...
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
7
81,981
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "There is one active session connected to the database, identified as 'sqlite'.", "evidence": [ { "source": "artifact", "correlationId": "0e31698e-d96c-4c9a-819a-cd3ee6ae7461" } ] }, { "claim"...
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
8
81,986
closing-statement
{ "kind": "closing-statement", "text": "\n```json\n{\n \"claims\": [\n {\n \"claim\": \"There is one active session connected to the database, identified as 'sqlite'.\",\n \"evidence\": [\n {\"source\":\"artifact\",\"correlationId\":\"0e31698e-d96c-4c9a-819a-cd3ee6ae7461\"}\n ]\n },\n ...
arun_f937551f8a534691a954cf5aa9a816cd
lb-guncel
9
81,997
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-operations.2" } }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
1
32
driver-resolved
{ "modelId": "ministral-3:3b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
2
64
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789639694946, "objects": [ { "name": "current_d...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
3
1,461
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_e01478f0bb2ddfc1cbdeb06940d82e5f", "tool": "inspect_schema", "operationId": "sql.query.read" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
4
1,945
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_701641270dcc8351bd9a7c6592aeca0b", "tool": "inspect_schema", "operationId": "sql.query.read" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
5
2,578
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_e4f61bcc9e8b467c7b659fbc8fc98707", "tool": "inspect_schema", "operationId": "sql.query.read" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
6
3,512
statement-drafted
{ "kind": "statement-drafted", "stepId": "step_921240d96080d96b288371077ebaebd5", "sql": "SELECT emp_no, first_name, last_name, hire_date FROM employee ORDER BY last_name, first_name;", "rationale": "(none given)" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
7
3,534
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_921240d96080d96b288371077ebaebd5", "tool": "run_read_query", "operationId": "sql.query.read" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
8
3,535
tool-refused
{ "kind": "tool-refused", "stepId": "step_921240d96080d96b288371077ebaebd5", "refusal": { "class": "database-error", "statementFingerprint": "96a91026548da691542a78d16f7940166202d96d448db6621fd5dae53903c305", "message": "Read-only execution exceeded the row budget: 1000 rows > 200 allowed", "elaps...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
9
4,211
statement-drafted
{ "kind": "statement-drafted", "stepId": "step_0186f26bc02359dd05f707ff0f69b29e", "sql": "SELECT emp_no, first_name, last_name, hire_date FROM employee ORDER BY last_name, first_name LIMIT 200;", "rationale": "Limit to 200 rows to inspect the execution plan." }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
10
4,234
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_0186f26bc02359dd05f707ff0f69b29e", "tool": "run_read_query", "operationId": "sql.query.read" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
11
4,235
tool-completed
{ "kind": "tool-completed", "stepId": "step_0186f26bc02359dd05f707ff0f69b29e", "artifact": { "correlationId": "cbac96ab-6b34-4c76-869f-03fdea37abb4", "runId": "arun_a92b5ca951524326b2a75fc8e3743f44", "operationId": "sql.query.read", "summary": { "rowCount": 200, "columnNames": [ ...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
12
8,055
statement-drafted
{ "kind": "statement-drafted", "stepId": "step_a68e86fb0a2f1f2dfaba307addf9d90c", "sql": "SELECT emp_no, first_name, last_name, hire_date FROM employee ORDER BY last_name, first_name LIMIT 200;", "rationale": "(none given)" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
13
8,073
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_a68e86fb0a2f1f2dfaba307addf9d90c", "tool": "inspect_plan", "operationId": "sql.explain.estimate" }
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
14
8,074
tool-completed
{ "kind": "tool-completed", "stepId": "step_a68e86fb0a2f1f2dfaba307addf9d90c", "artifact": { "correlationId": "6af19c9f-21a3-443e-aea4-f539acccaf37", "runId": "arun_a92b5ca951524326b2a75fc8e3743f44", "operationId": "sql.explain.estimate", "summary": { "rowCount": 2, "columnNames": [ ...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
15
10,773
call-held
{ "kind": "call-held", "tool": "compose_report", "reason": "This workflow answers by comparing plans and you have inspected only ONE plan, so nothing is established yet: a report resting on a single plan is scored as having answered nothing. Your compose_report call was not run. Either call inspect_plan on your r...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
16
13,140
recommendation
{ "kind": "recommendation", "change": "index", "statement": "CREATE INDEX idx_employee_last_first ON employee(last_name, first_name);", "rationale": "Adding an index on (last_name, first_name) will allow the engine to use an index scan for sorting, reducing the cost of the full table scan and improving performa...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
17
17,841
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "The employee listing query performs a full table scan due to the absence of secondary indexes on `last_name` and `first_name` in the `employee` table, leading to inefficient sorting for large datasets.", "evidence": [ { "source":...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
18
17,858
closing-statement
{ "kind": "closing-statement", "text": "### Final Report:\nThe performance issue in the employee listing query stems from the absence of secondary indexes on `last_name` and `first_name` in the `employee` table. This forces a full table scan, which is inefficient for large datasets.\n\n#### Evidence:\n- The schema ...
arun_a92b5ca951524326b2a75fc8e3743f44
lb-guncel
19
17,890
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-query-optimization.3" } }
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
1
8
driver-resolved
{ "modelId": "cogito:8b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
2
16
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789521077301, "objects": [ { "name": "current_d...
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
3
1,183
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_127a126cd5ad725018fe3c3df2210ccd", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
4
1,184
tool-completed
{ "kind": "tool-completed", "stepId": "step_127a126cd5ad725018fe3c3df2210ccd", "artifact": { "correlationId": "26f765f7-1ffb-40eb-ac87-6bb5b47dd252", "runId": "arun_c87758dba66b4079bccb7728b64e4b58", "operationId": "db.operations.read", "summary": { "rowCount": 1, "columnNames": [ ...
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
5
1,598
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_923d5e1d23b3979cba4be6632cecef91", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
6
1,600
tool-completed
{ "kind": "tool-completed", "stepId": "step_923d5e1d23b3979cba4be6632cecef91", "artifact": { "correlationId": "4ca81396-54c2-426f-a224-2a11aae4bed4", "runId": "arun_c87758dba66b4079bccb7728b64e4b58", "operationId": "db.operations.read", "summary": { "rowCount": 1, "columnNames": [ ...
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
7
2,011
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_7d9913904b29dd587acb428d56da5048", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
8
2,017
tool-completed
{ "kind": "tool-completed", "stepId": "step_7d9913904b29dd587acb428d56da5048", "artifact": { "correlationId": "1b8e74e2-7a54-4767-b3da-b1f81814fc9f", "runId": "arun_c87758dba66b4079bccb7728b64e4b58", "operationId": "db.operations.read", "summary": { "rowCount": 1, "columnNames": [ ...
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
9
4,025
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "The database is currently running with one active connection, using 796 KB of space, and has a cache hit ratio of N/A. This is evidenced by the current session state and storage metrics.", "evidence": [ { "source": "artifact", ...
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
10
4,030
closing-statement
{ "kind": "closing-statement", "text": "{\"action\": \"compose_report\", \"arguments\": {\"claims\": [{\"claim\": \"The database is currently running with one active connection, using 796 KB of space, and has a cache hit ratio of N/A. This is evidenced by the current session state and storage metrics.\", \"evidence...
arun_c87758dba66b4079bccb7728b64e4b58
lb-guncel
11
4,038
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-operations.2" } }
arun_fb98ce089cc44a04a07bf0e8f3ad8cfa
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_fb98ce089cc44a04a07bf0e8f3ad8cfa
lb-guncel
1
4
driver-resolved
{ "modelId": "cogito:8b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_fb98ce089cc44a04a07bf0e8f3ad8cfa
lb-guncel
2
9
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789514768970, "objects": [ { "name": "current_d...
arun_fb98ce089cc44a04a07bf0e8f3ad8cfa
lb-guncel
3
1,516
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "The database contains 8 tables and 5 views, with the following relationships between them:", "evidence": [ { "source": "context-snapshot", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "locator": "tab...
arun_fb98ce089cc44a04a07bf0e8f3ad8cfa
lb-guncel
4
1,520
closing-statement
{ "kind": "closing-statement", "text": "{\"action\": \"compose_report\", \"arguments\": {\"claims\": [{\"claim\": \"The database contains 8 tables and 5 views, with the following relationships between them:\", \"evidence\": [{\"source\": \"context-snapshot\", \"fingerprint\": \"ctx_f5d595eedb134e98a34a80ae9718ece4\...
arun_fb98ce089cc44a04a07bf0e8f3ad8cfa
lb-guncel
5
1,525
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-investigation.1" } }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
1
32
driver-resolved
{ "modelId": "ministral-3:3b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
2
65
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789639615559, "objects": [ { "name": "current_d...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
3
444
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_bc25c88d965625abcc4e8d894311eaff", "tool": "inspect_schema", "operationId": "sql.query.read" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
4
445
tool-completed
{ "kind": "tool-completed", "stepId": "step_bc25c88d965625abcc4e8d894311eaff", "artifact": { "correlationId": "6d3ae43c-7546-409d-8bfb-c75ba87c49c7", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.query.read", "summary": { "rowCount": 8, "columnNames": [ ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
5
894
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_031a65823a13c78d5588db27003e423b", "tool": "profile_table", "operationId": "sql.table.profile" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
6
913
table-profiled
{ "kind": "table-profiled", "artifact": { "correlationId": "15c72e55-d67f-4dc9-90e3-74ccdea58e20", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ "row_count", "present_0", "present...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
7
914
tool-completed
{ "kind": "tool-completed", "stepId": "step_031a65823a13c78d5588db27003e423b", "artifact": { "correlationId": "15c72e55-d67f-4dc9-90e3-74ccdea58e20", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
8
1,218
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_17402489e5610f7278e00600bd082529", "tool": "profile_table", "operationId": "sql.table.profile" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
9
1,238
table-profiled
{ "kind": "table-profiled", "artifact": { "correlationId": "06ecb691-7526-4d9b-807f-50cad0456a18", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ "row_count", "present_0", "present...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
10
1,238
tool-completed
{ "kind": "tool-completed", "stepId": "step_17402489e5610f7278e00600bd082529", "artifact": { "correlationId": "06ecb691-7526-4d9b-807f-50cad0456a18", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
11
1,552
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_32ec667dca8a462adaaa979a861ff9c2", "tool": "profile_table", "operationId": "sql.table.profile" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
12
1,570
table-profiled
{ "kind": "table-profiled", "artifact": { "correlationId": "fb4a7e0a-e431-4b21-8a90-2c4fbb84c9ca", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ "row_count", "present_0", "present...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
13
1,571
tool-completed
{ "kind": "tool-completed", "stepId": "step_32ec667dca8a462adaaa979a861ff9c2", "artifact": { "correlationId": "fb4a7e0a-e431-4b21-8a90-2c4fbb84c9ca", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
14
1,847
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_11100e71eb9e202dc35eb48d9cd35c69", "tool": "profile_table", "operationId": "sql.table.profile" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
15
1,865
table-profiled
{ "kind": "table-profiled", "artifact": { "correlationId": "fa4bb1ae-b977-4cc2-8d23-ba100fd0745e", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ "row_count", "present_0", "present...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
16
1,866
tool-completed
{ "kind": "tool-completed", "stepId": "step_11100e71eb9e202dc35eb48d9cd35c69", "artifact": { "correlationId": "fa4bb1ae-b977-4cc2-8d23-ba100fd0745e", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
17
2,158
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_d5682307a95fd15194d16701545cfa92", "tool": "profile_table", "operationId": "sql.table.profile" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
18
2,176
table-profiled
{ "kind": "table-profiled", "artifact": { "correlationId": "14b1a6f0-8d40-4804-bf0c-fddcdccd5404", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ "row_count", "present_0", "present...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
19
2,177
tool-completed
{ "kind": "tool-completed", "stepId": "step_d5682307a95fd15194d16701545cfa92", "artifact": { "correlationId": "14b1a6f0-8d40-4804-bf0c-fddcdccd5404", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
20
2,465
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_3b5c5333e742c01757423856e93524a9", "tool": "profile_table", "operationId": "sql.table.profile" }
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
21
2,482
table-profiled
{ "kind": "table-profiled", "artifact": { "correlationId": "c52b8efa-49c8-490f-96f4-136f8d968f07", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ "row_count", "present_0", "present...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
22
2,483
tool-completed
{ "kind": "tool-completed", "stepId": "step_3b5c5333e742c01757423856e93524a9", "artifact": { "correlationId": "c52b8efa-49c8-490f-96f4-136f8d968f07", "runId": "arun_8845c665ad5e4b93ac42b6850fce5de3", "operationId": "sql.table.profile", "summary": { "rowCount": 1, "columnNames": [ ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
23
8,886
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "The `employee` table has missing values in the `birth_date` column, which is flagged as potentially containing personal information (PII). This suggests an incomplete record for personal attributes, raising concerns about completeness and validity.", ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
24
8,904
closing-statement
{ "kind": "closing-statement", "text": ", {\"claim\": \"The `dept_emp_latest_date` view is defined to derive the latest employment dates for each employee in `dept_emp`, but its underlying data may be incomplete if `dept_emp` lacks records for all employees or if `to_date` values are missing or invalid. This could ...
arun_8845c665ad5e4b93ac42b6850fce5de3
lb-guncel
25
8,939
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-database-assessment.1" } }
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
1
4
driver-resolved
{ "modelId": "cogito:8b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
2
9
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789511155653, "objects": [ { "name": "current_d...
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
3
343
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_127a126cd5ad725018fe3c3df2210ccd", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
4
344
tool-completed
{ "kind": "tool-completed", "stepId": "step_127a126cd5ad725018fe3c3df2210ccd", "artifact": { "correlationId": "0116b1df-0ccd-48ed-b6a9-e6e4fe8da141", "runId": "arun_16f22f722a92484fba4ef715917cbf67", "operationId": "db.operations.read", "summary": { "rowCount": 1, "columnNames": [ ...
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
5
724
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_923d5e1d23b3979cba4be6632cecef91", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
6
725
tool-completed
{ "kind": "tool-completed", "stepId": "step_923d5e1d23b3979cba4be6632cecef91", "artifact": { "correlationId": "4704cc05-da22-4e16-a2c4-eef349e70d2e", "runId": "arun_16f22f722a92484fba4ef715917cbf67", "operationId": "db.operations.read", "summary": { "rowCount": 1, "columnNames": [ ...
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
7
1,114
tool-invoked
{ "kind": "tool-invoked", "stepId": "step_7d9913904b29dd587acb428d56da5048", "tool": "inspect_operations", "operationId": "db.operations.read" }
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
8
1,120
tool-completed
{ "kind": "tool-completed", "stepId": "step_7d9913904b29dd587acb428d56da5048", "artifact": { "correlationId": "4052fd8c-608b-4d1b-a482-c73ba1f82cbf", "runId": "arun_16f22f722a92484fba4ef715917cbf67", "operationId": "db.operations.read", "summary": { "rowCount": 1, "columnNames": [ ...
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
9
3,040
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "The database is running with one active connection, consuming 796 KB of space, and has a cache hit ratio that is not available.", "evidence": [ { "source": "artifact", "correlationId": "0116b1df-0ccd-48ed-b6a9-e6e4fe8da...
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
10
3,042
closing-statement
{ "kind": "closing-statement", "text": "{\"action\": \"compose_report\", \"arguments\": {\"claims\": [{\"claim\": \"The database is running with one active connection, consuming 796 KB of space, and has a cache hit ratio that is not available.\", \"evidence\": [{\"source\": \"artifact\", \"correlationId\": \"0116b1...
arun_16f22f722a92484fba4ef715917cbf67
lb-guncel
11
3,049
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-operations.2" } }
arun_9942e676b7834c508633db156a584579
lb-guncel
0
0
run-started
{ "kind": "run-started", "mode": "agent" }
arun_9942e676b7834c508633db156a584579
lb-guncel
1
9
driver-resolved
{ "modelId": "mistral-small3.2:24b", "provider": "ollama", "tuning": { "origin": "bundled" }, "kind": "driver-resolved" }
arun_9942e676b7834c508633db156a584579
lb-guncel
2
20
context-captured
{ "kind": "context-captured", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "tableCount": 8, "snapshot": { "connectionId": "seed:sqlite-embedded-sample", "fingerprint": "ctx_f5d595eedb134e98a34a80ae9718ece4", "capturedAtMs": 1789532647686, "objects": [ { "name": "current_d...
arun_9942e676b7834c508633db156a584579
lb-guncel
3
4,945
report-composed
{ "kind": "report-composed", "claims": [ { "claim": "This database contains the following tables: department, dept_emp, dept_manager, employee, salary, and title. The tables dept_emp and dept_manager are views with no columns derivable from the stored definition. The tables are related as follows: dept_em...
arun_9942e676b7834c508633db156a584579
lb-guncel
4
4,955
run-finished
{ "kind": "run-finished", "status": "succeeded", "stopReason": "report-composed", "goalVerdict": { "outcome": "answered", "verifier": "agent-investigation.1" } }
End of preview. Expand in Data Studio

LibreDB Agent Benchmark

8,199 agent runs · 39 open-weight models served locally, plus one hosted model as a control · 6 task surfaces · 110,711 ledger events · 14,008 refused tool calls

This is the complete measurement record behind the paper What Stops a Small Language Model From Driving a Database Agent. It is not a scored summary: it is every event the server wrote while the runs happened, released so that every number in the paper can be recomputed — and disagreed with — without re-running anything.

The headline finding is that capability is the smallest failure class. Of 2,194 losses by a named model, only 17.0% are runs that never engaged a tool. The other 83% did the work and lost it at the interface.

What was measured

LibreDB Studio ships an agent mode that performs read-only database work through a fixed tool contract, with a server-side verifier that decides whether each run answered its objective. Six surfaces were driven: five in agent mode (investigation, query-optimization, database-assessment, operations, data-analysis) and one in planning mode. Each has its own objective, tool set and verifier.

Every claim a report makes must cite an artifact the run actually produced — the correlation id of a completed read, or the fingerprint of the schema snapshot it captured. Citations are checked against the run's own ledger and refused if they do not resolve. This anti-hallucination rule is also a major source of loss, and refusals.jsonl is where that shows.

Models were served locally through Ollama 0.33.0 on an Apple M5 Max with 64 GB of unified memory, against a fixed synthetic employee/department/salary SQLite schema. One hosted model (gemini-3.5-flash-lite) is included as a control. No real or customer database was connected at any point.

Files

File Rows One row is
runs.jsonl 8,199 one agent run: model, surface, verdict, shortfall, tool/refusal/guidance histograms, loss class
events.jsonl 110,711 one ledger event, with its offset from the start of its run
refusals.jsonl 14,008 one refused or declined tool call: tool, reason code, the validator's field paths

events.jsonl is the evidence; runs.jsonl and the loss taxonomy are an interpretation of it. That separation is deliberate — swap classify() in the exporter and the corpus reclassifies without the data changing.

runs.jsonl fields

Field Notes
run_id joins to events.jsonl and refusals.jsonl
worktree which checkout of the server the run executed against — the code under test differed between them, so do not pool across this field without saying so
model, provider, tuning_origin tuning_origin is bundled when the model carried a measured profile
mode, surface, verifier surface is derived from the verifier id
status process outcome. succeeded is not a pass — a run that reported nothing also exits successfully
outcome answered / unanswered: the verifier's judgement, and the only pass/fail label
unmet what was missing (no-report, no-answer, no-plan, …)
stop_reason report-composed, model-stopped, model-timeout, turn-limit, deadline-exceeded
loss_class transport / clock / verification / capability, empty when answered
tools, refusals, guidance histograms, e.g. {"inspect_schema": 3}
order rank of this run within its worktree. Load-bearing: the protocol scores five consecutive passes, which cannot be recovered without it
elapsed_ms, event_count, stopped_saying_chars

Absolute timestamps are not published — when this machine ran a sweep is not part of the finding — but order preserves sequence, which is.

The protocol, and how to score it

The unit is a cell: one model on one surface, five consecutive runs against a fixed objective. Five consecutive passes locks the cell. A model is complete at 30/30 — six cells × five runs. Scores are reported as the pair (27/30), never a percentage, because the denominator is what makes two readings comparable.

python3 score.py runs.jsonl --mode row      # the protocol
python3 score.py runs.jsonl --mode pooled   # the naive reading, for comparison

score.py has three modes and the gap between them is the most important thing in this benchmark:

  • pooled — any five-in-a-row anywhere in a cell's history. The obvious implementation.
  • session — the five passes must fall inside one contiguous sitting of that cell. Fixes pooling within a cell.
  • row (default, and the protocol) — all six cells must lock inside one sitting of the model. Fixes pooling between cells, which is where the error actually lives.

Measured on this corpus, pooled and session both report llama3.1:8b and cogito:8b at 6/6 and 30/30. row reports 23/30 for both. Re-reading those two models by hand — six surfaces, one sitting — returned 24/30 and 21/30. The looser readings overstate by seven points, and they do it while every underlying cell genuinely is 5/5. Six cells locked on six different days is six results, not one row, and a row is what a deployment gets.

If you publish a number from this dataset, publish the row number.

Leaderboard (--mode row, models with ≥30 runs)

* marks a locked cell. inv/que/dat/ope/dat/pla are investigation, query-optimization, database-assessment, operations, data-analysis, planning.

Model runs inv que ass ope ana pla of 30 cells
qwen3:4b 73 5/5* 5/5* 5/5* 5/5* 5/5* 5/5* 30/30 6/6
qwen3.6:35b 137 5/5* 5/5* 5/5* 5/5* 5/5* 5/5* 30/30 6/6
qwen3.5:27b 30 5/5* 5/5* 5/5* 5/5* 5/5* 5/5* 30/30 6/6
qwen3-coder:30b 71 5/5* 5/5* 5/5* 5/5* 5/5* 5/5* 30/30 6/6
gpt-oss:20b 272 5/5* 5/5* 5/5* 5/5* 5/5* 5/5* 30/30 6/6
granite4.2:3b 131 5/5* 5/5* 5/5* 5/5* 3/5 5/5* 28/30 5/6
gemini-3.5-flash-lite (hosted) 90 5/5* 3/5 5/5* 5/5* 5/5* 5/5* 28/30 5/6
qwq:32b 50 5/5* 4/5 4/5 5/5* 5/5* 5/5* 28/30 4/6
deepseek-r1:8b 383 5/5* 2/5 5/5* 5/5* 5/5* 5/5* 27/30 5/6
mistral-small3.2:24b 548 5/5* 5/5* 5/5* 5/5* 5/5* 25/30 5/6
granite4:3b 85 5/5* 5/5* 5/5* 5/5* 0/5 5/5* 25/30 5/6
magistral:24b 49 3/5 5/5* 5/5* 5/5* 2/5 5/5* 25/30 4/6
glm-4.7-flash 217 5/5* 2/5 5/5* 5/5* 5/5* 3/5 25/30 4/6
mistral-nemo:12b 398 5/5* 1/5 5/5* 5/5* 3/5 5/5* 24/30 4/6
llama3.1:8b 629 5/5* 2/5 5/5* 5/5* 1/5 5/5* 23/30 4/6
granite4.1:3b 70 5/5* 1/5 5/5* 5/5* 2/5 5/5* 23/30 4/6
cogito:8b 551 5/5* 4/5 0/5 4/5 5/5* 5/5* 23/30 3/6
ministral-3:3b 119 5/5* 3/5 2/5 4/5 4/5 5/5* 23/30 2/6
phi4-mini:3.8b 30 2/5 5/5* 5/5* 5/5* 0/5 5/5* 22/30 4/6
command-r7b:7b 115 5/5* 3/5 0/5 5/5* 2/5 5/5* 20/30 3/6

Full output for all 31 qualifying models: run score.py, or see leaderboard-row.txt.

This leaderboard is a property of the corpus, not of the product. LibreDB Studio ships 35 models verified at 30/30 under their own measured per-model settings; most of those verification sittings predate the ledger fields this dataset needs, so they do not appear here at 6/6. Read this table as "what these 8,199 runs support", which is the only thing a released dataset can honestly claim.

The failure taxonomy

Each loss is classified by what the ledger shows the run did (classify() in hf-export.py):

Class Definition Count Share
transport invoked tools, did not run out of time, never got a deliverable through 761 34.7%
clock model-timeout, turn-limit, or deadline-exceeded 626 28.5%
verification filed a report and was still unanswered — citations did not resolve 434 19.8%
capability invoked no tool at all 373 17.0%

Pass rate by surface (named-model runs):

Surface n answered rate
planning 560 466 83.2%
investigation 550 389 70.7%
operations 603 399 66.2%
database-assessment 614 342 55.7%
query-optimization 1,360 639 47.0%
data-analysis 1,201 464 38.6%

The ordering tracks how many schema-constrained artifacts a surface requires, not how hard its question is. The two hardest both demand a second structured deliverable beyond the report.

Refusals concentrate hard: compose_report accounts for 9,669 of 14,008 — 6,205 INVALID_TOOL_INPUT and 3,464 UNVERIFIABLE_EVIDENCE. The one tool that turns completed work into a delivered answer is where two thirds of all refusals happen.

Known limitations — read these before using the numbers

  1. Unbounded context is a memory confound, and this corpus contains it. With no OLLAMA_CONTEXT_LENGTH set, Ollama admits each model at its full advertised window. mistral-nemo:12b — 7.1 GB on disk — was resident at 51 GB with a 262,144-token context on a 64 GB machine; free memory fell to 6%. Runs taken in that state are not measurements: one granite4.2:3b planning cell read 0/5 with all five runs hitting the 90-second turn limit having invoked no tool, and read 5/5 with the context capped at 32,768. All figures here were taken before the cap, so treat them as a lower bound with unknown per-model bias — models with larger advertised contexts were penalised more. Anyone benchmarking local models should check ollama ps and its CONTEXT column; note that Ollama.app reclaims port 11434 and launchctl setenv does not reach it, so a capped ollama serve can silently fail to bind while the uncapped server answers.
  2. Unequal sampling. Runs per model range from 20 to 629 and were allocated by operational interest, not by design. This is not a randomised comparison. The taxonomy shares over 2,194 losses are the more robust figure; per-model rates have very unequal confidence.
  3. 3,248 runs carry no model. They predate the driver-resolved ledger event. They are in events.jsonl and excluded from every per-model figure. Whole-corpus and attributed-only taxonomy shares agree within 2.7 points on every class.
  4. The worktree field is a code version. Runs in different worktrees executed against different builds — including builds before and after five server-side fixes this work produced. Pooling across it silently mixes conditions.
  5. One machine, one schema, one agent implementation. The surface ordering and the taxonomy are properties of this tool contract. A contract with fewer structured artifacts per surface should show a smaller transport class — a testable prediction, not a caveat.
  6. The 450 ms run deadline was never raised. deepseek-r1:8b's query-optimization cell passes at 443 s and 444 s and fails at the deadline. Raising it would likely close the cell; it is part of the shipped product configuration, and a model that only passes outside it has not been shown to work for a user.
  7. Models refused before the first turn are a distinct phenomenon. olmo-3:7b, phi4:14b, command-r:35b and falcon3:10b are refused by the inference server with HTTP 400 … does not support tools; qwen2:7b's capability probe disproves schema-valid tool arguments. Their planning cells still pass 5/5, since planning needs no tools. Scoring these as 0/30 without distinguishing refused at the transport from tried and failed reports two different things in one number.

Privacy

The ledger is server-authored. The export drops any field named like a credential, and the released files were scanned for key patterns, bearer tokens, private-key blocks, filesystem paths and email addresses. The only match is johndoe@email.com, a row in the synthetic sample database the agent read during a run.

Reproducing

hf-export.py, in this repository, builds all three files from the raw ledgers. The ledger format is one framed JSON object per chunk file: byte 0 is a marker, the JSON begins at byte 1, and the event is under .event.

Citation

@misc{libredb2026dataset,
  title     = {Database agent runs: 8,199 tool-calling runs across 40 language models},
  author    = {Bozoğlan, Cevheri and Gündoğdu, Yusuf and Kaya, Abdullah and Şirin, Koray},
  year      = {2026},
  publisher = {Hugging Face},
  doi       = {10.57967/hf/10485},
  url       = {https://doi.org/10.57967/hf/10485}
}

The paper this dataset accompanies:

@misc{libredb2026paper,
  title  = {What Stops a Small Language Model From Driving a Database Agent},
  author = {Bozoğlan, Cevheri and Gündoğdu, Yusuf and Kaya, Abdullah and Şirin, Koray},
  year   = {2026},
  note   = {Preprint. Every figure regenerates from this dataset with \texttt{verify.py}}
}
Downloads last month
91