Add is_valid property to assignments?
まだ誰も着手していません。
評価
調査の方向性
issue #35 とスレッドで説明されている /cases/awaiting/ エンドポイントから始め、ケースが割り当てられた状態を離れたときに Assignment の状態がどのように変化するかを追跡します。不完全な assignment に is_valid プロパティが必要かどうかを解決し、選択した動作を文書化します。完了とは、2 人の assignee がいるシナリオについて、合意された観測可能な結果が得られることを意味します。
索引モデルが issue の本文から書いたものです。
説明
Pulled out of #35
Use case:
Cathy and Anna are both Deputy Finance Directors. Contracts can be approved by either of them during the "Awaiting Finance Approval" state.
@mjumbewu said:
I'm considering adding an is_valid field to Assignment instances. So, in the case where Cathy and Anna are both Deputy Finance Directors, when one acts on their assignment, the other's assignment would get is_valid set to False -- perhaps explicitly in the handler, perhaps automatically as a consequence of the case transitioning out of the assigned state with no action taken on the assignment. Probably the latter.
Does that seem reasonable? If the case transitions to another state, then all incomplete assignments are simply marked as invalid?
@timwis replied:
maybe I'm misunderstanding, but I'm not sure that's necessary. If the /cases/awaiting/ endpoint queries cases that (a) are assigned to you, (b) you haven't acted on yet, and (c) the case is currently in the state you're assigned to -- it should handle both scenarios described above, no?
- 主要言語
- Python
- スター
- 22
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeForPhilly/stately のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
CodeForPhilly/stately#60 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
CodeForPhilly/stately#59 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
CodeForPhilly/stately#58 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
CodeForPhilly/stately#57 ·
-
Search case listオープンapi ui
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
CodeForPhilly/stately#55 ·
CodeForPhilly/stately の issue をすべて見る
似ている issue
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openvinotoolkit/openvino_notebooks#3665 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
benchmark-gap
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信