Repository navigation
Conversation
The deduplication of generated experiment IDs never applied: it checked the ID against a list of dicts. So, e.g., the (pre-equilibration, simulation) condition pairs (`a_`, `b`) and (`a`, `_b`) were merged into one experiment `experiment__a____b`. Also, each check scanned all experiments, and the condition check used a `.loc` lookup per measurement. Now, the experiment ID is determined once per condition pair, unique among the generated experiment IDs and the condition, observable, and parameter IDs, and reused for the measurement table. Output is unchanged for all benchmark problems. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #636 +/- ##
==========================================
+ Coverage 80.34% 80.39% +0.05%
==========================================
Files 70 70
Lines 8505 8514 +9
Branches 1561 1561
==========================================
+ Hits 6833 6845 +12
+ Misses 1180 1177 -3
Partials 492 492 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
dweindl
force-pushed
the
petab1to2-unique-experiment-ids
branch
from
November 26, 2026 14:50
60b4df3 to
e8c4d57
Compare
dweindl
marked this pull request as ready for review
November 26, 2026 14:52
This branch has not been deployed
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.
petab1to2generates an experiment ID for each combination of pre-equilibration and simulation condition, e.g.,experiment__a____b. The deduplication of these IDs never applied, because it compared the ID against a list of dicts. As a result, e.g., the (pre-equilibration, simulation) condition pairs (a_,b) and (a,_b) were merged into a single experiment.Now, the experiment ID is determined once per condition pair and is unique among the generated experiment IDs and the existing condition, observable, and parameter IDs. Previously, each check scanned all experiments, and the condition check used a
.loclookup per measurement, which was slow for large measurement tables.For all problems in the benchmark collection, the output is unchanged.
🤖 Generated with Claude Code