StopDocuments should include more data
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず StartDoc と StopDocument がどのように生成されるかを追跡し、次に issue で言及されている event_model の RunStop 処理を読みます。例のドキュメントを比較し、要求された開始ドキュメントのフィールドを停止ドキュメントに引き継ぐ方法を判断します。StopDocument に関連する StartDoc の情報が含まれ、別途 RunStart を検索する必要がなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Here is an example of a StopMessage and StopDocument
{
"name": "stop",
"doc": {
"uid": "a5af9bbc-13d6-4d1f-aaab-ed076935b4a5",
"time": 1781265600.6895273,
"run_start": "4e6741e0-be66-4899-8794-e372021cd617",
"exit_status": "success",
"reason": "",
"num_events": {"baseline": 2, "primary": 1},
},
"task_id": "a3b4dd7c-017f-4adc-b9cc-07bb7548bb97",
}
But the information I really need is in the StartDoc Specifically:
"instrument": "i15-1",
"instrument_session": "cm44163-3",
"data_session_directory": "/dls/i15-1/data/2026/cm44163-3",
"detector_file_template": "{instrument}-{scan_id}-{device_name}",
"scan_file": "i15-1-96680",
"scan_id": 96680,
"plan_name": "static_collection_plan",
I can access data by finding the start document by looking at the run_start id "run_start": "4e6741e0-be66-4899-8794-e372021cd617" and then going to find the RunStart, but this adds complexity, and if kinda awful. This is the way workflows is trying to implement it
I would like it if the StopDocument contained the same info as the start doc. The RunStop from event_model allows extra so it should be easy.
- 主要言語
- Python
- スター
- 14
- フォーク
- 14
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 27
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/blueapi のほかの issue
-
support: low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/blueapi#1772 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
deployment dev-environment
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DiamondLightSource/blueapi#1623 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/blueapi#1605 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
DiamondLightSource/blueapi#1494 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
DiamondLightSource/blueapi#1788 ·
メンテナーはふだん 1 日以内に返信
DiamondLightSource/blueapi の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
UKGovernmentBEIS/inspect_ai#6733 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ProyectoRespira/respira-webapp#334 ·
メンテナーはふだん 1 日以内に返信
-
bug security-alert
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
spectrayan/carefold#391 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Jakeschincariol/instagram-agent-skill#83 ·
メンテナーはふだん 10 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 64/100