cc-steer export

Export the steering lineage as a HuggingFace dataset.

cc-steer export [OPTIONS]

Builds the canonical traces config — one row per judged event, carrying the context, judge and auditor verdicts, refined pairs, and code evidence — plus the TRL-ready sft, dpo, and kto projections. Both source databases are read-only; every config lands as per-split parquet under --out next to a generated dataset card, and --push uploads every config to a private dataset in your HF namespace (created on first push), --repo-id overriding the target.

Full --help output
Usage: cc-steer export [OPTIONS]

  Export the steering lineage as a HuggingFace dataset.

  Builds the canonical ``traces`` config — one row per judged event, carrying
  the context, judge and auditor verdicts, refined pairs, and code evidence —
  plus the TRL-ready ``sft``, ``dpo``, and ``kto`` projections. Both source
  databases are read-only; every config lands as per-split parquet under
  ``--out`` next to a generated dataset card, and ``--push`` uploads every
  config to a private dataset in your HF namespace (created on first push),
  ``--repo-id`` overriding the target.

Options:
  --out DIRECTORY     Directory to write the per-config parquet files and
                      dataset card into.  [default: /home/runner/.cc-
                      steer/dataset]
  --repo-id TEXT      HuggingFace dataset repo to push to.  [default: (<hf-
                      user>/cc-steer-traces)]
  --push / --no-push  Push every config to --repo-id as a private dataset.
                      [default: no-push]
  --db FILE           Database path. Defaults to ~/.cc-steer/feedback.db.
  --help              Show this message and exit.

Options

--out: DIRECTORY = /home/runner/.cc-steer/dataset
Directory to write the per-config parquet files and dataset card into.
--repo-id: TEXT
HuggingFace dataset repo to push to.
--push, --no-push
Push every config to --repo-id as a private dataset.
--db: FILE
Database path. Defaults to ~/.cc-steer/feedback.db.