Conversation
c729988 to
7da572c
Compare
There was a problem hiding this comment.
Pull request overview
Refactors the SAPERE LsaNeighborhoodCondition to split the match-creation and match-filtering logic into dedicated helper methods, improving readability and separation of concerns inside the condition evaluation pipeline.
Changes:
- Extracted initial match creation into
createInitialMatches(...). - Extracted filtering of existing matches into
filterExistingMatches(...). - Further split existing-match filtering into selected-node vs non-selected-node branches.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5318 +/- ##
=========================================
Coverage 61.53% 61.53%
Complexity 14 14
=========================================
Files 2 2
Lines 78 78
Branches 4 4
=========================================
Hits 48 48
Misses 24 24
Partials 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6839fdc to
75b4b91
Compare
…model/sapere/conditions/LsaNeighborhoodCondition.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
75b4b91 to
10dd3ce
Compare
|
## [43.0.45](43.0.44...43.0.45) (2026-04-30) ### Dependency updates * **deps:** update dependency org.danilopianini.gradle-kotlin-qa:org.danilopianini.gradle-kotlin-qa.gradle.plugin to v1.6.1 ([#5323](#5323)) ([249a798](249a798)) ### Bug Fixes * **incarnation-sapere:** validate chemotaxis argument explicitly ([#5326](#5326)) ([93a9f5b](93a9f5b)) ### Tests * **cognitive-agents:** replace unsafe map assertions in steering tests ([#5327](#5327)) ([d4c43d4](d4c43d4)) ### General maintenance * **build:** update the javadoc.io cache ([d2571fd](d2571fd)) ### Refactoring * **sapere:** extract match creation and filtering logic into separate methods ([#5318](#5318)) ([eec1c07](eec1c07)) * **sapere:** simplify execution logic in SAPEREReaction ([#5317](#5317)) ([0b71e90](0b71e90))
|
🎉 This PR is included in version 43.0.45 🎉 The release is available on:
Your semantic-release bot 📦🚀 |



No description provided.