Add trend command for N-way lockfile analysis#5
Merged
Conversation
Implement `trend` command to track capabilities across an ordered ladder of lockfiles (e.g., quantization ladder Q8→Q6→Q4→Q2 or model over time). Unlike `diff` which compares two lockfiles, `trend` shows where each capability holds and where it cliffs. Also fixes model family comparison to recognize runtime/quantization marker suffixes in model IDs (e.g., 'qwen3.5:9b' and 'qwen3.5:9b-mlx' as the same model family), so within-model runtime or quant swaps don't read as cross-model comparisons. Features: - Per-capability status annotation: regressed, improved, unstable, stable, removed, partial - Multiple output formats: table, markdown, json, html (with sparklines) - Comprehensive ladder-wide validation notes - Never fails on regression (informational only; use `gate` for CI) Includes full test coverage for both the trend analysis and model family normalization.
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.
Implement
trendcommand to track capabilities across an ordered ladder of lockfiles (e.g., quantization ladder Q8→Q6→Q4→Q2 or model over time). Unlikediffwhich compares two lockfiles,trendshows where each capability holds and where it cliffs.Also fixes model family comparison to recognize runtime/quantization marker suffixes in model IDs (e.g., 'qwen3.5:9b' and 'qwen3.5:9b-mlx' as the same model family), so within-model runtime or quant swaps don't read as cross-model comparisons.
Features:
gatefor CI)Includes full test coverage for both the trend analysis and model family normalization.