Repository navigation
Add explicit benchmark tag semantics - #4402
Merged
ChrisRackauckas merged 1 commit intoAug 28, 2026
Merged
Conversation
Open
2 of 12 tasks
Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://chatgpt.com/codex/tasks/01a03caf-aae8-74c3-9a79-53b836434858
ChrisRackauckas-Claude
force-pushed
the
benchmark-tag-semantics
branch
from
August 28, 2026 00:35
b8ec93a to
6ad647d
Compare
ChrisRackauckas
marked this pull request as ready for review
August 28, 2026 01:04
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 11, 2026
- Fix definite assignment in ROCK stages (#4321) - Correct NonlinearSolve downgrade dependency floors (#4394) - Fix ensemble work-precision error storage (#4390) - Add explicit benchmark tag semantics (#4402) - fix: require cache-aware nonlinear solver in PDIRK (#4406) - fix: accept SciML caches in nlsolve! (#4407) - Support generic callback event storage (#4398) - test: account for Hairer4 BLAS variation (#4410) - Fix Rosenbrock interpolation after callback truncation (#4411) - Fix weak Platen methods for scalar Wiener processes (#4413) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
What changed and why
This adds a public
tag_kind(tag)classification API for benchmark tags and changesautoplotto identify algorithm families from those semantics. The previous automatic family selection treated any tag present on at most 80% of methods as a family, which could plot traits such as:fifth_orderor roles such as:referencewhile suppressing a real family such as:rkwhen every method shared it.Built-in tags are classified as
:family,:trait,:role,:provider,:variant, or:domain; unknown tags return:unknown. Packages can specializeDiffEqDevTools.tag_kind(::Val{:custom_tag}), while callers can still pass explicitfamiliestoautoplot. The new public API is documented in both OrdinaryDiffEq and DiffEqDevTools, and DiffEqDevTools is bumped from 3.5.0 to 3.6.0.This is the first unchecked implementation item in the consolidated benchmarking roadmap: #3286.
Regression evidence
Before the implementation, the new semantic tests failed on the unfixed tree:
With the implementation applied, the same focused test files pass:
The
autoplotregression assertions verify that a uniform:rktag still producesfamily_rk, while:fifth_orderand:referencedo not produce family plots.Verification
GROUP=TagSemantics julia +release --project=lib/DiffEqDevTools -e 'using Pkg; Pkg.test()'GROUP=Core julia +release --project=lib/DiffEqDevTools -e 'using Pkg; Pkg.test()'GROUP=QA julia +release --project=lib/DiffEqDevTools -e 'using Pkg; Pkg.test()'julia +release --project=docs docs/make.jl/home/crackauc/.juliaup/bin/julia +1.12 -e 'using Runic; exit(Runic.main(ARGS))' -- --check <changed Julia files>typos <changed files>git diff --check upstream/master...HEADThe feature patch ID remained
8ccf6815a29f14ec186eba13c707a8368a8f8feeacross both rebases.Review notes and unverified paths
The initial built-in classification is API policy and is the main judgment call to review. One-off custom families do not become automatic merely because they are uncommon: they should be passed explicitly or registered through the
Valextension point.I did not run
GROUP=Everything, GPU jobs, or Julia pre-release jobs locally. I ran the ModelingToolkitInterfaceIIdownstream group only on a clean base checkout to classify unrelated failures from the first CI run, not as feature-branch validation.🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03caf-aae8-74c3-9a79-53b836434858