Find goal satisfaction from a plan
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
No files, tests, or command entry points are named. Start by locating the CLI path that issues the scheduling_specification and scheduling_goal_analysis queries, then trace how scheduling_goal data is retrieved. Done means the result uses the last run for each goal and includes the goal information described in the issue.
索引モデルが issue の本文から書いたものです。
説明
In order to meet some of the requirements of a Mission Sim Report MPST is developing, we needed a way to get goal satisfaction from any given plan.
Through discussions with Alex Greer and Megan Jones, it looks like the following queries could be ran to get the goal satisfaction of a plan:
First, find the spec_id from this query:
query MyQuery {
scheduling_specification(where: {plan_id: {_eq: $plan_id}}) {
id
}
}
Then feed that spec_id into this query:
query MyQuery {
scheduling_goal_analysis(where: {request: {specification_id: {_eq: $spec_id}}}) {
goal_id
analysis_id
satisfied
satisfying_activities_aggregate {
aggregate {
count(distinct: false)
}
}
}
}
And it should give you:
{
"data": {
"scheduling_goal_analysis": [
{
"goal_id": 27,
"analysis_id": 80,
"satisfied": false,
"satisfying_activities_aggregate": {
"aggregate": {
"count": 59
}
}
},
{
"goal_id": 26,
"analysis_id": 81,
"satisfied": false,
"satisfying_activities_aggregate": {
"aggregate": {
"count": 270
}
}
}
]
}
}
You can tell if a goal is satisfied because the "satisfied" field in the query response will say true, goals are partially satisfied if the "count" number is non-zero but "satisfied" is false. If count is 0 and "satisfied" is false the goals is unsatisfied.
You can get the names for the goal_ids in the response above using this query:
query MyQuery {
scheduling_goal(where: {id: {_eq: 27}}) {
author
name
revision
id
definition
description
created_date
modified_date
model_id
last_modified_by
}
}
Ideally, we would just filter for the last run for each goal so the result does not show all scheduling goal run results in that plan. It should also return all the info of the goal for that run, from the last query.
- 主要言語
- Python
- スター
- 5
- フォーク
- 7
- 平均マージ
- 3日 14時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NASA-AMMOS/plandev-cli のほかの issue
-
Aerie-cli commit hooks failing再び着手できるかも @colin-lewis-19 が 329 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
NASA-AMMOS/plandev-cli#182 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
NASA-AMMOS/plandev-cli#180 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
NASA-AMMOS/plandev-cli#177 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
NASA-AMMOS/plandev-cli#176 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
NASA-AMMOS/plandev-cli#171 ·
NASA-AMMOS/plandev-cli の issue をすべて見る
似ている issue
-
bug: conversation context selects the oldest thread messages instead of recent replies対応中かも @BLVCK-MAMBA-6 が今日担当しました。 オープンbug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AOSSIE-Org/SkillBot#74 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
bad-antics/lateralus-lang#1438 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
area: control app
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
glossyio/traffic-monitor#415 ·
メンテナーはふだん 1 日以内に返信
-
apply_matrix_rect takes 6-9% of extract_text time対応中かも @g4lb が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pdfminer/pdfminer.six#1333 ·
メンテナーはふだん 1 日以内に返信