Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atomic logic to compute what status info should be displayed #730

Open
tcompa opened this issue Mar 13, 2025 · 0 comments
Open

Atomic logic to compute what status info should be displayed #730

tcompa opened this issue Mar 13, 2025 · 0 comments

Comments

@tcompa
Copy link
Collaborator

tcompa commented Mar 13, 2025

Available information:

  • given workflowtask_id and dataset_id
  • task_type: available from workflowtask
  • Option 1: you only have a null, because the task was never run.
  • Option 2:
    • num_submitted_images, num_submitted_images, num_failed_images: integers, non-nullable
    • num_available_images: integer or null
    • latest_status: the latest global scalar status (done, submitted, failed) for this workflowtask and dataset

Converters

task_type is converter_non_parallel or converter_compound (not available yet in the backend)
Images counters are ignored.

  • null (for option 1)
  • submitted, done or failed based on latest_status

Non converters

task_type is non_parallel, parallel, compound
latest_status is ignored

  • fully done: (num_available_images=num_done_images) --> display single green checkmark
  • fully failed: (num_available_images=num_failed_images) --> display single red X
  • partial:
    • display all non-zero numbers among num_submitted_images, num_submitted_images, num_failed_images (each one with its own symbol)
    • display /total, where total is equal to num_available_images or ? if it is null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant