Skip to content

profiling/aggregator: stop stamping metadata; key mocks on unique_tag - #101

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/aggregator-search-json-sentinel
Sep 8, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/aggregator-search-json-sentinel

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

PyAutoFit stops writing the per-search metadata file and Aggregator.from_directory now keys discovery on files/search.json (PyAutoLabs/PyAutoFit#1582). The aggregator profiling harness here stamped a dataset_name= line into each mock result's metadata and queried it via agg.dataset_name. Mocks no longer append the file; the harness keys on unique_tag, which the mocks already write into each copy's search.json and 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 the metadata append in stamp_results; docstrings describe the leaf as the directory holding files/search.json
  • scripts/profiling/aggregator/profile_aggregator.py — agg.dataset_name → agg.unique_tag; output_to_folder(name="unique_tag") for AggregateImages/AggregateFITS; timing key query_dataset_name → query_unique_tag (no consumer of the old key)
  • scripts/profiling/aggregator/profile_database.py — docstring wording only

Upstream PR

PyAutoLabs/PyAutoFit#1585

Test Plan

  • profile_aggregator.py at a small grid cell against the worktree PyAutoFit discovers every stamped result and completes the query_unique_tag, csv, png and fits stages

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GkELVxsdpNKyegTu4bFJTR

…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
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Sep 8, 2026
@Jammy2211
Jammy2211 merged commit 48f56c3 into main Sep 8, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/aggregator-search-json-sentinel branch September 8, 2026 17:55
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant