Creates a dictionary of tasks from a list of subjects :return: {task_name: task} e.g. {hendrycksTest-abstract_algebra: Task, hendrycksTest-anatomy: Task}
()
| 86 | |
| 87 | |
| 88 | def create_all_tasks(): |
| 89 | """Creates a dictionary of tasks from a list of subjects |
| 90 | :return: {task_name: task} |
| 91 | e.g. {hendrycksTest-abstract_algebra: Task, hendrycksTest-anatomy: Task} |
| 92 | """ |
| 93 | return {f"hendrycksTest-{sub}": create_task(sub) for sub in SUBJECTS} |
| 94 | |
| 95 | |
| 96 | def create_task(subject): |
nothing calls this directly
no test coverage detected