feat(swarm): GeoBridge Module #68 — Signal #21 server-side geo proximity (80 tests)#99
Open
0xultravioleta wants to merge 19 commits into
Open
feat(swarm): GeoBridge Module #68 — Signal #21 server-side geo proximity (80 tests)#990xultravioleta wants to merge 19 commits into
0xultravioleta wants to merge 19 commits into
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
GeoBridge adds server-side geo proximity intelligence to the EM swarm coordinator. This is Module #68 and the server-side counterpart to AutoJob's GeoProximityEngine (Signal #21).
Why
Signals #1-20 optimized worker routing on behavioral/reputation/motivational dimensions but completely ignored geography. For physical tasks (photo, photo_geo, video, measurement), a worker 2km away is fundamentally better than a worker 7,000km away — regardless of reputation.
Signal #21: Geo Proximity
Four sub-signals (weights sum to 1.0):
Task type routing:
Geo bonus range: ±0.08 max contribution to match_score.
GPS Extraction
Handles all 4 EM evidence formats (gps nested, flat, metadata, direct columns).
Tests: 80 passing
Files: mcp_server/swarm/geo_bridge.py (633 LOC), mcp_server/tests/swarm/test_geo_bridge.py (80 tests)