Repository navigation
乗り換え判定の偽陽性を防止 - #5740
Merged
Merged
乗り換え判定の偽陽性を防止#5740
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 Walkthroughウォークスルールート推定機能において、バッファサイズが最小ポイント数未満の場合にログ前処理と転送停止検出をスキップするガード条件を追加しました。同時に、転送停止検出のループを最初のエントリをスキップして開始するよう変更し、テストケースを2件追加しました。 変更内容
推定コード審査時間🎯 2 (シンプル) | ⏱️ ~12 分 ポエム
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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.
概要
ルート推定時の乗り換え判定(
isTransferStop)で、先頭エントリの速度が常に0になることによる偽陽性を防止します。また、ポイント数が少ない段階での判定を回避することで、低速移動時の誤検知を削減します。変更の種類
変更内容
1.
isTransferStopの判定ロジック修正distFromPrev=0, dtFromPrev=0となるため、常にspeed=0になります。これは仕様上の制約であり実際の停車ではないのに、停車判定の開始トリガーになっていました。index=1から開始し、先頭エントリをスキップするように変更しました。2. 推定開始前の最小ポイント数チェック
preprocessLogs呼び出し前に、バッファのポイント数がMIN_POINTS_FOR_ESTIMATION以上であることを確認するようにしました。3. テストケースの追加
テスト
npm run lintが通ることnpm testが通ること(新規テストケース2つを追加)npm run typecheckが通ることhttps://claude.ai/code/session_016392JPYsBVtG4ESh75qRWB
Summary by CodeRabbit
リリースノート
バグ修正
テスト