Skip to content

agt_data / data-flow: Python agt_data_classification accepts float tiers (0.0) and pre-epoch evaluated_at timestamps #112

Closed

Description

@drk-ram

Summary

  1. agt_data_classification in src/agentrust_telemetry/adapters/agt_data.py checks isinstance(raw, (int, float)) and raw in _LEVELS, accepting float values such as 0.0 or 2.0 (0.0 in {0: "public", ...} is True in Python), whereas TypeScript agtDataClassification requires an integer.
  2. _datetime_ns in src/agentrust_telemetry/adapters/agt_data.py and timestampNs in packages/typescript/src/data-flow.ts do not reject pre-epoch (< 1970-01-01T00:00:00Z) evaluated_at timestamps (or utcoffset() is None in Python / non-object decision in TypeScript).

Activity

  1. github-actions commented on Oct 25, 2026

    @github-actions

    🟡 Contributor Check: MEDIUM

    Check Result
    Profile MEDIUM
    Credential LOW
    Overall MEDIUM

    Automated check by AgenTrust Contributor Check.

  2. added
    needs-review:MEDIUM
    on Oct 25, 2026
  3. added a commit that references this issue on Nov 18, 2026
    1785267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-review:MEDIUM

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions