Skip to content

๐Ÿšง GitLab CI Test: Push after pulling #70

๐Ÿšง GitLab CI Test: Push after pulling

๐Ÿšง GitLab CI Test: Push after pulling #70

GitHub Actions / Tests Results - 3.9 failed Mar 7, 2024 in 0s

Tests Results - 3.9 โŒ

Tests failed

โŒย 3.9-junit.xml

70 tests were completed in 4s with 68 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
pytest 68โœ… 1โŒ 1โšช 4s

โŒย pytest

src.dinglehopper.tests.extracted_text_test
  โœ… test_text
  โœ… test_normalization_check
  โœ… test_align
  โœ… test_textequiv[attributes0-None-None]
  โœ… test_textequiv[attributes1-0-None]
  โœ… test_textequiv[attributes2-0-None]
  โœ… test_textequiv[attributes3-0-None]
  โœ… test_textequiv[attributes4-1-None]
  โœ… test_textequiv[attributes5-0-TextEquiv without index]
  โœ… test_textequiv[attributes6-2-No index attributes, use 'conf' attribute to sort TextEquiv]
  โœ… test_textequiv[attributes7-0-TextEquiv without index]
  โœ… test_textequiv[attributes8-1-No index attributes, use 'conf' attribute to sort TextEquiv]
  โœ… test_textequiv[attributes9-0-No index attributes, use first TextEquiv]
src.dinglehopper.tests.test_align
  โœ… test_left_empty
  โœ… test_right_empty
  โœ… test_left_longer
  โœ… test_right_longer
  โœ… test_some_diff
  โœ… test_longer
  โœ… test_completely_different
  โœ… test_with_some_fake_ocr_errors
  โœ… test_lines
  โšช test_lines_similar
  โœ… test_score_hint
src.dinglehopper.tests.test_character_error_rate
  โœ… test_character_error_rate
  โœ… test_character_error_rate_hard
src.dinglehopper.tests.test_edit_distance
  โœ… test_distance
src.dinglehopper.tests.test_editops
  โœ… test_editops
  โœ… test_editops_canonically_equivalent
src.dinglehopper.tests.test_integ_align
  โœ… test_align_page_files
src.dinglehopper.tests.test_integ_bigger_texts
  โœ… test_bigger_texts
src.dinglehopper.tests.test_integ_character_error_rate_ocr
  โœ… test_character_error_rate_between_page_files
  โœ… test_character_error_rate_between_page_alto
  โœ… test_character_error_rate_between_page_alto_2
src.dinglehopper.tests.test_integ_cli_dir
  โœ… test_cli_directory
  โœ… test_cli_fail_without_gt
src.dinglehopper.tests.test_integ_cli_valid_json
  โœ… test_cli_json
  โœ… test_cli_json_cer_is_infinity
src.dinglehopper.tests.test_integ_differences
  โœ… test_cli_differences
src.dinglehopper.tests.test_integ_edit_distance_ocr
  โœ… test_distance_between_page_files
  โœ… test_distance_between_page_alto
  โœ… test_distance_between_page_alto_2
src.dinglehopper.tests.test_integ_ocrd_cli
  โœ… test_ocrd_cli
src.dinglehopper.tests.test_integ_summarize
  โœ… test_cli_summarize_json
  โœ… test_cli_summarize_html
  โœ… test_cli_summarize_html_skip_invalid
src.dinglehopper.tests.test_integ_table_extraction
  โœ… test_reading_order_settings[table-order-0001.xml-1\n2\n3\n4\n5\n6\n7\n8\n9]
  โœ… test_reading_order_settings[table-order-0002.xml-1\n4\n7\n2\n5\n8\n3\n6\n9]
  โœ… test_reading_order_settings[table-region.xml-1\n2\n3\n4\n5\n6\n7\n8\n9]
  โœ… test_reading_order_settings[table-no-reading-order.xml-5\n6\n7\n8\n9\n1\n2\n3\n4]
  โœ… test_reading_order_settings[table-unordered.xml-1\n2\n3\n4\n5\n6\n7\n8\n9]
src.dinglehopper.tests.test_integ_word_error_rate_ocr
  โœ… test_word_error_rate_between_page_files
  โœ… test_word_error_rate_between_page_alto
  โœ… test_word_error_rate_between_page_alto_2
src.dinglehopper.tests.test_ocr_files
  โœ… test_alto_namespace
  โœ… test_alto_text
  โœ… test_alto_text_ALTO1
  โœ… test_alto_text_ALTO2
  โœ… test_alto_text_ALTO3
  โœ… test_page_namespace
  โœ… test_page_test
  โœ… test_page_with_empty_region
  โœ… test_page_order
  โœ… test_page_mixed_regions
  โœ… test_page_level
  โœ… test_text
  โœ… test_plain
src.dinglehopper.tests.test_word_error_rate
  โœ… test_words
  โŒ test_words_private_use_area
	def test_words_private_use_area():
  โœ… test_word_error_rate

Annotations

Check failure on line 0 in 3.9-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.9

pytest โ–บ src.dinglehopper.tests.test_word_error_rate โ–บ test_words_private_use_area

Failed test found in:
  3.9-junit.xml
Error:
  def test_words_private_use_area():
Raw output
def test_words_private_use_area():
        result = list(
            words(
                "๎œซber die vielen Sorgen wegen de๎ฎฆelben vergaรŸ Hartkopf, "
                "der Frau Amtm๎ฌnnin das verโธ—\n"
                "ลฟpro๏”‚ene zu ๎œซberliefern."
            )
        )
        expected = [
            "๎œซber",
            "die",
            "vielen",
            "Sorgen",
            "wegen",
            "de๎ฎฆelben",
            "vergaรŸ",
            "Hartkopf",
            "der",
            "Frau",
            "Amtm๎ฌnnin",
            "das",
            "ver",
            "ลฟpro๏”‚ene",
            "zu",
            "๎œซberliefern",
        ]
>       assert result == expected
E       AssertionError: assert ['\ue72b', 'b... 'wegen', ...] == ['\ue72bber',...a6elben', ...]
E         
E         At index 0 diff: '\ue72b' != '\ue72bber'
E         Left contains 8 more items, first extra item: 'das'
E         
E         Full diff:
E           [
E         -     '\ue72bber',
E         ?            ---
E         +     '\ue72b',
E         +     'ber',
E               'die',
E               'vielen',
E               'Sorgen',
E               'wegen',
E         +     'de',
E         -     'de\ueba6elben',
E         ?      --      -----
E         +     '\ueba6',
E         +     'elben',
E               'vergaรŸ',
E               'Hartkopf',
E               'der',
E               'Frau',
E         +     'Amtm',
E         -     'Amtm\ue42cnnin',
E         ?      ----      ----
E         +     '\ue42c',
E         +     'nnin',
E               'das',
E               'ver',
E         +     'ลฟpro',
E         -     'ลฟpro\uf502ene',
E         ?      ----      ---
E         +     '\uf502',
E         +     'ene',
E               'zu',
E         +     '\ue72b',
E         -     '\ue72bberliefern',
E         ?      ------
E         +     'berliefern',
E           ]

dinglehopper/tests/test_word_error_rate.py:53: AssertionError