docs: general wording for the example-base document counts
Replace the exact document counts of earlier example bases (and the per-base counts in the sources-format note) with general wording or N-of-N in prose, comments and docstrings. Percentages and numerators stay; no constant, assertion or test data changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0b7c853f3d
commit
6b1046bc23
16 changed files with 56 additions and 56 deletions
|
|
@ -221,7 +221,7 @@ def _ir(aid: str, claimed: float, code: str | None = None) -> dict[str, Any]:
|
|||
).model_dump()
|
||||
|
||||
|
||||
#: The run-wide citation list every proposal carried in all four archived runs. 270 there, 9
|
||||
#: The run-wide citation list every proposal carried in all four archived runs. Hundreds there, 9
|
||||
#: here — the number is not the point, the IDENTITY across proposals is.
|
||||
_SHARED_CITED = 9
|
||||
|
||||
|
|
@ -233,7 +233,7 @@ def _snippet(aid: str, k: int) -> str:
|
|||
def _stamp(decision: str, aid: str, *, shared: bool = False) -> ProvenanceStamp:
|
||||
"""The proposal's own provenance, with a citation list that is ITS OWN.
|
||||
|
||||
Measured 19.09 on all four archived runs: every proposal in a run carried the SAME 270
|
||||
Measured 19.09 on all four archived runs: every proposal in a run carried the SAME
|
||||
citations, byte for byte — the run's whole retrieved context, stamped once per proposal.
|
||||
That is a property of the outbox, not of the report, and the report now states it once
|
||||
instead of repeating it. A fixture that reproduced it everywhere could only witness the
|
||||
|
|
@ -956,7 +956,7 @@ def test_the_report_shows_each_proposals_source_and_how_many_places_it_cited(
|
|||
|
||||
A proposal without its source cannot be checked against the knowledge base at all, and a
|
||||
single quote without the count cannot tell a proposal grounded in one place from one that
|
||||
swept 270. The counts in ``_CITED`` are DISTINCT per approach on purpose: a builder printing a
|
||||
swept hundreds. The counts in ``_CITED`` are DISTINCT per approach on purpose: a builder printing a
|
||||
constant would satisfy a fixture where every count was the same."""
|
||||
text = _report(tmp_path)
|
||||
assert len({_CITED[aid] for aid in _EVALUATED}) == len(_EVALUATED), "the counts must differ"
|
||||
|
|
@ -986,7 +986,7 @@ def test_the_report_shows_the_cost_lines_each_proposal_touches(tmp_path: Path) -
|
|||
|
||||
def test_one_citation_list_shared_by_every_proposal_is_stated_once(tmp_path: Path) -> None:
|
||||
"""Measured 19.09 on all four archived runs: every proposal carried the SAME citation list,
|
||||
byte for byte (270 places, same order) — the run's whole retrieved context, stamped once per
|
||||
byte for byte (hundreds of places, same order) — the run's whole retrieved context, stamped once per
|
||||
proposal. The cause is in the OUTBOX, not in the builder reading a wrong field, so the report
|
||||
cannot make the quote informative. What it can do is stop repeating it: say it once, say that
|
||||
it is the run's list and not the measure's, and drop the per-proposal copies."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue