pdftract/tests/fixtures/profiles/contract/employment-expected.json
jedarden 702306125f feat(pdftract-dtpwa): implement contract profile per Phase 7.10 schema
- Rewrite profiles/builtin/contract/profile.yaml following Phase 7.10 schema
  with match predicates, extraction tuning, and field extractors
- Create tests/fixtures/profiles/contract/ directory with 5 expected outputs
- Add comprehensive regression tests in tests/profiles/test_contract.rs
- Profile extracts: parties, effective_date, term, governing_law, signatures

Fixtures cover: NDA, employment agreement, MSA, service agreement, real estate purchase

Closes: pdftract-dtpwa

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 07:10:32 -04:00

20 lines
594 B
JSON

{
"metadata": {
"document_type": "contract",
"document_type_confidence": 0.92,
"document_type_reasons": [
"text_contains matched 'Agreement'",
"text_contains matched 'Employment'",
"structural.page_count in range [2, 200]"
],
"profile_name": "contract",
"profile_version": "1.0.0",
"profile_fields": {
"parties": ["TechCorp Inc.", "Alice Johnson"],
"effective_date": "2025-02-01",
"term": "at-will employment",
"governing_law": "State of California",
"signatures": ["Alice Johnson", "Bob HR (TechCorp)"]
}
}
}