Hello, as I am reading the (excellent!) course about Workflows here, I suspect that, looking at the description of how insert_tasks works and the provided diagram, the two example insertions should have task_d and task_b swapped, i.e. should become:
workflow.insert_tasks(task_a, [task_c, task_b], task_d)
workflow.insert_tasks(task_c, [task_e, task_f], task_d)
(it is also possible that I did not get something obvious in how the method wants its argument. In which case, apologies: feel free to close this issue of course).