engine: compute scheduling score for worker

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>