data2dsl

Participant: antigravity (AI agent)

Understanding

Implement Priority 3 Quality gates & Comparator extension:

  1. Extend DeterministicComparator in src/data2dsl_comparator.py to support float and percentage values and deltas.
  2. Update src/data2dsl_contract_v0/comparison.schema.json with float/percentage value and delta definitions.
  3. Add unit test coverage in tests/test_golden_case_e2e.py.

SESSION_EXECUTION_AUTHORIZATION recorded from user request “Priorytet 3”.

Execution plan

  1. Extend _compare_values in src/data2dsl_comparator.py with float and percentage handling.
  2. Extend comparison.schema.json with floatValue, percentageValue, floatDelta, percentageDelta definitions.
  3. Add unit tests for float/percentage exact and delta comparisons in tests/test_golden_case_e2e.py.
  4. Validate with pytest and pass governance_check.py.

Actual changes

Blockers