fix(prism): ban non-causal TokenMix label-leak class - #95
Merged
Conversation
Catch MLP-Mixer/TokenMix sequence mixers without a causal mask before pod rent (static screen + agentic code), and document the causal LM ban for miners.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughThe PR adds AST detection for non-causal sequence mixing, integrates the finding into agentic simulator verdicts, classifies sub-1.0 BPB results, updates prompt rules, and documents the causal next-token contract. ChangesNon-causal label-leak detection
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Submission
participant static_source_cheat
participant Simulator
participant CheatCode
Submission->>static_source_cheat: provide architecture and training sources
static_source_cheat-->>Simulator: return source-cheat finding
Simulator->>CheatCode: map non-causal finding to NonCausalLabelLeak
Submission->>Simulator: provide evaluation metrics
Simulator->>CheatCode: classify BPB below 1.0 as NonCausalLabelLeak
Possibly related PRs
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Aug 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TokenMixdense sequence mixers without a causal mask before pod rent (staticNonCausalLabelLeakscreen + agentic cheat code).< 1.0) as the same label-leak class in sim/agentic.docs/PRISM.md, recipe, external-miner).Triggered by prod exploit
b99a7047(bpb≈0.23, score ~813k in ~12m) — already operator-revoked to Score(0)/rejected.Test plan
cargo test -p challenge-ast --lib source_cheatscargo test -p challenge-agentic sim_prism_tokenmixcargo test -p challenge-agentic sim_absurd_low_bpbSummary by CodeRabbit
New Features
non_causal_label_leakresult across cheat classifications and verdict reporting.Documentation
Tests