Skip to content

feat(swarm): ClusterBridge unit tests — 75 tests for spatial/categori…

0fbfdd3
Select commit
Loading
Failed to load commit list.
Open

feat(swarm): GeoBridge Module #68 — Signal #21 server-side geo proximity (80 tests) #99

feat(swarm): ClusterBridge unit tests — 75 tests for spatial/categori…
0fbfdd3
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Apr 10, 2026 in 3s

75 new alerts including 10 errors

New alerts in code changed by this pull request

  • 10 errors
  • 2 warnings
  • 63 notes

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 360 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'rep_mod' may be used before it is initialized.

Check failure on line 361 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'lm_mod' may be used before it is initialized.

Check failure on line 362 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'orch_mod' may be used before it is initialized.

Check failure on line 364 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'coordinator_mod' may be used before it is initialized.

Check failure on line 384 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'coordinator_mod' may be used before it is initialized.

Check failure on line 385 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'rep_mod' may be used before it is initialized.

Check failure on line 386 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'lm_mod' may be used before it is initialized.

Check failure on line 387 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

Local variable 'orch_mod' may be used before it is initialized.

Check failure on line 849 in mcp_server/tests/swarm/test_batch_scheduler.py

See this annotation in the file changed.

Code scanning / CodeQL

Non-iterable used in for loop Error test

This for-loop may attempt to iterate over a
non-iterable instance
of class
type
.

Check failure on line 857 in mcp_server/tests/swarm/test_batch_scheduler.py

See this annotation in the file changed.

Code scanning / CodeQL

Non-iterable used in for loop Error test

This for-loop may attempt to iterate over a
non-iterable instance
of class
type
.

Check warning on line 665 in mcp_server/swarm/trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'plateau_weeks' is unnecessary as it is
redefined
before this value is used.

Check warning on line 293 in mcp_server/tests/swarm/test_quality_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Constant in conditional expression or statement Warning test

Testing a constant will always give the same result.

Check notice on line 56 in mcp_server/swarm/synthesis_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'Any' is not used.

Check notice on line 10 in mcp_server/swarm/tests/test_trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Optional' is not used.

Check notice on line 39 in mcp_server/tests/swarm/test_quality_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'QualitySignalResult' is not used.
Import of 'QUALITY_EXEMPLARY' is not used.
Import of 'QUALITY_POOR' is not used.

Check notice on line 28 in mcp_server/tests/swarm/test_quality_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'pytest' is not used.

Check notice on line 42 in mcp_server/tests/swarm/test_geo_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'GeoSignalResult' is not used.
Import of '_WorkerGeoState' is not used.
Import of 'DECAY_CONSTANT_KM' is not used.
Import of 'EARTH_RADIUS_KM' is not used.

Check notice on line 25 in mcp_server/tests/swarm/test_geo_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'math' is not used.

Check notice on line 44 in mcp_server/tests/swarm/test_fraud_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'FraudSignal' is not used.
Import of 'RiskFactor' is not used.

Check notice on line 26 in mcp_server/tests/swarm/test_fraud_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'math' is not used.

Check notice on line 25 in mcp_server/tests/swarm/test_fraud_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'json' is not used.

Check notice on line 57 in mcp_server/swarm/trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'os' is not used.

Check notice on line 60 in mcp_server/swarm/trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'field' is not used.
Import of 'asdict' is not used.

Check notice on line 61 in mcp_server/swarm/trajectory_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'timedelta' is not used.

Check notice on line 16 in mcp_server/tests/swarm/test_fpq_bridge.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'math' is not used.