Skip to content

canary - #6471

Merged
TinyKitten merged 2 commits into
canaryfrom
dev
Jul 26, 2026
Merged

canary#6471
TinyKitten merged 2 commits into
canaryfrom
dev

Conversation

@TinyKitten

Copy link
Copy Markdown
Member

概要

dev → canary のリリース PR です。

変更の種類

  • バグ修正
  • 新機能
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

  • 停車中に測位が途絶えて到着判定を取りこぼす問題を修正し変位ゲートをプラットフォーム別に調整 (停車中に測位が途絶えて到着判定を取りこぼす問題を修正し変位ゲートをプラットフォーム別に調整 #6470)
    • LOCATION_DISTANCE_INTERVAL が 0 より大きいと OS は変位が閾値に達するまで測位を配信しないため、停車中に更新が途絶え、到着判定が減速中に届いた最後の1点だけに依存していた
    • Android は distanceInterval: 0(更新頻度は timeInterval の10秒が抑える)、iOS は timeInterval が無視されるため distanceInterval: 10 へ
    • プラットフォーム別の測位オプションを固定する回帰テストを追加

テスト

  • npm run lint が通ること
  • npm test が通ること
  • npm run typecheck が通ること

関連Issue

スクリーンショット(任意)


Generated by Claude Code

* 停車中に測位が途絶えて到着判定を取りこぼす問題を修正し変位ゲートをプラットフォーム別に調整

distanceIntervalが0より大きいとOSは変位が閾値に達するまで測位を配信しないため、
停車中(=変位ほぼ0)は更新が途絶える。到着判定が減速中に届いた最後の1点だけに依存し、
その1点がEMAスムージングで駅の手前に凍結する・精度外れ値として棄却される(棄却フラグは
次の受理まで解除されないため到着がfalseで固着する)と、停車中に到着へ復帰できない。
25mへ引き上げたことで最終進入区間のサンプル数が半減し、この取りこぼしが顕在化した。

Androidはtimeintervalとの AND 条件で配信されるため変位ゲートを0にし、更新頻度は
timeInterval(10秒)だけで抑える。iOSはtimeIntervalが無視されdistanceFilterだけが
更新頻度を決めるため、0にせず実車検証済みの旧既定値10mへ戻す。

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015Gfcxe6AJJVRoTS53oD9V4

* 省電力プロファイルの回帰テストをAndroidにも適用しOS分岐の取りこぼしを防ぐ

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015Gfcxe6AJJVRoTS53oD9V4

---------

Co-authored-by: Claude <[email protected]>
@TinyKitten TinyKitten self-assigned this Jul 26, 2026
@github-actions github-actions Bot added the react label Jul 26, 2026
@coderabbitai

coderabbitai Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 56c79788-f996-4662-b69f-d29b3c8bbc68

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


Comment @coderabbitai help to get the list of available commands.

@TinyKitten
TinyKitten merged commit ade7ac3 into canary Jul 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant