Skip to content

Experiment info fragility#1247

Open
scheibelp wants to merge 7 commits intodevelopfrom
experiment-info-fragility
Open

Experiment info fragility#1247
scheibelp wants to merge 7 commits intodevelopfrom
experiment-info-fragility

Conversation

@scheibelp
Copy link
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
@codecov-commenter
Copy link

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 3 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.

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