refactor(jmle): replace stale Rust optimizer ownership branch - #738
refactor(jmle): replace stale Rust optimizer ownership branch#738seonghobae wants to merge 1 commit 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-current GREEN implementation handoff for Draft #738 / issue #626. Before any write, refetch the source head and live protected base and abort if either moves or another writer targets the same JMLE optimizer paths. Proceed only while source head remains The current-main RED is independently proven. CI run Implement the minimum GREEN only:
Do not widen into MMLE, new estimator/model semantics, provider/LLM code, hosted persistence, dependencies/workflows/version/release, or cross-cutting canonical PRD/TRD/ADR/UML/ERD; that documentation remains owned only by #604/#621. Keep Draft while any gate remains. |
|
@opencode-agent address The prior exact-current GREEN handoff Fresh lease/evidence boundary for Draft #738 / issue #626: source head is still First reconcile current protected main non-destructively while preserving the intentional fail-first ownership test and all accepted #733 behavior. Then recreate the runtime RED on the reconciled exact head; setup/import/changelog failure is not valid evidence. If the same three optimizer ownership failures remain, proceed with the already bounded minimum GREEN: move Adam/L-BFGS/adam_lbfgs result-affecting optimizer arithmetic/control into Keep Draft. Do not widen into MMLE, providers, dependencies/workflows/version/release, hosted state, or canonical #604 documentation. |
|
Superseded by clean current-main Draft #744. Exact verification before closure: #738's only changed path is |
Controlled clean-lineage replacement for stale Draft #717 / issue #626
This Draft starts directly from protected
main7b57f77747b9a9bd911660c76b1be0ca0dc2d145and preserves the only unique fail-first contract from stale Draft #717 without transferring any predecessor checks, reviews, approvals, mergeability, or base assumptions.Intentional current-main RED contract
The first commit changes only
tests/test_jmle_rust_optimizer_ownership.py. It requires installed public JMLE fitting underbackend="rust"to complete for all advertised optimizer identities (adam,lbfgs,adam_lbfgs) while fail-fast sentinels replace the legacy Python_adamand_lbfgsloops.Valid RED must build/import the actual Rust/PyO3 package and reach the optimizer ownership boundary. Setup/import/fixture/changelog failure is not acceptance evidence. The predecessor #717 runtime RED was useful historical evidence only; this replacement must recreate exact-current-main evidence.
Minimum GREEN
mlsirm-core: Adam moments/bias correction/gradient clipping/update; L-BFGS history/two-loop recursion/curvature and line-search/backtracking; andadam_lbfgsphase sequencing/convergence state needed to preserve the public result.Boundaries
Do not widen into MMLE, new estimator names, model redesign, dependencies/workflows/version/release, hosted state, or a parallel canonical architecture branch. Cross-cutting PRD/TRD/ADR/UML/ERD/traceability remains solely owned by #604/#621 after implementation stabilizes.
Advances #626. Supersedes stale Draft #717 as the sole implementation authority for this bounded JMLE optimizer-ownership slice.