- 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>
21 lines
697 B
JSON
21 lines
697 B
JSON
{
|
|
"metadata": {
|
|
"document_type": "contract",
|
|
"document_type_confidence": 0.97,
|
|
"document_type_reasons": [
|
|
"text_contains matched 'MASTER SERVICES AGREEMENT'",
|
|
"text_contains matched 'WHEREAS'",
|
|
"text_contains matched 'NOW THEREFORE'",
|
|
"structural.page_count in range [2, 200]"
|
|
],
|
|
"profile_name": "contract",
|
|
"profile_version": "1.0.0",
|
|
"profile_fields": {
|
|
"parties": ["Global Services Provider LLC", "Enterprise Customer Inc."],
|
|
"effective_date": "2025-01-01",
|
|
"term": "3 years with auto-renewal",
|
|
"governing_law": "State of New York",
|
|
"signatures": ["Vendor Representative", "Client Representative"]
|
|
}
|
|
}
|
|
}
|