Sleep Scoring isn’t a metric which apple Health provides. As I understand it, sleep score is something which “other companies” provide and which Apple doesn’t as they have different thinking.
Honestly, i don’t want to go down this rabbit hole of analysing what makes a good sleep score (if there is a published research on it and is widely accepted, then yeah. let me know)
Breathing data = respiration? yup.. I’m working on that (its actually done - Interest in free apple health to intervals App - #10 by app4g)
now I’m working on getting average sleep HR