Repository navigation
Conversation
csrc/internal/ was an old copy of the C, and its .inp path (estimate_w,
Model) had drifted from atsw-gui's: the line search, the boundary
sentinel, the MA wall count. Every vendored file is now atsw-gui's at
d603ea1, identical: drvmlest.c, qnewtopt.c, nlatools.c, elfvarma.c,
main.h, likhost.h, optimhost.h, and lib/lik/{lik.c, lik.h, multshea.c},
lib/optim/lnsrch.c and lib/fuepre/tusmodel.h, which they now need.
drvarma_api.c reads the verdict from opt_termcode/opt_iters, holds
qq[1,1] as the C's .inp path (est_fixed) and returns se_how and the MA
wall count. estimate_w(hessian="fd") asks the C for its own fdhess; with
the compiled engine Model uses it, without it fdhess in Python as before.
- tests/data/homologation.json: each file's sha256, identical to the C's;
test_c_oracle.py passes whole against d603ea1 (36 passed, ATSW_GUI).
- tests/test_inp_path_as_the_c.py: six cases of the C's battery
(tests/banco/ref); with the compiled engine the parameter table is the
C's line for line.
- BUG-0033: the pure-Python .inp estimator is not the C's on four of them
(PSW ARMA(1,1) stops 0.22 below). Repro; the cases are xfail.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BUG-0002: the compiled engine is the C of record
csrc/internal/was an old copy of the C whose.inppath had drifted from atsw-gui's. Every vendored file is now atsw-gui's at d603ea1, identical (sha256 intests/data/homologation.json):drvmlest.c,qnewtopt.c,nlatools.c,elfvarma.c,main.h,likhost.h,optimhost.hlib/lik/{lik.c, lik.h, multshea.c},lib/optim/lnsrch.c,lib/fuepre/tusmodel.hOnly the binding (
drvarma_api.{c,h},_build_cffi.py) is the package's own. It reads the verdict fromopt_termcode/opt_iters, holdsqq[1,1](est_fixed), and returnsse_howand the MA wall count.estimate_w(hessian="fd")asks the C for its own fdhess standard errors.Checks
tests/test_inp_path_as_the_c.py: six cases of the C's battery. With the compiled engine, the parameter table is the C's line for line.test_c_oracle.pyagainst a clean atsw-gui at d603ea1: 36 passed.elf_c/marma_c/_qnewt, andelfvarma.cis unchanged.Uncovered
The pure-Python
.inpestimator is not yet the C's on four of those cases (BUG-0033, with repro; xfail in the test).🤖 Generated with Claude Code
https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5