fix: explain IVA query conditions and distinguish integration failures
This commit is contained in:
@@ -1179,5 +1179,57 @@
|
||||
"calculations_exporters_repeated": false
|
||||
},
|
||||
"remaining": []
|
||||
},
|
||||
"iva_query_diagnostic_qa_20261021": {
|
||||
"recorded_utc": "2026-10-21T11:35:00.737064+00:00",
|
||||
"scope": "QA only, parameter-query diagnosis; no calculation/export retest, no destination writes",
|
||||
"reported_surface": "Componentes fiscais e contributivas, IVA_GENERAL_RATE, annual 2026-01-01 to2026-12-31, indeterminate_context",
|
||||
"confirmed_origin": "Implementation integration gap: query sent fiscal_operation and no currency/operation, whereas the published IVA parameter requires operation=internal_general_net and currency=MZN. Resolver collapsed every mismatch to indeterminate_context and UI blamed responses without individual evidence.",
|
||||
"original_answers_known": "Only the period/component/message were provided. No original currency or operation is asserted; USD/domestic are explicit directed QA cases, not inferred original answers.",
|
||||
"diagnostic_categories": [
|
||||
"missing_field",
|
||||
"invalid_value",
|
||||
"out_of_scope",
|
||||
"period_unavailable",
|
||||
"system_configuration"
|
||||
],
|
||||
"changes": [
|
||||
"Server projects each failed criterion, field, received value, expected criterion, source and exact rule version; no expression projection",
|
||||
"Explicit fiscal_currency answer for IVA query, persisted and recovered; no copy/conversion from budget or IVA-base currency",
|
||||
"Generic domestic is never silently equated to internal_general_net; integration limitation is explained and links to explicit IVA form",
|
||||
"Inline notes plus summary links, human IVA — taxa geral label and Ver fundamento disclosure",
|
||||
"Period diagnostic can inspect published candidates outside queried period under existing visibility policy; selection/calculation eligibility unchanged",
|
||||
"No eligible visible candidate remains explicitly uncertain; no invented input fault"
|
||||
],
|
||||
"verification": {
|
||||
"new_unit_tests": 5,
|
||||
"new_unit_assertions": 24,
|
||||
"targeted_api_tests": 1,
|
||||
"targeted_api_assertions": 16,
|
||||
"existing_resolver_regression_tests": 7,
|
||||
"existing_resolver_regression_assertions": 25,
|
||||
"typescript": "passed",
|
||||
"build": "passed, exit0",
|
||||
"pint": "passed",
|
||||
"edge": "Normal simulator query, annual2026; missing currency then explicitly chosen USD; inline/summary linked fields focused; source/version disclosure; USD and generic operation preserved after save/recovery; internal code and expression absent from query text",
|
||||
"no_simulation_created_by_api_diagnostic": true
|
||||
},
|
||||
"qa_fixture": {
|
||||
"rule_version": 3,
|
||||
"state_after_proof": "suspended",
|
||||
"consumer_enabled": false,
|
||||
"database": "simulator_fiscal_delta_20261021_test",
|
||||
"imported_into_homologation": false
|
||||
},
|
||||
"test_database": "simulator_fiscal_checks_20261021_test, existing QA schema correction applied before targeted API test; isolated guard preserved",
|
||||
"proofs": [
|
||||
"outputs/simulator-continuation-20261020/iva-diagnostic-api-test.txt",
|
||||
"outputs/simulator-continuation-20261020/iva-diagnostic-summary.txt",
|
||||
"outputs/simulator-continuation-20261020/iva-diagnostic-summary.png",
|
||||
"outputs/simulator-continuation-20261020/iva-diagnostic-build-final.txt"
|
||||
],
|
||||
"main_integrated": false,
|
||||
"homologation_rule_changed": false,
|
||||
"legal_coverage_expanded": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user