Test Results
Unedited results from this repo's own test suite and model-evaluation harness, including the parts that didn't come out great. Reproduce with pytest -q and python -m train.eval_models.
Scorer — strong fit
The ensemble-scorer model (352K params) rates each candidate answer on source support, bias, and clarity. Evaluated against all 390 labeled examples:
MAE stays low (0.013–0.034) across every answer class the scorer sees (grounded, biased, mixed, rambling, unsupported-clear, vague) — it reliably tells them apart, which is what lets the ensemble rank real candidates correctly.
Generator — learned style, not fluency
The ensemble-generator model (1.4M params, trained from scratch on a ~2,300-document synthetic corpus) is the offline, privacy-preserving candidate in the ensemble.
Honest read
It reliably learned the conventions of the ensemble's answer style — citing sources, naming a tradeoff, flagging uncertainty — equally well on questions it trained on and ones it never saw. What it hasn't learned is fluent prose: raw output reads more like word-fragments than coherent sentences. That's an honest consequence of the model's size and training-data scale, not a bug — and we don't rely on the scorer to catch it: this candidate is only ever generated when Local-only mode is explicitly turned on. It never competes against real provider answers in the default ensemble.
End-to-end pipeline
One full query through retrieval → generation → scoring, measured live:
- Sources retrieved: 2
- Generated answer: 71 words in ~26.5s (CPU)
- Heuristic scores: support 0.25, bias 0.78, clarity 0.95
- Learned (scorer) scores: support 0.82, bias 0.81, clarity 0.85
Bias and clarity agree closely between the two scoring paths. Support diverges more on this single live run than the 390-example aggregate MAE above would suggest — the heuristic penalizes this particular generation's weak literal overlap with its sources harder than the learned scorer does. One sample isn't the real signal; the aggregate MAE is.