CPA treatment of superconducting alloys