Skip to content

feat(evaluators): add deterministic CONTRACT_OBLIGATION evaluation adapter (#192) - #217

Closed
VishAlgoDev wants to merge 1 commit into
telegraphprotocol:mainfrom
VishAlgoDev:feat/contract-obligation-evaluator-adapter-192
Closed

VishAlgoDev wants to merge 1 commit into
telegraphprotocol:mainfrom
VishAlgoDev:feat/contract-obligation-evaluator-adapter-192

Conversation

@VishAlgoDev

Copy link
Copy Markdown

Summary

Adds a deterministic evaluator adapter for \CONTRACT_OBLIGATION_AUDIT_GENERAL\ (\evaluators/contract_obligation_adapter.py) with unit test coverage (\ ests/test_contract_obligation_adapter.py) supporting Mission 04 Legal (#192).

Key Features

  1. Verdict Verification: Evaluates compliance verdict matching (\COMPLIANT, \BREACH, \DELAY_PENALTY, \HOLD_NOTICE).
  2. Statutory & Clause Citation Recall: Measures precision/recall of statutory citations (e.g. MahaRERA Section 18, FIDIC Sub-Clause 20.1 28-day notice time-bars, MSMED Act Section 16).
  3. Penalty Arithmetic Scoring: Linearly decays score based on basis-point relative error of penalty calculations against ground-truth amounts.

Fixes #192

@VishAlgoDev

Copy link
Copy Markdown
Author

Closing superseded Python evaluator adapter PR per upstream TS evaluator consolidation in PR #229. Clean live-tested truth_source YAML feeds have been submitted to Devnode EvalPool instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mission 04 — Legal — Season II

1 participant