Skip to content

Commit

Permalink
Add mapping types to the example graph docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
msschwartz21 committed Dec 9, 2024
1 parent b1d32ec commit 97f57e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/examples/example_matched_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
Covers edge cases, good matchings, fn nodes, fp nodes, two to one matchings in each
direction (pred -> gt, gt -> pred), and divisions
The type of mapping e.g. one to one or one to many is annotated in the docstring
Please note that the names of the fixtures are just meant to be descriptive and may
or may not match to a particular error type as described by a set of metrics
example of how to use
@pytest.mark.parametrize("i", [0, 1, 2], ids=["0", "1", "2"])
Expand Down

1 comment on commit 97f57e1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Mean (s) BASE 369b294 Mean (s) HEAD 97f57e1 Percent Change
test_load_gt_ctc_data[2d] 5.47551 5.64531 3.1
test_load_gt_ctc_data[3d] 19.2161 19.0348 -0.94
test_load_pred_ctc_data[2d] 1.18831 1.09383 -7.95
test_ctc_checks[2d] 0.74089 0.73658 -0.58
test_ctc_checks[3d] 9.85206 10.0741 2.25
test_ctc_matcher[2d] 1.44846 1.4746 1.8
test_ctc_matcher[3d] 16.8284 16.8997 0.42
test_ctc_metrics[2d] 0.27528 0.3215 16.79
test_ctc_metrics[3d] 4.24248 4.17672 -1.55
test_iou_matcher[2d] 1.52056 1.5816 4.01
test_iou_matcher[3d] 17.7804 17.9077 0.72
test_iou_div_metrics[2d] 0.07065 0.0737 4.32
test_iou_div_metrics[3d] 0.72005 0.73658 2.3

Please sign in to comment.