Skip to content

feat: add temporal validity guardrails - #3

Merged
jousudo merged 1 commit into
mainfrom
codex/causa-v016-temporal-validity
Aug 16, 2026
Merged

feat: add temporal validity guardrails#3
jousudo merged 1 commit into
mainfrom
codex/causa-v016-temporal-validity

Conversation

@jousudo

@jousudo jousudo commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • add tri-state companion-matrix VAR stability diagnostics with conservative unit-circle handling and bounded QR work
  • add adjusted/unadjusted multivariate Portmanteau residual-whiteness tests
  • add all-directions conditional Granger scans with Holm by default, BH/unadjusted opt-ins, cancellation, and test budgets
  • add general p-value adjustment plus independent base-R numeric oracles
  • document the predictive, non-structural scope and the downstream fail-closed integration gate

Validation

  • gofmt -l .
  • go vet ./...
  • go build ./...
  • go test ./...
  • go test -race ./...
  • statement coverage 91.4%
  • staticcheck ./...
  • govulncheck ./...
  • FuzzDenseConstructors for 10s
  • FuzzAdjustPValues for 5s
  • all VAR benchmarks executed once

Compatibility

Additive pre-1.0 release. Existing pairwise Granger, VAR fitting, lag selection, single-direction conditional tests, and bootstrap behavior are unchanged.

Add companion stability, multivariate Portmanteau whiteness, multiplicity adjustment, and bounded all-directions Granger scans. Cross-check the numeric path against base R and document the conservative integration gate for downstream consumers.

Co-Authored-By: OpenAI Codex <codex@openai.com>
@jousudo
jousudo merged commit dbb0f8a into main Aug 16, 2026
5 checks passed
@jousudo
jousudo deleted the codex/causa-v016-temporal-validity branch August 16, 2026 23:47
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.

1 participant