• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

f-dangel / curvlinops / 23264802918
91%

Build:
DEFAULT BRANCH: main
Ran 18 Mar 2026 08:23PM UTC
Jobs 1
Files 49
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Mar 2026 08:11PM UTC coverage: 91.318% (-0.07%) from 91.387%
23264802918

push

github

web-flow
[REF] Extract `_BaseKFACComputer` to eliminate diamond inheritance (#272)

* [REF] Extract _BaseKFACComputer to eliminate diamond inheritance

Split KFACComputer into:
- _BaseKFACComputer in computers/_base.py: shared logic (validation,
  seed, fisher_type, grad_outputs_computer, compute(), utility methods,
  abstract _compute_kronecker_factors)
- HooksKFACComputer in computers/kfac_hooks.py: hooks-specific code
  (compute_parameter_groups, hook methods, _compute_loss_and_backward)

MakeFxKFACComputer now inherits from _BaseKFACComputer directly.
MakeFxEKFACComputer inherits from MakeFxKFACComputer only (no diamond).

Rename EKFACComputer -> HooksEKFACComputer, move to ekfac_hooks.py.
Remove HooksKFACComputer.__init__ (compute _mapping lazily in
_compute_kronecker_factors).

Before: MakeFxEKFACComputer(EKFACComputer, MakeFxKFACComputer) — diamond
After:  MakeFxEKFACComputer(MakeFxKFACComputer) — clean chain

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* [DOC] Add changelog entry for _BaseKFACComputer extraction

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: f-dangel <felix.dangel@concordia.ca>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

195 of 205 new or added lines in 7 files covered. (95.12%)

2356 of 2580 relevant lines covered (91.32%)

0.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
96.77
curvlinops/computers/kfac_hooks.py
7
91.57
curvlinops/computers/_base.py
Jobs
ID Job ID Ran Files Coverage
1 23264802918.1 18 Mar 2026 08:23PM UTC 49
91.32
GitHub Action Run
Source Files on build 23264802918
  • Tree
  • List 49
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 76449ee6 on github
  • Prev Build on main (#23211349482)
  • Next Build on main (#23266313425)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc