Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2db0192
fix(agentx): role-aware, window-scoped ATOM cache rates with validity…
chunfangamd Oct 13, 2026
f3bf3fb
chore(merge): integrate origin/main into the ATOM cache accounting fix
chunfangamd Oct 14, 2026
0fda3f1
fix(agentx): gate ATOM cache pricing on profiling errors only
chunfangamd Oct 14, 2026
0842d82
style(agentx): trim this PR's comments to the AGENTS.md comment rules
chunfangamd Oct 14, 2026
b10af71
fix(agentx): phase-validity guard and counter-based TRT-LLM cache rate
chunfangamd Oct 16, 2026
73c40bd
Merge branch 'main' into chun/fix-atom-kv-cache-accounting
chunfangamd Oct 20, 2026
ead8f93
Merge branch 'chun/fix-atom-kv-cache-accounting' into chun/agentx-pha…
chunfangamd Oct 20, 2026
ce8d1fa
merge: migrate shared cache validity and TRT onto ATOM compatibility
chunfangamd Oct 22, 2026
4a8d8da
merge: include ATOM endpoint coverage compatibility
chunfangamd Oct 22, 2026
52c34f6
test(results): remove duplicate validity cases and history labels
chunfangamd Oct 22, 2026
51fe82a
fix(agentx): align prompt totals and validate TRT source telemetry
chunfangamd Oct 22, 2026
ba6ee21
Merge commit '8ae6ebeaee501102f5e19ab45485be03a28b57eb' of /home/chun…
chunfangamd Oct 22, 2026
75d40e3
fix(agentx): require complete profiling prompt totals on every export…
chunfangamd Oct 22, 2026
1b4d4e2
fix(agentx): keep explicit invalid TRT roles unresolved
chunfangamd Oct 22, 2026
362265a
fix(agentx): preserve typed frontend totals and separate changed scopes
chunfangamd Oct 22, 2026
20217c7
refactor(agentx): narrow TRT validation to profiling counter pairs
chunfangamd Oct 22, 2026
7c4972b
Merge minimal ATOM qualification into TRT counter fix
chunfangamd Oct 22, 2026
9536ca9
Merge final modern ATOM regression coverage
chunfangamd Oct 22, 2026
6022799
fix(agentx): reject explicit TRT non-worker components
chunfangamd Oct 22, 2026
cbb1790
fix(agentx): treat malformed frontend totals as unknown
chunfangamd Oct 22, 2026
0a0e364
fix(results): preserve valid prompt fallbacks and TRT alias domains
chunfangamd Oct 25, 2026
56c3027
Merge updated ATOM qualification predecessor
chunfangamd Oct 25, 2026
9b89aa4
Merge current ATOM qualification predecessor
chunfangamd Oct 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions inferencex-e2e/infx/results/agentic/backends/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from __future__ import annotations

import math
from collections.abc import Iterable
from typing import Any

Expand Down Expand Up @@ -99,6 +100,15 @@ def empty_server_metrics(present: bool, metric_count: int) -> dict[str, Any]:
},
},
"sources": [],
"validity": {
"deployment": {"disaggregated": None},
"cache_rate": {
"status": "NOT_EVALUATED",
"published": False,
"eligible_exact_actual": False,
"reasons": ["adapter_does_not_assess_cache_rate"],
},
},
}


Expand All @@ -114,8 +124,8 @@ def apply_profile_totals(flat: dict[str, Any], records: list[dict[str, Any]]) ->


def counter_int(value: float | None) -> int | None:
"""Round a counter ``value`` to an int, keeping None."""
if value is None:
"""Round a finite counter to an int, keeping unavailable values None."""
if value is None or not math.isfinite(value):
return None
return round(value)

Expand All @@ -132,6 +142,6 @@ def _record_token_sum(records: list[dict[str, Any]], metric_name: str) -> int |
try:
total += int(value)
found = True
except (TypeError, ValueError):
except (TypeError, ValueError, OverflowError):
continue
return total if found else None
Loading
Loading