Skip to content

docs(testing): tests and benches must be drawn from proven-tests-and-benches first - #564

Merged
hyperpolymath merged 1 commit into
mainfrom
docs/tests-drawn-from-proven-suite
Jul 29, 2026
Merged

docs(testing): tests and benches must be drawn from proven-tests-and-benches first#564
hyperpolymath merged 1 commit into
mainfrom
docs/tests-drawn-from-proven-suite

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The taxonomy defines 16 test categories, 14 aspect dimensions and a benchmark taxonomy — but said nothing about where an implementation should come from, and referenced proven-tests-and-benches zero times, despite that repo holding 38 .idr files and 4 .ipkg of Idris2 tests and benchmarks.

Adds an explicit provenance rule before Part I:

  1. proven-tests-and-benches — the Idris2 suite. Adapt it.
  2. The Appendix C reference implementation.
  3. A sibling repo already at CRG C or better.
  4. Write a new one — and contribute it back.

Why Idris2 ranks first: a test that type-checks has discharged its obligation in the type system, so it cannot silently degrade into a test that passes without asserting anything. And copying a shared test is how a shared expectation stays shared — writing a fresh one per repo is how sixteen subtly different definitions of "the same" test appear.

Carries an explicit caution: a test written to make a gate go green, rather than to establish a fact, is worse than no test — it is read as evidence. Where no honest test exists, mark the category N/A with justification, as Scope already requires.

Verified: asciidoctor renders clean.

🤖 Generated with Claude Code

…benches first

The taxonomy defines 16 test categories, 14 aspect dimensions and a benchmark
taxonomy, but said nothing about WHERE an implementation should come from -- and
referenced hyperpolymath/proven-tests-and-benches zero times, despite that repo
holding 38 .idr files and 4 .ipkg of Idris2 tests and benchmarks.

Adds an explicit provenance rule before Part I, with an ordered preference:

  1. proven-tests-and-benches -- the Idris2 suite. Adapt it.
  2. The Appendix C reference implementation.
  3. A sibling repo already assessed at CRG C or better.
  4. Write a new one -- and contribute it BACK, so the next repo inherits it.

Why the Idris2 suite ranks first: a test that type-checks has discharged its
obligation in the type system, so it cannot silently degrade into a test that
passes without asserting anything. And copying a shared test is how a shared
expectation STAYS shared -- writing a fresh one per repo is how sixteen subtly
different definitions of 'the same' test appear, which is the
one-template-copied-N-times failure this estate keeps paying for.

Carries an explicit caution: a test written to make a gate go green rather than
to establish a fact is WORSE than no test, because it is read as evidence. Where
no honest test exists yet, mark the category N/A with justification as Scope
already requires. That is a truthful state; a passing-but-vacuous test is not.

Verified: asciidoctor renders clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@gitar-bot

gitar-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

Code Review ✅ Approved

Adds a mandatory provenance rule to the testing documentation requiring tests and benches to be drawn from proven-tests-and-benches first. Clean AsciiDoc update with no issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqubecloud

Copy link
Copy Markdown

@gitar-bot
gitar-bot Bot enabled auto-merge (squash) July 29, 2026 06:46

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Jul 29, 2026
@hyperpolymath
hyperpolymath disabled auto-merge July 29, 2026 06:50
@hyperpolymath
hyperpolymath merged commit 2babf41 into main Jul 29, 2026
35 of 36 checks passed
@hyperpolymath
hyperpolymath deleted the docs/tests-drawn-from-proven-suite branch July 29, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant