Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Examples sequence elements gain Read/WriteDataHandles #1908

Merged
merged 21 commits into from
Mar 10, 2023

Conversation

paulgessinger
Copy link
Member

This locks in the type at algorithm construction, registers the handles and allows checking the data flow more thoroughly before running the event sequence.

This PR only changes the components used in the ODD chain example, but we should probably extend this to the rest of the Examples components as well.

Blocked by:

@paulgessinger paulgessinger added the 🛑 blocked This item is blocked by another item label Mar 1, 2023
@paulgessinger paulgessinger added this to the next milestone Mar 1, 2023
@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Merging #1908 (4f731e9) into main (e76e89b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1908   +/-   ##
=======================================
  Coverage   49.55%   49.55%           
=======================================
  Files         408      408           
  Lines       22695    22695           
  Branches    10356    10356           
=======================================
  Hits        11247    11247           
  Misses       4239     4239           
  Partials     7209     7209           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@benjaminhuth benjaminhuth added Component - Examples Affects the Examples module 🚧 WIP Work-in-progress and removed 🛑 blocked This item is blocked by another item labels Mar 3, 2023
@paulgessinger paulgessinger force-pushed the refactor/fw-data-handles branch from 9dc0b33 to 0214b8b Compare March 7, 2023 10:22
@paulgessinger paulgessinger removed the 🚧 WIP Work-in-progress label Mar 7, 2023
@paulgessinger
Copy link
Member Author

This should be ready for review now, @benjaminhuth @andiwand

@paulgessinger paulgessinger force-pushed the refactor/fw-data-handles branch from 6369276 to 71b6e44 Compare March 7, 2023 10:33
Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

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

gave it a quick look. makes a lot of sense to me!

Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

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

nice! looks good to me 👍

@github-actions
Copy link

github-actions bot commented Mar 9, 2023

📊 Physics performance monitoring for 4f731e9

Full report
Seeding: seeded, truth estimated, orthogonal
CKF: seeded, truth smeared, truth estimated, orthogonal
IVF: seeded, truth smeared, truth estimated, orthogonal
Ambiguity resolution: seeded, orthogonal
Truth tracking
Truth tracking (GSF)

Vertexing

Vertexing vs. mu
IVF seeded

IVF truth_smeared

IVF truth_estimated

IVF orthogonal

Seeding

Seeding seeded

Seeding truth_estimated

Seeding orthogonal

CKF

CKF seeded

CKF truth_smeared

CKF truth_estimated

CKF orthogonal

Ambiguity resolution

seeded

Truth tracking (Kalman Filter)

Truth tracking

Truth tracking (GSF)

Truth tracking

@paulgessinger
Copy link
Member Author

Ok I think what this failure is telling is, that I can't make only the ODD sequence use the handles and have the Sequencer fail. So for this PR I'll downgrade the Sequencer ERROR to a warning, and won't throw. The data flow will still be correct, and the CI should tell us.

I have a follow-up PR (almost) ready where I switch everything over and can reenable the ERROR and exception.

@paulgessinger
Copy link
Member Author

Ok, I've added a config flag to the sequencer that defaults to False for the checking functionality. I'll default it to true with the other PR I was mentioning. Thoughts?

@andiwand
Copy link
Contributor

sounds good to me 👍

@kodiakhq kodiakhq bot merged commit a235c2c into acts-project:main Mar 10, 2023
kodiakhq bot pushed a commit that referenced this pull request Mar 24, 2023
Follow up to #1908. Switches over the rest of the Examples components. This also makes `WhiteBoard::{get,add}` private and adds the data handles as friends to restrict unregistered white board access.
@paulgessinger paulgessinger modified the milestones: next, v24.0.0 Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Examples Affects the Examples module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants