1.6 KiB
Prompt
i’m thinking maybe you can just take over that work and we can abandon that oc dialog for now?
Recovered child-session instructions describe the earlier human authorization to remove EMA’s eager Numba signature while retaining jit(nopython=True, nogil=True), verify defaults, and finish the commit plan without staging or committing. This is recovered context, not a verbatim quote of the earlier human authorization.
Response
git diff HEAD~1..HEAD -- piker/fsp/_momo.py
Removed EMA’s eager Numba signature and now-unused Numba type imports. Retained nopython/nogil compilation, the numerical kernel, historical comments, and pre-existing staged and unstaged edits.
git diff HEAD~1..HEAD -- tests/test_fsp_momo.py
Added production-dispatcher regressions for omitted positional and keyword arguments, explicit None and numeric parameters, and the previously corrected one-sample continuation. Expected outputs are hand-computed recurrences, rather than the Python implementation.
Before the fix, the first case failed with:
TypeError: No matching definition for argument type(s)
array(float64, 1d, C), omitted(default=None), omitted(default=None)
After the fix, the focused run outside the socket-restricted sandbox reported:
38 passed in 0.66s
Ruff passed for the modified momentum module and new regression file. Combined-worktree results do not attest to isolated commit boundaries.