Sample known areas
Pick one foreground interior and one background pixel in the matte. Check which values are supposed to reveal the accepted replacement.
Correct and recheck the composite
Set the intended luminance mode and inversion. Inspect hair or transparent edges separately from the solid foreground area.
Example
A white silhouette represents the visible subject, but an inverted luma setting reveals the outside instead.
Pass condition
The correct regions remain visible, and only intended edge areas have partial opacity.