Skip to content

Atlas refresh report: label older failed-week counts and source/window text changes - #315

Merged
cw-instinct[bot] merged 2 commits into
mainfrom
atlas/refresh-report-clarity
Nov 22, 2026
Merged

cw-instinct[bot] merged 2 commits into
mainfrom
atlas/refresh-report-clarity

Conversation

@cw-instinct

@cw-instinct cw-instinct Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

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)

  • Failed weeks on record (2 or more): entries with 2 or more failed weeks that this run neither counted nor closed get their own table. Columns come from the state fields: failed weeks, first failed date, last counted check (the recorded time, "none recorded" or "unreadable: ..."), interval baseline ("set this run" only when it equals the run time) and any closed_at in the state. The first-week table lists only 1-week entries; the summary rows are split the same way.
  • Number changes: 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_number keeps its signature. Counters, first_failed_at, closed_at, interval_baseline_at, claim values, observed_at, source_as_of, last_settlement_seen_at, history and confirmed_at are not touched; a test runs refresh.main() on a 3-week record and asserts the state fields are unchanged apart from the baseline the existing rule already sets.

Not covered

  • Atlas weekly refresh 2026-11-22 #314 keeps its current body and data. A later refresh run would use the new report text.
  • Not run: site build, smoke, Lighthouse (no site code changed), real network refresh.

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 in tests/test_refresh_report_clarity.py.

Instinct Agent 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
@cw-instinct
cw-instinct Bot requested a review from nerd27dk as a code owner November 22, 2026 11:38
@github-actions github-actions Bot added the outside-signal Report or PR from outside the Commonworld team; picked up by our sweep label Nov 22, 2026
@nerd27dk

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T12:03:47.021809Z 0d21904 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 0d219049fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@cw-instinct
cw-instinct Bot merged commit 943857f into main Nov 22, 2026
15 checks passed
@cw-instinct
cw-instinct Bot deleted the atlas/refresh-report-clarity branch November 22, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

outside-signal Report or PR from outside the Commonworld team; picked up by our sweep

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant