Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Nothing fails when a benchmark model fit emits a ConvergenceWarning

Open
#1,205 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
67/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python, scikit-learn

Research direction

Read tests/test_benchmark.py and faircode/models.py to see how audits and strategies run their model fits. Start by checking the existing benchmark tests and how they handle warnings. Add a slow test covering every audit and strategy with ConvergenceWarning treated as an error; done when a fit stopping at max_iter makes the test fail.

Written by the indexing model from the issue text.

Description

enhancement reproducibility testing

Where: tests/test_benchmark.py, faircode/models.py.

Current gap: #1152 was found by hand: logistic regression stopped at max_iter on two audits and no test noticed. Other strategies' fits (reweighted fits inside in-processing, post-processing calibration) are not exercised under warnings-as-errors.

Suggested approach: Add a slow test that runs every audit and strategy with ConvergenceWarning turned into an error.

Done when: the test fails if any fit stops at max_iter.

Dominant language
HTML
Stars
47
Forks
45
Avg merge
3h 17m
Merged PRs (30d)
107

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yakew7/Fair-Code

All issues in yakew7/Fair-Code

Similar issues

More Machine Learning issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.