Skip to content

Homogenize "count" interface#287

Merged
knoepfel merged 3 commits intoFramework-R-D:mainfrom
knoepfel:unify-count-interface
Feb 6, 2026
Merged

Homogenize "count" interface#287
knoepfel merged 3 commits intoFramework-R-D:mainfrom
knoepfel:unify-count-interface

Conversation

@knoepfel
Copy link
Copy Markdown
Member

@knoepfel knoepfel commented Feb 4, 2026

Various tests check execution counts and data-cell counts against expected values. This PR homogenizes the interface a little. In addition:

  • It strengthens a check on a workflow in test/framework_graph.cpp that tests the triggering of an exception (the previous check was comparing the number of the layer generator's emitted data cells to an expected thread count, which is very fragile).
  • Allows the specification of a layer path (e.g., /job/run/subrun) when checking for the execution count of a given algorithm. This change is consistent with other uses of layer path in the repository.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

❌ Your project status has failed because the head coverage (74.36%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

@@            Coverage Diff             @@
##             main     #287      +/-   ##
==========================================
+ Coverage   74.28%   74.36%   +0.08%     
==========================================
  Files         124      124              
  Lines        2955     2961       +6     
  Branches      513      516       +3     
==========================================
+ Hits         2195     2202       +7     
+ Misses        540      537       -3     
- Partials      220      222       +2     
Flag Coverage Δ
unittests 74.36% <100.00%> (+0.08%) ⬆️

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

Files with missing lines Coverage Δ
phlex/core/framework_graph.cpp 90.32% <100.00%> (+1.07%) ⬆️
phlex/core/framework_graph.hpp 100.00% <ø> (ø)
phlex/core/node_catalog.cpp 69.23% <ø> (+24.23%) ⬆️
phlex/core/node_catalog.hpp 100.00% <ø> (ø)
phlex/model/data_layer_hierarchy.cpp 98.18% <100.00%> (+0.56%) ⬆️
phlex/model/data_layer_hierarchy.hpp 100.00% <100.00%> (ø)
plugins/layer_generator.cpp 98.48% <ø> (ø)
plugins/layer_generator.hpp 100.00% <ø> (ø)

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b135fc...d8c65d5. Read the comment docs.

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

@knoepfel knoepfel force-pushed the unify-count-interface branch 2 times, most recently from 612fa50 to 4ed9175 Compare February 5, 2026 01:42
@knoepfel knoepfel force-pushed the unify-count-interface branch from 4ed9175 to d8c65d5 Compare February 5, 2026 22:53
@knoepfel knoepfel requested a review from greenc-FNAL February 5, 2026 22:53
@knoepfel knoepfel dismissed greenc-FNAL’s stale review February 5, 2026 22:55

Removed unused interface

@knoepfel knoepfel merged commit fd3f5cc into Framework-R-D:main Feb 6, 2026
43 of 44 checks passed
@knoepfel knoepfel deleted the unify-count-interface branch February 6, 2026 00:15
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