fix: preserve review field page positions in platform

This commit is contained in:
wren
2026-05-06 16:29:39 +08:00
parent c4694e11f0
commit 0b76dce2a5
3 changed files with 623 additions and 8 deletions
@@ -107,6 +107,7 @@ class NativeRunner:
await self.storage.save_extraction_result(
document_id,
ctx.extraction,
ocr_result=ctx.normalized_doc,
run_id=run_id,
)
if ctx.evaluation is not None and ctx.rules_file is not None and ctx.extraction is not None:
@@ -115,6 +116,7 @@ class NativeRunner:
ctx.rules_file,
ctx.evaluation,
ctx.extraction,
ocr_result=ctx.normalized_doc,
run_id=run_id,
rule_version_id=result.metadata.rule_version_id,
)