gold
SELECT DISTINCT T1.Diagnosis FROM Patient AS T1 INNER JOIN Laboratory AS T2 ON T1.ID = T2.ID WHERE T2.GPT > 60 ORDER BY T1.Birthday ASC
- T1.Birthday
- ascending
sha256:873513b4308391824e142f2211445adc172619682127c43924c865e418bc7041
R-ORD GOLD-ONLY not-a-function-of-the-data
thrombosis_prediction · dev_20251106-00000-of-00001 from https://huggingface.co/datasets/birdsql/bird_sql_dev_20251106/resolve/3c11fb193e5439b338e23677fa0aae11e8b85db9/data/dev_20251106-00000-of-00001.json (commit 3c11fb19, downloaded 2026-09-07)
Please provide the diagnosis of patients with ALT glutamic pylvic transaminase beyond the normal range by ascending order of their date of birth.
the hint the set supplies: ALT glutamic pylvic transaminase beyond the normal range refers to GPT > 60;
This question was audited without a prediction beside it, so there is nothing to compare the gold with. The probes below read the gold alone.
SELECT DISTINCT T1.Diagnosis FROM Patient AS T1 INNER JOIN Laboratory AS T2 ON T1.ID = T2.ID WHERE T2.GPT > 60 ORDER BY T1.Birthday ASC
sha256:873513b4308391824e142f2211445adc172619682127c43924c865e418bc7041
from evidence-gold.json, 38 rows
| DiagnosisTEXT |
|---|
| Adult STILL |
| PSS, RA susp |
| PNc |
| MRA, SJS |
| RA, UC |
| PSS |
| AORTITIS |
| PSS, PM |
| PN |
| Vasculitis |
| BEHCET |
| SLE, SJS |
| SLE |
| PM/DM |
| RA |
| ITP |
| MRA |
| Sweet |
| RA, SJS, PM |
| PMPSSRA |
| SLE, APS |
| PSS, SJS, PBC |
| SLE, ITP |
| SLE susp |
| MCTD |
| PN, AGA |
| DM |
| Psoriatic Arthritis |
| SLE, PM |
| PM |
| collagen susp |
| relapsing polychondritis |
| DM, SJS, RA |
| SJS |
| RA,SJS |
| MCTD, SJS |
| DM (amyopathic) |
A smell is a mechanical reason to read this gold statement again. It is a heuristic: it does not state that the statement is wrong, and a maintainer decides.
this statement orders by a text column holding only numbers, and ordering it as a number gives a different answer, so the gold may be sorting 9.5 above 10
no ORDER BY key resolves to a text column
{
"heuristic": true,
"reason": "no ORDER BY key resolves to a text column",
"keys": [
{
"key": "T1.Birthday",
"column": "Patient.Birthday",
"declared_type": "DATE",
"not_applicable": "the column is not declared as text"
}
]
}
this statement cuts its result at a LIMIT that does not decide which rows come back, so a different but equally correct statement can return other rows and score zero
the statement states no LIMIT
{
"heuristic": true,
"reason": "the statement states no LIMIT"
}
rerun over the same rows in another physical order this statement gives another answer, so its result depends on how the rows are stored and not only on the data
from smells.json, 10 rows
| Adult STILL |
| PSS, RA susp |
| MRA, SJS |
| RA, UC |
| PSS |
| RA |
| PSS, PM |
| PN |
| Vasculitis |
{
"heuristic": true,
"rule": "R-ORD",
"baseline_result_hash": "sha256:873513b4308391824e142f2211445adc172619682127c43924c865e418bc7041",
"baseline_result": {
"columns": [
{
"name": "Diagnosis",
"declared_type": "TEXT"
}
],
"row_count": 38,
"truncated": false,
"rows_shown": 10,
"rows": [
[
{
"type": "str",
"value": "Adult STILL"
}
],
[
{
"type": "str",
"value": "PSS, RA susp"
}
],
[
{
"type": "str",
"value": "PNc"
}
],
[
{
"type": "str",
"value": "MRA, SJS"
}
],
[
{
"type": "str",
"value": "RA, UC"
}
],
[
{
"type": "str",
"value": "PSS"
}
],
[
{
"type": "str",
"value": "AORTITIS"
}
],
[
{
"type": "str",
"value": "PSS, PM"
}
],
[
{
"type": "str",
"value": "PN"
}
],
[
{
"type": "str",
"value": ""
}
]
],
"result_hash": "sha256:873513b4308391824e142f2211445adc172619682127c43924c865e418bc7041"
},
"planner_statistics": {},
"shuffle": {
"seed": "1",
"row_limit": 300000,
"tables": [
"Patient",
"Laboratory"
],
"tables_not_shuffled": [],
"tables_skipped_for_size": {},
"tables_not_reached_by_a_copy": {}
},
"shuffled_copies": {
"run": true,
"verdict": "not_equal",
"differs": true,
"result_hash": "sha256:fecaf7c48e33fcfd697d2dbfe28122a4247c490ea68f4cf7a74c8bcc071f2c62",
"result": {
"columns": [
{
"name": "Diagnosis",
"declared_type": "TEXT"
}
],
"row_count": 38,
"truncated": false,
"rows_shown": 10,
"rows": [
[
{
"type": "str",
"value": "Adult STILL"
}
],
[
{
"type": "str",
"value": "PSS, RA susp"
}
],
[
{
"type": "str",
"value": "MRA, SJS"
}
],
[
{
"type": "str",
"value": "RA, UC"
}
],
[
{
"type": "str",
"value": "PSS"
}
],
[
{
"type": "str",
"value": "RA"
}
],
[
{
"type": "str",
"value": "PSS, PM"
}
],
[
{
"type": "str",
"value": "PN"
}
],
[
{
"type": "str",
"value": ""
}
],
[
{
"type": "str",
"value": "Vasculitis"
}
]
],
"result_hash": "sha256:fecaf7c48e33fcfd697d2dbfe28122a4247c490ea68f4cf7a74c8bcc071f2c62"
}
},
"plan_variant": {
"run": false,
"reason": "the plan variant was not asked for"
}
}
SELECT DISTINCT T1.Diagnosis FROM Patient AS T1 INNER JOIN Laboratory AS T2 ON T1.ID = T2.ID WHERE T2.GPT > 60 ORDER BY T1.Birthday ASC
result_hash sha256:873513b4308391824e142f2211445adc172619682127c43924c865e418bc7041 recomputed from this JSON: match
record_hash sha256:e71dd95be6467a25dbf9b42ec20bf054fc811aa410f3d54a0f72f788f12eb174 recomputed from this JSON: match
from evidence-gold.json, 38 rows
| DiagnosisTEXT |
|---|
| Adult STILL |
| PSS, RA susp |
| PNc |
| MRA, SJS |
| RA, UC |
| PSS |
| AORTITIS |
| PSS, PM |
| PN |
| Vasculitis |
| BEHCET |
| SLE, SJS |
| SLE |
| PM/DM |
| RA |
| ITP |
| MRA |
| Sweet |
| RA, SJS, PM |
| PMPSSRA |
| SLE, APS |
| PSS, SJS, PBC |
| SLE, ITP |
| SLE susp |
| MCTD |
| PN, AGA |
| DM |
| Psoriatic Arthritis |
| SLE, PM |
| PM |
| collagen susp |
| relapsing polychondritis |
| DM, SJS, RA |
| SJS |
| RA,SJS |
| MCTD, SJS |
| DM (amyopathic) |
re-run this statement read-only against SQLite 3.53.4 | file=/private/tmp/attestql-runs/data/dev/dev_databases/thrombosis_prediction/thrombosis_prediction.sqlite | size=7327744 under the session settings and over the data this record's fixture digest names, and compare the two results under R-ORD