Adding a field in trip objects to cover cancelled trips easier
まだ誰も着手していません。
評価
調査の方向性
まず trip オブジェクトの定義と issue #888 を確認し、次にキャンセルをルートオブジェクトに含めるべきか、モード固有の属性に含めるべきかを判断します。boolean 値が distance や duration などのオプションフィールドとどのように相互作用するかを定義し、仕様によってキャンセルされた trip を特定する方法が一つに明確に定まるようにします。
索引モデルが issue の本文から書いたものです。
説明
When integrating the taxi and passenger services data, we realized it was complex today to send a trip object in cases where the trip was cancelled for whatever reason (no-show, app-cancellation, etc...). This is because the only way to determine the trip was cancelled is to go into the mode-specific trip attributes and infer the cancellation from the cancellation_reason field being not-empty (as of today, only an unnormalized string of text).
=> We suggest to add a trip_cancelled boolean as part of the root trip object so that the cancellation can be determined a lot easier. In this case, fields such as distance, duration, etc... could be made optional when trip has been cancelled for whatever reason.
This could be made mode-specific if some other mode do not need such a field.
PS: See issue #888 for our take on the mode-specific attributes and how we suggest to structure them.
- 主要言語
- 言語のデータがありません
- スター
- 753
- フォーク
- 255
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openmobilityfoundation/mobility-data-specification のほかの issue
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
openmobilityfoundation/mobility-data-specification#994 · リアクション 4 件 ·
-
Policy
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
openmobilityfoundation/mobility-data-specification#996 · リアクション 1 件 ·
-
Move Provider/Agency List out of MDS repo再び着手できるかも @schnuerle が 37 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンidentifier change
openmobilityfoundation/mobility-data-specification#995 · 担当者 1 名 ·
-
Agency Provider
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
openmobilityfoundation/mobility-data-specification#993 · コメント 1 件 ·
-
Agency Delivery Policy Provider
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
openmobilityfoundation/mobility-data-specification の issue をすべて見る
似ている issue
-
changelog investigate
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
ramnes/notion-sdk-py#454 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
anthropics/claude-agent-sdk-python#1509 ·
メンテナーはふだん 2 日以内に返信
-
from-review-extraction priority: medium python severity:suggested
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
LearningCircuit/local-deep-research#8665 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
external feature request openai
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
langchain-ai/langchain#41853 ·
メンテナーはふだん 1 日以内に返信