Refactor/unified coalescent#869
Conversation
…constant or no-coalescent model
First review of #869. Refactor/unified coalescent
OverviewClick to expandThe branch collapses ObservedThe math is correct: objective, gradient, tridiagonal Hessian, warm start The solver is described as exact and numerically infallible, but The log-$T_c$ rewrite also dropped the Several open correctness questions are already in the author's KB. They're credited under Author-tracked below, with reviewer extensions where the analysis goes beyond the existing note. BackgroundKingman coalescent constant-Tc estimator [click to expand]Under the Kingman coalescent [1] the constant- where Blocking issuesCorrectness concerns worth resolving before merge. 🔴 F2. Newton non-convergence and line-search stall are returned as success [click to expand]
Effect: a non-converged or stalled solve is reported as an optimized skyline. This contradicts the pipeline comment that the solves "are exact" and "fail only on a tree that is degenerate for the coalescent" [src] and the decision doc's "cannot fail numerically" claim, and it undercuts the fail-loud intent of this branch because the pipeline can only propagate an error the solver never raises. The problem is convex so this should be rare, but "should converge" is not verification. Repro (red counterexample, base is this PR head): #871 drives a three-segment skyline with Suggestions:
Non-blocking issuesTest deficiencies, reinvention, and convention drift. Worth addressing but not merge-blocking. 🟡 F1.
|
No description provided.