Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions apn/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Dataset layout

Every dataset directory here has the same shape:

| Path | Used at runtime | Contents |
| --- | --- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `samples.jsonl` | Yes | One row per item; keys below. |
| `Isolated/<id>.lean` | Yes | The source file's definitions plus the single target theorem; sibling theorems, test lemmas and anonymous `example`s cut; `answer(...) ↔` forms rewritten to plain `P` (recorded verdicts un-filled) and `@[category ...]` lists dropped. Generated by `scripts/generate_*_isolated.py`, tested by `tests/test_*_isolation.py`. |
| `subsets/<name>.json` | Yes | `{description, ids}`; every id must exist in the manifest. |
| `Sources/` | No | Verbatim vendored Lean from upstream; each tree's README records the exact upstream pin. |
| `metadata/` | No | Data about the problems, may be used for analysis. |

## `samples.jsonl` keys

| Key | Meaning |
| --- | --- |
| `id` | The target theorem's fully-qualified Lean name. It is the sample id, and by convention it also names the row's file in `Isolated/`: `Isolated/<id>.lean`. That file states the theorem with a `sorry` proof and is the sample input. |
| `source` | Dataset-relative path of the vendored file hosting the declaration (`Sources/...`). |
| `statement` | Optional override of the statement-file path, for ids a filename cannot carry (e.g. two ids differing only in case, indistinguishable on case-insensitive filesystems). When absent, the statement file is `Isolated/<id>.lean`. |
| `excluded` | Optional; present means the harness cannot score this member and the value is the reason. |
| everything else | Dataset extras (`oeis_id`, `other_sources`, `erdos_number`, `category_at_pin`, `answer_form`, ...). |
353 changes: 0 additions & 353 deletions apn/data/erdos/ATTEMPTED.txt

This file was deleted.

16 changes: 0 additions & 16 deletions apn/data/erdos/EXCLUDED.txt

This file was deleted.

Loading
Loading