You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(agentic): deduplicate phase-scoped KV rank series
Coalesce warmup and profiling metrics by source identity, filter phase-empty rank series, and bump the chart-series cache version.
中文:修复按阶段查看 KV cache 时 DP rank 重复的问题。按来源标识合并 warmup 与 profiling 指标,过滤当前阶段无数据的 rank 序列,并升级图表序列缓存版本。
* fix(agentic): upgrade stored chart series without raw blob
Serve v13 chart data through a lightweight v14 upgrader, including SQL and dump-mode paths, so preview functions do not decompress oversized raw metrics.
中文:通过轻量级升级逻辑将已存储的 v13 图表数据转换为 v14,并覆盖 SQL 与 dump 模式,避免预览环境解压超大原始指标导致函数内存耗尽。
* fix(agentic): safely upgrade recoverable v12 chart series
Use non-overlapping rank time ranges to upgrade recoverable v12 rows while rejecting ambiguous engine-label collisions that require raw-data backfill.
中文:通过不重叠的 rank 时间范围安全升级可恢复的 v12 图表序列;若 engine 标签存在无法判定的冲突,则拒绝在线升级并保留原始数据回填路径。
* refactor(agentic): make chart series canonical
Remove embedded chart-series versions, request-time legacy upgrades, and version-derived cache keys. Treat the normalized DB payload as canonical and use explicit backfills plus cache invalidation for extraction changes.
中文:将图表序列改为数据库中的规范化数据,移除 payload 内嵌版本、请求链路中的旧版本升级逻辑及版本派生缓存键。后续提取逻辑变更统一通过显式回填与缓存失效完成。
Copy file name to clipboardExpand all lines: docs/data-pipeline.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,12 @@ AIPerf defines the `server_metrics_export.json` envelope, but labels such as wor
68
68
69
69
Adapters are selected from the benchmark's canonical framework, and per-worker series are only emitted for disaggregated configs with a recognized adapter. Unknown orchestrators and non-disaggregated configs retain their aggregate-only series; roles are never guessed from ports or metric names. The frontend only consumes the canonical source identity and never interprets orchestrator-native labels.
70
70
71
+
### Canonical Agentic Chart Series
72
+
73
+
`agentic_trace_replay.chart_series` is canonical materialized DB data, not a chain of application-versioned cache formats. The ingest path writes the current representation, API readers trust any non-null stored value, and the raw compressed server-metrics blob is only opened when the materialized column is missing.
74
+
75
+
When extraction behavior changes, use an explicit expand/migrate/contract rollout: deploy a reader compatible with the canonical shape, backfill every maintained Neon branch, purge the API/Blob cache through `/api/v1/invalidate`, and then remove temporary migration compatibility. The `--force` option on `db:backfill-chart-series` deliberately recomputes all rows when needed. Keeping migration state in the operational workflow instead of every JSONB payload prevents historical version branches from accumulating on the request path.
76
+
71
77
### Agentic Dataset Provenance
72
78
73
79
AIPerf exports public-dataset provenance in `metadata.dataset`, including the Hugging Face dataset ID. InferenceX preserves that object as `dataset` on each agentic aggregate benchmark row. During benchmark ingest, `ingest-ci-run.ts` derives the dashboard slug from `hf_dataset_name` (for example, `semianalysisai/cc-traces-weka-062126` becomes `cc-traces-weka-062126`) and upserts `run_datasets` for the workflow run.
0 commit comments