Add support for getting the expected runtime of plans

オープン
#1,571 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
python

調査の方向性

issue 1530 のアプローチと、既存の BlueAPI のプラン検証エントリポイントを確認することから始めます。Bluesky コミュニティとともに、ランタイムメタデータをプランにどのように付加するか、また検証とランタイム見積もりで 1 つのエンドポイントを共有するかどうかを定義します。完了条件は、パフォーマンスの高いエンドポイントが、プランとそのパラメーターに対する期待ランタイムを返すことです。

索引モデルが issue の本文から書いたものです。

説明

Similarly to https://github.com/DiamondLightSource/blueapi/issues/1530, for the queuing usecase we would like to be able to ask plans what their expected runtime would be for a given set of parameters. From the plan side we would need to be able to define a function that can calculate this in some way, from the BlueAPI side we would then need to be able to associate the run time calculator with it's given plan.

From our perspective this could be the same endpoint as the validate e.g. we pass in a set of plans and we get if they are valid and how long we think they would take. If they are separate endpoints this is also fine but we want it to be performant enough that we can validate/check runtime of ~100 plans in <1s

Acceptance Criteria

  • We agree a way of adding this metadata to plans - may be worth discussing with the Bluesky community
  • There is an endpoint in BlueAPI that lets us get this for a plan
主要言語
Python
スター
14
フォーク
14
平均マージ
2日 23時間
マージ済み PR(30日)
27

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiamondLightSource/blueapi のほかの issue

DiamondLightSource/blueapi の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。