← Back to Pull requests

Compartment check: the confirmation's droplets are wave patches; page wording and a six-wall screen #184

Closed
unknown closed this pull request without merging on Nov 23, 2026 04:40 UTC
View on GitHub
unknown unknown commented on Nov 22, 2026 14:55 UTC
Author

Checks whether the objects the droplets confirmation counted are compartments, corrects the droplet page wording to match, and screens the six-wall world at the rates where one wall does give compartments, with a follow-up at the one setting where six-wall bodies move.

This PR has eight commits. The first two are the droplets vs Reef confirmation itself (b4f26d15 freeze and pre-registration, 6b669e6c result on seeds 5–12; 18 files under experiments/confirm/, apps/lab/src/reef/, experiments/reef/ and docs/reef-2026-11-20/). They were not on GitHub yet and the rest builds on them. The other six are the work described here.

Merging changes the text of the /oligomer/ droplet page. Deploying it is a separate step.

Compartment check (experiments/b2check/, docs/b2-compartment-check-2026-11-21/)

Thresholds were stated before the runs, on unseen seeds 13–16.

  • In the frozen six-wall phage world, the counted objects are wave patches on 4 of 4 seeds: 2 to 3 in 100 keep their identity for 1,000 steps.

  • The no-phage world reads the same. The single-pattern world is mixed.

  • One wall at the same rates: wave patches. One wall at the spot rates (kDeg 0.085, diffW 0.015, diffF 0.30): compartments on 4 of 4.

  • The confirmation verdict stands as frozen. What changes is the reading: endpoints D1, D2 and D5 compare how the wall fragments, not individuals.
  • Wording (apps/lab/oligomer/, apps/lab/src/oligomer/)

  • The droplet pages now say "wall patches" and state what the check found, with each figure scoped to the world it was measured in.

  • droplet-worlds.ts is hashed in experiments/confirm/FROZEN.json, so it stays byte-identical. Its notes are reworded in a new display module, droplet-wording.ts, which throws if an expected phrase is missing.

  • One dated note is added to experiments/confirm/RESULT.md. No frozen file changes.
  • Six walls at spot rates (experiments/spot6/, docs/six-wall-spot-2026-11-22/)

    A screen on seen seeds 1–4, so it is not evidence. The frozen kernel is untouched; only rates are overridden.

    | Setting, from current rates toward spot rates | No-phage gate | With phage | Outcome |
    |---|---|---|---|
    | Current rates | fails | wave patches | back to waves |
    | A quarter of the way | fails: bodies last but drift | not run | unclear |
    | Halfway | passes | bodies, phage alive, 4 of 4 | frozen mosaic |
    | Three quarters | passes | bodies, phage alive, 4 of 4 | frozen mosaic |
    | Spot rates | passes | bodies, phage alive, 4 of 4 | frozen mosaic |
    | Diffusion changed only | fails: unbounded domains | not run | unclear |

  • At three settings 80–90% of bodies keep their identity and place for 1,000 steps, but nothing divides after the founding fill.

  • Pattern turnover is no higher with phage than without.

  • Division is read in settled windows only. Pooled over the founding fill, all three would have read as dividing.

  • The open follow-up, the quarter-way setting with phage, is the next section.
  • Six walls where bodies move (experiments/moving6/, docs/six-wall-moving-2026-11-22/)

    A screen on seen seeds 1–4 under a new plan, so it is not evidence. The "must stay put" test is relaxed: bodies are followed through changes of id, and births and deaths are kept in a ledger that has to close. The frozen kernel is untouched and nothing existing is edited.

    | Setting, from current rates toward spot rates | Outcome |
    |---|---|
    | An eighth of the way | fails the gate: not bodies |
    | A quarter of the way | division without pattern turnover |
    | Three eighths of the way | moving bodies, no division |

  • A quarter of the way: bodies and phage are alive on 4 of 4 seeds. The ledgers record 1,625 body deaths against 1,593 body births, all four are valid, and division continues in the two latest windows (83 of 98 new bodies).

  • Phage does not drive it. The no-phage world divides just as much. Pattern turnover with phage is 1.00 to 1.13 times the no-phage world's, against the 1.5 the plan required.

  • The division share rests on one classification. Of the births the rule counts as new bodies, 180 of 199 (90%) are by division, with a returned body's further pieces set aside. That choice was made with the no-phage numbers in view. Counted as "from nothing" instead, it is 180 of 316 (57%) and the outcome would be mixed / unclear.

  • The comparison arms are dead there. With pattern-blind phage, or with one wall pattern, no objects are left on 4 of 4 seeds at the two moving settings. Both arms were alive at the three frozen settings above. Why was not tested.

  • Nothing is frozen for a confirmation. Seeds 33–40 stay reserved and unused.
  • Checks

  • pnpm typecheck passes at the branch head.

  • 185 tests pass across the b2check, spot6, moving6 and droplet test files (seven files).

  • The hashes in experiments/confirm/FROZEN.json still match.

  • Each of the four parts had a read-only Codex review (Sol 6.1, High) before its commit. For both six-wall screens it recomputed every outcome from the raw files.

  • The /oligomer/ browser tests passed before the last one-sentence edit to the density note and were not rerun after it. That sentence is not pinned by them.

  • Raw runs are not in the repo (runs/ is ignored).
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Updates
    Updated the simulation’s labels, help text, charts, accessibility descriptions, and inspection readouts to describe wall patches and grid squares instead of droplets.
    Clarified how wall patches are counted and how transient wave crests differ from persistent or closed structures.
    Documentation
    * Added experiment plans, measurements, and reports covering compartment behavior, wall-pattern calibration, and Reef simulations, with findings, methods, and limitations.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: treetopdevs Review duration: 824m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #184"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%