Skip to content

Experiment info fragility - #1247

Merged
pearce8 merged 7 commits into
developfrom
experiment-info-fragility
Feb 18, 2026
Merged

Experiment info fragility#1247
pearce8 merged 7 commits into
developfrom
experiment-info-fragility

Conversation

@scheibelp

Copy link
Copy Markdown
Collaborator

Fixes #1168
... kind of

Also fixes the case where if you specify a wrong variant value, that benchpark was saying the variant doesn't exist

Right now, to print out all the experiment info we want, we have to actually instantiate it, which means we need to provide a valid spec, so just a name isn't always possible. This "fixes" the problem described in 1168 by reporting more info. There's quite a bit of exception output though, so annoying for a user to sift through.

@github-actions github-actions Bot added the feature New feature or request label Feb 13, 2026
@pearce8
pearce8 added this pull request to the merge queue Feb 18, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.89474% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.42%. Comparing base (41fa7f6) to head (5b240a9).
⚠️ Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
lib/benchpark/cmd/info.py 22.22% 7 Missing ⚠️
lib/benchpark/spec.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1247      +/-   ##
===========================================
+ Coverage    62.83%   64.42%   +1.59%     
===========================================
  Files           48       48              
  Lines         3643     3657      +14     
  Branches       279      283       +4     
===========================================
+ Hits          2289     2356      +67     
+ Misses        1345     1292      -53     
  Partials         9        9              
Files with missing lines Coverage Δ
lib/benchpark/spec.py 86.64% <90.00%> (+0.01%) ⬆️
lib/benchpark/cmd/info.py 23.80% <22.22%> (-0.36%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Merged via the queue into develop with commit 31b4e50 Feb 18, 2026
22 checks passed
@pearce8
pearce8 deleted the experiment-info-fragility branch February 18, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

benchpark info experiment fails in odd ways

3 participants