Skip to content

Refactoring Factors: data -> state, observation and cache #1127

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

Merged
merged 14 commits into from
Jun 18, 2025
Merged

Conversation

Affie
Copy link
Member

@Affie Affie commented Apr 2, 2025

Refactor factorData::GenericFunctionNodeData to state, observation and cache from #992 design.

PR should do:


xref:

Affie and others added 2 commits June 11, 2025 20:42
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Affie and others added 2 commits June 12, 2025 12:40
* defFactorFunction macro

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* update defFactorType

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update DFGFactor.jl

---------

Co-authored-by: Johannes Terblanche <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

Attention: Patch coverage is 54.66667% with 68 lines in your changes missing coverage. Please review.

Project coverage is 73.84%. Comparing base (05ad44d) to head (4e285b4).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
src/Deprecated.jl 2.43% 40 Missing ⚠️
src/services/DFGFactor.jl 70.00% 9 Missing ⚠️
src/entities/DFGFactor.jl 69.23% 8 Missing ⚠️
src/services/Serialization.jl 79.16% 5 Missing ⚠️
src/services/AbstractDFG.jl 50.00% 2 Missing ⚠️
src/services/CompareUtils.jl 75.00% 2 Missing ⚠️
src/services/CustomPrinting.jl 71.42% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1127      +/-   ##
===========================================
- Coverage    75.32%   73.84%   -1.49%     
===========================================
  Files           28       28              
  Lines         2399     2416      +17     
===========================================
- Hits          1807     1784      -23     
- Misses         592      632      +40     

☔ 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.

@Affie Affie changed the title Refactoring Factors: data -> state, observation and operational memory Refactoring Factors: data -> state, observation and cache Jun 17, 2025
@Affie Affie marked this pull request as ready for review June 18, 2025 13:14
@Affie Affie mentioned this pull request Jun 18, 2025
@Affie Affie merged commit d8a5695 into develop Jun 18, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename FactorDFG.data / fnctype becomes... Investigate splitting factor operational part from 'constant' part of factor
2 participants