Repository navigation
Tuning diagnostics explorer; every static tuning-trajectory figure is now a view of an explorer - #689
Merged
Merged
Conversation
… now a view of an explorer `plot_tuning_trajectories_from_leaderboard` writes `tuning_diagnostics_explorer.html` (and `tuning_diagnostics.csv`) next to the trajectories explorer: metric error, Elo on validation, baseline advantage and the test - validation gaps of Improvability, Elo and baseline advantage against the time axes, and Elo, Improvability and baseline advantage on test against validation, or the gaps against a metric on test. `generate_all_figs` writes the composite page too. With `static_figures="uncovered"` no static tuning-trajectory figure is written. The explorer template gains metric x-axes on a linear scale (no Pareto front or optimal arrow there, and a y = x line when the y-axis shows the x-axis's metric on test), metrics without a front (the gaps), and pages that keep points missing a value (`build_pareto_explorer_html(drop_incomplete=False)`), whose views each draw the points they have. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ELdutHiUqkvynzEP7EnPsi
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.
Summary
A tuning diagnostics explorer joins the tuning-trajectories explorer: metric error, Elo on validation, baseline advantage and the test - validation gaps against time, and each metric on test against validation, so the 15 diagnostic
pareto_n_configs_*figures are views of a page. Withstatic_figures="uncovered"(thegenerate_all_figsdefault) no static tuning-trajectory figure is written any more.Details
The page:
plot_tuning_trajectories_from_leaderboardwritestuning_diagnostics_explorer.htmlandtuning_diagnostics.csvnext to the trajectories explorer (not inwebsite_onlymode), from the columns the trajectory leaderboard already carries.generate_all_figsalso writes the composite<output_dir>/tuning_diagnostics_explorer.htmlwith a subset selector, undersave_composite_trajectories_explorer.err_tot_*is metric error against total, train or inference time per task (mean);adv*,elo_val,*_overfitare the metric or gap against time;*_vsis a metric on test against itself on validation;*_overfit_v2is a gap against the metric on test. The Elo gap is test - validation throughout, soelo_overfit(validation - test) is its mirror.The template:
"front": False, the gaps).build_pareto_explorer_html(drop_incomplete=False)keeps points that lack a value; each view then draws the points with a value on both of its axes. The diagnostics page needs it: a system without validation results still shows on metric error and baseline advantage. The default keeps dropping incomplete points, so the existing pages are unchanged.static_figures="uncovered"now returns before every static tuning-trajectory figure ("all"still draws all of them). On a 14-subsetgenerate_all_figsrun with trajectories, the PDFs left are the tuning-impact bar plots: 28 instead of 238.Tests
ruff check . && ruff format --check .(ruff 0.14.0)pytest tests/tabarena/contexts tests/tabarena/plot tests/tabarena/evaluation tests/tabarena/website -q: 402 passed, with the newtest_the_diagnostics_explorer_offers_every_diagnostic_view,test_uncovered_static_figures_leave_only_the_explorers,test_a_metric_x_axis_is_linear_and_keeps_incomplete_points_on_requestandtest_the_composite_diagnostics_explorer_holds_every_subset.generate_all_figsrun:🤖 Generated with Claude Code
https://claude.ai/code/session_01ELdutHiUqkvynzEP7EnPsi