Repository navigation
feat: ADAPT round-0 trajectory exporter (#389) - #397
Merged
Merged
Conversation
benchmarks/adapt/exportTrajectories.ts converts a harness-gain run dir (summary.json rows + per-task session transcripts) into the fusion-eval trajectory export schema (schema_version=1), consumable by 'ft datasets from-eval' for SFT. Resolved-only by default, --all includes unresolved rows with passed=false; manifest records per-task dropped tool-block counts so the round-0 dialogue-only distillation loss is measurable, never silent. Verified live on the 19/20 validation run: 19 trajectories, exact schema match against fusion-eval export.py, no empty prompts/messages. 3 unit tests with fixtures (resolved-only, includeAll, missing transcript skips). Full suite 1892 pass. README documents the data path, the known limitation, and the gates before any GPU training run (window approval, model registration, held-out-first eval gate). Co-Authored-By: Claude Code <[email protected]>
This was referenced Nov 29, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First code for fusion-code#389 (verified-trajectory flywheel).
benchmarks/adapt/exportTrajectories.tsconverts a harness-gain run dir into the fusion-eval trajectory export schema (schema_version=1), whichfusion-trainer ft datasets from-evalconsumes directly for SFT — closing the gap between bench transcripts and the existing trainer ingestion path (no new trainer-side format invented).--allincludes unresolved rows (passed=false) for DPO pair mining later.load_messagesconsumes plain text messages); manifest records per-task dropped counts.🤖 Generated with Claude Code