gold
SELECT name FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC LIMIT 3
- convertedManaCost
- descending
sha256:1f06dd6b42ec3530f75ad46f30dd221cb0efb1bb681bd18c445ce84008c2405e
R-ORD GOLD-ONLY duplicate-full-row
card_games · 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 list the names of the top 3 cards with the highest converted mana cost and have a 2003 card frame style.
the hint the set supplies: name of cards refers to name; 2003 card frame style refers to frameVersion = '2003'
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 name FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC LIMIT 3
sha256:1f06dd6b42ec3530f75ad46f30dd221cb0efb1bb681bd18c445ce84008c2405e
from evidence-gold.json, 3 rows
| nameTEXT |
|---|
| Gleemax |
| Gleemax |
| Draco |
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": "convertedManaCost",
"column": "cards.convertedManaCost",
"declared_type": "REAL",
"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
{
"heuristic": true,
"cut": 3,
"offset": 0,
"distinct_kept": false,
"unbounded_sql": "SELECT name, convertedManaCost AS attestql_ordering_key_0 FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC",
"unbounded_rows": 16462,
"projected_columns": [
"name"
],
"ordering_key_columns": [
"attestql_ordering_key_0"
],
"ordering_keys": [
{
"key": "convertedManaCost",
"direction": "desc",
"nulls": "last",
"nulls_first_in_effect": false,
"returned_rows_null_in_this_key": 0,
"fires": false
}
],
"case": null
}
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
{
"heuristic": true,
"rule": "R-ORD",
"baseline_result_hash": "sha256:1f06dd6b42ec3530f75ad46f30dd221cb0efb1bb681bd18c445ce84008c2405e",
"baseline_result": {
"columns": [
{
"name": "name",
"declared_type": "TEXT"
}
],
"row_count": 3,
"truncated": false,
"rows_shown": 3,
"rows": [
[
{
"type": "str",
"value": "Gleemax"
}
],
[
{
"type": "str",
"value": "Gleemax"
}
],
[
{
"type": "str",
"value": "Draco"
}
]
],
"result_hash": "sha256:1f06dd6b42ec3530f75ad46f30dd221cb0efb1bb681bd18c445ce84008c2405e"
},
"planner_statistics": {},
"shuffle": {
"seed": "1",
"row_limit": 300000,
"tables": [
"cards"
],
"tables_not_shuffled": [],
"tables_skipped_for_size": {
"legalities": 427907
},
"tables_not_reached_by_a_copy": {}
},
"shuffled_copies": {
"run": true,
"verdict": "equal",
"differs": false,
"result_hash": "sha256:1f06dd6b42ec3530f75ad46f30dd221cb0efb1bb681bd18c445ce84008c2405e",
"result": {
"columns": [
{
"name": "name",
"declared_type": "TEXT"
}
],
"row_count": 3,
"truncated": false,
"rows_shown": 3,
"rows": [
[
{
"type": "str",
"value": "Gleemax"
}
],
[
{
"type": "str",
"value": "Gleemax"
}
],
[
{
"type": "str",
"value": "Draco"
}
]
],
"result_hash": "sha256:1f06dd6b42ec3530f75ad46f30dd221cb0efb1bb681bd18c445ce84008c2405e"
}
},
"plan_variant": {
"run": false,
"reason": "the plan variant was not asked for"
}
}
this statement returns the same whole row more than once and never says DISTINCT, so a statement answering the same question once per row disagrees on multiplicity alone
from smells.json, 1 row
| Gleemax |
{
"heuristic": true,
"rows": 3,
"distinct_rows": 2,
"repeated_rows": 1,
"largest_repeat": 2,
"result_bounded": false,
"distinct_stated": false,
"set_operation": false,
"repeats_of_the_rows_shown": [
2
]
}
SELECT name FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC LIMIT 3
result_hash sha256:1f06dd6b42ec3530f75ad46f30dd221cb0efb1bb681bd18c445ce84008c2405e recomputed from this JSON: match
record_hash sha256:5d9244e256aa46b17eb5ec92c6de0012f18f7f022d62b93afdb268c34c52237e recomputed from this JSON: match
from evidence-gold.json, 3 rows
| nameTEXT |
|---|
| Gleemax |
| Gleemax |
| Draco |
re-run this statement read-only against SQLite 3.53.4 | file=/private/tmp/attestql-runs/data/dev/dev_databases/card_games/card_games.sqlite | size=261820416 under the session settings and over the data this record's fixture digest names, and compare the two results under R-ORD