Salaam all,
Allah knows you have faith in him and as long as that is the case then you will search for what is right. perfection is not the goal is it. If we were perefect we would be Allah.
I think in a different way, I think we have to try to be perfect always.
For me, it is like a school we all are in, some are in primary school, some in middle school, some in high school, then college, the university, etc. But until we try to be perfect in our class [level that we are in] and try to pass the test [as per our level of class], we may not be promoted to another class.
This is how we grow, we have to try for perfection in every class we are in, and we have to pass the test taken at that level by Allah, then only we may proceed to upper classes. If we fail to pass our tests we will remain in the same class for our whole life until we try to go further.
Results will also be dependent on our level of class, if we are in university, we will get rewards as per our level. But, even if a person is in a lower class, but he is good at tests and if there he died, he may get the reward to get pass in results on the Judgement Day, but he may not able to reach the levels of upper class or further.
The school is Islam, our course material is ONLY AlQuraan for all classes/levels, and the teacher is Allah, the best of all.
This is how I understand, your thoughts may differ it.
May Allah guide us all to His only path

Mohammed M. Khan