ores.compute.workunit
Table of Contents
Defines the problem to be solved: which app version to use, where the input data lives, and how many times to run it for redundancy. The BOINC equivalent of 'workunit'. Does not track execution state — that belongs to results.
Flags
Primary key
UUID primary key for the workunit.
Natural keys
Columns
batch_id
FK reference to ores_compute_batches_tbl.
app_version_id
FK reference to ores_compute_app_versions_tbl.
input_uri
URI pointing to the zipped input data bundle in object storage.
config_uri
URI pointing to the engine config file (ORE XML, Llama JSON, etc.).
priority
Scheduling priority; higher values are dispatched sooner.
target_redundancy
Number of independent results required before this workunit is complete.
canonical_result_id
FK to the validated canonical result; NULL until the Validator accepts a result.
SQL
Flags
C++
Flags
Repository
Domain includes
#include <string> #include <boost/uuid/uuid.hpp>
Conventions
Qt
Columns (Qt model)
| enum_name | field | header | type | width |
|---|---|---|---|---|
| BatchId | batch_id | Batch ID | uuid | 160 |
| AppVersionId | app_version_id | App Version ID | uuid | 160 |
| InputUri | input_uri | Input URI | string | 200 |
| Priority | priority | Priority | int | 70 |
| TargetRedundancy | target_redundancy | Redundancy | int | 80 |
| Version | version | Version | int | 60 |
| ModifiedBy | modified_by | Modified By | string | 120 |
Custom repository methods
See also
- ores.compute — component group overview.