-
Notifications
You must be signed in to change notification settings - Fork 4
Kill random agents exponentially #377
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #377 +/- ##
==========================================
+ Coverage 83.24% 83.41% +0.17%
==========================================
Files 53 53
Lines 5330 5392 +62
Branches 608 614 +6
==========================================
+ Hits 4437 4498 +61
- Misses 882 883 +1
Partials 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| /// @details If possible, the agent's itinerary is updated by removing the first element | ||
| /// from the itinerary's vector. | ||
| inline void setMaxDistance(double const maxDistance) { | ||
| maxDistance > 0. ? m_maxDistance = maxDistance |
Check warning
Code scanning / Cppcheck (reported by Codacy)
AST broken, ternary operator missing operand(s) Warning
| dynamics.setMeanTravelDistance(1000.0); | ||
|
|
||
| // Set origin nodes | ||
| std::unordered_map<Id, double> origins; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
|
|
||
| // Set origin nodes | ||
| std::unordered_map<Id, double> origins; | ||
| for (const auto& [id, node] : defaultNetwork.nodes()) { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
| SUBCASE("setMeanTravelTime") { | ||
| dynamics.setMeanTravelTime(3600); | ||
|
|
||
| std::unordered_map<Id, double> origins; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
| dynamics.setMeanTravelTime(3600); | ||
|
|
||
| std::unordered_map<Id, double> origins; | ||
| for (const auto& [id, node] : defaultNetwork.nodes()) { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.