Skip to content

Refine asymmetric starts with conjugate gradients - #54

Merged
timholy merged 2 commits into
mainfrom
teh/cg-refined-start
Sep 6, 2026
Merged

Refine asymmetric starts with conjugate gradients#54
timholy merged 2 commits into
mainfrom
teh/cg-refined-start

Conversation

@timholy

@timholy timholy commented Sep 6, 2026

Copy link
Copy Markdown
Member

Add cgiter (default 4) to cover and cover! to refine the geometric-mean start toward a scale-covariant least-squares log fit. cgiter=0 disables refinement.

Assisted-by: Claude Fable 5.1 noreply@anthropic.com

Add `cgiter` (default 4) to `cover` and `cover!` to refine the
geometric-mean start toward a scale-covariant least-squares log fit.
`cgiter=0` disables refinement.

Assisted-by: Claude Fable 5.1 <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.94%. Comparing base (ca05d67) to head (49e4ca9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
+ Coverage   98.92%   98.94%   +0.02%     
==========================================
  Files          15       15              
  Lines        3805     3900      +95     
==========================================
+ Hits         3764     3859      +95     
  Misses         41       41              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The covariance example for `cover` now compares `cgiter=0` with the
default refinement: the unrefined start is only approximately
covariant, while the refined start reaches the covariant fit on this
small example. The prose notes that larger problems need not converge
within the default iteration count.

Assisted-by: Claude Fable 5.1 <noreply@anthropic.com>
@timholy
timholy merged commit 452d446 into main Sep 6, 2026
5 checks passed
@timholy
timholy deleted the teh/cg-refined-start branch September 6, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant