Repository navigation
Atlas refresh report: label older failed-week counts and source/window text changes - #315
Merged
Merged
Conversation
added 2 commits
November 22, 2026 12:44
…e source or window label changed Report text only. Counters, first_failed_at, claim values, observed_at and history are unchanged.
…; say label differences are not proof of a different measurement
Member
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Report text, report json fields, tests and protocol text only. No Atlas data or generated files, no counting rule, no refresh-sources.json. PR #314 is not changed by this PR.
Why
The Nov 22 refresh report (#314) put four entries that already hold 2 or 3 failed weeks under "Suspected down (first failed week)", and listed number changes whose source URL or window text had changed next to ordinary re-reads with nothing to say they were different.
Changes (
atlas/refresh.py,atlas/PROTOCOL.md,tests/test_refresh_report_clarity.py)closed_atin the state. The first-week table lists only 1-week entries; the summary rows are split the same way.comparison_of()compares only the source URL and the window text of the new record with the record apply_number just moved into history ('same', 'source', 'window', 'source+window'). The table gets a column "same source and window text" and, when any differ, a bold line saying a label difference alone does not show the measurement changed and should be checked before reading old to new as growth or decline. No dates, windows or values are inferred.apply_numberkeeps its signature. Counters,first_failed_at,closed_at,interval_baseline_at, claim values,observed_at,source_as_of,last_settlement_seen_at, history andconfirmed_atare not touched; a test runsrefresh.main()on a 3-week record and asserts the state fields are unchanged apart from the baseline the existing rule already sets.Not covered
Tests
python -m unittest discover -s tests -p 'test_*.py'in the author's environment: main alone ran 537 tests, OK (skipped=5); this branch ran 550, OK (skipped=5). The 5 skips are the same on both (no Atlas build in atlas/site/dist for 3 tests, 1 test that needs CW_NET_TESTS=1, 1 that needs CW_ATLAS_SCREENS). The 13 new tests are intests/test_refresh_report_clarity.py.