Perhaps in addition to priority, setting a weight on a Task for a given Transformation could be used to encode the difficulty of the Transformation (e.g. how much sampling is required to get a converged result). This would help with resource allocation.
Under this scheme, priority would function as a partitioning scheme, with Tasks of equal priority selected based on their weight. It's also worth considering if priority should be deprecated in favor of weight to avoid too much complexity here. This would be a simplification, making weight the only sole selection scheme at both the TaskQueue and Task level.
Perhaps in addition to
priority, setting aweighton aTaskfor a givenTransformationcould be used to encode the difficulty of theTransformation(e.g. how much sampling is required to get a converged result). This would help with resource allocation.Under this scheme,
prioritywould function as a partitioning scheme, withTasks of equal priority selected based on theirweight. It's also worth considering ifpriorityshould be deprecated in favor ofweightto avoid too much complexity here. This would be a simplification, makingweightthe only sole selection scheme at both theTaskQueueandTasklevel.