Skip to content

Enable the ALG_1 empirical attainment test - #106

Merged
MLopez-Ibanez merged 1 commit into
multi-objective:mainfrom
M-Colley:fix/enable-alg1-eaf-test-105
Nov 24, 2026
Merged

MLopez-Ibanez merged 1 commit into
multi-objective:mainfrom
M-Colley:fix/enable-alg1-eaf-test-105

Conversation

@M-Colley

Copy link
Copy Markdown
Contributor

Fixes #105.

The ALG_1 test used the old ALG_1_dat_get_eaf.txt.xz filename. With --runxfail, pytest failed at fixture lookup before it compared any values. The test now uses the checked-in ALG_1_dat_eaf.txt.xz and its pct_ companion and runs as a regular test.

I built the Python and R packages and the C eaf executable from the same upstream revision. All three matched the checked-in coordinates for all 73,541 default rows and all 1,819 rows at the best, median, and worst surfaces. The full Python tests and doctests reported 102 passed and one existing xfail. Ruff lint and formatting passed. Codex assisted with implementation and independent review.

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.03%. Comparing base (d58d3c4) to head (034b056).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   76.04%   76.03%   -0.02%     
==========================================
  Files          70       70              
  Lines        7431     7431              
  Branches     1500     1476      -24     
==========================================
- Hits         5651     5650       -1     
- Misses       1252     1253       +1     
  Partials      528      528              
Flag Coverage Δ
python 75.24% <ø> (-0.02%) ⬇️

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

Components Coverage Δ
C 70.92% <ø> (-0.03%) ⬇️
R 82.18% <ø> (ø)
Python tests 100.00% <ø> (ø)
Python src 81.79% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown

📚 Python docs preview for this PR

@MLopez-Ibanez
MLopez-Ibanez merged commit 0ccfc30 into multi-objective:main Nov 24, 2026
25 of 26 checks passed
@MLopez-Ibanez

Copy link
Copy Markdown
Contributor

Thank you!

github-actions Bot pushed a commit that referenced this pull request Nov 24, 2026
@M-Colley
M-Colley deleted the fix/enable-alg1-eaf-test-105 branch November 24, 2026 23:23
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.

Investigate and fix XFAIL

2 participants