* test(docs): assert a documented parameter exists and a declared one is documen…ted
test_docs_parameter_descriptions_match_the_model compares the text of
rows present on both sides and says nothing about a row present on one
side alone, in either direction. So a table could advertise a parameter
no request can ask for -- which is how dwd/dmo hourly came to document
cloud_base_convective and cloud_cover_below_7km under icon_eu, both
declared for icon alone, until GH-1971 -- or omit one a request can.
test_docs_parameter_tables_hold_the_parameters_the_dataset_declares
asserts both directions, plus that every documented section names a
dataset the model declares. All three verified to fail against the
un-fixed tree:
documents snow_depth/'totally_not_an_element', which it does not declare
declares cloud_cover_above_7km/'nh', which it does not document
documents a dataset 'icon_europe' that the model does not declare
The third is what had been hiding the other two. _documented_descriptions
keyed rows on the `###` heading, and dwd/mosmix heads its sections Small
and Large while its datasets are small and large -- so the parse matched
nothing on that page and every row on it went unchecked, the description
comparison skipping the whole file through its "no documented text"
branch. The dataset now comes from the `name` row of the section's own
metadata table, which also lets dwd/derived go on documenting
cooling_degreehours_13, _16 and _18 in one section, as that row says it
does, rather than forcing three copies of an identical table.
My first draft of the parser was itself vacuous: it consumed the
parameters header as a metadata row, collected nothing, and reported zero
violations across every provider. Hence the assertion that a page
documents at least one parameter before anything is concluded from it.
Eight violations, all of them drift the new test names:
- dwd/mosmix hourly documented cloud_base_convective and
cloud_cover_below_7km under small, declared for large alone. The same
defect in the same two parameters as DMO's, because DMO's tables were
copied from MOSMIX's.
- it also carried a stale n1 row for cloud_cover_below_1000ft in both
datasets, superseded by the nl row appended beside it. The model maps
nl and has never mapped n1.
- imgw/meteorology daily documented precipitation_height under synop,
which declares precipitation_height_day and _night instead, so the row
named something that raises NoParametersFoundError.
- imgw/meteorology monthly synop documented none of its four
precipitation parameters.
Quality flags stay out of the presence check: 38 dataset tables carry a
quality row against 68 declared across six names. The inconsistency is
real, and it is its own change.
Keying the parse correctly also compared two pages for the first time,
which turned up one description worth keeping over the model's:
count_days_cooling_degree is DWD's Kuehltage, "number of days with at
least one cooling hour", where the canonical text and the three
dwd/derived overrides all said the vaguer "Number of days on which
cooling was required". The precise wording was in the docs table, where
nothing had ever compared it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): key the dataset-description parse the same way, and stop aborting
Review of the commit below. Its headline check came back clean -- coverage
per page went up, 2203 keys to 2211, with no page collecting fewer rows
and the two that changed being exactly the two the bug had hidden. And it
settled the n1 question from upstream: MetElementDefinition.xml lists
N, N05, Neff, Nh, Nl, Nlm, Nm and no N1 at all, so the model's nl is
right and the rows deleted were stale. Seven findings.
I fixed heading-keying in _documented_descriptions and left the identical
bug in _documented_dataset_descriptions, which still keyed on the `###`
heading -- so test_docs_dataset_descriptions_match_the_model went on
comparing nothing on the same two pages this commit exists to expose.
Both now resolve: dwd/mosmix under small/large, dwd/derived under all
three cooling_degreehours_*. Neither carries a model description yet, so
nothing is compared either way, but now for that reason rather than
because the key never matched. Renaming the mosmix `name` cell to `smaII`
fails it, which it could not have before.
`assert documented` was a bare assert inside the per-resolution loop, so
the first page parsing to zero rows aborted the run and hid every other
page's findings -- and said less than the loop would have, since a
zero-row page makes the comparison below list every parameter it lost by
name. Collected into `errors` instead.
The quality exclusion covered every `quality*` name while the comment
claimed it matched the descriptions test, which skips only `quality`
itself. It was the broader of the two, not the same. Narrowed to
`quality`, which cost documenting exactly two rows -- dwd/observation
subdaily wind_extreme declares quality_3 and quality_6 and showed
neither -- and now the five named flags are held rather than waved past.
The comment's other number was wrong too: 25 pages document a `quality`
row, not 38.
Three rows I left or introduced in the wrong style:
- the surviving mosmix `nl` rows kept the appended `percent`/`-` form
while every sibling cloud row, and dmo's own normalised nl rows, read
`%`/`>=0,<=100`. So the page claimed cloud cover had no 0-100 bound. I
had deleted the well-formed copy and kept the malformed one -- same for
h_bsc and nlm, whose good copies only existed in the small table I
pruned. All three carried across, and the tables sorted.
- the four imgw monthly rows wrote `millimeter`/`-` while the same
parameters two sections up on the same page write `mm`/`>=0`.
precipitation height cannot be negative. Matched to the page and
sorted into place.
- the cooling row lost a padding space, so its border no longer lined up.
GH-1979 records the one finding not fixed here: build_metadata_model
never falls back to PARAMETERS for a description, so 142 provider
descriptions are byte-identical copies of the canonical sentence with
nothing tying them together -- which is why sharpening
count_days_cooling_degree took four edits. 2104 differ legitimately, so a
test cannot tell drift from intent; the fallback removes the duplicate
instead of guarding it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): keep the declaration order, and stop the cap re-hiding the report
Review aimed at the twin pattern. Six findings here, four of them things
this branch did and then did inconsistently.
The mechanical sort was wrong. 223 of the 271 documented tables list
parameters in the model's declaration order, which is what lines a page
up one-to-one with its metadata.py and lets a missing row be spotted by
eye. Sorting mosmix hourly and imgw monthly alphabetically turned
precipitation_height_last_1h, _3h, _6h, _12h, _24h into _12h, _1h, _24h,
_3h, _6h, and did the same to the probability_fog_last_*,
probability_drizzle_last_* and wind_gust_max_last_* families. Order is
restored from the model for all four tables touched here, including the
two quality rows added to subdaily wind_extreme, which the model
interleaves with the gusts they flag rather than grouping. Row counts
unchanged throughout: 162, 31, 21, 21.
Then the twins:
- imgw/meteorology monthly had four rows normalised from millimeter/- to
mm/>=0 while daily kept the same two parameters in the same wrong
style, plus pressure_air_sea_level as hectopascal/-. The same page's
other datasets, and the same table's pressure_air_site, already wrote
mm/>=0 and hPa/>=0.
- the three rows carried across on the mosmix page were written unpadded
into tables whose every other row is a fixed width -- 93 bytes against
182 -- in the same commit whose message says it fixed a one-character
padding slip elsewhere. Both tables re-padded.
Three in the test:
- _metadata_tables fired on any `| property |` header, including the
page-level `## metadata` table, so three pages gained a dataset key
holding the *resolution's* description: subdaily, subdaily, 6_hour. No
failure today, because no resolution has a dataset of its own name, but
the day one does the comparison reports something inexplicable. Now
only inside a `###` section.
- it reassigned `heading` before flushing the table that belonged to the
previous one, so a metadata table not separated from the next `###` by
a blank line would be filed under the next dataset. Latent -- no page
does this -- and silent rather than failing. Flush first.
- the errors[:20] cap re-hid what collecting instead of asserting was
meant to surface: a zero-row page contributes one error per declared
parameter, hundreds for dwd/observation/daily, filling the message and
truncating every later page away. It is skipped after being recorded.
Verified: 0 phantom dataset keys, 217 dataset descriptions still
collected with none lost, and the four tables in declaration order.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): share the heading rule, rather than fixing it in one parser
Verification round. Its verdict was that neither PR has a user-facing
defect and that the re-padding and declaration-order work should stay --
the padding nets to 14 lines against main rather than the 80 the commit
shows, and the four reordered tables moved out of the 43 that are not in
declaration order into the 228 that are. So this is the last of it.
Two nits, and they are the twin pattern again: I gave _metadata_tables a
"only inside a `###` section" guard and did not give it to
_documented_descriptions, which reads the page-level `## metadata` table's
`name` row into its dataset list; and neither cleared the current dataset
when a later `##` heading closed the section, so a property table under
one would be filed under the last dataset seen.
Fixed by not writing the rule twice. _heading_datasets answers what a
heading opens -- `###` opens a dataset, `####` stays inside it, anything
shallower closes it -- and both parsers call it. That is the structural
version of the fix rather than the same edit applied twice, which is what
the last four rounds kept catching.
Verified after: 0 phantom dataset keys from either parser, 2213 parameter
rows collected (2211 plus the two quality rows this branch documents), and
217 dataset descriptions, none lost.
Also drops the full stop from this branch's three new changelog entries;
47 of the 52 in [Unreleased] do without one.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): close the three ways a page could still go unchecked
A review of the presence test found three more of the same silent skip it was written to remove.
The `quality` exemption was applied to both sides of the comparison. Only the declared side needs
it -- 58 datasets declare `quality` and 25 document it -- and exempting the documented side too
meant a `quality` row could name a `name_original` the model does not declare, on a page where the
descriptions test skips `quality` as well, so nothing checked those 25 rows at all. Mutating
`dwd/observation` daily's `qn_6` row to `qn_99` passes with the old symmetric exemption and fails
with this one.
`_documented_resolutions` could only yield a resolution whose page exists, so a resolution added
without one was compared by nothing. `test_docs_cover_every_resolution` now asserts the page, which
keeps the three tests below it reporting mismatches rather than absences; it fails when
`dwd/mosmix/hourly.md` is moved away. Its counterpart `test_data_coverage` checks that every page is
linked from its network index, the other direction, and could not see this.
`_heading_datasets` reads any `#` line as a heading, so a `#` comment inside a fenced example would
have closed the dataset section it sits in -- dropping every row below it out of that dataset, which
the descriptions test answers by comparing nothing. The three parsers now read `_prose_lines`, which
skips fenced blocks. Adding a ```bash block with a comment to `dwd/mosmix/hourly.md` fails the
descriptions test without it and passes with it. No resolution page carries a fence today.
Also corrects the declaration-order figure in the changelog: 228 of 271 documented tables carry it
once the rows they omit are ignored, and 196 match the declared list exactly. The 223 I wrote does
not reproduce under either measure.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(docs): write hPa where the row beside it already does
`urban_pressure` had `pressure_air_sea_level` as `hectopascal`/`-` and `pressure_air_site` as
`hPa`/`>=0`, two rows of one table. Both were appended by the generator in GH-1825, which wrote the
model's `unit` verbatim onto pages whose rows used symbols.
63 rows corpus-wide spell a unit out where their own page uses the symbol for it. 59 of them write
`dimensionless` against a `-` elsewhere on the same page, which is a convention to settle rather than
a slip, and 3 are on `dwd/dmo` hourly, which GH-1975 has open; GH-1980 carries both, along with the
question of why the column is hand-written when the model already holds it. This is the one left.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): stop the four remaining ways a row could go uncompared
A second review found four more holes in the machinery, each fixed with a mutation showing the
un-fixed version passes.
A duplicated parameter row was silently deduped: the parse keys on (dataset, name, original name) and
overwrote, so only the last copy was ever compared. That is the exact shape of two defects this branch
just cleaned up -- a stale row left beside the one that replaced it -- so with a matching
`original name` the next one would have been invisible. Every description written for a key is now
kept, the descriptions test compares all of them, and the repeat is reported. Inserting a second
`pressure_vapor` row into `imgw/meteorology` daily with a wrong description now fails two tests and
passed both before.
`except Exception` excused a network from all four tests. My justification for it was wrong: CI runs
`.github/workflows/install.sh testing`, which syncs `--extra export`, so pandas is there and nothing
is skipped. What the clause was really buying was silence -- a `metadata.py` that made
`build_metadata_model` raise would have excused that provider from `test_docs_cover_every_resolution`,
whose whole purpose is to stop exactly that. Narrowed to `ModuleNotFoundError`, which is the real case
(`dwd/derived` imports pandas, so a bare `uv sync` cannot check its three resolutions -- the only
casualty, measured), and it now warns rather than passing in silence. A `raise` planted in
`imgw/meteorology`'s `api.py` fails the presence test and was swallowed before.
The `errors[:20]` cap still hid the report for the case 773058c6 did not cover: one mistyped dataset
`name` row matches nothing and reports every parameter on both sides, 33 lines from one page, which
filled the cap and truncated every provider after `dwd`. Capped per page as well, and both caps now
state how many lines they dropped -- a truncated list that does not say so reads like a complete one.
`_prose_lines` normalised every fence to three characters, so it could not pair a nested one: a ```
line inside a ````-opened block closed it and leaked the body into the prose stream. A fence now
closes only on a marker at least as long as its opener, per CommonMark.
Also reorders the `urban_pressure` table, whose unit the last commit fixed without restoring its
order -- the one table this branch touched that was among the 43 of 271 still out of order.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): hold the dataset descriptions the way the parameter rows are held
A third review found the dataset-description side of the module still carrying the holes the
parameter side had just had closed.
A dataset the model describes now has to carry a documented description, not merely agree with one
where both sides have it. Deleting the `description` row from `imgw/meteorology` daily's `climate`
table passed every test before; a missing `#### metadata` table or a mistyped `name` row passed the
same way, while the presence test shouted about the parameters. 211 described datasets document it
today and the 54 that document none describe none either, so nothing is demanded that does not exist.
`_documented_dataset_descriptions` overwrote, which is the defect the parameter parser was changed to
a list to avoid two commits ago. A second `### climate` section carrying wrong text passed before and
is reported now.
`test_docs_cover_every_resolution` ignored `EXCLUDE_PROVIDER_NETWORKS`, which `test_data_coverage` has
always applied. It passes today only because `dwd/radar` exposes no `metadata` attribute -- and radar
already has a `metadata/` package, so the day it grows a model the two tests in one module would have
contradicted each other. Now shared by all four, verified wired: 88 resolutions, 80 with
`dwd/observation` excluded, 76 with `imgw` wildcarded.
Reverts the canonical `count_days_cooling_degree` description. Narrowing it to "Number of days with
at least one cooling hour" put DWD's *Kuehltage* definition on a canonical name that every future
provider inherits, where cooling degree days are defined against a base temperature rather than by
counting hours -- and it left the three `dwd/derived` overrides as exact copies of the canonical,
saying nothing. The sibling `count_days_heating_degree` already shows the split this restores: a
general canonical, with DWD's "number of days with daily mean air temperature less than 15 degree
Celsius" in the override. The docs row is unchanged either way, since it compares against the
override.
Two typos the review turned up outside this diff are filed as GH-1981: `imgw/meteorology`'s column map
writes `"maksymalna dobowa suma opadóww"` and `"średnia temperatura minimalnaj"`, so three declared
monthly parameters can never populate.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): make the optional-dependency skip actually skip, and hold both directions
A fourth review found the skip clause from two commits ago was dead code, and a regression.
`Wetterdienst.resolve` catches `ModuleNotFoundError` and re-raises it as a plain `ImportError` --
the parent class, not a subclass -- so `except ModuleNotFoundError` caught nothing. Under the very
environment its docstring named, a bare `uv sync` without the `export` extra, `dwd/derived`'s pandas
import escaped and all four docs tests errored, where the `except Exception` it replaced had handled
it. Measured with pandas blocked behind a meta-path finder: before, four `ImportError`s; after, 85
resolutions and one warning naming `dwd/derived`. The distinction the clause exists to draw -- excuse
a missing module, surface a broken provider -- is now read off `__cause__`, since the type is already
flattened by the time it arrives.
Dataset descriptions were only held one way: text living solely in the markdown was compared by
nothing, exactly as a missing one had been before the last commit. Six were in that state, and one of
them was wrong -- `dwd/mosmix` hourly described `large` as "Local forecast of 115 parameters" while
the model declares 122. GH-1975 corrects that number in three other files and does not reach this
fourth copy. All six now live in `DATASET_DESCRIPTIONS`, which is also what makes the figure
comparable: reinstating the 115 fails the test. `imgw/meteorology` monthly `climate` was a plain
omission, its `daily/climate`, `monthly/precipitation` and `monthly/synop` siblings all being there.
`_prose_lines` knew only backtick and tilde fences, but `docs/conf.py` enables MyST's `colon_fence`,
so a `:::{note}` block is a fence in this project's markdown too. A `#` comment in one would have
closed the dataset section it sits in -- the trap the helper exists to remove. No page uses `:::`
today, and adding a `:::{note}` block with a comment to `dwd/mosmix/hourly.md` passes now and failed
before.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): compare the quality rows a page does carry, and stop excusing a typo
A fifth review found four more gaps, each fixed with a mutation showing the un-fixed version passes.
The `__cause__` guard from the last commit excused any missing module, and `Wetterdienst.resolve`
reports a name it cannot import as a missing dependency whatever that name is. So a mistyped
intra-package import -- `from wetterdienst.model.requst import ...` -- dropped that provider out of
all four docs tests with a `UserWarning` and a green suite, which is the silent skip the clause's own
docstring says it prevents. A name inside this package is no longer excused: planting that typo in
`imgw/meteorology`'s `api.py` now fails and passed before.
The descriptions test skipped `quality` outright while the presence test requires those 25 rows to
exist and to be keyed by the right `name_original` -- so their text was the one thing about them that
nothing checked, and a page could say "Quality flag." where the model says "Quality flag published by
the source for the values in the same dataset." The skip is gone. It turned up two real rows:
`dwd/derived` hourly wrote "quality flag" against the model's "Quality flag."
The repeated-section report only fired for datasets the model already describes, because both presence
branches `continue` before it, and it read the descriptions rather than the sections, so a second
table with no `description` row was invisible. Counted from the sections now, before either branch:
duplicating `dwd/swsmos` hourly's undescribed `data` section, and duplicating `imgw` daily `climate`'s
with the copy's `description` row removed, both fail now and passed before.
The parameter descriptions test still sliced its list bare while its two siblings used `_capped`,
whose own docstring argues a truncated list that does not say so reads like a complete one -- and it
is the test that gained the most coverage here.
Also corrects a claim two commits back that `dwd/mosmix` and `dwd/derived` "have no model description
yet", which the last commit made untrue, and records the `quality`-placement choice on the subdaily
page: the new rows follow the model, the four tables beside them put `quality` last, and which is
right belongs to the row-order question GH-1980 carries.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(docs): three unit cells naming the wrong quantity, and two more escape hatches
A sixth review found two silent skips left in the comparisons, and checking the unit column against
the model turned up three cells that are simply wrong.
`if shown in ("", "-"): continue` was the last escape hatch in the parameter descriptions test. No row
writes either, and no parameter lacks a description, so it could never have excused anything real --
only a description being dropped from a page, which is the failure the test exists to report. Blanking
`dwd/derived` monthly `climate_correction_factor`'s cell, or replacing it with `-`, passes before and
fails now.
A `#### metadata` section naming a dataset the model does not declare was only caught when it also had
a `#### parameters` table, because the orphan check reads the parameter rows and the description test
walks the model's datasets. So a section left behind when its dataset was dropped from the model was
accepted, which contradicts what the docstring claims. The orphan check now unions both.
Checking every unit cell against `UnitConverter.get_unit` -- 2213 rows -- finds 63 that disagree with
the model, of which three name a different physical quantity: `dwd/road` 15_minutes wrote `mm/s` for
`precipitation_intensity`, which is `millimeter_per_hour`, a factor of 3600 out, and `dwd/observation`
monthly and annual wrote `Bft` for `wind_gust_max`, which is `meter_per_second` -- copied, it looks
like, from the `wind_force_beaufort` row above it, which really is Beaufort. Fixed here. The other 60
are spellings rather than quantities and are recorded on GH-1980.
Also corrects the mixed-unit figure in the changelog. I had measured it on this branch after earlier
commits had already fixed `mosmix` and `imgw` daily, so the claim held only against an intermediate
state and contradicted the entry two bullets above it. Measured on `main`: 69 rows, 57 of them
`dimensionless` against a `-`, and of the other 12 this change fixes 9, leaving GH-1975's 3.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): read the rows no dataset section encloses, and the pages the model dropped
A seventh review found the last two silent skips of this class, and one description of mine that
over-claims.
`_heading_datasets` closes the dataset section on any heading of level 1 or 2, and this tree carries
`## Notes` and the like, so a parameter table placed after one was filed under no dataset and iterated
by neither comparison. Appending a made-up `precipitation_height` row under `metno/frost` 6_hour's
`## Notes` heading passed every test; the same row inside the `### data` section was reported. Such a
row is now filed under a name the model can never declare, so the orphan check reports it.
`test_docs_cover_every_resolution` only asserted model to page. The three comparisons walk the model,
so a page left behind by a renamed resolution stayed published, stayed linked from its network index --
all `test_data_coverage` asks of it -- and was read by nothing. Copying `dwd/road/15_minutes.md` to
`3_hours.md` and listing it in the index passed before and fails now.
The three `cooling_degreehours_*` descriptions I added two commits ago shared the docs page's blurb
about "13, 16 and 18 degree Celsius". The page documents all three in one section and says why, which
is the right documentation -- but `discover`, the REST API and MCP report a dataset at a time, so a
caller asking for `cooling_degreehours_13` was told it covers three base temperatures. Each now names
the reference temperature it uses, phrased as the `heating_degreedays` sibling is. One `description`
cell cannot equal three descriptions, so the text of a section naming several datasets is no longer
compared; their presence still is, and exactly one section is in that state.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): stop the page-side check from failing on the networks it skips
An eighth review found that the reverse direction I added last commit breaks in the one environment
the optional-dependency skip exists for, and that treating `:::` as a fence was wrong.
A network skipped for a missing module declares nothing, so every one of its published pages read as
naming a resolution the model does not declare -- turning the skip into the failure it avoids.
Reproduced with pandas blocked behind a meta-path finder: `test_docs_cover_every_resolution` failed on
all three `dwd/derived` pages while the other three tests passed. `_resolution_pages` now returns the
pairs it skipped alongside the pages, and the page-side walk excludes them the way it excludes
`EXCLUDE_PROVIDER_NETWORKS`. All four pass with pandas blocked.
`:::` is not a code fence. MyST's `colon_fence` is enabled, but a `:::{note}` block holds rendered
markdown, so a table inside one is published documentation and has to be parsed -- treating it as a
fence dropped the table and reported the absence somewhere else entirely, which is the authoring trap
the guard is supposed to remove rather than add. A `#` comment, which is what the guard is for, belongs
to a code example, and those are fenced with backticks. Wrapping `dwd/road` 15_minutes' only table in
an admonition now parses; before, the page reported no parameter row at all.
Adds `test_docs_resolution_descriptions_match_the_model` for the one description table neither
comparison reached: the `## metadata` block a page opens with, above its first dataset section, which
`_metadata_tables` deliberately skips. `RESOLUTION_DESCRIPTIONS` holds the model side, so it is
compared in both directions like the other two. Three pages carry one and the model carries the same
three; drifting the text and deleting the row both fail.
The review also noted the same blanket `except Exception` in `tests/test_api.py`. Filed as GH-1982
rather than fixed here, because that module imports `dwd/derived` at the top level and so cannot be
collected without the `export` extra at all -- which is a question about its imports, not about the
clause.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): read a directive as markup, a heading by its name, and the sections in either order
A ninth review found three parser assumptions, each reproduced and each now proven to fail against the
old code.
A MyST directive can be written with backticks as readily as with colons, and this repo already does
`” ```{toctree} ”` on every network index page. The last commit stopped treating `:::` as a code fence
for exactly this reason and left the other spelling alone, so wrapping `dwd/road` 15_minutes' only
table in `” ```{note} ”` still reported "parses to no parameter row at all". The open fences are now a
stack tagged code or directive, and only a code fence hides its contents -- so a code block nested in
an admonition still does. The corpus parses identically: 2213 rows either way, and the 54 pages whose
prose lines change are the index pages whose toctree is now read as the markup it is.
`_heading_datasets` sliced `line[4:]`, which assumes exactly `### ` and a name. A closing ATX sequence
is valid and renders identically, so `### data ###` became the dataset `'data ###'` and 11 errors on
`smhi/observation` daily -- and `###data` lost its first character. The 31 sections that carry no
`#### metadata` table to name their dataset are the ones that would have paid. Taken by stripping the
hashes now.
`_documented_descriptions` could only use a `name` row it had already read, so a section putting its
parameters table before its metadata table -- valid, and equally good documentation -- filed every row
under the raw heading while `_metadata_tables` read the same section correctly. That disagreement
between the two parsers is the thing sharing `_heading_datasets` was meant to end. A first pass,
`_section_datasets`, now resolves the names, and the lookup is applied only where a section opens, so a
dataset named after another section's heading cannot be sent to that one's datasets. Swapping the two
subsections inside `### Small` on `dwd/mosmix/hourly.md` passes now and failed before.
Also corrects the declaration-order figures, which mixed the two sides of the change. Measured with
one parser against both trees: `main` is 224 of 271 order-preserving and 191 exact, this branch is 229
and 196, so five tables move; and the table whose unit the earlier commit fixed was one of the 47
`main` leaves out of order, not of the 43 I wrote.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): let the directive decide what is hidden, not the fence marker
A tenth review found the directive rule from the last commit too broad, and the changelog describing
the code it replaced.
Classing every `{...}` fence as markup is right for `{note}` and wrong for `{code-block}`,
`{literalinclude}`, `{doctest}`, `{eval-rst}` and the `{code-cell}` this repo writes 114 times. Turning
a plain ```bash example on `dwd/road` 15_minutes into a ```{code-block} bash one made its `# fetch`
comment a level-1 heading, closed the enclosing section, and put the descriptions test back to
comparing nothing for that dataset while only the presence test complained -- and misleadingly.
So the list now decides the default rather than the exception: a fence hides its body unless it opens
one of the admonitions or layout containers in `_MARKUP_DIRECTIVES`. The two mistakes do not cost the
same. A code body read as markdown fails silently, which is what this module exists to stop; a
container left off the list drops its tables, which the presence tests report. A name nobody here has
used yet is likelier to be another code directive than another admonition.
Verified: the `{code-block}` mutation passes now and failed before, a table inside both `:::{note}` and
```{note}` still parses, and the corpus is unchanged at 2213 documented rows.
The changelog's fence bullet still said "only backticks and tildes count", which the previous commit
made untrue -- colons are matched and the directive check is what makes an admonition table readable.
Rewritten to describe what ships.
Also records that `docs/data/overview.md`, `dwd/index.md` and `mosmix/index.md` still read 115 where
this change writes 122, so this wants to merge before GH-1975 and that one straight after. Not fixed
here: GH-1975 rewrites the station counts on those same lines, so a duplicate figure would only have
made it conflict.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): a marker inside a code block is content, and sections are read by position
An eleventh review found three parser bugs, each reproduced on a synthetic page and each now shown to
behave differently before and after.
`_prose_lines` read any fence marker as a marker, even while inside a code fence -- so a `~~~` shown
inside a ```text block, or an unclosed `:::{note}` shown inside a ``` one, opened a fence that nothing
closed and every line below it was dropped. A whole page: both probes made `_documented_descriptions`
return nothing at all before, and return the row after. On a resolution page that surfaced as a flood
of "declares X, which it does not document"; on a network index, where only the glossary test runs, as
nothing. While the top of the stack is a code fence, only its matching closer is read as a marker now.
`_section_datasets` keyed the sections by heading text, so two `###` sections sharing a heading
collapsed into the later one's datasets -- the probe filed both rows under `two`, leaving `one`
documenting nothing and `two` documenting a row it does not declare. `_metadata_tables` reads the same
page positionally, so the two parsers disagreed exactly where sharing `_heading_datasets` was supposed
to stop them. Read by position now, and the probe files each row under its own section.
`_documented_resolution_description` accepted any property table above the first dataset section, so a
second one -- under a `## Notes`, say -- was compared against the resolution's description and sent the
author to the wrong table. It reads the table under the page's own `## metadata` heading now. My first
attempt at that reset the accumulator on every property table, which let the `## Notes` table wipe the
description it must not read; the probe caught it, and the reset now happens only on entering a table
this reads. The same three pages are found either way.
The review raised the three prose pages still reading 115 again. Still GH-1975's, for the reason the
changelog and that PR's thread now both record: its hunks rewrite the station counts on those same
lines.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix: describe imgw monthly hydrology as that, and read only the metadata table
A twelfth review found a description wrong on both sides at once, and two readers asking different
questions of the same tables.
`imgw/hydrology` monthly was described as "historical daily climate data" -- wrong in the resolution
and wrong in the subject. The page carried the identical text, so the both-directions comparison this
change set adds was satisfied by it: a description copied wrong into both places is invisible to a
test that only compares them, and only reading catches it. Its `daily` sibling and every
`imgw/meteorology` entry already say "historical <resolution> <subject> data", which it now says too.
A caller asking `discover`, the REST API or MCP for `monthly/hydrology` was told it holds daily
climate data.
`_metadata_tables` took any property/value table inside a `###` section for that dataset's metadata
table, while the resolution-level reader already insisted on the heading. So a second one -- a
`#### source file` or `#### periods`, both plausible -- came out as a repeated metadata table:
correct documentation reported as "carries 2 metadata tables", with the second table's rows compared
against the model besides. Probed: before, `{'data': 1, 'not_a_dataset': 1}`; after, `{'data': 1}`.
All 238 such tables in the tree sit under that heading, so nothing is lost by asking for it.
The heading is matched whatever its case, through one shared reader, because `dwd/mosmix` hourly
writes `#### Metadata` and `_heading_datasets` already tolerates that page's capitalisation. A
resolution page written `## Metadata` had its whole opening table skipped, and with 85 of 88
resolutions carrying no model description, nothing would have been reported. Probed: before `None`,
after the description.
A `-` description cell against a model with no description was reported as "the page describes it,
the model does not", the opposite of what happened, because `-` is truthy where a blank is not. Both
now read as "no text here", and either is still compared where the model does carry a description --
verified, a `-` on `climate_correction_factor` still fails.
The review also raised the three appended rows on `dwd/dmo/hourly.md`. GH-1975 deletes all three, so
there is nothing to carry here; I checked its diff rather than assuming.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): name a short row as short, and exempt the table rather than the dataset
A thirteenth review found two reports that pointed at the wrong thing.
A parameter row carrying fewer cells than its header cannot be read -- the column wanted may not be
there -- and dropping it silently made the presence test say the opposite of what happened. Removing
the trailing `constraints` cell from `dwd/road` 15_minutes' `humidity` row reported only "declares
humidity/'relativeHumidity', which it does not document", of a row plainly on the page. It now leads
with "a parameter row is short -- humidity: 4 cells against a header of 5". Forgetting that cell is a
likelier slip than omitting a row, so the real one has to be named first. None exist in the tree today.
The exemption for a metadata table naming several datasets was keyed by dataset name, so it covered
every description of those datasets anywhere on the page. Probed: a page documenting
`cooling_degreehours_13` in the shared section *and* in a `### cooling_degreehours_13` section of its
own had both texts exempted, so drifted text in the dedicated section was compared by nothing -- the
silent skip this change set exists to close, back in by the side door. The flag now rides with each
description, so the shared table is exempt and the dedicated one is compared.
Also states GH-1980 as the follow-through this change depends on rather than leaving it implicit: the
`unit` and `constraints` columns are compared by nothing, so the three wrong-quantity cells fixed here
can drift straight back until it lands, exactly as the descriptions did before this change.
The three prose pages still reading 115 stay GH-1975's, for the reason both the changelog and that
PR's thread record.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): report the table that cannot be read, not the row it seems to lack
A fourteenth review found four more ways the parsers reported something other than what happened, each
reproduced on a synthetic page and each now shown to differ before and after.
A parameter table whose header has no `description` column was dropped whole, silently -- the author
who forgot the column got "declares X, which it does not document" for every row, or "parses to no
parameter row at all" for the page. And a row with *more* cells than its header, the usual cause being
an unescaped `|` in a description, was read with every column shifted: the probe compared 'Humidity'
against the model where the cell said 'Humidity | relative.'. Both are now reported as themselves, by
the check the last commit added for short rows, which covers a mismatch in either direction. Every
table in the tree has the column and every row matches its header.
`_section_datasets` gated on having seen a `###` rather than on one being open, so a `#### metadata`
table under a `## Notes` after the last section renamed that section's dataset -- probe: `[['bogus']]`
where `_metadata_tables` kept `data`, the two parsers disagreeing on the same page again.
Directive names are case-insensitive to Sphinx, and `_is_metadata_heading` is already case-insensitive
here for the same reason, but the `_MARKUP_DIRECTIVES` lookup was not: `:::{Note}` fell through to the
unknown-directive default, was read as code, and dropped every table inside it.
Also corrects the comment above `DERIVED_DESCRIPTIONS`, which still described the rule as "take the
canonical sentence" after the three `Kuehltage` entries were deliberately made narrower than it. The
next editor reading only the comment would have reconciled them back.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): hold the unit column, the sections with no tables, and the shared descriptions
A fifteenth review found the three gaps left open, one of which reviewers have now raised four rounds
running, so it is closed rather than deferred again.
The `unit` column was compared by nothing, which is how three cells came to name a different physical
quantity than the value carries -- `mm/s` for `millimeter_per_hour`, a factor of 3600, and `Bft` twice
for `meter_per_second`. This change fixed them by hand and nothing stopped them returning. A documented
unit now has to be the model's unit by name or by symbol, or one of the four notations in
`_UNIT_SPELLINGS`, which cover all 60 cells that disagree: `kg/m²` for `mm`, equal for water and what
DWD's MOSMIX documentation writes; `-` for a coded value whose model symbol is the unhelpful
`sign [0..95]`; a Greek mu against a micro sign; and `Bft` against the model's lower-case `bft`. Listing
them is what lets the check run with no corpus reflow, and what keeps it honest about which
disagreements it tolerates -- a different quantity is not one of them. Reverting any of the three fixes
now fails. The fourth cell this change touched, `hectopascal` to `hPa`, is notation and still passes
either way; that is GH-1980's, which the four spellings also are.
The row parser is column-agnostic now, so descriptions and units come from one reader rather than two.
Both halves of the orphan-section check were derived from tables, so a `###` section carrying neither a
metadata nor a parameters table named no dataset at all: a page could advertise a dataset no request
can ask for -- the GH-1971 defect this test exists to report -- and be read by nothing. The headings
are unioned in, which the existing `_section_datasets` already supplies, and it reports nothing new
today.
Where one `description` cell documents several datasets its text cannot be compared against any one of
their model descriptions, but those descriptions must at least differ from each other: setting
`cooling_degreehours_18` to the 13-degree sentence -- so that `discover`, the REST API and MCP would
report the wrong base temperature -- passed before and fails now. A copied entry is the likeliest error
that exemption can hide, and those three sentences are ones this change adds.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): print the cause before the symptom, and pin the counts written into prose
A sixteenth review found the malformed-table check suppressed in the one case it was written for, and
a count of mine measured against the build directory.
`_malformed_parameter_tables` ran *after* the `if not documented: continue` branch, so a page whose
only parameter table is the broken one printed nothing but "parses to no parameter row at all" -- the
message that check exists to replace. Renaming that table's `description` header on `dwd/road`
15_minutes now leads with "a parameter table has no ['description'] column". A table is also reported
for missing either column it is read for: `_documented_column` drops every row of a table lacking the
one it is asked for, so losing `unit` made the units test compare nothing and no other test noticed.
`test_docs_descriptions_do_not_misstate_a_parameter_count` ties a count written into a description to
`len(dataset.parameters)`. The two `dwd/mosmix` descriptions this change adds name one, and a count in
prose is the very fact whose drift set the change off -- 115 against a declared 122. Adding a parameter
to `large` now fails rather than leaving `discover`, the REST API, MCP and the page all saying 122 of
123.
The `{code-cell}` figure was 114, counted over `docs/_build/`, which duplicates every page. Tracked
sources hold 59.
And the `dwd/road` unit cell is restated. I wrote that `mm/s` was "a factor of 3600 out", which assumed
the model right; the review points out that module labels the BUFR units of what it decodes -- it
declares `degree_kelvin` for `airTemperature`, whose CREX unit is Celsius -- and BUFR gives
`intensityOfPrecipitation` as `kg m-2 s-1`, millimetres per second. So the page may have been the
correct side. GH-1984 carries it, with the one decoded record that would settle it and the
`waterFilmThickness` sibling; no BUFR element table ships with the eccodes wheel here, so I could not
confirm it offline. The page follows the model either way, which keeps it one wrong label rather than
two disagreeing statements of it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): name the metadata-less networks, and stop asserting who was wrong about mm/s
A seventeenth review found a skip that could take the whole suite down to nothing, a model-side check
gated on a page, and a docstring of mine contradicting my own changelog.
`getattr(api, "metadata", None)` skipped a network silently and put it in `skipped`, which also exempts
its published pages from the page side of `test_docs_cover_every_resolution`. So the skip was keyed on
an attribute name: renaming `metadata` to `_metadata` on `ipma/observation` dropped that provider out of
all four comparisons *and* excused its pages, with all nine tests passing. It now has to be named in
`NETWORKS_WITHOUT_A_METADATA_MODEL`, which holds `dwd/alerts` alone, and an unexpected one says which
network and why.
`test_docs_descriptions_do_not_misstate_a_parameter_count` walked `_documented_resolutions`, so it only
ran where a page exists -- though what it asserts is a model fact. Deleting `dwd/mosmix/hourly.md` and
drifting the model to "123 parameters" passed before and fails now.
The units test's docstring still said the `dwd/road` cell wrote `mm/s` "for a `millimeter_per_hour`
parameter, a factor of 3600 out" -- which the changelog had already stopped claiming, having found the
model to be the side under question. The review settled it with data: 45725 real values, max 0.006,
which is no precipitation at all as mm/h and an ordinary shower as mm/s. GH-1984 now carries that
measurement, along with why the fix is not one word: `UnitConverter` has no per-second member of
`precipitation_intensity`, so it needs the unit, its ×3600 factors, the declaration, and the
`waterFilmThickness` sibling that is 100× by the same reasoning. The docstring points there instead of
naming a culprit, and this test follows whatever the model declares, so settling it changes one
declaration and the page has to follow.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* docs: render the changelog as prose, and say on the page that a unit is under question
An eighteenth review found that these entries break their own rendering, and that the one exemption
left still compared nothing.
Three bare fence markers written into the changelog prose opened real code fences. `poe docs` warned
about a Pygments lexer named `-opened`, nine lines of one bullet rendered as an unstyled block with the
markup showing, and the sentence about what decides whether a fence hides its body vanished from the
visible text. They are code spans now, delimited one backtick longer than their contents with the
spaces CommonMark needs -- verified against the built HTML, and the reflow checked word for word so
nothing was lost, which it was on my first attempt.
A `description` cell documenting several datasets now has to name what tells them apart, not only leave
the model's descriptions differing from each other. Rewriting the `cooling_degreehours` blurb to
"13, 16 and 20 degree Fahrenheit" passed before and fails now. The distinguishing token is the whole
name segment that differs, cut back to the last `_`, since the three share the prefix
`cooling_degreehours_1` and `3`, `6`, `8` would be matched by almost any prose. What stays unchecked is
the wording between those tokens, which is the price of one section for several datasets.
And `dwd/road` 15_minutes says on the page that its `precipitation_intensity` is labelled `mm/h` while
the delivered value is almost certainly millimetres per second, with the factor to divide by, the
`water_film_thickness` sibling, the note that `WD_TS_UNIT_TARGETS` compounds rather than corrects it,
and a pointer to GH-1984. The page has to say what the model says; it does not have to say it quietly.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* fix(docs): the road warning said divide where the reader must multiply
A nineteenth review found the warning added last commit inverted, and a fence rule that the changelog's
own prose trips.
The warning told readers to divide by 3600 and by 100. By its own premises the number is millimetres
per second where the label says mm/h, so it has to be multiplied: its own example, 0.006, is 21.6 mm/h,
and following the old advice gave 1.7e-6 -- wrong by a factor of 1.3e7 rather than corrected. Both
factors now say multiply, with the worked example for each, and the changelog entry with them.
`_prose_lines` read a line that merely *starts* with a long inline code span as a fence opener, because
a backtick fence's info string may hold no backtick and the regex did not check. So `` ``` `` written
as a code span at the start of a line -- the shape these very changelog entries use -- pushed a fence
that the run closing the span could not close, since its own info string is not empty, and the rest of
the page was swallowed. Probed: a page with such a line parsed to nothing before and parses fully now.
Loud on a resolution page, silent on a network index where only the glossary test runs.
Also corrects three claims of mine. "No resolution page carries a fence today" stopped being true when
the last commit added the `dwd/road` warning -- the only `:::` directive in the tree and the only fence
on any of the 88 pages, so the guard is load-bearing now. The `{code-cell}` count is 57 fence openers in
tracked markdown, not 59; I had counted every mention, one of which is the changelog talking about them.
And the claim that both directive spellings are "used in this repo" was half right, which the review
called wholly wrong: the backtick spelling is written four times, in `docs/usage` and on
`dwd/phenology`'s index, and the colon spelling once, by that warning.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): let a table wrapper be markup, and yield the prose line the comment promised
A twentieth review found two gaps, both small, and confirmed by mutation that the other thirteen guards
this change adds all fire with the messages their docstrings promise.
`_MARKUP_DIRECTIVES` was missing the table wrappers. `{table}` exists only to give a markdown table a
caption, so wrapping a `#### parameters` table in one is the likeliest next step on these pages -- and
it would have fallen through to the unknown-directive default, been read as code, and taken the table
with it, leaving the presence test to report every parameter of that dataset as undocumented instead of
naming the container. `{table}`, `{list-table}`, `{csv-table}`, `{figure}` and `{toggle}` are listed
now; probed for both spellings of `{table}` and for `{figure}`, one row parses where none did.
The inline-code-span guard from the last commit dropped such a line instead of yielding it, while the
comment beside it said it is prose. Nothing was lost -- a heading or a table row cannot begin with a
backtick -- but the code and the comment disagreed, so the line now falls through to be yielded, and
only while a code fence is open is it still withheld.
The three prose pages reading 115 remain GH-1975's, which this review also flagged; the changelog and
that PR's thread both record that it wants to land straight after this one, and no test covers
index-page prose.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): a dataset section is one inside the datasets block, and a dash is no text
A twenty-first review found the heading union from six commits ago too broad, an uncapped report, and
one more place a `-` was read as prose.
Unioning every `###` heading into the dataset names meant a prose section was reported as a dataset the
model does not declare. All 269 dataset sections in the tree sit under a `## datasets`, and
`metno/frost` already writes prose under its own `## Notes`, so a `###` outside that block is prose and
is ignored now -- `## Notes` with a `### Detail` under it passed nothing before and passes now. Inside
the block a `###` is still a dataset claim, which is what a stale section left behind looks like, and it
is still reported by name. Each `###` gets an entry either way, empty for a prose one, so
`_section_datasets` and the row parser stay index for index in step over the same lines rather than
drifting apart -- which is the bug I would have introduced by simply skipping them.
The "parses to no parameter row at all" path extended its malformed list uncapped, so one page with an
extra header column reported every row of it: 12 lines for `aemet` daily, hundreds for
`dwd/observation` hourly, which would have pushed every other page past the overall cap. Capped per page
like the other path, 10 now where it was 12.
And a `-` description cell now says "no text here" for a dataset and for a resolution, as it already did
for a parameter row. Either was reported as "the page describes it, the model does not" where the model
describes nothing -- the inverted report this change set removed one level down, left in place two
levels up. Probed both: each failed before and passes now, and a `-` against a model that does describe
it is still compared and still fails.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): one reading of which section a table is in, and a bounded skip
A twenty-second review found the gate added last commit applied in one parser and not the other, so the
false report it was meant to remove still fired.
`_section_datasets` learned that a `###` is a dataset only inside the `## datasets` block;
`_metadata_tables` went on reading the heading itself. So a `#### metadata` table under a prose `###`
elsewhere on the page was still read as a dataset: reported as one the model does not declare, or --
where the prose heading reused a real dataset's name -- as that dataset's own description drifting,
`docs 'How the BUFR is laid out' != model '15-minute road weather data...'`. Both reproduced on
`dwd/road` 15_minutes, both pass now. `_metadata_tables` takes the answer from `_section_datasets` by
position rather than deriving it again, which is the only way the two cannot drift apart -- deriving it
twice is what produced this and the disagreement two commits earlier.
The optional-dependency skip was unbounded, unlike the metadata-less networks it sits beside, and is
only a warning that nothing escalates. Landing in `skipped` also exempts a network's pages from both
directions of `test_docs_cover_every_resolution`, so on a bare `uv sync` -- no `export` extra, no pandas
-- `dwd/derived`'s three resolutions went unverified with every test green, including the three
`cooling_degreehours_*` descriptions this change edits. A skip now has to be named in
`NETWORKS_NEEDING_AN_EXTRA`, which holds `dwd/derived` alone: verified by blocking pandas, nine tests
pass with warnings while it is listed and fail naming the network once it is not.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): hold each shared description to its own dataset, and read the prose metadata table
A twenty-third review found the exemption added four commits ago still leaving three descriptions
unchecked, and a metadata table dropped where a parameter table would have been reported.
The shared-description exemption asked that the several descriptions differ from each other and that the
docs cell name all their distinguishing tokens. Both are satisfied by moving the 18-degree
`cooling_degreehours` onto the 20-degree sentence -- and since the exemption suppresses the text
comparison for exactly those three, nothing else read them: `discover`, the REST API and MCP would have
reported the wrong reference temperature with every test green. Each model description now has to name
its own dataset's token, and that mutation is reported by name.
A `#### metadata` table under a prose `###` was dropped silently, while parameter rows in that position
are filed under a sentinel and reported -- an asymmetry the docstrings denied. Appending a second
`### Small` under a `## Notes`, with a contradictory description, published it and passed. It is reported
now: as `small` carrying two metadata tables where its `name` row names a real dataset, and as a table no
section encloses where it names nothing. The page's own resolution-level `## metadata` table stays out,
which is what `index >= 0` distinguishes -- my first attempt at this dropped that guard and reported all
88 resolutions as undeclared datasets, and the end-of-file flush needed the same change as the in-loop
one, which the first fix missed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* docs: say that only one of the two mislabelled road columns ever carries a value
The unit warning offers a conversion for `water_film_thickness`, which the same page records two
sections later as always `null` -- DWD's own road descriptor against the WMO's generic automatic-weather-
station flag table, which names nothing like it. The mislabel is real and stays recorded for GH-1984,
but no reader will have a number to convert, so the warning now says so rather than reading as though
they might.
Raised as an observation rather than a finding by the review that came back clean.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* test(docs): separate two comments that had run into one sentence
The "cause before symptom" note was appended under the older one about collecting rather than
asserting, with no break, so the block read as a single sentence that changed subject halfway. Same
content, two paragraphs.
Noticed while checking a late review hand-back from an earlier round, whose five findings were all
already closed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>