Repository navigation
Service: move a station only when the heard centre is clearly elsewhere - #46
Merged
Merged
Conversation
In production the first rule placed 45 stations. The AIS ones landed where expected and stayed put, but a station hearing a long stretch of coast (DundalkWX) was put in open water, aircraft stations were pulled toward the traffic, and one near the threshold moved and moved back. A station is now moved only when the centre is twice as far from the registered spot as the group is wide; once moved it stays until the centre is back within one width, and it is re-placed only for a shift of half the group's width. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PS44Q7WRmAzMJLhi44dzdo
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Deploying airframes-coverage with
|
| Latest commit: |
133638a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c1066605.airframes-coverage.pages.dev |
| Branch Preview URL: | https://claude-project-thread-xlxhmp.airframes-coverage.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Requested by Kevin · project thread
Follow-up to #45, from its first 15 minutes in production.
What production showed
#45 placed 45 stations where they are heard (24 AIS, 21 aircraft), and out-of-range discards fell from about 5% of positions to 0.2%. The 24 AIS placements landed where expected (
Ma-LICR-AISat the Strait of Messina,Gladstone-YGLA-AISat Gladstone,LEAMoff Almería) and did not move between two readings. Three things were not right:DundalkWXhears vessels along the whole south coast of Ireland and was put in open water south of Cork, then shifted about 35 km.UN-EGNR-VDLM2was placed in the Irish Sea about 120 km from the airport in its name, andKAR-LEVC-VDLMmoved about 70 km between readings.TV-LFASwas placed and was back at its registered location nine minutes later.What changes
In
CoverageStore.placeByHeard:The clear cases keep their placement: for the stations checked by hand the offset was 3 to 35 times the spread (
Ma-LICR-AIS968 km vs 127 km,KG-KAUS2-VDL1,418 vs 180).DundalkWX(268 vs 136) is no longer placed.Limits
Testing
npm run typecheckandnpm testpass (54 tests). New test: a station registered about 270 km from the centre of vessels spread over about 150 km is left alone.No screenshots: no map code changed.
Generated by Claude Code