Certification Rate
Certification Rate: Percentage of partners with current certifications.
Formula
Certification Rate = Certified partners / Active partners × 100 Computable definition
The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.
count_distinct(field.partner_id where field.certification_status = 'certified') / metric.total_active_partners Unit: percent (the formula yields an unscaled ratio)
Data requirements
Grain: End-of-month snapshot · Frequency: Monthly · Aggregation: snapshot (month) · Staged: no · Main source: Partner Management.
| Field | Dataset | Type |
|---|---|---|
certification_status | partner | string |
partner_id | partner | string |
partner_status | partner | string |
snapshot_date | partner | date |
Example SQL (Postgres)
SELECT (CAST((SELECT COUNT(DISTINCT partner_id) FROM partner WHERE snapshot_date = :period_end AND certification_status = 'certified') AS DOUBLE PRECISION) / NULLIF(((SELECT COUNT(DISTINCT partner_id) FROM partner WHERE snapshot_date = :period_end AND partner_status = 'active')), 0)) AS certification_rate From an agent: with the GASP MCP server, call
lookup_metric({ "name": "Certification Rate" }) or generate_query({ "metric": "Certification Rate", "adapter": "<your adapter JSON>" }).