Skip to content

D-RPF-0: CE64 field predicate over resident NodeRow bytes (test-only probe) - #1413

Merged
AdaWorldAPI merged 3 commits into
mainfrom
ccr-bd5a6e03-niaink
Oct 8, 2026
Merged

AdaWorldAPI merged 3 commits into
mainfrom
ccr-bd5a6e03-niaink

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

First phase of resident-projection-fold-mask-v1 (#1411). Test-only: no library code changes.

Claim

A Pearl3, Inference (raw 4-bit nibble) or Epi5 predicate on any of the four CausalEdge64 words in ValueTenant::MaterializedEdges runs in place through Pred::MatchFacet16Strided, with no extracted lane. It uses two 16-byte windows (edges 0,1 and 2,3), so no window leaves the tenant.

Result

crates/lance-graph-mask-risc/tests/resident_ce64_predicate.rs, 6 tests, over 3 tiles + 37 rows of random NodeRow bytes:

  • Executor and oracle agree. Both equal the CE64 named accessors row by row, for every value of every field on every edge.
  • raw5 >= t as a union of at most 6 ternary patterns equals the accessor for all 32 thresholds on all four edges.
  • Two independent spellings meet. The predicate is built from isa::Field::span(). The oracle reads causal_mask / inference_mantissa / epistemic_raw5, which never consult that table. Offsets come from ValueTenant::value_offset().

Falsifiers

  • Can fire: a care shifted by one bit disagrees with the accessor.
  • Stays silent: rewriting every byte except the cared field leaves the mask unchanged.
  • Anti-vacuity: each field has a value admitting a non-empty minority under 1/3 of rows. It fired on the first run: the fixture's >> 11 LCG left bits 53..63 zero, so Epi5 was constant. The fixture now uses SplitMix64.

Disable runs, each with its anchor asserted, each red:

disable tests failed
window k instead of k / 2 4
half always 0 3
threshold without the equality pattern 1
silent-arm noise keeping none of the base field 1

Dependencies

causal-edge and lance-graph-contract are added as dev-dependencies of mask-risc only. The library still names neither.

Checks run

  • cargo test -p lance-graph-mask-risc: all suites green.
  • cargo clippy -p lance-graph-mask-risc --tests -- -D warnings: clean.
  • cargo fmt: clean.

Board

New entry 2026-10-08-d-rpf-0-resident-ce64-predicate.md. Updated: plan checkbox, the D-RPF-0 row in STATUS_BOARD, and the entries index. SUPERSESSION-INDEX was regenerated and came out unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R2EuNHrariL6B3G3agyASK


Generated by Claude Code

claude added 2 commits October 8, 2026 16:16
Entry 2026-10-08-d-rpf-0-resident-ce64-predicate.md; plan checkbox and
STATUS_BOARD row updated; entries index regenerated; supersession index
regenerated after the board writes (unchanged).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R2EuNHrariL6B3G3agyASK
@coderabbitai

coderabbitai Bot commented Oct 8, 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 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 63 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: ed97c9fb-3b56-4d86-835a-6006414ffca0
📥 Commits

Reviewing files that changed from the base of the PR and between 8fc2d08 and b12cd90.

📒 Files selected for processing (7)
  • .claude/board/STATUS_BOARD.md
  • .claude/board/entries/2026-10-08-d-rpf-0-resident-ce64-predicate.md
  • .claude/board/entries/README.md
  • .claude/plans/2026-10-08-resident-projection-fold-mask-v1.md
  • .github/workflows/rust-test.yml
  • crates/lance-graph-mask-risc/Cargo.toml
  • crates/lance-graph-mask-risc/tests/resident_ce64_predicate.rs
  • Autopilot · 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.

member-tests hits its 30-minute limit on main too (runs 37766947128,
37806803926); #1412 is the fix. Identical change, so it no-ops once #1412
merges.

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

AdaWorldAPI commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner Author

member-tests was cancelled at its 30-minute limit, still compiling. That is not this PR's: the same job is cancelled on main (runs 37766947128 and 37806803926), because the shader-driver crossword probe runs 810 s at opt-level 0. #1412 is the fix (shader-driver at opt-level 3); b12cd90 ports the identical change here so this PR can go green, and it no-ops once #1412 merges.


Generated by Claude Code

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 8, 2026 17:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T17:39:47.848285Z b12cd90 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AdaWorldAPI
AdaWorldAPI merged commit c58683a into main Oct 8, 2026
12 checks passed

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b12cd90d6e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +253 to +255
let base = fixture(0xD5F2);
let mut noise = fixture(0x7E57);
for k in 0..EDGES {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reset the noise fixture for each cared field

Because noise is initialized only once, each iteration permanently restores another field from base. For example, while testing Inference, the preceding Pearl iteration has already made the Pearl bits identical to base, so a predicate that accidentally also cares about Pearl would still pass; later edges inherit even more restored bits. Recreate the noise fixture inside each (k, field) iteration before preserving only the current field so this test actually validates that every outside bit is irrelevant.

Useful? React with 👍 / 👎.

AdaWorldAPI pushed a commit that referenced this pull request Oct 8, 2026
Conflicts only in the board: STATUS_BOARD's D-RPF-0 row takes main's
test-pinned status (#1413), and the generated entries index is
regenerated with entries_index.py. The plan's D-RPF-0 status note and
the fold-join entry now cite #1413's pinned threshold half instead of
calling it unexercised. The ported #1412 workflow change merged as a
no-op.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFw2WdKr1oxvaKCJC2ua2R
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