Assess quality
assess_qualityClassify and interpret the quality of a polygenic risk score (PRS) result using match rate, AUROC, and percentile to produce a quality label and readable explanation.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match_rate | Yes | ||
| auroc | No | ||
| percentile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality_label | Yes | High / Moderate / Low / Very Low. | |
| quality_color | Yes | Semantic color token for the label. | |
| summary | Yes | Human-readable interpretation. |