Repository navigation
fix(agt_data,data-flow): reject float classification tiers and pre-epoch evaluated_at timestamps in Python and TypeScript (#112) - #117
Open
drk-ram wants to merge 1 commit into
Conversation
|
🟡 Contributor Check: MEDIUM
Automated check by AgenTrust Contributor Check. |
…och evaluated_at timestamps in Python and TypeScript (agentrust-io#112) Signed-off-by: Raghuvar Karthik Durga <177662415+drk-ram@users.noreply.github.com>
drk-ram
force-pushed
the
drk-ram-fix-agt-data-112
branch
from
October 29, 2026 17:14
31c4c44 to
ee02e48
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #112
Summary
type(raw) is int and raw in _LEVELSinsrc/agentrust_telemetry/adapters/agt_data.pyso float values such as0.0or2.0are rejected (matching TypeScriptNumber.isInteger).< 1970-01-01T00:00:00Z)evaluated_attimestamps in both Python (_datetime_ns) and TypeScript (timestampNsinpackages/typescript/src/data-flow.ts), and validatedecisionis a plain object in TypeScriptagtDataAccessFlow.tests/test_agt_adapter.pyandpackages/typescript/test/data-flow.test.ts.Validation
pytest tests/test_agt_adapter.py -q— passed (7 passed)