We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e14d147 commit e0feaeaCopy full SHA for e0feaea
src/lambda/evaluation_function/index.py
@@ -120,7 +120,7 @@ def load_baseline_document(document_key: str) -> Optional[Document]:
120
)
121
122
# Check if the expected document has meaningful data
123
- if not expected_document.pages or not expected_document.sections:
+ if not expected_document.sections:
124
logger.warning(f"No baseline data found for {document_key} in {BASELINE_BUCKET} (empty document)")
125
return None
126
0 commit comments