Skip to main content

Eval Harness

The CLaaS eval harness runs automated feedback loops against a live CLaaS stack and measures whether training shifts the model toward preferred behaviours without collapsing.

What it does

  1. Initializes a fresh LoRA adapter for each preference being tested
  2. Runs N feedback steps, each sending a preference-targeted prompt and feedback to the CLaaS API
  3. Measures metrics at each step: logprob margins, compliance rates, capability retention, and collapse signals
  4. Generates plots (optional) showing learning curves over training steps
  5. Produces a summary with per-preference pass/fail verdicts

Preferences

The eval harness ships with three built-in preferences: Preferences are configured via the preferences list in the Hydra config. You can run any subset:

Output structure

Each eval run produces a directory under data/evals/<run-id>/:
Each line in steps.jsonl contains: step number, timestamp, feedback given, SDPO training metrics, eval metrics (logprob margin, compliance, general capability, collapse), and rollout transcripts.

Viewing results

Results can be viewed in the browser via the built-in eval dashboard served by the CLaaS API: