Update dictionary key retrieval to use the correct
key 'mode/run_mode' instead of the outdated 'run/mode'.
This aligns the code with the recent configuration changes.
Refactor run mode processing logic to improve
adaptability for new operations.
Introduce a dedicated "passed" status to
distinguish passed users instead of classifying
them as failed.