That’s not what the Catholic church teaches nor is it what you claimed earlier.
You said it was a purifying of the soul from sins.
The judgment of the quality of our works is not the purifying of the soul from sin.
The works, allegorized as hay and stubble versus stone and metal, are tested and inferior works burn off. After that, the building becomes free from hay and stubble, that is, the man allegorized as a building becomes purified and through fire, saved.