chore: backup before code cleanup
Backup commit before executing remove-unused-code proposal. This includes all pending changes and new features. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -335,6 +335,14 @@ class OCRPipeline(ProcessingPipeline):
|
||||
|
||||
processing_time = time.time() - start_time
|
||||
|
||||
# Debug: Check if ocr_result has rebuild_stats
|
||||
if 'enhanced_results' in ocr_result:
|
||||
for page_result in ocr_result['enhanced_results']:
|
||||
for elem in page_result.get('elements', []):
|
||||
if elem.get('type') == 'table' or (hasattr(elem.get('type'), 'value') and elem.get('type').value == 'table'):
|
||||
has_rebuild = 'rebuild_stats' in elem
|
||||
logger.info(f"[ORCHESTRATOR] Before converter - Table {elem.get('element_id')}: has rebuild_stats={has_rebuild}")
|
||||
|
||||
# Convert to UnifiedDocument
|
||||
unified_doc = self.converter.convert(
|
||||
ocr_result,
|
||||
|
||||
Reference in New Issue
Block a user