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

pytorch / opacus / 17777453786
80%

Build:
DEFAULT BRANCH: main
Ran 16 Sep 2025 08:03PM UTC
Jobs 3
Files 134
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

16 Sep 2025 07:54PM UTC coverage: 80.405% (+0.1%) from 80.307%
17777453786

push

github

facebook-github-bot
Add accountant registry (#784)

Summary:
## Types of changes

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Docs change / refactoring / dependency upgrade

## Motivation and Context / Related issue

Allows to register 3rd party accountants to be used in methods like `get_noised_multiplier` and generally introduces an extra extension point.

Closes https://github.com/pytorch/opacus/issues/780

## How Has This Been Tested (if it applies)

Used in our internal implementation with the accountant from [Felipe-Gomez/riskcal](https://github.com/Felipe-Gomez/riskcal).

## Checklist

- [ ] The documentation is up-to-date with the changes I made.
- [x] I have read the **CONTRIBUTING** document and completed the CLA (see **CONTRIBUTING**).
- [x] All tests passed, and additional code has been covered with new tests.

Pull Request resolved: https://github.com/pytorch/opacus/pull/784

Reviewed By: iden-kalemaj

Differential Revision: D81679360

fbshipit-source-id: edda583c7

50 of 53 new or added lines in 3 files covered. (94.34%)

5634 of 7007 relevant lines covered (80.41%)

1.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
98.01
-1.99% opacus/tests/accountants_test.py
Jobs
ID Job ID Ran Files Coverage
1 run-1 - 17777453786.1 16 Sep 2025 08:11PM UTC 133
80.19
GitHub Action Run
2 run-2 - 17777453786.2 16 Sep 2025 08:11PM UTC 133
80.18
GitHub Action Run
3 run-3 - 17777453786.3 16 Sep 2025 08:03PM UTC 71
47.9
GitHub Action Run
Source Files on build 17777453786
  • Tree
  • List 134
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17777453786
  • 183b1ae9 on github
  • Prev Build on main (#17750090532)
  • Next Build on main (#17778119181)
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

© 2025 Coveralls, Inc