Datasets:
|
Download evals/schema-first/heldout/sql-remote-graph-no-schema-source/selfcheck/good/final.md from erdostack/bench: direct link, hf CLI and curl.
- Browser
- Download file 881 Bytes
-
https://huggingface.co/datasets/erdostack/bench/resolve/main/evals/schema-first/heldout/sql-remote-graph-no-schema-source/selfcheck/good/final.md
- Command line
-
hf download hf://datasets/erdostack/bench/evals/schema-first/heldout/sql-remote-graph-no-schema-source/selfcheck/good/final.md
-
curl -L -o final.md https://huggingface.co/datasets/erdostack/bench/resolve/main/evals/schema-first/heldout/sql-remote-graph-no-schema-source/selfcheck/good/final.md
881 Bytes
| I wrote `sql/reachable_accounts.sql`, but I couldn't find out what the tables are actually called, so treat the names in it as placeholders. | |
| There's nothing in the repo that describes the database (only `healthcheck.sql`), and I can't connect to the replica from here: no `DATABASE_URL`, and the Postgres driver isn't installed. | |
| So I guessed a table `transfers` with columns `from_account_id` and `to_account_id`. The file says this at the top. Before anyone runs it: | |
| 1. swap in the real table and column names (`\d` on the transfers table would settle it, paste it here and I'll do it) | |
| 2. confirm which way a row points. I followed money outwards from account 42; if "reach" should also include accounts that sent money to 42, the join needs both directions. | |
| The shape of the query (recursive CTE, stops at 3 hops, each account once with its smallest hop count) won't change. | |