Repository navigation
Fix document evidence validation rejecting exact source quotes - #1737
Merged
Paul Lizer (paullizer) merged 2 commits intoOct 9, 2026
Merged
Paul Lizer (paullizer) merged 2 commits into
Paul Lizer (paullizer) merged 2 commits into
Conversation
Preserve literal source comments and markup without relaxing citation or completeness safeguards. Add Analyze-to-Word regressions and bump to 0.261.310. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Merge origin/paullizer-react-v2-ui, retain the exact-source validation fix, and align its version references with 0.261.314. Verified 275 relevant tests and documentation checks. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Paul Lizer (paullizer)
merged commit Oct 9, 2026
9f446ab
into
paullizer-react-v2-ui
10 checks passed
13 of 24 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Linked issue
N/A - the user requested investigation without creating a tracking issue. This addresses a different validation failure from #1733; its malformed-metadata repair remains unchanged.
Release Notes & Latest Features
Is this visible to end users?
Is this admin-facing (Admin Settings, governance, deployment, config)?
Should this become a Latest Feature card?
Screenshot needed for the card?
Version bump
application/single_app/config.pyVERSIONthird segment bumped, or not needed because this is docs-onlydeployers/version.txtbumped, or not needed becausedeployers/was not changedApplication version:
0.261.309->0.261.310. No deployer changes.Testing / validation
Offline tests ran with
PYTHONPATHincludingapplication\single_appandfunctional_tests,PYTHONDONTWRITEBYTECODE=1, andPYTHONIOENCODING=utf-8. An isolated Python 3.12 environment used repository-pinned Flask 3.1.3/Werkzeug 3.1.6 and cryptography 46.0.7 compatible with the installed pyOpenSSL 25.3.0. Shared/global packages and application dependency manifests were not changed; the temporary environment was removed afterward.python -m pytest .\functional_tests\test_document_analysis_evidence_matching.py .\functional_tests\test_document_analysis_final_results.py .\functional_tests\test_orchestration_document_derivation_reliability.py -q --tb=short --disable-warnings -p no:cacheprovider- 201 passed. Both new Word cases execute real producers, composition, rendering, durable publication and download, with two extraction calls and one composition call; no correction calls.python -m pytest .\functional_tests\test_document_analysis_work_recovery.py .\functional_tests\test_document_analysis_attempt_fences.py .\functional_tests\test_workflow_durable_analysis.py .\functional_tests\test_analyze_orchestration_saved_integration.py -q --tb=short --disable-warnings -p no:cacheprovider- 74 passed.python .\functional_tests\test_docs_app_surface_coverage.py- 7/7 checks passed, committed surface inventory current.python .\functional_tests\test_docs_site_quality.py- 6/6 checks passed.git diff --check- passed.python reproduce_analysis_validation.py --expect-fixedandpython -O reproduce_analysis_validation.py --expect-fixed- both passed. The unchanged saved responses finalize 25/25 findings against the original 20 chunks with the saved content fingerprint verified. No live model calls or Azure writes; private inputs are not committed.lib.GEN_EMAIL; the isolated environment resolved this test-only blocker.Documentation
Added
DOCUMENT_ANALYSIS_LITERAL_EVIDENCE_FIX.mdand linked the exact-first correction from the existing evidence-matching fix documentation. No new surface or capability was added. Release-note approval was offered, but the user was unavailable; release notes remain unchanged pending approval.Security checklist
@swagger_route(security=get_auth_security())sanitize_settings_for_user()No routes, frontend settings payloads or browser assets changed. Evidence location is not a claim of factual accuracy or entailment; all existing authorization and completeness boundaries remain intact.