Skip to content

Commit e0feaea

Browse files
author
Bob Strahan
committed
remove condition checking for pages since only sections is required
1 parent e14d147 commit e0feaea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambda/evaluation_function/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def load_baseline_document(document_key: str) -> Optional[Document]:
120120
)
121121

122122
# Check if the expected document has meaningful data
123-
if not expected_document.pages or not expected_document.sections:
123+
if not expected_document.sections:
124124
logger.warning(f"No baseline data found for {document_key} in {BASELINE_BUCKET} (empty document)")
125125
return None
126126

0 commit comments

Comments
 (0)