Skip to content

Fix/audit findings - #511

Merged
Grufoony merged 15 commits into
mainfrom
fix/audit-findings
Sep 16, 2026
Merged

Grufoony merged 15 commits into
mainfrom
fix/audit-findings

Conversation

@Grufoony

Copy link
Copy Markdown
Owner

No description provided.

@Grufoony
Grufoony requested a balanced review from Copilot September 16, 2026 14:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.03297% with 60 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.70%. Comparing base (55da619) to head (d7aba81).

Files with missing lines Patch % Lines
src/dsf/mobility/FirstOrderDynamics.cpp 41.02% 23 Missing ⚠️
src/dsf/mobility/TrafficSimulator.cpp 53.65% 19 Missing ⚠️
src/dsf/mobility/RoadNetwork.cpp 65.78% 13 Missing ⚠️
src/dsf/mobility/Intersection.cpp 77.77% 2 Missing ⚠️
src/dsf/base/PathCollection.cpp 95.65% 1 Missing ⚠️
src/dsf/mobility/FirstOrderDynamics.hpp 80.00% 1 Missing ⚠️
src/dsf/mobility/Street.cpp 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #511      +/-   ##
==========================================
- Coverage   83.93%   83.70%   -0.23%     
==========================================
  Files          55       55              
  Lines        8750     8837      +87     
  Branches     1037     1057      +20     
==========================================
+ Hits         7344     7397      +53     
- Misses       1385     1419      +34     
  Partials       21       21              
Flag Coverage Δ
unittests 83.70% <67.03%> (-0.23%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Unresolved issues remain in random OD fallback, capacity rounding, signal-phase handling, and partial network persistence.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 21/21 changed files
  • Comments generated: 4
  • Review effort level: Lite

Comment on lines 437 to 438
while (nAgents--) {
std::optional<Id> srcId{std::nullopt}, dstId{std::nullopt};
Comment on lines +1217 to +1218
pNode->setCapacity(value > 0. ? static_cast<std::size_t>(value)
: static_cast<std::size_t>(1));
}
}

if (secondaryGreenTime == 0) {
bool edgesTableExists = edgesQuery.executeStep();
bool nodesTableExists = nodesQuery.executeStep();
if (edgesTableExists && nodesTableExists) {
if (edgesTableExists || nodesTableExists) {
@Grufoony
Grufoony merged commit 89a404f into main Sep 16, 2026
30 of 32 checks passed
@Grufoony
Grufoony deleted the fix/audit-findings branch September 16, 2026 18:09
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