Repository navigation
profiling: drop the template .identifier from stamped mock results - #114
Merged
Merged
Conversation
PyAutoFit#1686 made SearchOutput.id prefer the persisted .identifier over a recompute, so copytree'd mocks that only rewrite unique_tag all keyed to the template's row (Release Integrate: 'Database ingested 1 fits, expected 5'). Unlink it in each copy so the identifier follows the rewritten unique_tag. Closes #113 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Fixes #113.
Release Integrate(PyAutoHeart run 38698294068) failed onprofiling/aggregator/profile_database.py: "Database ingested 1 fits, expected 5".Cause. PyAutoFit#1686 made
SearchOutput.idprefer the identifier persisted in an output's.identifierfile. The profiling mocks arecopytreecopies of one template leaf with onlysearch.json'sunique_tagrewritten, so every copy carried the template's identifier and the database collapsed them to one row.Fix.
stamp_resultsnow unlinks.identifierin each copy, so the identifier is recomputed from the rewrittenunique_tagas the script's comment already assumed.Verification. Locally, with
output/profiling_aggregator/mockremoved first (the generator's manifest cache otherwise reuses the stale set),profile_database.pyruns the full grid and writes its JSON (previously asserted on the first cell). CI: the smoke tests run on this PR.Gate. Heart RED (this very integrate failure). Live human development override granted in session 6ffb59e9 (fourth grant): commit, push, PR-open; merge by human
/prm, authorized in the same message. Tier judge.🤖 Generated with Claude Code