test(inference): require Rust-owned observed information - #734
test(inference): require Rust-owned observed information#734seonghobae wants to merge 2 commits into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
|
@opencode-agent address Exact bounded GREEN implementation handoff for Draft #734 / issue #625. Final pre-write guard is mandatory: refetch source head Exact RED is proven by CI Implement the minimum root-cause GREEN only:
Stop writing immediately if head/base/lease state moves. |
|
@opencode-agent address The prior GREEN handoff Fresh bounded lease for Draft #734 / issue #625: source head remains First reconcile current protected main non-destructively while preserving the intentional two-test ownership RED and all accepted behavior through #733. Recreate installed-package RED on the reconciled exact head; setup/import/fixture/changelog failure is invalid. If Keep Draft. Do not widen into estimator redesign, providers, dependencies/workflows/version/release, hosted state or canonical #604 docs. |
|
Superseded by clean current-main Draft #757. Fresh lineage proof before closure:
No #734 checks/reviews/approval/base-sensitive evidence transfers. #757 is now the sole current-lineage RED/implementation authority for the observed-information and second-order numerical-ownership slice. Closing #734 drops no unique value. |
…in Rust Public observed_information assembles finite-difference Hessians in the Rust core from evaluated objective samples; second_order_test eigenvalue diagnostics are Rust-owned. Ownership sentinels, quadratic recovery unit tests, changelog, and APA doctoring included. Supersedes draft #734 once green.
…in Rust (#758) Public observed_information assembles finite-difference Hessians in the Rust core from evaluated objective samples; second_order_test eigenvalue diagnostics are Rust-owned. Ownership sentinels, quadratic recovery unit tests, changelog, and APA doctoring included. Supersedes draft #734 once green.
Production numerical-ownership gap
Advances issue #625 from protected
main7b57f77747b9a9bd911660c76b1be0ca0dc2d145. Publicobserved_information()still constructs the dense finite-difference Hessian, off-diagonal stencil and final symmetrization directly in Python, and publicsecond_order_test()still symmetrizes/eigendecomposes the information matrix in NumPy, even though covariance inversion and SE diagonal reduction are already Rust-owned on protected main.Exact fail-first RED evidence
Exact source head:
d80c26ed715c942a30530b79580bf94a56a84818, directly based on protectedmain7b57f77747b9a9bd911660c76b1be0ca0dc2d145.CI run
31492628277checked out synthetic integrationd934f37b67e8130b3ee75771d72a120cdc3fc1e5(d80c26e...into7b57f77...). Both CPython lanes built the Rust/PyO3 extension and verified Rust as the resolved production backend before executing the full suite. Python 3.12 completed 2 failed, 3282 passed, 2 skipped; the only failures are the two intentional ownership tests intests/test_observed_information_rust_ownership.py:test_public_observed_information_delegates_matrix_to_rust: compiled-core sentinel call count is0, proving public Hessian construction remains Python-owned;test_public_second_order_diagnostic_delegates_to_rust: compiled-core sentinel call count is0, proving public positive-definiteness/eigenvalue diagnostics remain Python-owned.The pre-existing
_log_sigmoidRuntimeWarning is tracked by #583/#564 and is not owned by this slice. Rust workspace/PyO3, package/wheel/reinstall/release acceptance, enterprise sales-readiness smoke, GPU-no-skip and fuzz jobs are GREEN. Exact-head Security Scan31492628299and SAST Semgrep31492628444are GREEN. This is valid runtime RED after normal package/core setup, not setup/import/fixture failure.Minimum GREEN
mlsirm-core, including diagonal/off-diagonal stencil evaluation and final symmetry semantics that affect the returned matrix.mlsirm-core; Python must not retain an independenteigvalshproduction path for the governed diagnostic.stepcontract, parameter packing/order, symmetric-result contract and tolerance/error semantics unless a separately reviewed scientific correction establishes a defect.The existing Oakes information implementation remains a distinct Rust-owned MMLE path and is not changed by this first JMLE/general observed-information ownership slice.
Keep Draft through RED→GREEN. Advances #625.