feat: add synthetic generator, benchmark tests, stage cache, and evaluator hardening
CI Pipeline & Git Hygiene / hygiene-and-tests (push) Canceled after 0s

This commit is contained in:
omkarande14
2026-10-06 11:30:38 +05:30
parent 673d181e68
commit 9d37e4f266
30 changed files with 2792 additions and 210 deletions
+3 -3
View File
@@ -134,7 +134,7 @@ def test_mislabeled_subtotal_grand_total_reconciliation():
# Must be corrected to 1050.0
assert fin["grand_total"] == 1050.0
def test_due_date_inference_from_credit_terms():
def test_due_date_not_synthesized_from_credit_terms():
lines = [
{"text": "Invoice Date: 10/08/2026"},
{"text": "Payment Terms: Credit 20 Days"},
@@ -149,5 +149,5 @@ def test_due_date_inference_from_credit_terms():
)
meta = res["meta"]
# 10/08/2026 + 20 days = 30/08/2026
assert meta["due_date"] == "30/08/2026"
# Due date must NOT be synthesized from credit terms; only reported when explicitly printed
assert meta["due_date"] is None