assessment: add idle job logic and refactor benchmark