Skip to content

Regenerate R parity cache for NNS 14.0 - #198

Closed
OVVO-Financial wants to merge 1 commit into
mainfrom
automation/r-cache-nns-14.0
Closed

OVVO-Financial wants to merge 1 commit into
mainfrom
automation/r-cache-nns-14.0

Conversation

@OVVO-Financial

@OVVO-Financial OVVO-Financial commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Automatic parity-cache refresh from the R source of truth.
For the one-shot stack audit, this PR targets draft #191 (all port PRs
through #189). Do NOT merge until deterministic parity is verified.

  • R repository: OVVO-Financial/NNS
  • R commit: 9c8bd21a77b377cb49d43fececc662d62b00a94e
  • NNS version: 14.0
  • Source package: NNS_14.0.tar.gz
  • Windows binary verified: NNS_14.0.zip
  • Live regeneration result: failure
  • Cache-only verification result: failure

The exact R source package was installed and the committed parity cache was regenerated. sync/nns_source.json records this R commit as the behavioral-truth provenance. Any remaining Python/R parity mismatches are retained in the workflow diagnostics and should be repaired against this R-authored baseline.

Cache changes by function

function before after added removed changed
LPM 98 98 0 0 1
LPM.ratio 93 93 0 0 1
NNS.ARMA.optim.custom 10 10 0 0 1
NNS.VAR.custom 9 9 0 0 5
NNS.reg.factor_dimred 3 3 0 0 1
NNS.reg 304 304 0 0 12
UPM 97 97 0 0 1
UPM.ratio 13 13 0 0 1
boot14.meboot 8 8 0 0 1
diff14.full 15 15 0 0 2
dy.dx.numeric 7 7 0 0 7
labels.reg.factor_design 2 1 0 1 0
labels.reg.factor_x 3 2 0 1 0
labels.reg.logical_frame 3 2 0 1 0
mreg14.class_bits 1 1 0 0 1
pval14.caus 5 5 0 0 5
pval14.caus_matrix 3 3 0 0 3
pval14.dep 2 2 0 0 2
rarith.blas 1 1 0 0 1
rarith.dep 14 4 0 10 2
rarith.dhyper 1 1 0 0 1
rarith.dimred.fit 1 1 0 0 1
rarith.dimred 8 5 0 3 3
solve14.bits 8 6 0 2 1
var14.bits 18 15 0 3 2

@OVVO-Financial
OVVO-Financial force-pushed the automation/r-cache-nns-14.0 branch from 6e7a60f to a92fcb5 Compare November 13, 2026 18:50
OVVO-Financial pushed a commit that referenced this pull request Nov 13, 2026
…eproduction

inspect-r-api-update.yml regenerated the cache under setup-r's current R
release (4.6.2 on 13 November) with OpenBLAS on ubuntu-latest, not under
the environment docs/parity.md pins, so its cache moved results by an ulp
or more and could not pass the port's exact parity tests (#198). The job
now runs on ubuntu-24.04 with CRAN's R 4.5.0 build (4.5.0-3.2404.0, held),
the reference BLAS and LAPACK selected, and Ubuntu's Rcpp, RcppParallel
and jsonlite, and stops unless R reports exactly that. It regenerates
tests/invariants' entries as well as tests/parity's, so cache-only
verification does not miss them, and records the source archive's hash
in the manifest along with the commit.

r14-reproduction.yml was removed from main by the baseline job on #194
because it was not on the protected list. It is restored, pinned to the
current oracle (9c8bd21, NNS_14.0.tar.gz sha256 754dad65...), and added
to the list so unlabelled pull requests keep it.

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