Repository navigation
profiling/aggregator: stop stamping metadata; key mocks on unique_tag - #101
Merged
Merged
Conversation
…n unique_tag PyAutoFit#1582 drops the per-search `metadata` file and keys aggregator discovery on `files/search.json`. The mock writer no longer appends `dataset_name=` to `metadata`; the harness queries and names outputs by `unique_tag`, which each stamped copy already carries in its search.json. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GkELVxsdpNKyegTu4bFJTR
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.
Summary
PyAutoFit stops writing the per-search
metadatafile andAggregator.from_directorynow keys discovery onfiles/search.json(PyAutoLabs/PyAutoFit#1582). The aggregator profiling harness here stamped adataset_name=line into each mock result'smetadataand queried it viaagg.dataset_name. Mocks no longer append the file; the harness keys onunique_tag, which the mocks already write into each copy'ssearch.jsonand which is what makes the identifiers distinct. Behind the library-first merge gate: merge only after the upstream PR.Scripts Changed
scripts/profiling/aggregator/mock_results.py— dropped themetadataappend instamp_results; docstrings describe the leaf as the directory holdingfiles/search.jsonscripts/profiling/aggregator/profile_aggregator.py—agg.dataset_name→agg.unique_tag;output_to_folder(name="unique_tag")forAggregateImages/AggregateFITS; timing keyquery_dataset_name→query_unique_tag(no consumer of the old key)scripts/profiling/aggregator/profile_database.py— docstring wording onlyUpstream PR
PyAutoLabs/PyAutoFit#1585
Test Plan
profile_aggregator.pyat a small grid cell against the worktree PyAutoFit discovers every stamped result and completes thequery_unique_tag, csv, png and fits stagesGenerated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01GkELVxsdpNKyegTu4bFJTR