Hi @Riddhima_Sobti,
In your Ex 4, you are expected to use the trax's random function and not the other random function as you are using.
And in your Ex 6 , I believe you made a typo. It is eval_tasks and not eval_task (plural).
Best,
Mubsi