Merge "APM: return compatibility score to indicate how the profile is compatible for the given parameters." into main