def _static(job, t):
    """Static priority assignment according to task IDs (smaller is higher priority)"""
    if job.task.id is None:
        raise ValueError(f"Cannot use task ID {job.task.id} as priority!")
    return job.task.id