Skip to content

Lab v1 (Thompson + context arms on Gomoku); phasor_trig_probe on PhaseLut - #1456

Merged
AdaWorldAPI merged 3 commits into
mainfrom
ccr-b2e415d9-4jfvyk
Oct 10, 2026
Merged

AdaWorldAPI merged 3 commits into
mainfrom
ccr-b2e415d9-4jfvyk

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Two independent changes. Both are probe-only and change no production code.

1. phasor_trig_probe: use ndarray::simd::PhaseLut

The probe carried a private copy of the (cos, sin) table. PhaseLut (#343) builds the same table, and the probe's non-timing output is unchanged before and after the swap.

The complex-distance bound stays local to the probe. PhaseLut::nearest_error_bound bounds each component separately, but the early exit sums complex terms, so it needs the complex bound.

2. D-SELF-CALIBRATING-LAB-1: second pre-registered family on Gomoku

New pieces:

  • lab.rs gains Gamma and Beta samplers. A moments test covers Beta(½, ½), Beta(2.5, 7.5) and Beta(30.5, 10.5).
  • Chooser::Thompson samples each recipe's Jeffreys posterior, Beta(pos + ½, neg + ½).
  • Memory::Global gives every situation the same key, as a context-free baseline.
  • --lab-v1 runs on fresh seeds 4001.. with its own Holm family.

Results:

id hypothesis result verdict
T1 Thompson beats expectation argmax −0.050 score FALSIFIED
T2 Thompson adapts faster after an opponent switch −0.015 score FALSIFIED
T3 structural context beats one global key +0.025 score SUPPORTED
T4 Thompson reduces folds/step +18.5, not significant FALSIFIED (interval excludes the 5-fold minimum)

Replacing the sampler with the posterior mean turns two tests red. STATUS_BOARD gets a LAB-1 row, and the rows #1440 shipped are marked Shipped.

Verification

  • moore_nars_gomoku_probe tests: 15 passed.
  • mask-risc clippy with --all-targets is clean.
  • fmt is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EFw2WdKr1oxvaKCJC2ua2R


Generated by Claude Code

…able

The probe carried its own (cos, sin) table. PhaseLut (#343) builds the
same table; the probe's non-timing output is unchanged. The complex
distance bound stays local: PhaseLut::nearest_error_bound bounds each
component, and the early exit sums complex terms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFw2WdKr1oxvaKCJC2ua2R
lab.rs: Gamma (Marsaglia-Tsang, boost for shape < 1) and Beta samplers,
moment-tested incl. the Jeffreys Beta(1/2, 1/2).
Gomoku: Chooser::Thompson samples each recipe's Beta(pos+1/2, neg+1/2);
Memory::Global keys every situation the same. --lab-v1 runs a second
pre-registered family on fresh seeds 4001..:
T1 Thompson vs argmax e: -0.050 score, FALSIFIED.
T2 Thompson after an opponent switch: -0.015, FALSIFIED.
T3 structural vs global key: +0.025, SUPPORTED.
T4 Thompson cuts folds/step: no (+18.5, n.s.), FALSIFIED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFw2WdKr1oxvaKCJC2ua2R
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Oct 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 67 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 9380e5f4-3dbd-4197-a46f-3d0b8ce19517

📥 Commits

Reviewing files that changed from the base of the PR and between c9403ec and 25e09b2.


📒 Files selected for processing (6)
  • .claude/board/STATUS_BOARD.md
  • .claude/board/entries/2026-10-10-d-self-calibrating-lab-1.md
  • .claude/board/entries/README.md
  • crates/cognitive-shader-driver/examples/moore_nars_gomoku_probe.rs
  • crates/cognitive-shader-driver/examples/shared/lab.rs
  • crates/lance-graph-mask-risc/examples/phasor_trig_probe.rs

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


Comment @coderabbitai help to get the list of available commands.

@AdaWorldAPI
AdaWorldAPI merged commit 0a91221 into main Oct 10, 2026
14 checks passed
AdaWorldAPI pushed a commit that referenced this pull request Oct 10, 2026
AdaWorldAPI pushed a commit that referenced this pull request Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants