Add support for getting the expected runtime of plans

Aperta
#1,571 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

Inizia esaminando l’approccio dell’issue 1530 e l’entry point esistente di BlueAPI per la validazione dei piani. Definisci con la comunità Bluesky come i metadati di runtime vengono associati ai piani e se la validazione e la stima del runtime condividono un endpoint; il lavoro è completato quando un endpoint performante restituisce il runtime previsto per un piano e i suoi parametri.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
14
Fork
14
Merge medio
2g 23h
PR unite (30g)
27

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiamondLightSource/blueapi

Tutte le issue di DiamondLightSource/blueapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.