uscuni / simplification

Simplification of street network geometry
Other
10 stars 0 forks source link

failing tests after #127 -- some fixable now; some have to wait #131

Open jGaboardi opened 3 months ago

jGaboardi commented 3 months ago

Following #127, we have failures due to data being updated. Some we can fix now, some we can't

FAILED core/tests/test_protocol.py::test_generate_case[original] - assert 25 == 17
FAILED core/tests/test_protocol.py::test_process_case_original[png] - matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 7.202):
    result_images/test_protocol/test_process_case_original.png
    result_images/test_protocol/test_process_case_original-expected.png
    result_images/test_protocol/test_process_case_original-failed-diff.png
FAILED core/tests/test_utils.py::test_read_original[Aleppo-86101] - assert 78908 == 86101
FAILED core/tests/test_utils.py::test_read_original[Auckland-109976] - assert 60364 == 109976
FAILED core/tests/test_utils.py::test_read_original[Bucaramanga-110074] - assert 79317 == 110074
FAILED core/tests/test_utils.py::test_read_original[Salt Lake City-110211] - assert 50917 == 110211
FAILED core/tests/test_utils.py::test_read_original[Douala-88746] - assert 84819 == 88746
FAILED core/tests/test_utils.py::test_read_original[Li\xe8ge-105174] - assert 79907 == 105174
FAILED core/tests/test_utils.py::test_read_original[Wuhan-107551] - assert 92667 == 107551
FAILED core/tests/test_utils.py::test_read_no_degree_2[Bucaramanga-23127] - assert 16302 == 23127
FAILED core/tests/test_utils.py::test_read_no_degree_2[Aleppo-46179] - assert 43233 == 46179
FAILED core/tests/test_utils.py::test_read_no_degree_2[Douala-32020] - assert 30552 == 32020
FAILED core/tests/test_utils.py::test_read_no_degree_2[Auckland-40177] - assert 12439 == 40177
FAILED core/tests/test_utils.py::test_read_no_degree_2[Li\xe8ge-28597] - assert 16554 == 28597
FAILED core/tests/test_utils.py::test_read_no_degree_2[Salt Lake City-46362] - assert 13468 == 46362
FAILED core/tests/test_utils.py::test_read_no_degree_2[Wuhan-35869] - assert 29314 == 35869
FAILED core/tests/test_common.py::TestContinuity::test_basic - AssertionError: DataFrame.iloc[:, 1] (column name="count") are different

DataFrame.iloc[:, 1] (column name="count") values are different (100.0 %)
[index]: [0, 1]
[left]:  [15306, 13291]
[right]: [8570, 7984]
FAILED core/tests/test_utils.py::test_make_grid - assert 285 == 294
FAILED core/tests/test_viz_h3_hex.py::TestVizH3HexPlotCell::test_loc_id[png] - matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 34.461):
    result_images/test_viz_h3_hex/test_viz_h3_hex_plot_cell_loc_id.png
    result_images/test_viz_h3_hex/test_viz_h3_hex_plot_cell_loc_id-expected.png
    result_images/test_viz_h3_hex/test_viz_h3_hex_plot_cell_loc_id-failed-diff.png
FAILED core/tests/test_viz_h3_hex.py::TestVizH3HexPlotCell::test_hex_id[png] - matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 9.392):
    result_images/test_viz_h3_hex/test_viz_h3_hex_plot_cell_hex_id.png
    result_images/test_viz_h3_hex/test_viz_h3_hex_plot_cell_hex_id-expected.png
    result_images/test_viz_h3_hex/test_viz_h3_hex_plot_cell_hex_id-failed-diff.png
================= 20 failed, 33 passed, 14 warnings in 49.90s ==================
jGaboardi commented 3 months ago

3 remaining XFAIL/XPASS

XFAIL core/tests/test_viz_h3_hex.py::TestVizH3HexPlotCell::test_hex_id[png] - Needs updated Manual & Parenx -- See GH#131.
XFAIL core/tests/test_viz_h3_hex.py::TestVizH3HexPlotCell::test_loc_id[png] - Needs updated Manual & Parenx -- See GH#131.
XPASS core/tests/test_viz_h3_hex.py::test_viz_h3_hex_plot_analysis[png] - Needs updated Manual & Parenx -- See GH#131.