Skip to content

probe(nars-bayes): preserve sample size and predictive uncertainty beside CE64 - #1720

Merged
AdaWorldAPI merged 2 commits into
mainfrom
lab/nars-bayes-bnn-evidence-20261022
Oct 22, 2026
Merged

AdaWorldAPI merged 2 commits into
mainfrom
lab/nars-bayes-bnn-evidence-20261022

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Purpose

Experiment with Bayesian learning and BNN-style predictive uncertainty while preserving canonical NARS frequency/confidence and evidence provenance. BNN is intentionally scoped to Bayesian predictive uncertainty here; binarized neural network execution is a separate meaning and must not be silently substituted.

Existing anchor

crates/causal-edge/tests/d_rpf_p5_beta.rs already establishes NARS expectation at horizon k=1 equals the Jeffreys-prior posterior mean, and documents u8 evidence-weight stalls. This PR does not reproduce a new NARS revision engine.

New falsifiers

  • Independent Bernoulli evidence with the same observed rate but different sample size yields the same frequency yet different posterior variance.
  • A bounded CE64 expectation approximates a Beta posterior mean for a declared finite sample, while exact counts live outside CE64.
  • Equal semantic/cosine scores are not enough to infer evidence count.
  • No invented calibrated confidence from tanh(|z|).
  • Source deduplication remains a prerequisite for count merging.

Verification

cargo test --manifest-path crates/causal-edge/Cargo.toml --test palette_bayes_nars_bnn_probe.
Lab-only; no changes to production NARS or BNN runtime.

Next

Wire exact disjoint-source counts via DR/SoA and benchmark posterior predictive calibration against independent held-out evidence; define whether a separate binarized-NN experiment is required.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8fcd70ee-f7ae-4800-950c-759da550d53f
  • 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.

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.

❤️ Share

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

…ompiles

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
AdaWorldAPI pushed a commit that referenced this pull request Oct 22, 2026
Moves crates/causal-edge/tests/palette_bayes_nars_bnn_probe.rs here from #1720. Unlike the local helpers already in this
series, it exercises the real implementation, so the series keeps its
experiment contract and gains the concrete counter-probe. #1720 is
closed as superseded once this lands.

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

Copy link
Copy Markdown
Owner Author

This test now lives in #1712 (commit 1d29624), where it serves as the production-surface counter-probe for the canonical #1709–#1717 series. It passes locally (release). I'll close this PR as superseded once #1712 has landed.


Generated by Claude Code

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 22, 2026 21:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 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-22T21:56:06.110068Z a18e3bd 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 c2482d6 into main Oct 22, 2026
10 checks passed
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