The quality of stainless steel scrap is assessed by evaluating its composition, physical characteristics, and any impurities present. This includes analyzing the percentage of desired alloying elements, such as chromium and nickel, as well as checking for any contaminants or foreign materials. Additionally, the scrap's overall condition, including the absence of corrosion or surface defects, is also considered in assessing its quality.