Skip to content

gh-423: Factorize jackknife_cls for parallelism#424

Open
ucapbba wants to merge 7 commits into
mainfrom
pipe_updates
Open

gh-423: Factorize jackknife_cls for parallelism#424
ucapbba wants to merge 7 commits into
mainfrom
pipe_updates

Conversation

@ucapbba

@ucapbba ucapbba commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

fixes: #423

The jackknife_cls method has been factorized into individual methods _compute_single_jk_alm _compute_single_jk_cls. For now the old jackknife_cls has been renamed to jackknife_cls_old should any additional comparison be required.

I have tested both methods are the same by comparing the cls for delete 12 and delete 2 (notebook available on demand). I have also implemented the individual methods in a fully parallel setup, giving significant performance improvement.

@ucapbba ucapbba requested review from JaimeRZP and ntessore July 1, 2026 18:16
@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.67123% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
heracles/dices/jackknife.py 87.67% 9 Missing ⚠️
Flag Coverage Δ
py3.10 81.98% <87.67%> (-1.39%) ⬇️
py3.11 81.98% <87.67%> (-1.39%) ⬇️
py3.12 81.95% <87.67%> (-1.39%) ⬇️
py3.13 81.53% <87.67%> (-1.38%) ⬇️
py3.9 82.18% <87.50%> (-1.41%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
heracles/dices/__init__.py 100.00% <ø> (ø)
heracles/dices/jackknife.py 80.86% <87.67%> (-15.16%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Factorize jackknife_cls for parallelism

2 participants