Assess quality
assess_qualityEvaluate polygenic risk score quality by classifying match rate and AUROC, then generate a human-readable interpretation with percentile context and any caveats.
Instructions
Classify and interpret a PRS result's quality (pure logic — no I/O).
match_rate is the fraction of scoring variants matched (0-1). Returns
a quality label/color and a human-readable interpretation combining match
rate, AUROC, and (optionally) the result percentile. Pass
percentile_method / reliable / caveat from the percentile
tool so the summary describes how the percentile was actually derived and
echoes any low-coverage caveat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auroc | No | ||
| caveat | No | ||
| reliable | No | ||
| match_rate | Yes | ||
| percentile | No | ||
| percentile_method | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | Human-readable interpretation. | |
| quality_color | Yes | Semantic color token for the label. | |
| quality_label | Yes | High / Moderate / Low / Very Low. |