My assesment built failed, cant find what is wrong

i got every desired output from every directory but my assesment still failed for list_files,
print_directory_structure, print_number_of_occurrences cant get what is wrong?

Please check the logs attached to the assessment mail.
Use ~/ to represent the home directory. The user’s home could be different on another machine.


I used ~/ it and it runs previously but later it shows error saying ‘returncode > 0! Check your code.’

did you use cat $1 with pipeline?

Can’t we use $HOME instead of ~/ , but still getting assessment wrong.

for example if you have to go ti workspace use cd ~/workspace,
btw what is your error in assesment, and for which task the assesment got failed?
check that you use cat $1 only where mentioned .