csv-import-repair / README.md
Microck's picture
Card: state the license and how the data was made; evaluator gains --adapter-only
d3f3bc7 verified
|
Raw History Blame Contribute Delete
2.97 kB
metadata
license: apache-2.0
pretty_name: CSV import repair
configs:
  - config_name: supervised
    default: true
    data_files:
      - split: train
        path: train/train_sft.jsonl

CSV import repair

Procedural multi-turn data for the White Circle Halo Competition. Each supervised row contains the ticket, tool definitions, observed tool arguments and responses, and the expert's final status. The adapter trained on 2,000 replay-verified traces. Training cases include clean imports and imports that cannot be repaired from the available evidence.

File Rows Purpose
train/train_sft.jsonl 2,000 Exact input to Halo SFT
train/train_items.jsonl 2,000 Training fixtures with reference tables
train/dev_items.jsonl 48 Development fixtures
eval/test_items.jsonl 200 Four held-out schema families
eval/fresh_items.jsonl 200 Eight families from an independent generator

The item files contain hidden grading data. The evaluator gives the model only the ticket and sandbox observations. A strict pass requires the expected status, an untouched validator, the reference tables and zero unintended edits. A 100-row audit replayed the supervised tool calls and checked for overlapping families and tables across splits.

The scripts/csv_repair directory contains the evaluator distributed with these fixtures. scripts/csv_repair/gsm8k_main_test_first250.jsonl holds the first 250 problems of the GSM8K test split (openai/gsm8k, config main, revision 740312add88f781978c0658806c59bc2815b9866, MIT license) for the general-capability control, so the evaluator needs no datasets install. It runs the base model and adapter with identical seeds on one vLLM server. Use a disposable, unprivileged environment without credentials or host mounts because models can edit the Python validator. Stage 1 adapter

How it was made

Every table, fault, ticket and note comes from seeded procedural code, and no model generated any row. The training generator (scripts/csv_repair/generator.py) keeps the schema families of the train, dev and test splits apart, so eval/test_items.jsonl holds four families never used in training; it is --split test --count 200 --seed 1. An independently written generator (scripts/csv_repair/fresh_generator.py, --count 200 --seed 9001) with its own families, value pools, tickets and notes made eval/fresh_items.jsonl. A scripted expert (scripts/csv_repair/traces.py) played each training item through the sandbox to produce train/train_sft.jsonl. The generators, expert and grader are on branch ft/hf-qwen3-csv-repair-release of https://github.com/Microck/halo, under scripts/csv_repair/.

License

Apache-2.0 for the generated fixtures, traces and evaluator code. scripts/csv_repair/gsm8k_main_test_first250.jsonl keeps the MIT license of GSM8K.