Skip to content

Testing/some coverage + another attempt at dynamic versioning#1547

Merged
shuds13 merged 7 commits intorelease/v_1.5.0from
testing/some_coverage
Apr 10, 2025
Merged

Testing/some coverage + another attempt at dynamic versioning#1547
shuds13 merged 7 commits intorelease/v_1.5.0from
testing/some_coverage

Conversation

@jlnav
Copy link
Copy Markdown
Member

@jlnav jlnav commented Apr 9, 2025

No description provided.

jlnav added 3 commits April 9, 2025 15:38
@jlnav jlnav requested a review from shuds13 April 9, 2025 20:51
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.79%. Comparing base (21f6175) to head (edfa3c1).

❗ There is a different number of reports uploaded between BASE (21f6175) and HEAD (edfa3c1). Click for more details.

HEAD has 8 uploads less than BASE
Flag BASE (21f6175) HEAD (edfa3c1)
12 4
Additional details and impacted files
@@                 Coverage Diff                 @@
##           release/v_1.5.0    #1547      +/-   ##
===================================================
- Coverage            78.21%   69.79%   -8.43%     
===================================================
  Files                   76       77       +1     
  Lines                 7694     7813     +119     
  Branches              1149     1156       +7     
===================================================
- Hits                  6018     5453     -565     
- Misses                1477     2166     +689     
+ Partials               199      194       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread libensemble/ensemble.py
Format: ``<basename>_results_History_length=<length>_evals=<Completed evals>_ranks=<nworkers>``
"""
if self.is_manager:
if self._get_option("libE_specs", "workflow_dir_path"):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change should wait as its a code change post testing

logger.manager_warning("LUMI detected, but no compute partition detected. Are you on login nodes?")
if partition and partition.endswith("-g"):
name = "lumi_g"
print(f"Lumi GPU detected: {name}")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

from libensemble.tools import parse_args
from libensemble.tools.persistent_support import PersistentSupport

__all__ = [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think we should remove this- doesn't the docs read this

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to verify this when I was puzzling why that line wasn't covered before, but it turns out __all__ only gets covered when one does:

from some_module import *

This isn't done in our code, or the docs:

.. automodule:: persistent_tasmanian
  :members: sparse_grid_batched, sparse_grid_async
  :undoc-members:

@shuds13 shuds13 merged commit 8156083 into release/v_1.5.0 Apr 10, 2025
4 of 14 checks passed
@jmlarson1 jmlarson1 deleted the testing/some_coverage branch June 3, 2025 20:18
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.

2 participants