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

laplax-org / laplax / 21840287371
67%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2026 08:58PM UTC
Jobs 1
Files 31
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

09 Feb 2026 08:54PM UTC coverage: 67.192% (+3.5%) from 63.682%
21840287371

push

github

web-flow
Fisher implementation (#59)

* Moved loss hessian mvp from ggn to own .py file

* Wrote fisher mv function that dispatches between fisher types

* Moved loss hessian input logic to curv/loss.py

* Fixed typos in previous commit

* Added gradients for fisher to loss.py

* First idea of empirical fisher calculation

* Reformatted according to Ruff checks

* Ruff formatting

* Wrote tests for BCE gradient

* Wrote test for cross entropy loss gradient

* Fixed bug in cross entropy loss gradient calculation

* Added loss grad test cases for MSE and custom callable

* Ruff formatting

* Started implmntation of emp fisher test case

* Two small fixes in empirical fisher implementation

* Added test case for empirical fisher

* Ruff formatting

* Added function for fisher computation _with_ data

* Fixed inconsistent naming in docstring of create_ggn_mv

* Split empirical and MC fisher entry point into two different functions

* Fixed math in docstrings for empirical fisher

* Defined function for MC fisher mvp

* Implemented scaffolding of mc fisher mv computation

* Reworked emp fisher implementation to vmap data over entire computation

* Cleaned up empirical fisher implementation

* Neat wrapper for jax.linear_transpose when called with linop with only 1 arg

* Test for emp fisher with fn ouput dim > 1

* Fixed small shape bug in emp fisher calculation

* Added emp fisher test for output shape >1

* Extracted some common functionality for empirical and MC fisher

* Found out why test_emp_fisher_on_quadratic_fn failed for parameters away from optimum

* Structure for MC Fisher calculation

* Docstring for the fisher calculation inner function

* Implemented label sampling from MSE loss

* Test for label sampling from MSE loss

* Sampling from CE Loss for MC fisher

* Ruff formatting

* Small change in docstring

* Created function for MC fisher computation _with_ data

* Simplified shapes in fisher computation

* Simplified forward pass calculation a bit

... (continued)

205 of 217 new or added lines in 6 files covered. (94.47%)

1194 of 1777 relevant lines covered (67.19%)

0.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
92.93
laplax/curv/loss.py
3
96.91
laplax/curv/fisher.py
2
75.71
3.49% laplax/curv/utils.py
Jobs
ID Job ID Ran Files Coverage
1 21840287371.1 09 Feb 2026 08:58PM UTC 31
67.19
GitHub Action Run
Source Files on build 21840287371
  • Tree
  • List 31
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c05cf722 on github
  • Prev Build on main (#21552296374)
  • Next Build on main (#23493059290)
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