Skip to content

[codex] Normalize graph KPI API payload - #28

Merged
ziodave merged 1 commit into
mainfrom
feature/account-derived-graph-kpi-host
Jul 3, 2026
Merged

[codex] Normalize graph KPI API payload#28
ziodave merged 1 commit into
mainfrom
feature/account-derived-graph-kpi-host

Conversation

@ziodave

@ziodave ziodave commented Jul 3, 2026

Copy link
Copy Markdown
Member

Summary

  • emit canonical Graph KPI API payload fields from the SDK payload builder
  • add normalized graph_health_score based on rate-based quality inputs
  • keep useful diagnostic counters under canonical names while omitting legacy aliases and unmeasured public/private splits

Why

The Graph KPI dashboard and ranking flow should consume one canonical payload shape. The SDK previously emitted older field names and had no health score, which forced downstream consumers to derive or remap values inconsistently.

Validation

  • uv run pytest tests/test_graph_kpi_snapshot.py -q

@ziodave
ziodave marked this pull request as ready for review July 3, 2026 10:04
@ziodave
ziodave merged commit 2b942e0 into main Jul 3, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant