Rebuild concept eval from held-out pages; add held-out docs

This commit is contained in:
Daniel Samson committed 2026-11-21 13:17:32 +00:00
1 parent 3c8704eedd
commit a272afd637
3 files changed
+439 -38

No files matched your search

+6 -3
View File
@@ -92,7 +92,8 @@ output is unchanged before trusting an old result.
|---|---|---|
| `tool_calls.jsonl` | Requests with the expected `kubectl_*` call (or `null` when no tool is needed) | Written from templates by `scripts/build-eval.py`, seed 20260101 |
| `manifest_reasoning.jsonl` | Synthetic cluster snapshots with a question and expected names | Computed by code from the snapshot |
| `concepts.jsonl` | 35 Kubernetes concept questions with a reference answer and key terms | Written by hand; review before relying on them |
| `concepts.jsonl` | 24 Kubernetes questions, each written from a held-out docs page (`source` field), with a reference answer and key terms | Written by hand from pages excluded from training; checked for 8-word overlap with the training text |
| `technical_heldout.jsonl` | Kubernetes docs, OpenAPI and deployment-docs records held out from training by path hash (about 10%) | Selected by `scripts/split-technical-docs.py` |
| `english_heldout.jsonl` | 200 documents sampled uniformly from `corpora/english-prose.jsonl`, capped at 600 words | Sampled by code |
| `english_heldout_ids.txt` | Identifiers of the held-out English documents | Must be excluded from the training corpus |
| `tools.json` | The tool schema shown to the model for `tool_calls.jsonl` | Written by hand |
@@ -116,8 +117,10 @@ Training corpus: `scripts/exclude-heldout.py` writes `corpora/english-train.json
held-out document removed, matched by identifier. It fails if any held-out identifier is missing.
Known limits: the generated items come from templates, so they test recognition of these
phrasings, not general language. Some concept questions will overlap with the Kubernetes docs,
so keep those docs out of the training data if you use this set to judge knowledge.
phrasings, not general language. The concept questions are answered from held-out pages, so
they test generalization beyond the training text. They are still paraphrases of general
Kubernetes material, so treat them as a rough check. Earlier concept items were written from
training pages and were retired; they remain in git history.
### Kubernetes text (`sources/kubernetes-sources.json`)