Skip to content

fix(#80): A1 PUBLICATION_GRADE requires a positive symmetrised-gap certificate, not F1-F5 threshold exhaustiveness - #90

Merged
marcohost33-maker merged 1 commit into
mainfrom
claude/lioscope-v0.5-dev-6odkif
Jul 7, 2026
Merged

marcohost33-maker merged 1 commit into
mainfrom
claude/lioscope-v0.5-dev-6odkif

Conversation

@marcohost33-maker

Copy link
Copy Markdown
Owner

Closes #80.

Summary

Dedicated classification-semantics PR (AGENTS.md §3); the twin of #89/#88 and the implementation of #80 to-do 2 (reverse the burden of proof). The A1 early branch awarded CONFIRMED / PUBLICATION_GRADE (0.95) whenever gap_rate_consistency < 0.05 + single-exp held and none of the F1–F5 thresholds fired — i.e. the publication-grade claim rested on the unprovable exhaustiveness of the threshold set (kreiss>5, petermann>5, henrici>1, trans>5, reach>2·ratio, gns>1.2). Both independent #79 reviewers (Equalita facts-PASS; cross-family gpt-5.5 ADEQUATE) flagged exactly this residual: a hypothetical weakly-non-normal gap failure below all thresholds with a single-exp-at-gap trajectory would self-certify at publication grade.

Physics rationale

A measured symmetrised gap equal to the spectral gap is operator-intrinsic positive evidence of gap control: it certifies exponential contraction at rate ~Δ in the GNS (Mori-Shirai) or KMS (Fagnola s=1/2) geometry. Any genuine symmetrised-gap-failure mechanism — including a weakly non-normal one below all F1–F5 thresholds — must show up as a reduction (or an uncertifiable floor) in these measured quantities. So:

Behaviour change

Input Before After
A1 + certified/equal symmetrised gaps (thermal reference: Δ_GNS = Δ_KMS = Δ) 0.95 CONFIRMED / PUBLICATION_GRADE unchanged
A1 + GNS floored, KMS == Δ (#88 repro regime, if it lands A1) 0.95 CONFIRMED unchanged (KMS certificate suffices)
A1 + GNS floored/uncertified and KMS reduced or floored (the #80 adversary) 0.95 CONFIRMED / PUBLICATION_GRADE 0.70 CANDIDATE / CONFIRMATION

Anchor-preserving: the gap-controlled reference keeps A1/none CONFIRMED (its symmetrised gaps equal Δ exactly — verified numerically); V1–V5 golden labels are A5/A11 and never take the A1 confidence path; sacred anchor suite 21/21 green. No known real system flips — the capped region is precisely the adversarial class both reviewers hypothesised.

Remaining from #80 (not in this PR)

  • To-do 1/3 (cross-family review of threshold exhaustiveness; numerical adversarial search for a real sub-threshold system) — the synthetic adversary is pinned in tests; a systematic operator search is research-grade follow-up. With this PR, such a system can no longer self-certify at publication grade, which defuses the severity.

Test plan

  • pytest -q489 passed (exit 0)
  • pytest tests/test_anchors.py -v21/21 incl. QuTiP cross-checks (exit 0)
  • ruff check src tests benchmarks — clean (exit 0)
  • mypy src/liouscope — clean, 50 files (exit 0)
  • New tests: synthetic A1/PUBLICATION_GRADE depends on F1-F5 threshold exhaustiveness (residual from #69/#79 dual-review) #80 adversary → 0.70 CANDIDATE; KMS-certificate-alone → 0.95; both-gaps-floored fail-closed → 0.70
  • Existing A1 branch/e2e tests unchanged-green (corroborated defaults / thermal reference)
  • CHANGELOG.md updated (Unreleased → Fixed)
  • Required status checks (Python 3.10–3.14 matrix + QuTiP 3.11/3.12)

Merge authorized by User1/Marco (Session 2026-07-07, „abarbeite weitere issues und merge") on green required checks; post-merge cross-family review of the semantics stays open in the #80 thread (claim_status: pending, KANON anchor RESEARCH-LIOUSCOPE). No manifest-schema, taxonomy-version or CITATION.cff change (same footprint as #77/#85/#89). No history-touching git operations.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BuG9j9cRJ6x6QMuYk7vXdx


Generated by Claude Code

…gap certificate (#80)

The A1 early branch awarded CONFIRMED/PUBLICATION_GRADE (0.95) whenever
gap_rate_consistency < 0.05 + single-exp held and none of the F1-F5
thresholds fired -- resting a publication-grade claim on the unprovable
exhaustiveness of the threshold set (residual flagged independently by both
#79 reviewers). A weakly-non-normal gap failure below all thresholds with a
single-exp-at-gap trajectory would have self-certified.

Fix (issue #80 to-do 2, burden of proof reversed):
- new evidence key sym_gap_corroborated: 1.0 iff a MEASURED symmetrised gap
  shows no F3-grade reduction (certified GNS gap_to_gns_ratio <= 1.2, or
  KMS gap_to_kms_ratio <= 1.2), fail-closed on floored/uncertified gaps
- A1 confidence: 0.95 only with the certificate; uncorroborated A1 caps at
  0.70 -> CANDIDATE/CONFIRMATION
- gap_to_kms_ratio graduates from advisory (#89) to class-influencing;
  an F3 veto off it stays deferred to its own FP study

Anchor-preserving: the gap-controlled thermal reference has
Delta_GNS = Delta_KMS = Delta exactly (stays 0.95/CONFIRMED); V1-V5 golden
labels (A5/A11) never take the A1 confidence path. New synthetic adversary,
KMS-certificate and double-floored fail-closed tests.

Gates: pytest 489 passed (anchors 21/21 incl. QuTiP), ruff clean, mypy clean.
claim_status: pending until cross-family review confirms the semantics.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BuG9j9cRJ6x6QMuYk7vXdx
@marcohost33-maker marcohost33-maker added bug Something isn't working agent:claude PR authored by Claude Code labels Jul 7, 2026 — with Claude
@marcohost33-maker
marcohost33-maker marked this pull request as ready for review July 7, 2026 15:07
@marcohost33-maker
marcohost33-maker merged commit a104f91 into main Jul 7, 2026
20 checks passed
@marcohost33-maker
marcohost33-maker deleted the claude/lioscope-v0.5-dev-6odkif branch July 7, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:claude PR authored by Claude Code bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A1/PUBLICATION_GRADE depends on F1-F5 threshold exhaustiveness (residual from #69/#79 dual-review)

2 participants