Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docling_eval/evaluators/table_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@ def __call__(
):
data_record = DatasetRecordWithPrediction.model_validate(data)
doc_id = data_record.doc_id

if data_record.status not in self._accepted_status:
_log.error(
"Skipping record without successfull conversion status: %s", doc_id
)
rejected_samples[EvaluationRejectionType.INVALID_CONVERSION_STATUS] += 1
continue

gt_doc = data_record.ground_truth_doc
pred_doc = self._get_pred_doc(data_record)
if not pred_doc:
Expand Down
Loading