--- license: apache-2.0 pretty_name: PrecisionPatch data (verified floating-point rewrites) tags: - numerical-analysis - floating-point - fpbench - white-circle-halo-competition configs: - config_name: teacher_v1 data_files: - split: train path: teacher_v1/train.jsonl --- # PrecisionPatch data **Made for the White Circle Halo Competition (track `ft-hf`).** Everything needed to retrain and re-evaluate [`doraking/precisionpatch-qwen3-4b-lora`](https://huggingface.co/doraking/precisionpatch-qwen3-4b-lora). | File | What | |---|---| | `teacher_v1/train.jsonl` | 1471 SFT rows in Halo's SFT format (`{"prompt": [system, user, assistant]}`): 885 certified edits, 585 explicit keeps, 1 from Herbie. sha256 `8435b85c10476003…` | | `teacher_v1/meta.jsonl`, `manifest.json` | per-row provenance (task, source, generator family, teacher method, derivation) and the build manifest | | `pool/pool_v1.json` | the task pool: every FPCore form read, its eligibility status, the 301 unique tasks with provenance, groups and the train/dev/test split | | `fewshot_v1.json` | the two fixed worked examples of the few-shot control (train split) | ## How it was built - **Sources.** FPBench `benchmarks/` (commit `408c85c0`) and Herbie's `bench/` (commit `884621aa`), both MIT. Tasks with 1–3 variables over `+ - * / sqrt log exp log1p expm1 fabs` (and `fma` in source programs), box preconditions and guards comparing one variable with a constant. - **Groups and split.** Tasks are grouped by an expression skeleton invariant to commutativity and variable renaming, and by source-function name; whole groups go to one split. Groups with at least 1 bit of fixable headroom were split test 40 / dev 10 / train 17; groups without headroom and all tasks touched during design went to train. Counts (split, headroom): {'train|False': 197, 'train|True': 35, 'test|True': 54, 'dev|True': 10, 'test|False': 5}. - **Teacher.** Only train tasks and generated tasks (14 parameterised kernels, wrapped or guarded; seeds recorded) were used. Generated tasks colliding with any dev/test task by skeleton, name stem or exact key were dropped (196). The answer for each task is the candidate a rule search or Herbie proposed that the independent verifier **certified** and that improved accuracy on the task's probe inputs; otherwise the answer is "keep". No LLM generated any training data. - **No overlap with evaluation.** Dev and test tasks never appear in `teacher_v1`; the split check reports 0 shared skeletons, name stems or exact keys across splits. ## License Apache-2.0 for the generated rows and the curation; the benchmark expressions come from FPBench and Herbie (MIT).