diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/config/0e7e72647775333761a724f0c55247849b01753f51df2a4089535c30867eaedd/config.yaml b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/config/0e7e72647775333761a724f0c55247849b01753f51df2a4089535c30867eaedd/config.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..e21b5564f52bcb62a4001e5ffd8b0482877c0cce
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/config/0e7e72647775333761a724f0c55247849b01753f51df2a4089535c30867eaedd/config.yaml
@@ -0,0 +1,43 @@
+{
+ "candidate_extraction_executed": false,
+ "conditions": {
+ "S0": "S0_n256_r0_t20_s0",
+ "S2": "S2_n256_r0.25_t20_s0",
+ "S3": "S3_n256_r0.25_t20_s0"
+ },
+ "device": "cpu",
+ "frames": [
+ 0,
+ 120
+ ],
+ "gpu_executed": false,
+ "gt_diagnostic_only": true,
+ "input_sha256": {
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/data/step2/ep000.npz": "22ad72d776057da9ed5f85014cba47b4603e421623f29763c88edb159a5087ba",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/data/step2/segmentation_id_map.json": "ffd4cf9c568b4d3ef2cec161e22c9a49b78212ae0b43c43d763d1fa4bb1f0027",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/runtime_tracking/ep000/masks.npz": "6bf9555a9c97c83a09d9733e582e9c4b9509f95e9dd06854ba05d3ac25fb7042",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/runtime_tracking/ep000/tracking.json": "b78ba6064a610b77d8761e4d81fcff4660f1b5120854ec224c88b1e01017f40f",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/comparison.json": "a88035aa821b879f1e6b87cf5b477af13f0d5858568ca0efa7c26c364894e94c",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0000_metrics.json": "6df34b94fa8e513d8872c3259bfe5a3d60b5718875b80d1715e5f8b6522ebbe8",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0000_samples.npz": "9f6d46356212bc43bd29ceb6df34c1a96ea70b3879f0bb4da2c6ccae535dd058",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0120_metrics.json": "09a44ca8b5b91979adeca89c97aca7608cad57ac34c4796c4a7e12a92bec3207",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0120_samples.npz": "45330d9089dcc0fed13f31d8f7b2c167b8de9391ac72dcb3f741075825500e76"
+ },
+ "normal_estimation_executed": false,
+ "numpy": "2.4.6",
+ "phase": 1,
+ "python": "3.11.13",
+ "sampler_executed": false,
+ "source_directory": "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f",
+ "source_run_id": "2551448b0fae4c6bbce3caf48774275f",
+ "source_sha256": {
+ "visual/runtime/test/run_rim_bottleneck.py": "8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3",
+ "visual/runtime/test/sampling_evaluation.py": "daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b",
+ "visual/runtime/test/test_sampling_evaluation.py": "8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd"
+ },
+ "task": "03-D",
+ "tolerance_px_m": [
+ 2.0,
+ 0.003
+ ]
+}
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/1d2fd5719d0b9828c07dde87543c0468afc2d6e59d3c092ff337d735d9559d9f/visualizations_verification.json b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/1d2fd5719d0b9828c07dde87543c0468afc2d6e59d3c092ff337d735d9559d9f/visualizations_verification.json
new file mode 100644
index 0000000000000000000000000000000000000000..2945c32d4e5c955a6a52c58a8f1e87afd7274bc7
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/1d2fd5719d0b9828c07dde87543c0468afc2d6e59d3c092ff337d735d9559d9f/visualizations_verification.json
@@ -0,0 +1,34 @@
+{
+ "all_stage_matched_node_counts_exact": true,
+ "all_stage_node_counts_exact": true,
+ "display_coordinates": "source raster UV + 0.5 onto original RGB pixel centres",
+ "external_dependencies": [],
+ "fps_executed": false,
+ "frames": [
+ 0,
+ 120
+ ],
+ "geometry_and_saved_reference_ids_exact": true,
+ "html_bytes": 1164642,
+ "html_sha256": "9850f748895cb1decc1bb5ad67a951ac61df8cd5d5aff39bc79faf06b933c0da",
+ "input_sha256": {
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/experiments/d3f14ee494894daabb8ba2fab8e1b00c/analysis.txt": "70742cb85640c3ab9a3441dcabbcb62bbce4b887dc5858890ec0c2054a0149b1",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/experiments/d3f14ee494894daabb8ba2fab8e1b00c/diagnostic.json": "2a0346704763e2a5aca9ef3d52913699ced651501b031a8b1a49c57e6dcdfcff",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/experiments/d3f14ee494894daabb8ba2fab8e1b00c/verification.json": "321688fc4ef49d0d4bade2c35bbeae0bd823e11c075fe2b8a8bc0c7bd2057341",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/data/step2/ep000.npz": "22ad72d776057da9ed5f85014cba47b4603e421623f29763c88edb159a5087ba",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/data/step2/segmentation_id_map.json": "ffd4cf9c568b4d3ef2cec161e22c9a49b78212ae0b43c43d763d1fa4bb1f0027",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/runtime_tracking/ep000/masks.npz": "6bf9555a9c97c83a09d9733e582e9c4b9509f95e9dd06854ba05d3ac25fb7042",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/runtime_tracking/ep000/tracking.json": "b78ba6064a610b77d8761e4d81fcff4660f1b5120854ec224c88b1e01017f40f",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/comparison.json": "a88035aa821b879f1e6b87cf5b477af13f0d5858568ca0efa7c26c364894e94c",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0000_metrics.json": "6df34b94fa8e513d8872c3259bfe5a3d60b5718875b80d1715e5f8b6522ebbe8",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0000_samples.npz": "9f6d46356212bc43bd29ceb6df34c1a96ea70b3879f0bb4da2c6ccae535dd058",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0120_metrics.json": "09a44ca8b5b91979adeca89c97aca7608cad57ac34c4796c4a7e12a92bec3207",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0120_samples.npz": "45330d9089dcc0fed13f31d8f7b2c167b8de9391ac72dcb3f741075825500e76"
+ },
+ "normal_estimation_executed": false,
+ "original_inputs_unchanged": true,
+ "renderer": "build_visualizations.py",
+ "run_id": "d3f14ee494894daabb8ba2fab8e1b00c",
+ "sampler_executed": false,
+ "source_run_id": "2551448b0fae4c6bbce3caf48774275f"
+}
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/70a7c74709bce2a757c1512e415829cb3b676714cad85267d7c1b1eb836535d6/metrics.json b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/70a7c74709bce2a757c1512e415829cb3b676714cad85267d7c1b1eb836535d6/metrics.json
new file mode 100644
index 0000000000000000000000000000000000000000..b8bfd5b55567be5f462c3da7d6c9aa3f5ee39a97
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/70a7c74709bce2a757c1512e415829cb3b676714cad85267d7c1b1eb836535d6/metrics.json
@@ -0,0 +1,92 @@
+[
+ {
+ "metrics": {
+ "eval/task03d/S0/final_retention/denominator": 103,
+ "eval/task03d/S0/final_retention/numerator": 6,
+ "eval/task03d/S0/final_retention/value": 0.05825242718446602,
+ "eval/task03d/S0/observation/denominator": 103,
+ "eval/task03d/S0/observation/numerator": 103,
+ "eval/task03d/S0/observation/value": 1.0,
+ "eval/task03d/S0/surface/denominator": 103,
+ "eval/task03d/S0/surface/numerator": 6,
+ "eval/task03d/S0/surface/value": 0.05825242718446602,
+ "eval/task03d/S2/candidate/denominator": 103,
+ "eval/task03d/S2/candidate/numerator": 57,
+ "eval/task03d/S2/candidate/value": 0.5533980582524272,
+ "eval/task03d/S2/final_retention/denominator": 103,
+ "eval/task03d/S2/final_retention/numerator": 16,
+ "eval/task03d/S2/final_retention/value": 0.1553398058252427,
+ "eval/task03d/S2/observation/denominator": 103,
+ "eval/task03d/S2/observation/numerator": 103,
+ "eval/task03d/S2/observation/value": 1.0,
+ "eval/task03d/S2/priority/denominator": 103,
+ "eval/task03d/S2/priority/numerator": 13,
+ "eval/task03d/S2/priority/value": 0.1262135922330097,
+ "eval/task03d/S2/surface/denominator": 103,
+ "eval/task03d/S2/surface/numerator": 3,
+ "eval/task03d/S2/surface/value": 0.02912621359223301,
+ "eval/task03d/S3/candidate/denominator": 103,
+ "eval/task03d/S3/candidate/numerator": 91,
+ "eval/task03d/S3/candidate/value": 0.883495145631068,
+ "eval/task03d/S3/final_retention/denominator": 103,
+ "eval/task03d/S3/final_retention/numerator": 3,
+ "eval/task03d/S3/final_retention/value": 0.02912621359223301,
+ "eval/task03d/S3/observation/denominator": 103,
+ "eval/task03d/S3/observation/numerator": 103,
+ "eval/task03d/S3/observation/value": 1.0,
+ "eval/task03d/S3/priority/denominator": 103,
+ "eval/task03d/S3/priority/numerator": 3,
+ "eval/task03d/S3/priority/value": 0.02912621359223301,
+ "eval/task03d/S3/surface/denominator": 103,
+ "eval/task03d/S3/surface/numerator": 0,
+ "eval/task03d/S3/surface/value": 0.0
+ },
+ "run_id": "d3f14ee494894daabb8ba2fab8e1b00c",
+ "step": 0
+ },
+ {
+ "metrics": {
+ "eval/task03d/S0/final_retention/denominator": 8,
+ "eval/task03d/S0/final_retention/numerator": 3,
+ "eval/task03d/S0/final_retention/value": 0.375,
+ "eval/task03d/S0/observation/denominator": 41,
+ "eval/task03d/S0/observation/numerator": 8,
+ "eval/task03d/S0/observation/value": 0.1951219512195122,
+ "eval/task03d/S0/surface/denominator": 8,
+ "eval/task03d/S0/surface/numerator": 3,
+ "eval/task03d/S0/surface/value": 0.375,
+ "eval/task03d/S2/candidate/denominator": 8,
+ "eval/task03d/S2/candidate/numerator": 0,
+ "eval/task03d/S2/candidate/value": 0.0,
+ "eval/task03d/S2/final_retention/denominator": 8,
+ "eval/task03d/S2/final_retention/numerator": 0,
+ "eval/task03d/S2/final_retention/value": 0.0,
+ "eval/task03d/S2/observation/denominator": 41,
+ "eval/task03d/S2/observation/numerator": 8,
+ "eval/task03d/S2/observation/value": 0.1951219512195122,
+ "eval/task03d/S2/priority/denominator": 8,
+ "eval/task03d/S2/priority/numerator": 0,
+ "eval/task03d/S2/priority/value": 0.0,
+ "eval/task03d/S2/surface/denominator": 8,
+ "eval/task03d/S2/surface/numerator": 0,
+ "eval/task03d/S2/surface/value": 0.0,
+ "eval/task03d/S3/candidate/denominator": 8,
+ "eval/task03d/S3/candidate/numerator": 0,
+ "eval/task03d/S3/candidate/value": 0.0,
+ "eval/task03d/S3/final_retention/denominator": 8,
+ "eval/task03d/S3/final_retention/numerator": 2,
+ "eval/task03d/S3/final_retention/value": 0.25,
+ "eval/task03d/S3/observation/denominator": 41,
+ "eval/task03d/S3/observation/numerator": 8,
+ "eval/task03d/S3/observation/value": 0.1951219512195122,
+ "eval/task03d/S3/priority/denominator": 8,
+ "eval/task03d/S3/priority/numerator": 0,
+ "eval/task03d/S3/priority/value": 0.0,
+ "eval/task03d/S3/surface/denominator": 8,
+ "eval/task03d/S3/surface/numerator": 2,
+ "eval/task03d/S3/surface/value": 0.25
+ },
+ "run_id": "d3f14ee494894daabb8ba2fab8e1b00c",
+ "step": 120
+ }
+]
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/857eec6078322285809c0322622eca4059e5be4d5d088bbb62e68a7ef6714796/diagnostic.json b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/857eec6078322285809c0322622eca4059e5be4d5d088bbb62e68a7ef6714796/diagnostic.json
new file mode 100644
index 0000000000000000000000000000000000000000..311fd5f56955f6d36dcdd705d35547b17181abf1
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/857eec6078322285809c0322622eca4059e5be4d5d088bbb62e68a7ef6714796/diagnostic.json
@@ -0,0 +1,6795 @@
+{
+ "config": {
+ "candidate_extraction_executed": false,
+ "conditions": {
+ "S0": "S0_n256_r0_t20_s0",
+ "S2": "S2_n256_r0.25_t20_s0",
+ "S3": "S3_n256_r0.25_t20_s0"
+ },
+ "device": "cpu",
+ "frames": [
+ 0,
+ 120
+ ],
+ "gpu_executed": false,
+ "gt_diagnostic_only": true,
+ "input_sha256": {
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/data/step2/ep000.npz": "22ad72d776057da9ed5f85014cba47b4603e421623f29763c88edb159a5087ba",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/data/step2/segmentation_id_map.json": "ffd4cf9c568b4d3ef2cec161e22c9a49b78212ae0b43c43d763d1fa4bb1f0027",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/runtime_tracking/ep000/masks.npz": "6bf9555a9c97c83a09d9733e582e9c4b9509f95e9dd06854ba05d3ac25fb7042",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/runtime_tracking/ep000/tracking.json": "b78ba6064a610b77d8761e4d81fcff4660f1b5120854ec224c88b1e01017f40f",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/comparison.json": "a88035aa821b879f1e6b87cf5b477af13f0d5858568ca0efa7c26c364894e94c",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0000_metrics.json": "6df34b94fa8e513d8872c3259bfe5a3d60b5718875b80d1715e5f8b6522ebbe8",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0000_samples.npz": "9f6d46356212bc43bd29ceb6df34c1a96ea70b3879f0bb4da2c6ccae535dd058",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0120_metrics.json": "09a44ca8b5b91979adeca89c97aca7608cad57ac34c4796c4a7e12a92bec3207",
+ "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f/f0120_samples.npz": "45330d9089dcc0fed13f31d8f7b2c167b8de9391ac72dcb3f741075825500e76"
+ },
+ "normal_estimation_executed": false,
+ "numpy": "2.4.6",
+ "phase": 1,
+ "python": "3.11.13",
+ "sampler_executed": false,
+ "source_directory": "/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/visual/results/sampling/2551448b0fae4c6bbce3caf48774275f",
+ "source_run_id": "2551448b0fae4c6bbce3caf48774275f",
+ "source_sha256": {
+ "visual/runtime/test/run_rim_bottleneck.py": "8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3",
+ "visual/runtime/test/sampling_evaluation.py": "daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b",
+ "visual/runtime/test/test_sampling_evaluation.py": "8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd"
+ },
+ "task": "03-D",
+ "tolerance_px_m": [
+ 2.0,
+ 0.003
+ ]
+ },
+ "frames": [
+ {
+ "S2_vs_S3": {
+ "C": {
+ "S2_only": {
+ "count": 1,
+ "reference_ids": [
+ 24
+ ]
+ },
+ "S3_only": {
+ "count": 35,
+ "reference_ids": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 47,
+ 49,
+ 51,
+ 53,
+ 55,
+ 57,
+ 59,
+ 61,
+ 63,
+ 65,
+ 67,
+ 70,
+ 72
+ ]
+ },
+ "intersection": {
+ "count": 56,
+ "reference_ids": [
+ 23,
+ 25,
+ 26,
+ 28,
+ 30,
+ 32,
+ 34,
+ 36,
+ 38,
+ 40,
+ 42,
+ 44,
+ 46,
+ 48,
+ 50,
+ 52,
+ 54,
+ 56,
+ 58,
+ 60,
+ 62,
+ 64,
+ 66,
+ 68,
+ 69,
+ 71,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ }
+ },
+ "F": {
+ "S2_only": {
+ "count": 16,
+ "reference_ids": [
+ 37,
+ 39,
+ 41,
+ 46,
+ 48,
+ 50,
+ 64,
+ 66,
+ 68,
+ 69,
+ 83,
+ 84,
+ 85,
+ 96,
+ 97,
+ 98
+ ]
+ },
+ "S3_only": {
+ "count": 3,
+ "reference_ids": [
+ 3,
+ 4,
+ 5
+ ]
+ },
+ "intersection": {
+ "count": 0,
+ "reference_ids": []
+ }
+ },
+ "P": {
+ "S2_only": {
+ "count": 13,
+ "reference_ids": [
+ 46,
+ 48,
+ 50,
+ 64,
+ 66,
+ 68,
+ 69,
+ 83,
+ 84,
+ 85,
+ 96,
+ 97,
+ 98
+ ]
+ },
+ "S3_only": {
+ "count": 3,
+ "reference_ids": [
+ 3,
+ 4,
+ 5
+ ]
+ },
+ "intersection": {
+ "count": 0,
+ "reference_ids": []
+ }
+ }
+ },
+ "alignment": {
+ "S0": {
+ "max_abs_xyz_error_m": 0.0,
+ "raster_and_object_support": true,
+ "selected_nodes": 256,
+ "source_frame": 0,
+ "xyz_exact": true
+ },
+ "S2": {
+ "max_abs_xyz_error_m": 0.0,
+ "raster_and_object_support": true,
+ "selected_nodes": 256,
+ "source_frame": 0,
+ "xyz_exact": true
+ },
+ "S3": {
+ "max_abs_xyz_error_m": 0.0,
+ "raster_and_object_support": true,
+ "selected_nodes": 256,
+ "source_frame": 0,
+ "xyz_exact": true
+ }
+ },
+ "conditions": {
+ "S0": {
+ "allocation": {
+ "box": {
+ "budget": 127,
+ "candidates": 599,
+ "depth_priority": 0,
+ "observed": 11665,
+ "orientation_priority": 0,
+ "priority": 0,
+ "selected": 127,
+ "selected_candidates": 21,
+ "surface_fps": 127
+ },
+ "peg": {
+ "budget": 129,
+ "candidates": 703,
+ "depth_priority": 0,
+ "observed": 11780,
+ "orientation_priority": 0,
+ "priority": 0,
+ "selected": 129,
+ "selected_candidates": 8,
+ "surface_fps": 129
+ }
+ },
+ "condition": "S0_n256_r0_t20_s0",
+ "control": "General FPS; C/P not applicable",
+ "coverage": {
+ "candidate": null,
+ "final_retention": {
+ "denominator": 103,
+ "numerator": 6,
+ "value": 0.05825242718446602
+ },
+ "observation": {
+ "denominator": 103,
+ "numerator": 103,
+ "value": 1.0
+ },
+ "priority": null,
+ "surface": {
+ "denominator": 103,
+ "numerator": 6,
+ "value": 0.05825242718446602
+ }
+ },
+ "depth_band_bounds_m": {
+ "median": 0.4959999918937683,
+ "p95": 0.5350000262260437
+ },
+ "depth_m": {
+ "C": null,
+ "F": {
+ "count": 127,
+ "max": 30.72599983215332,
+ "median": 0.5239999890327454,
+ "min": 0.29600000381469727,
+ "p95": 8.430999755859375
+ },
+ "P": null,
+ "S": {
+ "count": 127,
+ "max": 30.72599983215332,
+ "median": 0.5239999890327454,
+ "min": 0.29600000381469727,
+ "p95": 8.430999755859375
+ },
+ "X": {
+ "count": 11665,
+ "max": 30.72599983215332,
+ "median": 0.4959999918937683,
+ "min": 0.29499998688697815,
+ "p95": 0.5350000262260437
+ }
+ },
+ "depth_quantile_occupancy": {
+ "C": null,
+ "F": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 127,
+ "numerator": 33,
+ "value": 0.25984251968503935
+ },
+ "z_gt_X_p95": {
+ "denominator": 127,
+ "numerator": 57,
+ "value": 0.44881889763779526
+ },
+ "z_le_X_median": {
+ "denominator": 127,
+ "numerator": 37,
+ "value": 0.29133858267716534
+ }
+ },
+ "P": null,
+ "S": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 127,
+ "numerator": 33,
+ "value": 0.25984251968503935
+ },
+ "z_gt_X_p95": {
+ "denominator": 127,
+ "numerator": 57,
+ "value": 0.44881889763779526
+ },
+ "z_le_X_median": {
+ "denominator": 127,
+ "numerator": 37,
+ "value": 0.29133858267716534
+ }
+ },
+ "X": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 11665,
+ "numerator": 5145,
+ "value": 0.4410630090012859
+ },
+ "z_gt_X_p95": {
+ "denominator": 11665,
+ "numerator": 562,
+ "value": 0.04817831118731247
+ },
+ "z_le_X_median": {
+ "denominator": 11665,
+ "numerator": 5958,
+ "value": 0.5107586798114017
+ }
+ }
+ },
+ "differences": {
+ "C_minus_F": null,
+ "C_minus_P": null,
+ "C_minus_P_intersect_S": null,
+ "O_minus_C": null,
+ "O_minus_F": {
+ "count": 97,
+ "reference_ids": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 75,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "P_intersect_S": null,
+ "S_minus_C": null,
+ "S_minus_P": null,
+ "V_minus_O": {
+ "count": 0,
+ "reference_ids": []
+ }
+ },
+ "gt_final_coverage": {
+ "denominator": 103,
+ "numerator": 6,
+ "value": 0.05825242718446602
+ },
+ "negative_roi": {
+ "contamination": {
+ "C": null,
+ "F": {
+ "count": 21,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 21,
+ "value": 0.043568464730290454
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 21,
+ "value": 0.16535433070866143
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 21,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 21,
+ "value": 0.043568464730290454
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 21,
+ "value": 0.16535433070866143
+ }
+ },
+ "X": {
+ "count": 482,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 482,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 482,
+ "value": 0.041320188598371194
+ }
+ }
+ },
+ "invalid_depth_2px": {
+ "C": null,
+ "F": {
+ "count": 6,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 6,
+ "value": 0.02027027027027027
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 6,
+ "value": 0.047244094488188976
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 6,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 6,
+ "value": 0.02027027027027027
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 6,
+ "value": 0.047244094488188976
+ }
+ },
+ "X": {
+ "count": 296,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 296,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 296,
+ "value": 0.025375053579082728
+ }
+ }
+ },
+ "known_negative_union": {
+ "C": null,
+ "F": {
+ "count": 82,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 82,
+ "value": 0.007805063773082048
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 82,
+ "value": 0.6456692913385826
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 82,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 82,
+ "value": 0.007805063773082048
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 82,
+ "value": 0.6456692913385826
+ }
+ },
+ "X": {
+ "count": 10506,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 10506,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 10506,
+ "value": 0.9006429489927132
+ }
+ }
+ },
+ "occlusion_2px": {
+ "C": null,
+ "F": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 5,
+ "value": 0.00980392156862745
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 5,
+ "value": 0.03937007874015748
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 5,
+ "value": 0.00980392156862745
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 5,
+ "value": 0.03937007874015748
+ }
+ },
+ "X": {
+ "count": 510,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 510,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 510,
+ "value": 0.04372053150450064
+ }
+ }
+ },
+ "plane_interior": {
+ "C": null,
+ "F": {
+ "count": 38,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 38,
+ "value": 0.0045308215094789555
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 38,
+ "value": 0.2992125984251969
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 38,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 38,
+ "value": 0.0045308215094789555
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 38,
+ "value": 0.2992125984251969
+ }
+ },
+ "X": {
+ "count": 8387,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 8387,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 8387,
+ "value": 0.7189884269181311
+ }
+ }
+ },
+ "robot_occlusion_2px": {
+ "C": null,
+ "F": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 5,
+ "value": 0.00980392156862745
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 5,
+ "value": 0.03937007874015748
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 5,
+ "value": 0.00980392156862745
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 5,
+ "value": 0.03937007874015748
+ }
+ },
+ "X": {
+ "count": 510,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 510,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 510,
+ "value": 0.04372053150450064
+ }
+ }
+ },
+ "same_plane_tracker_cut_2px": {
+ "C": null,
+ "F": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 5,
+ "value": 0.052083333333333336
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 5,
+ "value": 0.03937007874015748
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 5,
+ "value": 0.052083333333333336
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 5,
+ "value": 0.03937007874015748
+ }
+ },
+ "X": {
+ "count": 96,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 96,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 96,
+ "value": 0.008229747106729532
+ }
+ }
+ },
+ "silhouette_2px": {
+ "C": null,
+ "F": {
+ "count": 19,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 19,
+ "value": 0.01632302405498282
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 19,
+ "value": 0.14960629921259844
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 19,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 19,
+ "value": 0.01632302405498282
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 19,
+ "value": 0.14960629921259844
+ }
+ },
+ "X": {
+ "count": 1164,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 1164,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 1164,
+ "value": 0.09978568366909558
+ }
+ }
+ }
+ },
+ "original_frame_coverage_exact": true,
+ "reference_ids": {
+ "C": null,
+ "F": [
+ 19,
+ 20,
+ 21,
+ 74,
+ 76,
+ 87
+ ],
+ "O": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "P": null,
+ "S": [
+ 19,
+ 20,
+ 21,
+ 74,
+ 76,
+ 87
+ ],
+ "V": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "X": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "stages": {
+ "C": null,
+ "F": {
+ "matched_node_count": 2,
+ "node_count": 127,
+ "unique_reference_count": 6
+ },
+ "P": null,
+ "S": {
+ "matched_node_count": 2,
+ "node_count": 127,
+ "unique_reference_count": 6
+ },
+ "X": {
+ "matched_node_count": 153,
+ "node_count": 11665,
+ "unique_reference_count": 103
+ }
+ }
+ },
+ "S2": {
+ "allocation": {
+ "box": {
+ "budget": 127,
+ "candidates": 297,
+ "depth_priority": 0,
+ "observed": 11665,
+ "orientation_priority": 32,
+ "priority": 32,
+ "selected": 127,
+ "selected_candidates": 32,
+ "surface_fps": 95
+ },
+ "peg": {
+ "budget": 129,
+ "candidates": 870,
+ "depth_priority": 0,
+ "observed": 11780,
+ "orientation_priority": 32,
+ "priority": 32,
+ "selected": 129,
+ "selected_candidates": 32,
+ "surface_fps": 97
+ }
+ },
+ "condition": "S2_n256_r0.25_t20_s0",
+ "control": null,
+ "coverage": {
+ "candidate": {
+ "denominator": 103,
+ "numerator": 57,
+ "value": 0.5533980582524272
+ },
+ "final_retention": {
+ "denominator": 103,
+ "numerator": 16,
+ "value": 0.1553398058252427
+ },
+ "observation": {
+ "denominator": 103,
+ "numerator": 103,
+ "value": 1.0
+ },
+ "priority": {
+ "denominator": 103,
+ "numerator": 13,
+ "value": 0.1262135922330097
+ },
+ "surface": {
+ "denominator": 103,
+ "numerator": 3,
+ "value": 0.02912621359223301
+ }
+ },
+ "depth_band_bounds_m": {
+ "median": 0.4959999918937683,
+ "p95": 0.5350000262260437
+ },
+ "depth_m": {
+ "C": {
+ "count": 297,
+ "max": 0.6899999976158142,
+ "median": 0.5,
+ "min": 0.30300000309944153,
+ "p95": 0.6320000290870667
+ },
+ "F": {
+ "count": 127,
+ "max": 30.72599983215332,
+ "median": 0.5289999842643738,
+ "min": 0.29600000381469727,
+ "p95": 8.430999755859375
+ },
+ "P": {
+ "count": 32,
+ "max": 0.6899999976158142,
+ "median": 0.5060000419616699,
+ "min": 0.30300000309944153,
+ "p95": 0.6652999520301819
+ },
+ "S": {
+ "count": 95,
+ "max": 30.72599983215332,
+ "median": 0.5329999923706055,
+ "min": 0.29600000381469727,
+ "p95": 8.430999755859375
+ },
+ "X": {
+ "count": 11665,
+ "max": 30.72599983215332,
+ "median": 0.4959999918937683,
+ "min": 0.29499998688697815,
+ "p95": 0.5350000262260437
+ }
+ },
+ "depth_quantile_occupancy": {
+ "C": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 297,
+ "numerator": 144,
+ "value": 0.48484848484848486
+ },
+ "z_gt_X_p95": {
+ "denominator": 297,
+ "numerator": 47,
+ "value": 0.15824915824915825
+ },
+ "z_le_X_median": {
+ "denominator": 297,
+ "numerator": 106,
+ "value": 0.3569023569023569
+ }
+ },
+ "F": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 127,
+ "numerator": 36,
+ "value": 0.28346456692913385
+ },
+ "z_gt_X_p95": {
+ "denominator": 127,
+ "numerator": 59,
+ "value": 0.4645669291338583
+ },
+ "z_le_X_median": {
+ "denominator": 127,
+ "numerator": 32,
+ "value": 0.25196850393700787
+ }
+ },
+ "P": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 32,
+ "numerator": 14,
+ "value": 0.4375
+ },
+ "z_gt_X_p95": {
+ "denominator": 32,
+ "numerator": 12,
+ "value": 0.375
+ },
+ "z_le_X_median": {
+ "denominator": 32,
+ "numerator": 6,
+ "value": 0.1875
+ }
+ },
+ "S": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 95,
+ "numerator": 22,
+ "value": 0.23157894736842105
+ },
+ "z_gt_X_p95": {
+ "denominator": 95,
+ "numerator": 47,
+ "value": 0.49473684210526314
+ },
+ "z_le_X_median": {
+ "denominator": 95,
+ "numerator": 26,
+ "value": 0.2736842105263158
+ }
+ },
+ "X": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 11665,
+ "numerator": 5145,
+ "value": 0.4410630090012859
+ },
+ "z_gt_X_p95": {
+ "denominator": 11665,
+ "numerator": 562,
+ "value": 0.04817831118731247
+ },
+ "z_le_X_median": {
+ "denominator": 11665,
+ "numerator": 5958,
+ "value": 0.5107586798114017
+ }
+ }
+ },
+ "differences": {
+ "C_minus_F": {
+ "count": 44,
+ "reference_ids": [
+ 23,
+ 24,
+ 25,
+ 26,
+ 28,
+ 30,
+ 32,
+ 34,
+ 36,
+ 38,
+ 40,
+ 42,
+ 44,
+ 52,
+ 54,
+ 56,
+ 58,
+ 60,
+ 62,
+ 71,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "C_minus_P": {
+ "count": 44,
+ "reference_ids": [
+ 23,
+ 24,
+ 25,
+ 26,
+ 28,
+ 30,
+ 32,
+ 34,
+ 36,
+ 38,
+ 40,
+ 42,
+ 44,
+ 52,
+ 54,
+ 56,
+ 58,
+ 60,
+ 62,
+ 71,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "C_minus_P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "O_minus_C": {
+ "count": 46,
+ "reference_ids": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 27,
+ 29,
+ 31,
+ 33,
+ 35,
+ 37,
+ 39,
+ 41,
+ 43,
+ 45,
+ 47,
+ 49,
+ 51,
+ 53,
+ 55,
+ 57,
+ 59,
+ 61,
+ 63,
+ 65,
+ 67,
+ 70,
+ 72
+ ]
+ },
+ "O_minus_F": {
+ "count": 87,
+ "reference_ids": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 38,
+ 40,
+ 42,
+ 43,
+ 44,
+ 45,
+ 47,
+ 49,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 65,
+ 67,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S_minus_C": {
+ "count": 3,
+ "reference_ids": [
+ 37,
+ 39,
+ 41
+ ]
+ },
+ "S_minus_P": {
+ "count": 3,
+ "reference_ids": [
+ 37,
+ 39,
+ 41
+ ]
+ },
+ "V_minus_O": {
+ "count": 0,
+ "reference_ids": []
+ }
+ },
+ "gt_final_coverage": {
+ "denominator": 103,
+ "numerator": 16,
+ "value": 0.1553398058252427
+ },
+ "negative_roi": {
+ "contamination": {
+ "C": {
+ "count": 59,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 59,
+ "value": 0.12240663900414937
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 59,
+ "value": 0.19865319865319866
+ }
+ },
+ "F": {
+ "count": 18,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 18,
+ "value": 0.03734439834024896
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 18,
+ "value": 0.14173228346456693
+ }
+ },
+ "P": {
+ "count": 3,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 3,
+ "value": 0.006224066390041493
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 3,
+ "value": 0.09375
+ }
+ },
+ "S": {
+ "count": 15,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 15,
+ "value": 0.03112033195020747
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 15,
+ "value": 0.15789473684210525
+ }
+ },
+ "X": {
+ "count": 482,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 482,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 482,
+ "value": 0.041320188598371194
+ }
+ }
+ },
+ "invalid_depth_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 2,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 2,
+ "value": 0.006756756756756757
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 2,
+ "value": 0.015748031496062992
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 2,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 2,
+ "value": 0.006756756756756757
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 2,
+ "value": 0.021052631578947368
+ }
+ },
+ "X": {
+ "count": 296,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 296,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 296,
+ "value": 0.025375053579082728
+ }
+ }
+ },
+ "known_negative_union": {
+ "C": {
+ "count": 59,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 59,
+ "value": 0.005615838568437084
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 59,
+ "value": 0.19865319865319866
+ }
+ },
+ "F": {
+ "count": 64,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 64,
+ "value": 0.006091757091185989
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 64,
+ "value": 0.5039370078740157
+ }
+ },
+ "P": {
+ "count": 3,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 3,
+ "value": 0.00028555111364934324
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 3,
+ "value": 0.09375
+ }
+ },
+ "S": {
+ "count": 61,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 61,
+ "value": 0.005806205977536645
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 61,
+ "value": 0.6421052631578947
+ }
+ },
+ "X": {
+ "count": 10506,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 10506,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 10506,
+ "value": 0.9006429489927132
+ }
+ }
+ },
+ "occlusion_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 6,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 6,
+ "value": 0.011764705882352941
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 6,
+ "value": 0.047244094488188976
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 6,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 6,
+ "value": 0.011764705882352941
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 6,
+ "value": 0.06315789473684211
+ }
+ },
+ "X": {
+ "count": 510,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 510,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 510,
+ "value": 0.04372053150450064
+ }
+ }
+ },
+ "plane_interior": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 25,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 25,
+ "value": 0.0029808036246572077
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 25,
+ "value": 0.1968503937007874
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 25,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 25,
+ "value": 0.0029808036246572077
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 25,
+ "value": 0.2631578947368421
+ }
+ },
+ "X": {
+ "count": 8387,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 8387,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 8387,
+ "value": 0.7189884269181311
+ }
+ }
+ },
+ "robot_occlusion_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 6,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 6,
+ "value": 0.011764705882352941
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 6,
+ "value": 0.047244094488188976
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 6,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 6,
+ "value": 0.011764705882352941
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 6,
+ "value": 0.06315789473684211
+ }
+ },
+ "X": {
+ "count": 510,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 510,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 510,
+ "value": 0.04372053150450064
+ }
+ }
+ },
+ "same_plane_tracker_cut_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 4,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 4,
+ "value": 0.041666666666666664
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 4,
+ "value": 0.031496062992125984
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 4,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 4,
+ "value": 0.041666666666666664
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 4,
+ "value": 0.042105263157894736
+ }
+ },
+ "X": {
+ "count": 96,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 96,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 96,
+ "value": 0.008229747106729532
+ }
+ }
+ },
+ "silhouette_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 297,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 15,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 15,
+ "value": 0.01288659793814433
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 15,
+ "value": 0.11811023622047244
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 15,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 15,
+ "value": 0.01288659793814433
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 15,
+ "value": 0.15789473684210525
+ }
+ },
+ "X": {
+ "count": 1164,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 1164,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 1164,
+ "value": 0.09978568366909558
+ }
+ }
+ }
+ },
+ "original_frame_coverage_exact": true,
+ "reference_ids": {
+ "C": [
+ 23,
+ 24,
+ 25,
+ 26,
+ 28,
+ 30,
+ 32,
+ 34,
+ 36,
+ 38,
+ 40,
+ 42,
+ 44,
+ 46,
+ 48,
+ 50,
+ 52,
+ 54,
+ 56,
+ 58,
+ 60,
+ 62,
+ 64,
+ 66,
+ 68,
+ 69,
+ 71,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "F": [
+ 37,
+ 39,
+ 41,
+ 46,
+ 48,
+ 50,
+ 64,
+ 66,
+ 68,
+ 69,
+ 83,
+ 84,
+ 85,
+ 96,
+ 97,
+ 98
+ ],
+ "O": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "P": [
+ 46,
+ 48,
+ 50,
+ 64,
+ 66,
+ 68,
+ 69,
+ 83,
+ 84,
+ 85,
+ 96,
+ 97,
+ 98
+ ],
+ "S": [
+ 37,
+ 39,
+ 41
+ ],
+ "V": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "X": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "stages": {
+ "C": {
+ "matched_node_count": 101,
+ "node_count": 297,
+ "unique_reference_count": 57
+ },
+ "F": {
+ "matched_node_count": 5,
+ "node_count": 127,
+ "unique_reference_count": 16
+ },
+ "P": {
+ "matched_node_count": 4,
+ "node_count": 32,
+ "unique_reference_count": 13
+ },
+ "S": {
+ "matched_node_count": 1,
+ "node_count": 95,
+ "unique_reference_count": 3
+ },
+ "X": {
+ "matched_node_count": 153,
+ "node_count": 11665,
+ "unique_reference_count": 103
+ }
+ }
+ },
+ "S3": {
+ "allocation": {
+ "box": {
+ "budget": 127,
+ "candidates": 599,
+ "depth_priority": 0,
+ "observed": 11665,
+ "orientation_priority": 32,
+ "priority": 32,
+ "selected": 127,
+ "selected_candidates": 35,
+ "surface_fps": 95
+ },
+ "peg": {
+ "budget": 129,
+ "candidates": 703,
+ "depth_priority": 0,
+ "observed": 11780,
+ "orientation_priority": 32,
+ "priority": 32,
+ "selected": 129,
+ "selected_candidates": 32,
+ "surface_fps": 97
+ }
+ },
+ "condition": "S3_n256_r0.25_t20_s0",
+ "control": null,
+ "coverage": {
+ "candidate": {
+ "denominator": 103,
+ "numerator": 91,
+ "value": 0.883495145631068
+ },
+ "final_retention": {
+ "denominator": 103,
+ "numerator": 3,
+ "value": 0.02912621359223301
+ },
+ "observation": {
+ "denominator": 103,
+ "numerator": 103,
+ "value": 1.0
+ },
+ "priority": {
+ "denominator": 103,
+ "numerator": 3,
+ "value": 0.02912621359223301
+ },
+ "surface": {
+ "denominator": 103,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "depth_band_bounds_m": {
+ "median": 0.4959999918937683,
+ "p95": 0.5350000262260437
+ },
+ "depth_m": {
+ "C": {
+ "count": 599,
+ "max": 1.4259999990463257,
+ "median": 0.4880000054836273,
+ "min": 0.29499998688697815,
+ "p95": 0.6665000319480896
+ },
+ "F": {
+ "count": 127,
+ "max": 30.72599983215332,
+ "median": 0.5249999761581421,
+ "min": 0.29600000381469727,
+ "p95": 8.430999755859375
+ },
+ "P": {
+ "count": 32,
+ "max": 1.4259999990463257,
+ "median": 0.5805000066757202,
+ "min": 0.3059999942779541,
+ "p95": 1.405650019645691
+ },
+ "S": {
+ "count": 95,
+ "max": 30.72599983215332,
+ "median": 0.5220000147819519,
+ "min": 0.29600000381469727,
+ "p95": 8.430999755859375
+ },
+ "X": {
+ "count": 11665,
+ "max": 30.72599983215332,
+ "median": 0.4959999918937683,
+ "min": 0.29499998688697815,
+ "p95": 0.5350000262260437
+ }
+ },
+ "depth_quantile_occupancy": {
+ "C": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 599,
+ "numerator": 148,
+ "value": 0.24707846410684475
+ },
+ "z_gt_X_p95": {
+ "denominator": 599,
+ "numerator": 80,
+ "value": 0.1335559265442404
+ },
+ "z_le_X_median": {
+ "denominator": 599,
+ "numerator": 371,
+ "value": 0.6193656093489148
+ }
+ },
+ "F": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 127,
+ "numerator": 27,
+ "value": 0.2125984251968504
+ },
+ "z_gt_X_p95": {
+ "denominator": 127,
+ "numerator": 60,
+ "value": 0.47244094488188976
+ },
+ "z_le_X_median": {
+ "denominator": 127,
+ "numerator": 40,
+ "value": 0.31496062992125984
+ }
+ },
+ "P": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 32,
+ "numerator": 2,
+ "value": 0.0625
+ },
+ "z_gt_X_p95": {
+ "denominator": 32,
+ "numerator": 20,
+ "value": 0.625
+ },
+ "z_le_X_median": {
+ "denominator": 32,
+ "numerator": 10,
+ "value": 0.3125
+ }
+ },
+ "S": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 95,
+ "numerator": 25,
+ "value": 0.2631578947368421
+ },
+ "z_gt_X_p95": {
+ "denominator": 95,
+ "numerator": 40,
+ "value": 0.42105263157894735
+ },
+ "z_le_X_median": {
+ "denominator": 95,
+ "numerator": 30,
+ "value": 0.3157894736842105
+ }
+ },
+ "X": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 11665,
+ "numerator": 5145,
+ "value": 0.4410630090012859
+ },
+ "z_gt_X_p95": {
+ "denominator": 11665,
+ "numerator": 562,
+ "value": 0.04817831118731247
+ },
+ "z_le_X_median": {
+ "denominator": 11665,
+ "numerator": 5958,
+ "value": 0.5107586798114017
+ }
+ }
+ },
+ "differences": {
+ "C_minus_F": {
+ "count": 88,
+ "reference_ids": [
+ 1,
+ 2,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 25,
+ 26,
+ 28,
+ 30,
+ 32,
+ 34,
+ 36,
+ 38,
+ 40,
+ 42,
+ 44,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "C_minus_P": {
+ "count": 88,
+ "reference_ids": [
+ 1,
+ 2,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 25,
+ 26,
+ 28,
+ 30,
+ 32,
+ 34,
+ 36,
+ 38,
+ 40,
+ 42,
+ 44,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "C_minus_P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "O_minus_C": {
+ "count": 12,
+ "reference_ids": [
+ 0,
+ 24,
+ 27,
+ 29,
+ 31,
+ 33,
+ 35,
+ 37,
+ 39,
+ 41,
+ 43,
+ 45
+ ]
+ },
+ "O_minus_F": {
+ "count": 100,
+ "reference_ids": [
+ 0,
+ 1,
+ 2,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S_minus_C": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S_minus_P": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "V_minus_O": {
+ "count": 0,
+ "reference_ids": []
+ }
+ },
+ "gt_final_coverage": {
+ "denominator": 103,
+ "numerator": 3,
+ "value": 0.02912621359223301
+ },
+ "negative_roi": {
+ "contamination": {
+ "C": {
+ "count": 186,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 186,
+ "value": 0.38589211618257263
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 186,
+ "value": 0.3105175292153589
+ }
+ },
+ "F": {
+ "count": 20,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 20,
+ "value": 0.04149377593360996
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 20,
+ "value": 0.15748031496062992
+ }
+ },
+ "P": {
+ "count": 4,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 4,
+ "value": 0.008298755186721992
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 4,
+ "value": 0.125
+ }
+ },
+ "S": {
+ "count": 16,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 16,
+ "value": 0.03319502074688797
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 16,
+ "value": 0.16842105263157894
+ }
+ },
+ "X": {
+ "count": 482,
+ "fraction_of_observed_roi": {
+ "denominator": 482,
+ "numerator": 482,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 482,
+ "value": 0.041320188598371194
+ }
+ }
+ },
+ "invalid_depth_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 5,
+ "value": 0.016891891891891893
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 5,
+ "value": 0.03937007874015748
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 5,
+ "value": 0.016891891891891893
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 5,
+ "value": 0.05263157894736842
+ }
+ },
+ "X": {
+ "count": 296,
+ "fraction_of_observed_roi": {
+ "denominator": 296,
+ "numerator": 296,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 296,
+ "value": 0.025375053579082728
+ }
+ }
+ },
+ "known_negative_union": {
+ "C": {
+ "count": 281,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 281,
+ "value": 0.026746620978488483
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 281,
+ "value": 0.4691151919866444
+ }
+ },
+ "F": {
+ "count": 79,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 79,
+ "value": 0.007519512659432705
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 79,
+ "value": 0.6220472440944882
+ }
+ },
+ "P": {
+ "count": 9,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 9,
+ "value": 0.0008566533409480297
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 9,
+ "value": 0.28125
+ }
+ },
+ "S": {
+ "count": 70,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 70,
+ "value": 0.006662859318484675
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 70,
+ "value": 0.7368421052631579
+ }
+ },
+ "X": {
+ "count": 10506,
+ "fraction_of_observed_roi": {
+ "denominator": 10506,
+ "numerator": 10506,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 10506,
+ "value": 0.9006429489927132
+ }
+ }
+ },
+ "occlusion_2px": {
+ "C": {
+ "count": 94,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 94,
+ "value": 0.1843137254901961
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 94,
+ "value": 0.15692821368948248
+ }
+ },
+ "F": {
+ "count": 8,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 8,
+ "value": 0.01568627450980392
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 8,
+ "value": 0.06299212598425197
+ }
+ },
+ "P": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 5,
+ "value": 0.00980392156862745
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 5,
+ "value": 0.15625
+ }
+ },
+ "S": {
+ "count": 3,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 3,
+ "value": 0.0058823529411764705
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 3,
+ "value": 0.031578947368421054
+ }
+ },
+ "X": {
+ "count": 510,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 510,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 510,
+ "value": 0.04372053150450064
+ }
+ }
+ },
+ "plane_interior": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 35,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 35,
+ "value": 0.00417312507452009
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 35,
+ "value": 0.2755905511811024
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 35,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 35,
+ "value": 0.00417312507452009
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 35,
+ "value": 0.3684210526315789
+ }
+ },
+ "X": {
+ "count": 8387,
+ "fraction_of_observed_roi": {
+ "denominator": 8387,
+ "numerator": 8387,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 8387,
+ "value": 0.7189884269181311
+ }
+ }
+ },
+ "robot_occlusion_2px": {
+ "C": {
+ "count": 94,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 94,
+ "value": 0.1843137254901961
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 94,
+ "value": 0.15692821368948248
+ }
+ },
+ "F": {
+ "count": 8,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 8,
+ "value": 0.01568627450980392
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 8,
+ "value": 0.06299212598425197
+ }
+ },
+ "P": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 5,
+ "value": 0.00980392156862745
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 5,
+ "value": 0.15625
+ }
+ },
+ "S": {
+ "count": 3,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 3,
+ "value": 0.0058823529411764705
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 3,
+ "value": 0.031578947368421054
+ }
+ },
+ "X": {
+ "count": 510,
+ "fraction_of_observed_roi": {
+ "denominator": 510,
+ "numerator": 510,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 510,
+ "value": 0.04372053150450064
+ }
+ }
+ },
+ "same_plane_tracker_cut_2px": {
+ "C": {
+ "count": 5,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 5,
+ "value": 0.052083333333333336
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 5,
+ "value": 0.008347245409015025
+ }
+ },
+ "F": {
+ "count": 3,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 3,
+ "value": 0.03125
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 3,
+ "value": 0.023622047244094488
+ }
+ },
+ "P": {
+ "count": 1,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 1,
+ "value": 0.010416666666666666
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 1,
+ "value": 0.03125
+ }
+ },
+ "S": {
+ "count": 2,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 2,
+ "value": 0.020833333333333332
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 2,
+ "value": 0.021052631578947368
+ }
+ },
+ "X": {
+ "count": 96,
+ "fraction_of_observed_roi": {
+ "denominator": 96,
+ "numerator": 96,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 96,
+ "value": 0.008229747106729532
+ }
+ }
+ },
+ "silhouette_2px": {
+ "C": {
+ "count": 2,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 2,
+ "value": 0.001718213058419244
+ },
+ "fraction_of_path": {
+ "denominator": 599,
+ "numerator": 2,
+ "value": 0.00333889816360601
+ }
+ },
+ "F": {
+ "count": 18,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 18,
+ "value": 0.015463917525773196
+ },
+ "fraction_of_path": {
+ "denominator": 127,
+ "numerator": 18,
+ "value": 0.14173228346456693
+ }
+ },
+ "P": {
+ "count": 1,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 1,
+ "value": 0.000859106529209622
+ },
+ "fraction_of_path": {
+ "denominator": 32,
+ "numerator": 1,
+ "value": 0.03125
+ }
+ },
+ "S": {
+ "count": 17,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 17,
+ "value": 0.014604810996563574
+ },
+ "fraction_of_path": {
+ "denominator": 95,
+ "numerator": 17,
+ "value": 0.17894736842105263
+ }
+ },
+ "X": {
+ "count": 1164,
+ "fraction_of_observed_roi": {
+ "denominator": 1164,
+ "numerator": 1164,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 11665,
+ "numerator": 1164,
+ "value": 0.09978568366909558
+ }
+ }
+ }
+ },
+ "original_frame_coverage_exact": true,
+ "reference_ids": {
+ "C": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 25,
+ 26,
+ 28,
+ 30,
+ 32,
+ 34,
+ 36,
+ 38,
+ 40,
+ 42,
+ 44,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "F": [
+ 3,
+ 4,
+ 5
+ ],
+ "O": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "P": [
+ 3,
+ 4,
+ 5
+ ],
+ "S": [],
+ "V": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ],
+ "X": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 46,
+ 47,
+ 48,
+ 49,
+ 50,
+ 51,
+ 52,
+ 53,
+ 54,
+ 55,
+ 56,
+ 57,
+ 58,
+ 59,
+ 60,
+ 61,
+ 62,
+ 63,
+ 64,
+ 65,
+ 66,
+ 67,
+ 68,
+ 69,
+ 70,
+ 71,
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102
+ ]
+ },
+ "stages": {
+ "C": {
+ "matched_node_count": 127,
+ "node_count": 599,
+ "unique_reference_count": 91
+ },
+ "F": {
+ "matched_node_count": 1,
+ "node_count": 127,
+ "unique_reference_count": 3
+ },
+ "P": {
+ "matched_node_count": 1,
+ "node_count": 32,
+ "unique_reference_count": 3
+ },
+ "S": {
+ "matched_node_count": 0,
+ "node_count": 95,
+ "unique_reference_count": 0
+ },
+ "X": {
+ "matched_node_count": 153,
+ "node_count": 11665,
+ "unique_reference_count": 103
+ }
+ }
+ }
+ },
+ "saved_negative_roi_counts_exact": true,
+ "saved_reference_order_and_geometry_exact": true,
+ "source_frame": 0,
+ "target_coverage_exact": true
+ },
+ {
+ "S2_vs_S3": {
+ "C": {
+ "S2_only": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S3_only": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "intersection": {
+ "count": 0,
+ "reference_ids": []
+ }
+ },
+ "F": {
+ "S2_only": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S3_only": {
+ "count": 2,
+ "reference_ids": [
+ 37,
+ 38
+ ]
+ },
+ "intersection": {
+ "count": 0,
+ "reference_ids": []
+ }
+ },
+ "P": {
+ "S2_only": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S3_only": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "intersection": {
+ "count": 0,
+ "reference_ids": []
+ }
+ }
+ },
+ "alignment": {
+ "S0": {
+ "max_abs_xyz_error_m": 0.0,
+ "raster_and_object_support": true,
+ "selected_nodes": 256,
+ "source_frame": 120,
+ "xyz_exact": true
+ },
+ "S2": {
+ "max_abs_xyz_error_m": 0.0,
+ "raster_and_object_support": true,
+ "selected_nodes": 256,
+ "source_frame": 120,
+ "xyz_exact": true
+ },
+ "S3": {
+ "max_abs_xyz_error_m": 0.0,
+ "raster_and_object_support": true,
+ "selected_nodes": 256,
+ "source_frame": 120,
+ "xyz_exact": true
+ }
+ },
+ "conditions": {
+ "S0": {
+ "allocation": {
+ "box": {
+ "budget": 197,
+ "candidates": 65,
+ "depth_priority": 0,
+ "observed": 5618,
+ "orientation_priority": 0,
+ "priority": 0,
+ "selected": 197,
+ "selected_candidates": 8,
+ "surface_fps": 197
+ },
+ "peg": {
+ "budget": 59,
+ "candidates": 247,
+ "depth_priority": 0,
+ "observed": 1353,
+ "orientation_priority": 0,
+ "priority": 0,
+ "selected": 59,
+ "selected_candidates": 9,
+ "surface_fps": 59
+ }
+ },
+ "condition": "S0_n256_r0_t20_s0",
+ "control": "General FPS; C/P not applicable",
+ "coverage": {
+ "candidate": null,
+ "final_retention": {
+ "denominator": 8,
+ "numerator": 3,
+ "value": 0.375
+ },
+ "observation": {
+ "denominator": 41,
+ "numerator": 8,
+ "value": 0.1951219512195122
+ },
+ "priority": null,
+ "surface": {
+ "denominator": 8,
+ "numerator": 3,
+ "value": 0.375
+ }
+ },
+ "depth_band_bounds_m": {
+ "median": 0.5109999775886536,
+ "p95": 0.531000018119812
+ },
+ "depth_m": {
+ "C": null,
+ "F": {
+ "count": 197,
+ "max": 1.1770000457763672,
+ "median": 0.5120000243186951,
+ "min": 0.4129999876022339,
+ "p95": 0.7609999775886536
+ },
+ "P": null,
+ "S": {
+ "count": 197,
+ "max": 1.1770000457763672,
+ "median": 0.5120000243186951,
+ "min": 0.4129999876022339,
+ "p95": 0.7609999775886536
+ },
+ "X": {
+ "count": 5618,
+ "max": 1.1770000457763672,
+ "median": 0.5109999775886536,
+ "min": 0.4129999876022339,
+ "p95": 0.531000018119812
+ }
+ },
+ "depth_quantile_occupancy": {
+ "C": null,
+ "F": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 197,
+ "numerator": 72,
+ "value": 0.36548223350253806
+ },
+ "z_gt_X_p95": {
+ "denominator": 197,
+ "numerator": 30,
+ "value": 0.15228426395939088
+ },
+ "z_le_X_median": {
+ "denominator": 197,
+ "numerator": 95,
+ "value": 0.48223350253807107
+ }
+ },
+ "P": null,
+ "S": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 197,
+ "numerator": 72,
+ "value": 0.36548223350253806
+ },
+ "z_gt_X_p95": {
+ "denominator": 197,
+ "numerator": 30,
+ "value": 0.15228426395939088
+ },
+ "z_le_X_median": {
+ "denominator": 197,
+ "numerator": 95,
+ "value": 0.48223350253807107
+ }
+ },
+ "X": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 5618,
+ "numerator": 2429,
+ "value": 0.4323602705589178
+ },
+ "z_gt_X_p95": {
+ "denominator": 5618,
+ "numerator": 276,
+ "value": 0.049127803488786044
+ },
+ "z_le_X_median": {
+ "denominator": 5618,
+ "numerator": 2913,
+ "value": 0.5185119259522962
+ }
+ }
+ },
+ "differences": {
+ "C_minus_F": null,
+ "C_minus_P": null,
+ "C_minus_P_intersect_S": null,
+ "O_minus_C": null,
+ "O_minus_F": {
+ "count": 5,
+ "reference_ids": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13
+ ]
+ },
+ "P_intersect_S": null,
+ "S_minus_C": null,
+ "S_minus_P": null,
+ "V_minus_O": {
+ "count": 33,
+ "reference_ids": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 8,
+ 10,
+ 12,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 40
+ ]
+ }
+ },
+ "gt_final_coverage": {
+ "denominator": 41,
+ "numerator": 3,
+ "value": 0.07317073170731707
+ },
+ "negative_roi": {
+ "contamination": {
+ "C": null,
+ "F": {
+ "count": 32,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 32,
+ "value": 0.3047619047619048
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 32,
+ "value": 0.16243654822335024
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 32,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 32,
+ "value": 0.3047619047619048
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 32,
+ "value": 0.16243654822335024
+ }
+ },
+ "X": {
+ "count": 105,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 105,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 105,
+ "value": 0.018689925240299037
+ }
+ }
+ },
+ "invalid_depth_2px": {
+ "C": null,
+ "F": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "X": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 0,
+ "value": 0.0
+ }
+ }
+ },
+ "known_negative_union": {
+ "C": null,
+ "F": {
+ "count": 193,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 193,
+ "value": 0.034737221022318215
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 193,
+ "value": 0.9796954314720813
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 193,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 193,
+ "value": 0.034737221022318215
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 193,
+ "value": 0.9796954314720813
+ }
+ },
+ "X": {
+ "count": 5556,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 5556,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 5556,
+ "value": 0.9889640441438234
+ }
+ }
+ },
+ "occlusion_2px": {
+ "C": null,
+ "F": {
+ "count": 21,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 21,
+ "value": 0.04719101123595506
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 21,
+ "value": 0.1065989847715736
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 21,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 21,
+ "value": 0.04719101123595506
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 21,
+ "value": 0.1065989847715736
+ }
+ },
+ "X": {
+ "count": 445,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 445,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 445,
+ "value": 0.07920968316126735
+ }
+ }
+ },
+ "plane_interior": {
+ "C": null,
+ "F": {
+ "count": 113,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 113,
+ "value": 0.026127167630057804
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 113,
+ "value": 0.5736040609137056
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 113,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 113,
+ "value": 0.026127167630057804
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 113,
+ "value": 0.5736040609137056
+ }
+ },
+ "X": {
+ "count": 4325,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 4325,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 4325,
+ "value": 0.7698469206123175
+ }
+ }
+ },
+ "robot_occlusion_2px": {
+ "C": null,
+ "F": {
+ "count": 14,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 14,
+ "value": 0.044444444444444446
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 14,
+ "value": 0.07106598984771574
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 14,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 14,
+ "value": 0.044444444444444446
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 14,
+ "value": 0.07106598984771574
+ }
+ },
+ "X": {
+ "count": 315,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 315,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 315,
+ "value": 0.056069775720897115
+ }
+ }
+ },
+ "same_plane_tracker_cut_2px": {
+ "C": null,
+ "F": {
+ "count": 12,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 12,
+ "value": 0.06779661016949153
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 12,
+ "value": 0.06091370558375635
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 12,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 12,
+ "value": 0.06779661016949153
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 12,
+ "value": 0.06091370558375635
+ }
+ },
+ "X": {
+ "count": 177,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 177,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 177,
+ "value": 0.0315058739765041
+ }
+ }
+ },
+ "silhouette_2px": {
+ "C": null,
+ "F": {
+ "count": 28,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 28,
+ "value": 0.040638606676342524
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 28,
+ "value": 0.14213197969543148
+ }
+ },
+ "P": null,
+ "S": {
+ "count": 28,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 28,
+ "value": 0.040638606676342524
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 28,
+ "value": 0.14213197969543148
+ }
+ },
+ "X": {
+ "count": 689,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 689,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 689,
+ "value": 0.12264150943396226
+ }
+ }
+ }
+ },
+ "original_frame_coverage_exact": true,
+ "reference_ids": {
+ "C": null,
+ "F": [
+ 37,
+ 38,
+ 39
+ ],
+ "O": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ],
+ "P": null,
+ "S": [
+ 37,
+ 38,
+ 39
+ ],
+ "V": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40
+ ],
+ "X": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ]
+ },
+ "stages": {
+ "C": null,
+ "F": {
+ "matched_node_count": 1,
+ "node_count": 197,
+ "unique_reference_count": 3
+ },
+ "P": null,
+ "S": {
+ "matched_node_count": 1,
+ "node_count": 197,
+ "unique_reference_count": 3
+ },
+ "X": {
+ "matched_node_count": 11,
+ "node_count": 5618,
+ "unique_reference_count": 8
+ }
+ }
+ },
+ "S2": {
+ "allocation": {
+ "box": {
+ "budget": 197,
+ "candidates": 24,
+ "depth_priority": 0,
+ "observed": 5618,
+ "orientation_priority": 24,
+ "priority": 24,
+ "selected": 197,
+ "selected_candidates": 24,
+ "surface_fps": 173
+ },
+ "peg": {
+ "budget": 59,
+ "candidates": 206,
+ "depth_priority": 0,
+ "observed": 1353,
+ "orientation_priority": 40,
+ "priority": 40,
+ "selected": 59,
+ "selected_candidates": 40,
+ "surface_fps": 19
+ }
+ },
+ "condition": "S2_n256_r0.25_t20_s0",
+ "control": null,
+ "coverage": {
+ "candidate": {
+ "denominator": 8,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "final_retention": {
+ "denominator": 8,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "observation": {
+ "denominator": 41,
+ "numerator": 8,
+ "value": 0.1951219512195122
+ },
+ "priority": {
+ "denominator": 8,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "surface": {
+ "denominator": 8,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "depth_band_bounds_m": {
+ "median": 0.5109999775886536,
+ "p95": 0.531000018119812
+ },
+ "depth_m": {
+ "C": {
+ "count": 24,
+ "max": 0.5379999876022339,
+ "median": 0.5370000004768372,
+ "min": 0.5299999713897705,
+ "p95": 0.5379999876022339
+ },
+ "F": {
+ "count": 197,
+ "max": 1.1770000457763672,
+ "median": 0.515999972820282,
+ "min": 0.4129999876022339,
+ "p95": 0.7609999775886536
+ },
+ "P": {
+ "count": 24,
+ "max": 0.5379999876022339,
+ "median": 0.5370000004768372,
+ "min": 0.5299999713897705,
+ "p95": 0.5379999876022339
+ },
+ "S": {
+ "count": 173,
+ "max": 1.1770000457763672,
+ "median": 0.5130000114440918,
+ "min": 0.4129999876022339,
+ "p95": 0.7653999924659729
+ },
+ "X": {
+ "count": 5618,
+ "max": 1.1770000457763672,
+ "median": 0.5109999775886536,
+ "min": 0.4129999876022339,
+ "p95": 0.531000018119812
+ }
+ },
+ "depth_quantile_occupancy": {
+ "C": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 24,
+ "numerator": 7,
+ "value": 0.2916666666666667
+ },
+ "z_gt_X_p95": {
+ "denominator": 24,
+ "numerator": 17,
+ "value": 0.7083333333333334
+ },
+ "z_le_X_median": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 197,
+ "numerator": 75,
+ "value": 0.38071065989847713
+ },
+ "z_gt_X_p95": {
+ "denominator": 197,
+ "numerator": 41,
+ "value": 0.20812182741116753
+ },
+ "z_le_X_median": {
+ "denominator": 197,
+ "numerator": 81,
+ "value": 0.41116751269035534
+ }
+ },
+ "P": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 24,
+ "numerator": 7,
+ "value": 0.2916666666666667
+ },
+ "z_gt_X_p95": {
+ "denominator": 24,
+ "numerator": 17,
+ "value": 0.7083333333333334
+ },
+ "z_le_X_median": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 173,
+ "numerator": 68,
+ "value": 0.3930635838150289
+ },
+ "z_gt_X_p95": {
+ "denominator": 173,
+ "numerator": 24,
+ "value": 0.13872832369942195
+ },
+ "z_le_X_median": {
+ "denominator": 173,
+ "numerator": 81,
+ "value": 0.4682080924855491
+ }
+ },
+ "X": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 5618,
+ "numerator": 2429,
+ "value": 0.4323602705589178
+ },
+ "z_gt_X_p95": {
+ "denominator": 5618,
+ "numerator": 276,
+ "value": 0.049127803488786044
+ },
+ "z_le_X_median": {
+ "denominator": 5618,
+ "numerator": 2913,
+ "value": 0.5185119259522962
+ }
+ }
+ },
+ "differences": {
+ "C_minus_F": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "C_minus_P": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "C_minus_P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "O_minus_C": {
+ "count": 8,
+ "reference_ids": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ]
+ },
+ "O_minus_F": {
+ "count": 8,
+ "reference_ids": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ]
+ },
+ "P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S_minus_C": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S_minus_P": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "V_minus_O": {
+ "count": 33,
+ "reference_ids": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 8,
+ 10,
+ 12,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 40
+ ]
+ }
+ },
+ "gt_final_coverage": {
+ "denominator": 41,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "negative_roi": {
+ "contamination": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 29,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 29,
+ "value": 0.2761904761904762
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 29,
+ "value": 0.14720812182741116
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 29,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 29,
+ "value": 0.2761904761904762
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 29,
+ "value": 0.1676300578034682
+ }
+ },
+ "X": {
+ "count": 105,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 105,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 105,
+ "value": 0.018689925240299037
+ }
+ }
+ },
+ "invalid_depth_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "X": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 0,
+ "value": 0.0
+ }
+ }
+ },
+ "known_negative_union": {
+ "C": {
+ "count": 24,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 24,
+ "value": 0.004319654427645789
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 24,
+ "value": 1.0
+ }
+ },
+ "F": {
+ "count": 194,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 194,
+ "value": 0.03491720662347012
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 194,
+ "value": 0.9847715736040609
+ }
+ },
+ "P": {
+ "count": 24,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 24,
+ "value": 0.004319654427645789
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 24,
+ "value": 1.0
+ }
+ },
+ "S": {
+ "count": 170,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 170,
+ "value": 0.030597552195824333
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 170,
+ "value": 0.9826589595375722
+ }
+ },
+ "X": {
+ "count": 5556,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 5556,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 5556,
+ "value": 0.9889640441438234
+ }
+ }
+ },
+ "occlusion_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 23,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 23,
+ "value": 0.051685393258426963
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 23,
+ "value": 0.116751269035533
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 23,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 23,
+ "value": 0.051685393258426963
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 23,
+ "value": 0.1329479768786127
+ }
+ },
+ "X": {
+ "count": 445,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 445,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 445,
+ "value": 0.07920968316126735
+ }
+ }
+ },
+ "plane_interior": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 94,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 94,
+ "value": 0.021734104046242774
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 94,
+ "value": 0.47715736040609136
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 94,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 94,
+ "value": 0.021734104046242774
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 94,
+ "value": 0.5433526011560693
+ }
+ },
+ "X": {
+ "count": 4325,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 4325,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 4325,
+ "value": 0.7698469206123175
+ }
+ }
+ },
+ "robot_occlusion_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 17,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 17,
+ "value": 0.05396825396825397
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 17,
+ "value": 0.08629441624365482
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 17,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 17,
+ "value": 0.05396825396825397
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 17,
+ "value": 0.09826589595375723
+ }
+ },
+ "X": {
+ "count": 315,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 315,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 315,
+ "value": 0.056069775720897115
+ }
+ }
+ },
+ "same_plane_tracker_cut_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 11,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 11,
+ "value": 0.062146892655367235
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 11,
+ "value": 0.05583756345177665
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 11,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 11,
+ "value": 0.062146892655367235
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 11,
+ "value": 0.06358381502890173
+ }
+ },
+ "X": {
+ "count": 177,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 177,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 177,
+ "value": 0.0315058739765041
+ }
+ }
+ },
+ "silhouette_2px": {
+ "C": {
+ "count": 24,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 24,
+ "value": 0.03483309143686502
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 24,
+ "value": 1.0
+ }
+ },
+ "F": {
+ "count": 49,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 49,
+ "value": 0.07111756168359942
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 49,
+ "value": 0.24873096446700507
+ }
+ },
+ "P": {
+ "count": 24,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 24,
+ "value": 0.03483309143686502
+ },
+ "fraction_of_path": {
+ "denominator": 24,
+ "numerator": 24,
+ "value": 1.0
+ }
+ },
+ "S": {
+ "count": 25,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 25,
+ "value": 0.036284470246734396
+ },
+ "fraction_of_path": {
+ "denominator": 173,
+ "numerator": 25,
+ "value": 0.14450867052023122
+ }
+ },
+ "X": {
+ "count": 689,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 689,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 689,
+ "value": 0.12264150943396226
+ }
+ }
+ }
+ },
+ "original_frame_coverage_exact": true,
+ "reference_ids": {
+ "C": [],
+ "F": [],
+ "O": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ],
+ "P": [],
+ "S": [],
+ "V": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40
+ ],
+ "X": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ]
+ },
+ "stages": {
+ "C": {
+ "matched_node_count": 0,
+ "node_count": 24,
+ "unique_reference_count": 0
+ },
+ "F": {
+ "matched_node_count": 0,
+ "node_count": 197,
+ "unique_reference_count": 0
+ },
+ "P": {
+ "matched_node_count": 0,
+ "node_count": 24,
+ "unique_reference_count": 0
+ },
+ "S": {
+ "matched_node_count": 0,
+ "node_count": 173,
+ "unique_reference_count": 0
+ },
+ "X": {
+ "matched_node_count": 11,
+ "node_count": 5618,
+ "unique_reference_count": 8
+ }
+ }
+ },
+ "S3": {
+ "allocation": {
+ "box": {
+ "budget": 197,
+ "candidates": 65,
+ "depth_priority": 0,
+ "observed": 5618,
+ "orientation_priority": 49,
+ "priority": 49,
+ "selected": 197,
+ "selected_candidates": 49,
+ "surface_fps": 148
+ },
+ "peg": {
+ "budget": 59,
+ "candidates": 247,
+ "depth_priority": 0,
+ "observed": 1353,
+ "orientation_priority": 15,
+ "priority": 15,
+ "selected": 59,
+ "selected_candidates": 16,
+ "surface_fps": 44
+ }
+ },
+ "condition": "S3_n256_r0.25_t20_s0",
+ "control": null,
+ "coverage": {
+ "candidate": {
+ "denominator": 8,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "final_retention": {
+ "denominator": 8,
+ "numerator": 2,
+ "value": 0.25
+ },
+ "observation": {
+ "denominator": 41,
+ "numerator": 8,
+ "value": 0.1951219512195122
+ },
+ "priority": {
+ "denominator": 8,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "surface": {
+ "denominator": 8,
+ "numerator": 2,
+ "value": 0.25
+ }
+ },
+ "depth_band_bounds_m": {
+ "median": 0.5109999775886536,
+ "p95": 0.531000018119812
+ },
+ "depth_m": {
+ "C": {
+ "count": 65,
+ "max": 0.5690000057220459,
+ "median": 0.5329999923706055,
+ "min": 0.4259999990463257,
+ "p95": 0.5389999747276306
+ },
+ "F": {
+ "count": 197,
+ "max": 1.1770000457763672,
+ "median": 0.5170000195503235,
+ "min": 0.4129999876022339,
+ "p95": 0.7529999613761902
+ },
+ "P": {
+ "count": 49,
+ "max": 0.5690000057220459,
+ "median": 0.5350000262260437,
+ "min": 0.4259999990463257,
+ "p95": 0.5389999747276306
+ },
+ "S": {
+ "count": 148,
+ "max": 1.1770000457763672,
+ "median": 0.5130000114440918,
+ "min": 0.4129999876022339,
+ "p95": 0.7869499921798706
+ },
+ "X": {
+ "count": 5618,
+ "max": 1.1770000457763672,
+ "median": 0.5109999775886536,
+ "min": 0.4129999876022339,
+ "p95": 0.531000018119812
+ }
+ },
+ "depth_quantile_occupancy": {
+ "C": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 65,
+ "numerator": 9,
+ "value": 0.13846153846153847
+ },
+ "z_gt_X_p95": {
+ "denominator": 65,
+ "numerator": 38,
+ "value": 0.5846153846153846
+ },
+ "z_le_X_median": {
+ "denominator": 65,
+ "numerator": 18,
+ "value": 0.27692307692307694
+ }
+ },
+ "F": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 197,
+ "numerator": 63,
+ "value": 0.3197969543147208
+ },
+ "z_gt_X_p95": {
+ "denominator": 197,
+ "numerator": 55,
+ "value": 0.27918781725888325
+ },
+ "z_le_X_median": {
+ "denominator": 197,
+ "numerator": 79,
+ "value": 0.4010152284263959
+ }
+ },
+ "P": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 49,
+ "numerator": 6,
+ "value": 0.12244897959183673
+ },
+ "z_gt_X_p95": {
+ "denominator": 49,
+ "numerator": 34,
+ "value": 0.6938775510204082
+ },
+ "z_le_X_median": {
+ "denominator": 49,
+ "numerator": 9,
+ "value": 0.1836734693877551
+ }
+ },
+ "S": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 148,
+ "numerator": 57,
+ "value": 0.38513513513513514
+ },
+ "z_gt_X_p95": {
+ "denominator": 148,
+ "numerator": 21,
+ "value": 0.14189189189189189
+ },
+ "z_le_X_median": {
+ "denominator": 148,
+ "numerator": 70,
+ "value": 0.47297297297297297
+ }
+ },
+ "X": {
+ "X_median_lt_z_le_X_p95": {
+ "denominator": 5618,
+ "numerator": 2429,
+ "value": 0.4323602705589178
+ },
+ "z_gt_X_p95": {
+ "denominator": 5618,
+ "numerator": 276,
+ "value": 0.049127803488786044
+ },
+ "z_le_X_median": {
+ "denominator": 5618,
+ "numerator": 2913,
+ "value": 0.5185119259522962
+ }
+ }
+ },
+ "differences": {
+ "C_minus_F": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "C_minus_P": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "C_minus_P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "O_minus_C": {
+ "count": 8,
+ "reference_ids": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ]
+ },
+ "O_minus_F": {
+ "count": 6,
+ "reference_ids": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 39
+ ]
+ },
+ "P_intersect_S": {
+ "count": 0,
+ "reference_ids": []
+ },
+ "S_minus_C": {
+ "count": 2,
+ "reference_ids": [
+ 37,
+ 38
+ ]
+ },
+ "S_minus_P": {
+ "count": 2,
+ "reference_ids": [
+ 37,
+ 38
+ ]
+ },
+ "V_minus_O": {
+ "count": 33,
+ "reference_ids": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 8,
+ 10,
+ 12,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 40
+ ]
+ }
+ },
+ "gt_final_coverage": {
+ "denominator": 41,
+ "numerator": 2,
+ "value": 0.04878048780487805
+ },
+ "negative_roi": {
+ "contamination": {
+ "C": {
+ "count": 21,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 21,
+ "value": 0.2
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 21,
+ "value": 0.3230769230769231
+ }
+ },
+ "F": {
+ "count": 37,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 37,
+ "value": 0.3523809523809524
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 37,
+ "value": 0.18781725888324874
+ }
+ },
+ "P": {
+ "count": 14,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 14,
+ "value": 0.13333333333333333
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 14,
+ "value": 0.2857142857142857
+ }
+ },
+ "S": {
+ "count": 23,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 23,
+ "value": 0.21904761904761905
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 23,
+ "value": 0.1554054054054054
+ }
+ },
+ "X": {
+ "count": 105,
+ "fraction_of_observed_roi": {
+ "denominator": 105,
+ "numerator": 105,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 105,
+ "value": 0.018689925240299037
+ }
+ }
+ },
+ "invalid_depth_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "X": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 0,
+ "numerator": 0,
+ "value": null
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 0,
+ "value": 0.0
+ }
+ }
+ },
+ "known_negative_union": {
+ "C": {
+ "count": 62,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 62,
+ "value": 0.011159107271418287
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 62,
+ "value": 0.9538461538461539
+ }
+ },
+ "F": {
+ "count": 193,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 193,
+ "value": 0.034737221022318215
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 193,
+ "value": 0.9796954314720813
+ }
+ },
+ "P": {
+ "count": 47,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 47,
+ "value": 0.008459323254139669
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 47,
+ "value": 0.9591836734693877
+ }
+ },
+ "S": {
+ "count": 146,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 146,
+ "value": 0.026277897768178547
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 146,
+ "value": 0.9864864864864865
+ }
+ },
+ "X": {
+ "count": 5556,
+ "fraction_of_observed_roi": {
+ "denominator": 5556,
+ "numerator": 5556,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 5556,
+ "value": 0.9889640441438234
+ }
+ }
+ },
+ "occlusion_2px": {
+ "C": {
+ "count": 8,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 8,
+ "value": 0.017977528089887642
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 8,
+ "value": 0.12307692307692308
+ }
+ },
+ "F": {
+ "count": 25,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 25,
+ "value": 0.056179775280898875
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 25,
+ "value": 0.12690355329949238
+ }
+ },
+ "P": {
+ "count": 4,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 4,
+ "value": 0.008988764044943821
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 4,
+ "value": 0.08163265306122448
+ }
+ },
+ "S": {
+ "count": 21,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 21,
+ "value": 0.04719101123595506
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 21,
+ "value": 0.14189189189189189
+ }
+ },
+ "X": {
+ "count": 445,
+ "fraction_of_observed_roi": {
+ "denominator": 445,
+ "numerator": 445,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 445,
+ "value": 0.07920968316126735
+ }
+ }
+ },
+ "plane_interior": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 83,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 83,
+ "value": 0.019190751445086706
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 83,
+ "value": 0.4213197969543147
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 83,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 83,
+ "value": 0.019190751445086706
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 83,
+ "value": 0.5608108108108109
+ }
+ },
+ "X": {
+ "count": 4325,
+ "fraction_of_observed_roi": {
+ "denominator": 4325,
+ "numerator": 4325,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 4325,
+ "value": 0.7698469206123175
+ }
+ }
+ },
+ "robot_occlusion_2px": {
+ "C": {
+ "count": 8,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 8,
+ "value": 0.025396825396825397
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 8,
+ "value": 0.12307692307692308
+ }
+ },
+ "F": {
+ "count": 18,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 18,
+ "value": 0.05714285714285714
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 18,
+ "value": 0.09137055837563451
+ }
+ },
+ "P": {
+ "count": 4,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 4,
+ "value": 0.012698412698412698
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 4,
+ "value": 0.08163265306122448
+ }
+ },
+ "S": {
+ "count": 14,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 14,
+ "value": 0.044444444444444446
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 14,
+ "value": 0.0945945945945946
+ }
+ },
+ "X": {
+ "count": 315,
+ "fraction_of_observed_roi": {
+ "denominator": 315,
+ "numerator": 315,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 315,
+ "value": 0.056069775720897115
+ }
+ }
+ },
+ "same_plane_tracker_cut_2px": {
+ "C": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "F": {
+ "count": 10,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 10,
+ "value": 0.05649717514124294
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 10,
+ "value": 0.050761421319796954
+ }
+ },
+ "P": {
+ "count": 0,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 0,
+ "value": 0.0
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 0,
+ "value": 0.0
+ }
+ },
+ "S": {
+ "count": 10,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 10,
+ "value": 0.05649717514124294
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 10,
+ "value": 0.06756756756756757
+ }
+ },
+ "X": {
+ "count": 177,
+ "fraction_of_observed_roi": {
+ "denominator": 177,
+ "numerator": 177,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 177,
+ "value": 0.0315058739765041
+ }
+ }
+ },
+ "silhouette_2px": {
+ "C": {
+ "count": 33,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 33,
+ "value": 0.047895500725689405
+ },
+ "fraction_of_path": {
+ "denominator": 65,
+ "numerator": 33,
+ "value": 0.5076923076923077
+ }
+ },
+ "F": {
+ "count": 49,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 49,
+ "value": 0.07111756168359942
+ },
+ "fraction_of_path": {
+ "denominator": 197,
+ "numerator": 49,
+ "value": 0.24873096446700507
+ }
+ },
+ "P": {
+ "count": 29,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 29,
+ "value": 0.0420899854862119
+ },
+ "fraction_of_path": {
+ "denominator": 49,
+ "numerator": 29,
+ "value": 0.5918367346938775
+ }
+ },
+ "S": {
+ "count": 20,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 20,
+ "value": 0.02902757619738752
+ },
+ "fraction_of_path": {
+ "denominator": 148,
+ "numerator": 20,
+ "value": 0.13513513513513514
+ }
+ },
+ "X": {
+ "count": 689,
+ "fraction_of_observed_roi": {
+ "denominator": 689,
+ "numerator": 689,
+ "value": 1.0
+ },
+ "fraction_of_path": {
+ "denominator": 5618,
+ "numerator": 689,
+ "value": 0.12264150943396226
+ }
+ }
+ }
+ },
+ "original_frame_coverage_exact": true,
+ "reference_ids": {
+ "C": [],
+ "F": [
+ 37,
+ 38
+ ],
+ "O": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ],
+ "P": [],
+ "S": [
+ 37,
+ 38
+ ],
+ "V": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38,
+ 39,
+ 40
+ ],
+ "X": [
+ 6,
+ 7,
+ 9,
+ 11,
+ 13,
+ 37,
+ 38,
+ 39
+ ]
+ },
+ "stages": {
+ "C": {
+ "matched_node_count": 0,
+ "node_count": 65,
+ "unique_reference_count": 0
+ },
+ "F": {
+ "matched_node_count": 1,
+ "node_count": 197,
+ "unique_reference_count": 2
+ },
+ "P": {
+ "matched_node_count": 0,
+ "node_count": 49,
+ "unique_reference_count": 0
+ },
+ "S": {
+ "matched_node_count": 1,
+ "node_count": 148,
+ "unique_reference_count": 2
+ },
+ "X": {
+ "matched_node_count": 11,
+ "node_count": 5618,
+ "unique_reference_count": 8
+ }
+ }
+ }
+ },
+ "saved_negative_roi_counts_exact": true,
+ "saved_reference_order_and_geometry_exact": true,
+ "source_frame": 120,
+ "target_coverage_exact": true
+ }
+ ],
+ "inputs_unchanged": true,
+ "notes": [
+ "Reference IDs index saved evaluation/box/reference_uv and reference_xyz rows.",
+ "All coverage uses the same pair within 2px AND 3mm.",
+ "Overlapping set differences and ROI counts are not additive causal losses.",
+ "S0 saved candidate diagnostics appear only in allocation; C/P are inapplicable.",
+ "Depth bands are empirical X quantiles, not filtering or far/error labels.",
+ "No FPS trace or causal counterfactual was executed."
+ ],
+ "run_id": "d3f14ee494894daabb8ba2fab8e1b00c",
+ "source_contract": {
+ "visual/runtime/edge_evidence.py": {
+ "current_sha256": "2c896cc60e50f50f2b55ea377d34a6e15bffab875df2a8653dfe1b9830d30f2d",
+ "original_sha256": "14ab164cd98a0be16c7f12e2e6679b932b697028e567975b0dc31a939bf903b4",
+ "status": "AST identical (formatting only)"
+ },
+ "visual/runtime/geometry.py": {
+ "current_sha256": "36d20b7873d5ef9e1381e3bbe319da89e16fa5b44455488786dadd250bd814a9",
+ "original_sha256": "36d20b7873d5ef9e1381e3bbe319da89e16fa5b44455488786dadd250bd814a9",
+ "status": "byte identical"
+ },
+ "visual/runtime/normal_estimators.py": {
+ "current_sha256": "bf080a3ece0e2de6c7439257b943a3e44fdd8236010e526c202c15bcd57cdf2e",
+ "original_sha256": "bf080a3ece0e2de6c7439257b943a3e44fdd8236010e526c202c15bcd57cdf2e",
+ "status": "byte identical"
+ },
+ "visual/runtime/pca.py": {
+ "current_sha256": "7a1a5fc459faed561497597d217f037b7b637d70497174d591d87c5156196517",
+ "original_sha256": "7a1a5fc459faed561497597d217f037b7b637d70497174d591d87c5156196517",
+ "status": "byte identical"
+ },
+ "visual/runtime/rgbd.py": {
+ "current_sha256": "be76fef13d5f58a7199f3952c1f59ce3bf9d1a2ddac09a6773dce39e9f891164",
+ "original_sha256": "be76fef13d5f58a7199f3952c1f59ce3bf9d1a2ddac09a6773dce39e9f891164",
+ "status": "byte identical"
+ },
+ "visual/runtime/sampling.py": {
+ "current_sha256": "45860d0adfbefb2818b67fe5705cb8c36d7c344c1c52c44d4ca5abc6765e37ed",
+ "original_sha256": "45860d0adfbefb2818b67fe5705cb8c36d7c344c1c52c44d4ca5abc6765e37ed",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/normal_diagnostics.py": {
+ "current_sha256": "d3da4f81a2452a9e11c4781ade557af5baeed96a2593876fdda768efb89ffddc",
+ "original_sha256": "d3da4f81a2452a9e11c4781ade557af5baeed96a2593876fdda768efb89ffddc",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/run_normal_comparison.py": {
+ "current_sha256": "b3caa29120144be1affbd8b9329b95ae24750ff3bd7736832cc2e69bc9e1816b",
+ "original_sha256": "b3caa29120144be1affbd8b9329b95ae24750ff3bd7736832cc2e69bc9e1816b",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/run_normal_diagnostics.py": {
+ "current_sha256": "688c07957dd04e3ee7abbcebf962745199a194df317a266e2642c9d8bdae64aa",
+ "original_sha256": "688c07957dd04e3ee7abbcebf962745199a194df317a266e2642c9d8bdae64aa",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/run_sampling.py": {
+ "current_sha256": "dcbcb9a20c71555f836a5b13fc5c0b556d73eda430dbff1ecb119d0776689081",
+ "original_sha256": "dcbcb9a20c71555f836a5b13fc5c0b556d73eda430dbff1ecb119d0776689081",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/run_structural_edges.py": {
+ "current_sha256": "eb123019b2606a37d9c629aac7c4e3f2a77c14b577141485cb7e1a94b117e2fe",
+ "original_sha256": "eb123019b2606a37d9c629aac7c4e3f2a77c14b577141485cb7e1a94b117e2fe",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/sampling_evaluation.py": {
+ "current_sha256": "daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b",
+ "original_sha256": "a99654f398d1e429601459878ed4080100bc3dc19b42e78471572298c6e05e4a",
+ "status": "original definitions unchanged; additive diagnostics only"
+ },
+ "visual/runtime/test/sampling_plots.py": {
+ "current_sha256": "fca7005f90f5f665c823fc9ae147e1ca1917285367655f6dcb30ed5144a1e223",
+ "original_sha256": "fca7005f90f5f665c823fc9ae147e1ca1917285367655f6dcb30ed5144a1e223",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/test_sampling.py": {
+ "current_sha256": "84240df749df06534e961db4e98418928230ef3cdbe920946d7489f2fab9dc60",
+ "original_sha256": "84240df749df06534e961db4e98418928230ef3cdbe920946d7489f2fab9dc60",
+ "status": "byte identical"
+ },
+ "visual/runtime/test/test_sampling_evaluation.py": {
+ "current_sha256": "8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd",
+ "original_sha256": "1705fd07af7fb611be87f2570d8c4dce3dfd9be8020873018aeeda258924e303",
+ "status": "diagnostic tests extended; not an evaluation dependency"
+ },
+ "visual/runtime/test/test_sampling_geometry.py": {
+ "current_sha256": "a6df427b8510d0018931f637eb3c3357d3ed57211cd592ab07d7b8c8094de031",
+ "original_sha256": "a6df427b8510d0018931f637eb3c3357d3ed57211cd592ab07d7b8c8094de031",
+ "status": "byte identical"
+ }
+ },
+ "source_run_id": "2551448b0fae4c6bbce3caf48774275f"
+}
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/f36e98379144581c4d26815b4530f805053b7d46aaed4979e388049a5c075dac/verification.json b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/f36e98379144581c4d26815b4530f805053b7d46aaed4979e388049a5c075dac/verification.json
new file mode 100644
index 0000000000000000000000000000000000000000..58bf4027cdc503527dd557c676287bd2aac24bae
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/f36e98379144581c4d26815b4530f805053b7d46aaed4979e388049a5c075dac/verification.json
@@ -0,0 +1,28 @@
+{
+ "commit_created": false,
+ "cpu_only": true,
+ "diagnostic": {
+ "all_original_tolerances_exact": true,
+ "command": "WANDB_MODE=disabled MPLCONFIGDIR=/tmp/task03d-mpl .venv/bin/python -m visual.runtime.test.run_rim_bottleneck",
+ "frames": [
+ 0,
+ 120
+ ],
+ "negative_roi_exact": true,
+ "status": "PASS",
+ "target_coverage_exact": true
+ },
+ "diff_check": "PASS",
+ "external_upload": false,
+ "inputs_unchanged": true,
+ "metadata_status": "finished",
+ "run_id": "d3f14ee494894daabb8ba2fab8e1b00c",
+ "source_run_id": "2551448b0fae4c6bbce3caf48774275f",
+ "source_snapshot_current": true,
+ "tests": {
+ "command": "WANDB_MODE=disabled MPLCONFIGDIR=/tmp/task03d-mpl .venv/bin/python -m unittest visual.runtime.test.test_sampling_evaluation visual.runtime.test.test_sampling visual.runtime.test.test_sampling_geometry -v",
+ "fail_count": 0,
+ "pass_count": 31,
+ "skip_count": 0
+ }
+}
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/1de58f1273afcf997f91399d3bee129ab9eabcd1407f28a9d0d36808f01f6f13/implementation.patch b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/1de58f1273afcf997f91399d3bee129ab9eabcd1407f28a9d0d36808f01f6f13/implementation.patch
new file mode 100644
index 0000000000000000000000000000000000000000..9e2c01caedf1fd23d8f4f9c33b261e11909b60e4
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/1de58f1273afcf997f91399d3bee129ab9eabcd1407f28a9d0d36808f01f6f13/implementation.patch
@@ -0,0 +1,592 @@
+diff --git a/visual/runtime/test/sampling_evaluation.py b/visual/runtime/test/sampling_evaluation.py
+index ea0f223..e242ecc 100644
+--- a/visual/runtime/test/sampling_evaluation.py
++++ b/visual/runtime/test/sampling_evaluation.py
+@@ -44,6 +44,25 @@ class CoverageMatcher:
+ @staticmethod
+ def key(px,m): return f'{px:g}px_{m*1000:g}mm'
+
++ def reference_hits(self, selected_flat, px=2., m=.003):
++ """Reference IDs and matched source nodes from the existing joint adjacency.
++
++ IDs are row positions in the saved reference arrays, not rounded pixels.
++ A node can cover multiple IDs; multiple nodes covering one ID count once.
++ """
++ selected_flat = np.asarray(selected_flat)
++ if selected_flat.ndim != 1 or selected_flat.dtype.kind not in 'iu':
++ raise ValueError('source indices must be a one-dimensional integer array')
++ if len(np.unique(selected_flat)) != len(selected_flat):
++ raise ValueError('duplicate source nodes')
++ rows = np.searchsorted(self.flat, selected_flat)
++ if len(rows) and ((rows >= len(self.flat)).any()
++ or not np.array_equal(self.flat[rows], selected_flat)):
++ raise ValueError('evaluation points outside observed support')
++ adjacency = self.adjacencies[self.key(px, m)][rows]
++ return (np.flatnonzero(adjacency.getnnz(axis=0)),
++ selected_flat[adjacency.getnnz(axis=1) > 0])
++
+ def score(self, selected_flat):
+ rows = np.searchsorted(self.flat, selected_flat)
+ if len(rows) and ((rows >= len(self.flat)).any() or not np.array_equal(self.flat[rows], selected_flat)):
+@@ -78,6 +97,61 @@ class CoverageMatcher:
+ return out, arrays
+
+
++def count_ratio(numerator, denominator):
++ """Preserve raw counts, including undefined zero-denominator fractions."""
++ return dict(numerator=int(numerator), denominator=int(denominator),
++ value=numerator/denominator if denominator else None)
++
++
++def staged_reference_coverage(matcher, candidates, priority, surface, final):
++ """Saved-set diagnosis only; no candidate extraction or selection is run.
++
++ C/P are None for the General FPS control, rather than empty candidate sets.
++ Set differences overlap and must not be summed as causal loss fractions.
++ """
++ if (candidates is None) != (priority is None):
++ raise ValueError('candidate and priority applicability must agree')
++ nodes = dict(X=matcher.flat, C=candidates, P=priority, S=surface, F=final)
++ hits, stages = {}, {}
++ for name, flat in nodes.items():
++ if flat is None:
++ hits[name] = None
++ stages[name] = None
++ continue
++ ids, matched = matcher.reference_hits(flat)
++ hits[name] = set(ids.tolist())
++ stages[name] = dict(node_count=len(flat), matched_node_count=len(matched),
++ unique_reference_count=len(ids))
++ p = np.asarray(priority if priority is not None else [], dtype=np.int64)
++ if np.intersect1d(p, surface).size or set(final) != set(p) | set(surface):
++ raise ValueError('final nodes must be the disjoint priority/surface union')
++ if candidates is not None and not set(p) <= set(candidates):
++ raise ValueError('priority nodes outside candidate support')
++ v, o = set(range(matcher.nref)), hits['X']
++ c, p, s, f = hits['C'], hits['P'], hits['S'], hits['F']
++ if not f <= o or (c is not None and not c <= o):
++ raise AssertionError('covered references outside observable references')
++ if f != (p or set()) | s:
++ raise AssertionError('final reference union differs from priority/surface')
++ differences = {'V_minus_O': v-o, 'O_minus_F': o-f}
++ if c is not None:
++ differences.update(O_minus_C=o-c, C_minus_P=c-p, C_minus_F=c-f,
++ P_intersect_S=p&s, S_minus_P=s-p, S_minus_C=s-c,
++ C_minus_P_intersect_S=(c-p)&s)
++ else:
++ differences.update({key: None for key in ('O_minus_C', 'C_minus_P', 'C_minus_F',
++ 'P_intersect_S', 'S_minus_P', 'S_minus_C', 'C_minus_P_intersect_S')})
++ coverage = dict(observation=count_ratio(len(o), len(v)))
++ for name, key in [('C', 'candidate'), ('P', 'priority'), ('S', 'surface'), ('F', 'final_retention')]:
++ coverage[key] = count_ratio(len(hits[name]), len(o)) if hits[name] is not None else None
++ return dict(stages=stages, coverage=coverage,
++ gt_final_coverage=count_ratio(len(f), len(v)),
++ reference_ids={k: sorted(ids) if ids is not None else None
++ for k, ids in dict(V=v, O=o, **hits).items()},
++ differences={k: dict(count=len(ids), reference_ids=sorted(ids)) if ids is not None else None
++ for k, ids in differences.items()})
++
++
+ def evaluation_context(frame, evidence, gt, camera, robot_ids):
+ """Reuse unchanged Task02 visible seam/rim definition; GT read after extraction."""
+ truths, regions, maps = real_truth(frame, evidence.frame, gt, camera)
+diff --git a/visual/runtime/test/test_sampling_evaluation.py b/visual/runtime/test/test_sampling_evaluation.py
+index 798172c..6975e66 100644
+--- a/visual/runtime/test/test_sampling_evaluation.py
++++ b/visual/runtime/test/test_sampling_evaluation.py
+@@ -13,7 +13,10 @@ from visual.runtime.rgbd import PEG, BOX
+ from visual.runtime.sampling import extract_sampling_evidence, sample_points, SamplingConfig
+ from visual.runtime.test.normal_diagnostics import synthetic_frame, oracle, box_primitives, rim_region
+ from visual.runtime.test.run_structural_edges import rim_reference
+-from visual.runtime.test.sampling_evaluation import CoverageMatcher
++from visual.runtime.test.sampling_evaluation import CoverageMatcher, staged_reference_coverage
++from visual.runtime.test.run_rim_bottleneck import (
++ geometry_evidence, validate_saved_selection, occupancy, source_contract,
++)
+ from visual.runtime.test.run_sampling import conditions, evaluate
+
+
+@@ -110,4 +113,135 @@ class SamplingEvaluationTests(unittest.TestCase):
+ with self.assertRaises(ValueError):evaluate(episode,masks,root/'out',camera='camera',selected=(),make_plots=False)
+
+
++class StagedCoverageTests(unittest.TestCase):
++ def fixture(self):
++ mask = np.zeros((16, 16), bool)
++ mask[5, [3, 6, 10]] = True
++ k = np.array([[1000., 0, 8], [0, 1000., 8], [0, 0, 1]])
++ frame = synthetic_frame(np.full((16, 16), .3, np.float32), k, mask)
++ geometry = build_organized_geometry(frame)
++ uv = np.array([[2., 5], [4.5, 5], [7., 5], [10., 5]])
++ xyz = np.tile(geometry.xyz[5, 6], (4, 1))
++ matcher = CoverageMatcher(geometry, PEG, (uv, xyz))
++ return frame, geometry, matcher
++
++ def test_reference_overlap_union_and_surface_outside_candidates(self):
++ _, _, matcher = self.fixture()
++ c, p, s, f = [np.array(a, np.int64) for a in ([83, 86], [83], [86, 90], [90, 83, 86])]
++ row = staged_reference_coverage(matcher, c, p, s, f)
++ self.assertEqual(row['reference_ids']['C'], [0, 1, 2])
++ self.assertEqual(row['reference_ids']['P'], [0, 1])
++ self.assertEqual(row['reference_ids']['S'], [1, 2, 3])
++ self.assertEqual(row['reference_ids']['F'], [0, 1, 2, 3])
++ self.assertEqual(row['stages']['C'], dict(node_count=2, matched_node_count=2, unique_reference_count=3))
++ expected = dict(V_minus_O=0, O_minus_C=1, C_minus_P=1, C_minus_F=0,
++ P_intersect_S=1, S_minus_P=2, S_minus_C=1,
++ C_minus_P_intersect_S=1, O_minus_F=0)
++ self.assertEqual({k: v['count'] for k, v in row['differences'].items()}, expected)
++ self.assertEqual(row['coverage']['candidate'], dict(numerator=3, denominator=4, value=.75))
++
++ def test_two_different_nodes_cannot_satisfy_one_reference_pair(self):
++ frame, _, _ = self.fixture()
++ intrinsic = frame.intrinsic.copy(); intrinsic[0, 0] = 100.
++ geometry = build_organized_geometry(replace(frame, intrinsic=intrinsic))
++ # Node 83 satisfies 2D only; node 90 satisfies 3D only.
++ matcher = CoverageMatcher(geometry, PEG, (np.array([[3., 5]]), geometry.xyz[5, 10][None]))
++ ids, matched = matcher.reference_hits(np.array([83, 90]))
++ self.assertEqual((len(ids), len(matched)), (0, 0))
++
++ def test_empty_points_zero_observation_and_zero_visible(self):
++ frame, geometry, matcher = self.fixture()
++ empty = np.array([], np.int64)
++ row = staged_reference_coverage(matcher, empty, empty, empty, empty)
++ self.assertEqual(row['coverage']['final_retention'], dict(numerator=0, denominator=4, value=0.))
++ geometry = build_organized_geometry(replace(frame, masks={PEG: np.zeros_like(frame.depth, bool)}))
++ for refs in ((matcher.ref_uv, matcher.ref_xyz), (np.empty((0, 2)), np.empty((0, 3)))):
++ row = staged_reference_coverage(CoverageMatcher(geometry, PEG, refs), empty, empty, empty, empty)
++ self.assertEqual(row['coverage']['final_retention'], dict(numerator=0, denominator=0, value=None))
++ self.assertEqual(row['coverage']['observation']['numerator'], 0)
++ self.assertEqual(row['coverage']['observation']['denominator'], len(refs[0]))
++
++ def test_general_fps_candidate_and_priority_are_inapplicable(self):
++ _, _, matcher = self.fixture()
++ flat = matcher.flat
++ row = staged_reference_coverage(matcher, None, None, flat, flat)
++ for name in ('C', 'P'):
++ self.assertIsNone(row['stages'][name])
++ self.assertIsNone(row['coverage']['candidate'])
++ self.assertIsNone(row['coverage']['priority'])
++ self.assertIsNone(row['differences']['O_minus_C'])
++ self.assertEqual(row['coverage']['surface'], row['coverage']['final_retention'])
++
++ def test_invalid_nodes_and_non_partition_are_rejected(self):
++ _, _, matcher = self.fixture()
++ for flat in (np.array([0]), np.array([83, 83]), np.array([256]), np.array([-1]), np.array([83.])):
++ with self.assertRaises(ValueError):
++ matcher.reference_hits(flat)
++ with self.assertRaises(ValueError):
++ staged_reference_coverage(matcher, np.array([83]), np.array([86]), np.array([90]), np.array([86, 90]))
++ with self.assertRaises(ValueError):
++ staged_reference_coverage(matcher, matcher.flat, np.array([83]), np.array([83, 90]), np.array([83, 90]))
++ with self.assertRaises(ValueError):
++ staged_reference_coverage(matcher, matcher.flat, np.array([83]), np.array([90]), matcher.flat)
++
++ def test_geometry_alignment_invalid_depth_overlap_and_pixel_centres(self):
++ frame, _, _ = self.fixture()
++ depth = frame.depth.copy()
++ depth[5, 6] = 0
++ depth[2, 2] = np.nan
++ box = np.zeros_like(depth, bool)
++ box[5, 10] = True # ambiguous in BOTH masks
++ frame = replace(frame, depth=depth, masks={PEG: frame.masks[PEG], BOX: box})
++ evidence = geometry_evidence(frame)
++ geometry = evidence.frame.geometry
++ self.assertEqual(np.flatnonzero(geometry.observed_mask(PEG)).tolist(), [83])
++ self.assertFalse(geometry.observed_mask(BOX).any())
++ self.assertTrue(np.isnan(geometry.xyz[5, 6]).all())
++ z = float(depth[5, 3])
++ np.testing.assert_allclose(geometry.xyz[5, 3], [(3.5-8)*z/1000, (5.5-8)*z/1000, z], rtol=1e-7)
++ # Minimal evaluation adapter has exactly the existing validity ROI field.
++ from visual.runtime.geometry import compute_geometric_features, GeometryParameters
++ for oid in (PEG, BOX):
++ features = compute_geometric_features(geometry, oid, np.full_like(geometry.xyz, np.nan),
++ np.zeros_like(depth, bool), GeometryParameters())
++ np.testing.assert_array_equal(evidence.frame.objects[oid].depth_validity_boundary,
++ features.depth_validity_boundary)
++ key = 'saved'
++ archive = {'source_frame': np.array(frame.source_frame), 'shape': np.array(depth.shape),
++ key+'/flat_index': np.array([83]), key+'/pixels_vu': np.array([[5, 3]]),
++ key+'/object_id': np.array([PEG]), key+'/points': geometry.xyz[5, 3][None].copy(),
++ key+'/priority_selected': np.array([False]), key+'/depth_priority_selected': np.array([False])}
++ self.assertTrue(validate_saved_selection(archive, key, frame, geometry)['xyz_exact'])
++ for field, corrupted in [('points', archive[key+'/points']+.001), ('pixels_vu', np.array([[5, 4]])),
++ ('object_id', np.array([BOX]))]:
++ with self.assertRaises((ValueError, AssertionError)):
++ validate_saved_selection(dict(archive, **{key+'/'+field: corrupted}), key, frame, geometry)
++ with self.assertRaises(ValueError):
++ validate_saved_selection(dict(archive, source_frame=np.array(frame.source_frame+1)), key, frame, geometry)
++
++ def test_negative_union_deduplicates_and_depth_bands_cover_paths(self):
++ frame, _, matcher = self.fixture()
++ a = np.zeros_like(frame.depth, bool); b = a.copy()
++ a[5, [3, 6]] = True; b[5, [6, 10]] = True
++ row = occupancy(frame, dict(X=matcher.flat, C=None, P=None, S=matcher.flat, F=matcher.flat), dict(a=a, b=b))
++ roi = row['negative_roi']
++ self.assertEqual(roi['a']['F']['count']+roi['b']['F']['count'], 4)
++ self.assertEqual(roi['known_negative_union']['F']['count'], 3)
++ self.assertIsNone(roi['known_negative_union']['P'])
++ self.assertEqual(sum(v['numerator'] for v in row['depth_quantile_occupancy']['F'].values()), 3)
++
++ def test_historical_evaluation_changes_fail_closed(self):
++ import hashlib
++ with tempfile.TemporaryDirectory() as directory:
++ root = Path(directory)
++ relative = 'visual/runtime/test/sampling_evaluation.py'
++ snapshot = root/'evaluated_source'/relative
++ snapshot.parent.mkdir(parents=True)
++ source = Path(relative).read_text().replace('<= m', '<= m*2', 1)
++ snapshot.write_text(source)
++ config = {'source_sha256': {relative: hashlib.sha256(snapshot.read_bytes()).hexdigest()}}
++ with self.assertRaisesRegex(ValueError, 'historical evaluation definition'):
++ source_contract(root, config)
++
++
+ if __name__=='__main__':unittest.main()
+diff --git a/visual/runtime/test/run_rim_bottleneck.py b/visual/runtime/test/run_rim_bottleneck.py
+new file mode 100644
+index 0000000..35b3330
+--- /dev/null
++++ b/visual/runtime/test/run_rim_bottleneck.py
+@@ -0,0 +1,342 @@
++"""Task03-D Phase 1: diagnose ONLY saved frames 0/120 and S0/S2/S3.
++
++WANDB_MODE=disabled .venv/bin/python -m visual.runtime.test.run_rim_bottleneck
++
++No sampler, normal estimator, candidate extraction, FPS or simulator is called.
++Results go to a new ExperimentLogger UUID directory; inputs remain read-only.
++"""
++from __future__ import annotations
++
++import argparse
++import ast
++import json
++import os
++from pathlib import Path
++import platform
++import shutil
++from types import SimpleNamespace
++
++import numpy as np
++
++from utils.experiment_artifacts import digests
++from utils.experiment_logger import ExperimentLogger
++from visual.runtime.geometry import build_organized_geometry
++from visual.runtime.rgbd import BOX, PEG, attach_rgbd
++from visual.runtime.test.normal_diagnostics import endpoints
++from visual.runtime.test.sampling_evaluation import (
++ CoverageMatcher, count_ratio, evaluation_context, staged_reference_coverage,
++)
++
++REPO = Path(__file__).resolve().parents[3]
++SOURCE_RUN = '2551448b0fae4c6bbce3caf48774275f'
++CONDITIONS = dict(S0='S0_n256_r0_t20_s0', S2='S2_n256_r0.25_t20_s0',
++ S3='S3_n256_r0.25_t20_s0')
++FRAMES = (0, 120)
++TARGETS = {0: (103, 103, (6, 16, 3)), 120: (41, 8, (3, 0, 2))}
++
++
++def write_json(path, value):
++ path.write_text(json.dumps(value, indent=2, allow_nan=False)+'\n', encoding='utf-8')
++
++
++def require_equal(actual, expected, label):
++ if actual != expected:
++ raise ValueError(f'{label} mismatch: {actual!r} != {expected!r}')
++
++
++def source_contract(source, config):
++ """Fail closed on historical evaluation changes; permit additive diagnostics.
++
++ Every original top-level function and every original CoverageMatcher method
++ must retain its AST. Evaluation imports/constants remain unchanged too.
++ """
++ records = {}
++ for relative, expected in config['source_sha256'].items():
++ saved, current = source/'evaluated_source'/relative, REPO/relative
++ require_equal(digests(saved)[1], expected, f'source snapshot {relative}')
++ saved_tree, current_tree = ast.parse(saved.read_text()), ast.parse(current.read_text())
++ if relative.endswith('/sampling_evaluation.py'):
++ functions = {n.name: n for n in current_tree.body if isinstance(n, (ast.FunctionDef, ast.ClassDef))}
++ for node in saved_tree.body:
++ if isinstance(node, ast.ClassDef):
++ replacement = functions[node.name]
++ methods = {n.name: n for n in replacement.body if isinstance(n, ast.FunctionDef)}
++ replacement = ast.ClassDef(name=node.name, bases=replacement.bases,
++ keywords=replacement.keywords, body=[methods[n.name] if isinstance(n, ast.FunctionDef)
++ else n for n in node.body], decorator_list=replacement.decorator_list)
++ elif isinstance(node, ast.FunctionDef):
++ replacement = functions[node.name]
++ else:
++ if ast.dump(node) not in [ast.dump(n) for n in current_tree.body]:
++ raise ValueError(f'historical evaluation import/constant changed: {relative}')
++ replacement = node
++ require_equal(ast.dump(replacement), ast.dump(node), f'historical evaluation definition {relative}')
++ status = 'original definitions unchanged; additive diagnostics only'
++ elif relative.endswith('/test_sampling_evaluation.py'):
++ status = 'diagnostic tests extended; not an evaluation dependency'
++ else:
++ require_equal(ast.dump(current_tree), ast.dump(saved_tree), f'historical source AST {relative}')
++ status = 'byte identical' if digests(current)[1] == expected else 'AST identical (formatting only)'
++ records[relative] = dict(original_sha256=expected, current_sha256=digests(current)[1], status=status)
++ return records
++
++
++def geometry_evidence(frame):
++ """Only the mask/validity fields read by the unchanged evaluation_context.
++
++ endpoints(support, ~valid_depth) is the original in-image four-neighbour
++ depth_validity_boundary rule. No normals/features/candidates are extracted.
++ """
++ geometry = build_organized_geometry(frame)
++ objects = {oid: SimpleNamespace(object_mask=geometry.object_masks[oid],
++ depth_validity_boundary=endpoints(geometry.observed_mask(oid), ~geometry.valid_depth))
++ for oid in (PEG, BOX)}
++ return SimpleNamespace(frame=SimpleNamespace(geometry=geometry, objects=objects))
++
++
++def validate_saved_selection(archive, key, frame, geometry):
++ """Exact source raster, object support and float32 XYZ equality, no epsilon."""
++ require_equal(int(archive['source_frame']), frame.source_frame, 'source_frame')
++ np.testing.assert_array_equal(archive['shape'], frame.depth.shape)
++ flat, vu = archive[key+'/flat_index'], archive[key+'/pixels_vu']
++ oid, points = archive[key+'/object_id'], archive[key+'/points']
++ priority = archive[key+'/priority_selected']
++ if flat.ndim != 1 or flat.dtype.kind not in 'iu' or len(np.unique(flat)) != len(flat):
++ raise ValueError('invalid/duplicate saved source pixels')
++ if ((flat < 0) | (flat >= frame.depth.size)).any():
++ raise ValueError('source pixel outside raster')
++ np.testing.assert_array_equal(vu, np.column_stack(np.unravel_index(flat, frame.depth.shape)))
++ np.testing.assert_array_equal(flat, vu[:, 0]*frame.depth.shape[1]+vu[:, 1])
++ require_equal(len(oid), len(flat), 'object ID length')
++ if not np.isin(oid, [PEG, BOX]).all() or priority.shape != flat.shape or priority.dtype != bool:
++ raise ValueError('invalid object IDs/selection roles')
++ np.testing.assert_array_equal(points, geometry.xyz.reshape(-1, 3)[flat])
++ for object_id in (PEG, BOX):
++ if not geometry.observed_mask(object_id).ravel()[flat[oid == object_id]].all():
++ raise ValueError('saved selection outside valid unambiguous object support')
++ if archive[key+'/depth_priority_selected'].any():
++ raise ValueError('unexpected depth priority in S0/S2/S3')
++ return dict(source_frame=frame.source_frame, selected_nodes=len(flat),
++ xyz_exact=True, max_abs_xyz_error_m=0., raster_and_object_support=True)
++
++
++def depth_summary(values):
++ values = np.asarray(values)
++ if len(values) and not (np.isfinite(values) & (values > 0)).all():
++ raise ValueError('nonpositive/nonfinite depth in observed support')
++ return dict(count=len(values), min=float(values.min()) if len(values) else None,
++ median=float(np.median(values)) if len(values) else None,
++ p95=float(np.percentile(values, 95)) if len(values) else None,
++ max=float(values.max()) if len(values) else None)
++
++
++def occupancy(frame, node_sets, negatives):
++ """Per-path node occupancy; overlapping ROIs and their deduplicated union."""
++ masks = dict(negatives)
++ masks['known_negative_union'] = np.logical_or.reduce(list(negatives.values()))
++ x = node_sets['X']
++ roi = {}
++ for name, mask in masks.items():
++ observed = int(mask.ravel()[x].sum())
++ roi[name] = {}
++ for stage, flat in node_sets.items():
++ if flat is None:
++ roi[name][stage] = None
++ continue
++ count = int(mask.ravel()[flat].sum())
++ roi[name][stage] = dict(count=count, fraction_of_path=count_ratio(count, len(flat)),
++ fraction_of_observed_roi=count_ratio(count, observed))
++ depth = {name: depth_summary(frame.depth.ravel()[flat]) if flat is not None else None
++ for name, flat in node_sets.items()}
++ # Observation-derived quantile bands describe depth occupancy without an
++ # arbitrary far cutoff or reclassifying ordinary surface nodes as errors.
++ bounds = depth['X']
++ bands = {}
++ if len(x):
++ for stage, flat in node_sets.items():
++ if flat is None:
++ bands[stage] = None
++ continue
++ z = frame.depth.ravel()[flat]
++ counts = (int((z <= bounds['median']).sum()),
++ int(((z > bounds['median']) & (z <= bounds['p95'])).sum()),
++ int((z > bounds['p95']).sum()))
++ bands[stage] = {name: count_ratio(n, len(z)) for name, n in
++ zip(('z_le_X_median', 'X_median_lt_z_le_X_p95', 'z_gt_X_p95'), counts)}
++ return dict(negative_roi=roi, depth_m=depth, depth_quantile_occupancy=bands,
++ depth_band_bounds_m=dict(median=bounds['median'], p95=bounds['p95']))
++
++
++def compare_ids(first, second):
++ first, second = set(first), set(second)
++ return {name: dict(count=len(ids), reference_ids=sorted(ids)) for name, ids in
++ [('intersection', first & second), ('S2_only', first-second), ('S3_only', second-first)]}
++
++
++def diagnose_frame(frame, gt, robot_ids, source):
++ evidence = geometry_evidence(frame)
++ geometry = evidence.frame.geometry
++ context = evaluation_context(frame, evidence, gt, frame.camera, robot_ids)
++ metrics = json.loads((source/f'f{frame.source_frame:04d}_metrics.json').read_text())
++ results, alignments = {}, {}
++ with np.load(source/f'f{frame.source_frame:04d}_samples.npz', allow_pickle=False) as archive:
++ # Recomputed Task02 references must be bit-exact, including ID order.
++ # Actual matching below always uses the saved arrays.
++ for suffix, recomputed in zip(('uv', 'xyz'), context['references']['box']):
++ np.testing.assert_array_equal(archive[f'evaluation/box/reference_{suffix}'], recomputed)
++ reference = tuple(archive['evaluation/box/reference_'+s] for s in ('uv', 'xyz'))
++ matcher = CoverageMatcher(geometry, BOX, reference)
++ for method, key in CONDITIONS.items():
++ require_equal(metrics[key]['source_frame'], frame.source_frame, 'metric source row')
++ alignments[method] = validate_saved_selection(archive, key, frame, geometry)
++ choose = archive[key+'/object_id'] == BOX
++ f = archive[key+'/flat_index'][choose]
++ role = archive[key+'/priority_selected'][choose]
++ p, s = f[role], f[~role]
++ c = None if method == 'S0' else archive[f'evidence/{"fd2" if method == "S2" else "pca5"}/1/20/orientation_flat']
++ if method == 'S0' and len(p):
++ raise ValueError('General FPS unexpectedly has priority nodes')
++ row = staged_reference_coverage(matcher, c, p if c is not None else None, s, f)
++ original = metrics[key]['objects']['box']
++ rescored, _ = matcher.score(f)
++ require_equal(rescored['tolerance'], original['structural']['tolerance'], 'frame-level coverage')
++ counts = original['counts']
++ for name, n in [('observed', len(matcher.flat)), ('budget', len(f)), ('priority', len(p)),
++ ('surface_fps', len(s)), ('selected', len(f))]:
++ require_equal(n, counts[name], 'Box '+name)
++ if c is not None:
++ require_equal(len(c), counts['candidates'], 'Box candidates')
++ require_equal(int(np.isin(f, c).sum()), counts['selected_candidates'], 'selected candidate nodes')
++ nodes = dict(X=matcher.flat, C=c, P=p if c is not None else None, S=s, F=f)
++ row.update(occupancy(frame, nodes, context['negatives']['box']))
++ for name, oid in [('peg', PEG), ('box', BOX)]:
++ obj = archive[key+'/object_id'] == oid
++ obj_flat = archive[key+'/flat_index'][obj]
++ obj_priority = archive[key+'/priority_selected'][obj]
++ estimator = 'fd2' if method == 'S2' else 'pca5'
++ obj_candidates = archive[f'evidence/{estimator}/{oid}/20/orientation_flat']
++ saved_counts = metrics[key]['objects'][name]['counts']
++ expected_counts = dict(observed=int(geometry.observed_mask(oid).sum()),
++ budget=len(obj_flat), candidates=len(obj_candidates), priority=int(obj_priority.sum()),
++ orientation_priority=int(obj_priority.sum()), depth_priority=0,
++ surface_fps=int((~obj_priority).sum()), selected=len(obj_flat),
++ selected_candidates=int(np.isin(obj_flat, obj_candidates).sum()))
++ require_equal(saved_counts, expected_counts, name+' allocation counters')
++ # Prove existing ROI occupancy is reproduced, not a new ROI definition.
++ for name, saved in original['negative'].items():
++ actual = row['negative_roi'][name]
++ for old, stage in [('observed', 'X'), ('selected', 'F'), ('priority', 'P')]:
++ require_equal(actual[stage]['count'] if actual[stage] is not None else 0,
++ saved[old], 'saved negative ROI '+name+'/'+old)
++ row.update(condition=key, control='General FPS; C/P not applicable' if c is None else None,
++ allocation={name: metrics[key]['objects'][name]['counts'] for name in ('box', 'peg')},
++ original_frame_coverage_exact=True)
++ results[method] = row
++ expected_v, expected_o, expected_final = TARGETS[frame.source_frame]
++ require_equal(len(results['S0']['reference_ids']['V']), expected_v, 'target GT')
++ require_equal(len(results['S0']['reference_ids']['O']), expected_o, 'target observed')
++ for method, n in zip(CONDITIONS, expected_final):
++ require_equal(results[method]['stages']['F']['unique_reference_count'], n, 'target '+method)
++ # Allocation targets requested explicitly, separate from reference counts.
++ box = {m: results[m]['allocation']['box'] for m in CONDITIONS}
++ if frame.source_frame == 0:
++ for m in CONDITIONS:
++ require_equal((box[m]['observed'], box[m]['budget']), (11665, 127), 'frame 0 allocation')
++ expected = {'S2': (297, 32), 'S3': (599, 32)}
++ else:
++ expected = {'S2': (24, 24), 'S3': (65, 49)}
++ for m, pair in expected.items():
++ require_equal((box[m]['candidates'], box[m]['priority']), pair, 'candidate/priority target '+m)
++ comparison = {stage: compare_ids(results['S2']['reference_ids'][stage],
++ results['S3']['reference_ids'][stage]) for stage in ('C', 'P', 'F')}
++ return dict(source_frame=frame.source_frame, conditions=results, S2_vs_S3=comparison,
++ alignment=alignments, saved_reference_order_and_geometry_exact=True,
++ target_coverage_exact=True, saved_negative_roi_counts_exact=True)
++
++
++def diagnose(source, output_root):
++ if os.environ.get('WANDB_MODE') != 'disabled':
++ raise ValueError('set WANDB_MODE=disabled for this local-only diagnostic')
++ source = Path(source).resolve()
++ comparison_path = source/'comparison.json'
++ original = json.loads(comparison_path.read_text())
++ require_equal(original['run_id'], SOURCE_RUN, 'Task03 source run')
++ config = original['config']
++ source_checks = source_contract(source, config)
++ episode, masks = Path(config['input']), Path(config['masks'])
++ inputs = [comparison_path, episode, masks]
++ require_equal(digests(episode)[1], config['input_sha256'], 'episode SHA256')
++ require_equal(digests(masks)[1], config['masks_sha256'], 'tracker mask SHA256')
++ require_equal(config['tolerances_px_m'], [[1., .002], [2., .003], [3., .005]], 'evaluation tolerances')
++ segmap = episode.with_name('segmentation_id_map.json')
++ require_equal(digests(segmap)[1], config['segmentation_map_sha256'], 'segmentation map SHA256')
++ inputs.append(segmap)
++ tracking_path = masks.with_name('tracking.json')
++ if tracking_path.exists():
++ tracking = json.loads(tracking_path.read_text())
++ require_equal(tracking['camera'], config['camera'], 'tracker camera')
++ require_equal(Path(tracking['input']).resolve(), episode.resolve(), 'tracker source episode')
++ inputs.append(tracking_path)
++ for f in FRAMES:
++ inputs.extend(source/f'f{f:04d}_{suffix}' for suffix in ('samples.npz', 'metrics.json'))
++ before = {str(p): digests(p)[1] for p in inputs}
++ current_sources = {str(p.relative_to(REPO)): digests(p)[1] for p in
++ (Path(__file__), Path(__file__).with_name('sampling_evaluation.py'),
++ Path(__file__).with_name('test_sampling_evaluation.py'))}
++ diagnostic_config = dict(task='03-D', phase=1, source_run_id=SOURCE_RUN, source_directory=str(source),
++ frames=FRAMES, conditions=CONDITIONS, tolerance_px_m=[2., .003],
++ input_sha256=before, source_sha256=current_sources, device='cpu', gpu_executed=False,
++ gt_diagnostic_only=True, sampler_executed=False, candidate_extraction_executed=False,
++ normal_estimation_executed=False, python=platform.python_version(), numpy=np.__version__)
++ with ExperimentLogger(team='visual', config=diagnostic_config, seed=0, model='task03d_rim_bottleneck',
++ job_type='evaluate', root=output_root) as logger:
++ output = logger.directory
++ logger.record(source_run_id=SOURCE_RUN, evaluation_device='cpu', gpu_executed=False)
++ print('Output:', output, flush=True)
++ with np.load(episode, allow_pickle=False) as ep, np.load(masks, allow_pickle=False) as mask:
++ gt_keys = [f'{config["camera"]}/seg', 'peg_id', 'box_id', 'peg_pose', 'box_pose',
++ 'box_hole_pose', 'peg_half_sizes', 'box_hole_radii']
++ gt = {k: ep[k] for k in gt_keys}
++ sources = mask['source_frame']
++ np.testing.assert_array_equal(sources, np.arange(len(gt[gt_keys[0]])))
++ peg_masks, box_masks = mask['peg'], mask['box']
++ selected_rows = [int(np.flatnonzero(sources == f).item()) for f in FRAMES]
++ tracking_rows = ((i, {1: peg_masks[row], 2: box_masks[row]}) for i, row in enumerate(selected_rows))
++ frames = attach_rgbd(tracking_rows, ep, camera=config['camera'], source_frames=sources[selected_rows])
++ rows = [diagnose_frame(frame, gt, config['robot_ids'], source) for frame in frames]
++ require_equal(tuple(r['source_frame'] for r in rows), FRAMES, 'diagnosed sources')
++ after = {str(p): digests(p)[1] for p in inputs}
++ require_equal(after, before, 'input preservation SHA256')
++ result = dict(run_id=logger.run_id, source_run_id=SOURCE_RUN, config=diagnostic_config,
++ source_contract=source_checks, inputs_unchanged=True, frames=rows,
++ notes=['Reference IDs index saved evaluation/box/reference_uv and reference_xyz rows.',
++ 'All coverage uses the same pair within 2px AND 3mm.',
++ 'Overlapping set differences and ROI counts are not additive causal losses.',
++ 'S0 saved candidate diagnostics appear only in allocation; C/P are inapplicable.',
++ 'Depth bands are empirical X quantiles, not filtering or far/error labels.',
++ 'No FPS trace or causal counterfactual was executed.'])
++ write_json(output/'diagnostic.json', result)
++ for relative in current_sources:
++ dest = output/'diagnostic_source'/relative
++ dest.parent.mkdir(parents=True, exist_ok=True)
++ shutil.copyfile(REPO/relative, dest)
++ logger.link_output(dest, kind='reports')
++ logger.link_output(output/'diagnostic.json', kind='metrics')
++ for row in rows:
++ logger.log({m: r['coverage'] for m, r in row['conditions'].items()},
++ step=row['source_frame'], prefix='eval/task03d')
++ logger.record(inputs_unchanged=True, evaluated_frames=len(rows), all_target_coverage_exact=True,
++ source_contract_verified=True)
++ return output
++
++
++def main():
++ parser = argparse.ArgumentParser(description=__doc__)
++ parser.add_argument('--source', type=Path, default=REPO/'visual/results/sampling'/SOURCE_RUN)
++ parser.add_argument('--out', type=Path, default=REPO/'experiments')
++ args = parser.parse_args()
++ print(diagnose(args.source, args.out))
++
++
++if __name__ == '__main__':
++ main()
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/34c14a7aba8eba48f7aafc5f2a0ca6708dd0ffa1732a1ae68e00c84be750f4e8/execution.log b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/34c14a7aba8eba48f7aafc5f2a0ca6708dd0ffa1732a1ae68e00c84be750f4e8/execution.log
new file mode 100644
index 0000000000000000000000000000000000000000..0a537e03c8bedd2e5df30f1d8d301cc29481a759
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/34c14a7aba8eba48f7aafc5f2a0ca6708dd0ffa1732a1ae68e00c84be750f4e8/execution.log
@@ -0,0 +1,2 @@
+Output: /Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/experiments/d3f14ee494894daabb8ba2fab8e1b00c
+/Users/jeong-yunseong/Documents/programming/graph-recurrent-VLA/experiments/d3f14ee494894daabb8ba2fab8e1b00c
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/6f789bf37516620bdbd2e45b27a729a331ef1d14961cd97e0606533d28c4790f/visualizations_template.html b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/6f789bf37516620bdbd2e45b27a729a331ef1d14961cd97e0606533d28c4790f/visualizations_template.html
new file mode 100644
index 0000000000000000000000000000000000000000..534b37f88da2963fe09af4adf7e1a394c76d9f97
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/6f789bf37516620bdbd2e45b27a729a331ef1d14961cd97e0606533d28c4790f/visualizations_template.html
@@ -0,0 +1,200 @@
+
+
+
+
+
+Task03-D · Box rim coverage 진단
+
+
+
+
+
+
+
+단계별 reference coverage
+
+
+X는 전체 유효 Box 관측점입니다. C/P/S/F의 분모는 모두 O이며 S0의 C/P는 N/A입니다. P와 S의 coverage는 겹칠 수 있으므로 막대를 단순 합산하지 않습니다.
+
+Node 수와 unique reference 수 구분
+
+
+
+Reference ID별 보존 상태
+열은 저장 reference 배열의 행 번호입니다. ID 순서는 물리적인 rim 경로 순서를 의미하지 않습니다. 채워진 칸은 해당 reference가 집합에 포함됨을 뜻합니다.
+
+미포함S2 포함S3 포함관측 또는 S0 포함
+좁은 화면에서는 ID 선택 목록을 사용할 수 있습니다.
+
+S2와 S3 직접 비교
각 행의 교집합과 차집합은 reference ID 기준입니다. 왼쪽 집합 차이 행들은 겹칠 수 있어 원인별 손실률처럼 합산할 수 없습니다.
+
+
+Negative ROI의 경로별 점유
+ROI에 들어간 실제 node 수를 경로별 node 수로 나눕니다. 개별 ROI는 겹치고 known_negative_union은 논리 OR로 중복을 제거합니다. 일반 Surface node를 false selection이나 예산 낭비로 해석하지 않습니다.
+
+
+모든 ROI의 node count와 경로 대비 비율
+
+
+Positive depth 분포와 선택 경로
+선분은 min–max, 원은 median, 삼각형은 p95입니다. 세 조건은 같은 축 범위를 사용합니다. 원거리 cutoff를 추가하거나 depth를 필터링하지 않았습니다.
+
+┃ min / max● median▲ p95
+
+
+관측 X의 분위수 구간별 점유
+
+z ≤ X medianX median < z ≤ X p95z > X p95
+
+X 분위수는 해당 프레임의 관측 분포를 설명하는 경계이며 far point나 오류 판정 기준이 아닙니다. 구간 점유와 coverage의 상관만으로 FPS 거리 경쟁의 인과 효과를 확정할 수 없습니다.
+
+
+Peg와 Box의 node allocation
+물체별 실제 priority와 Surface 선택 node를 합쳐 256개 예산을 보여줍니다. 원본 frame metrics의 observed, budget, candidates, priority, surface_fps, selected를 연결했습니다.
+
+
+S0의 candidates count는 저장된 PCA5 진단 수치이며 General FPS의 후보 우선 선택을 의미하지 않습니다. S0의 후보 coverage는 N/A입니다.
+
+
+검증과 해석 범위
+확인한 계약
- 저장 reference ID 순서, 모든 단계 node·matched node·unique reference 수 일치.
- 저장 selected XYZ와 원래 RGB-D raster geometry 정확히 일치.
- 동일 point/reference pair의 2px AND 3mm 조건.
- 원본 NPZ·JSON·RGB-D·mask hash 보존.
- Phase 1 관련 테스트 31 PASS / 0 FAIL / 0 SKIP.
확인하지 않은 인과 원인
후보에서 priority로 넘어갈 때의 reference 감소와 Surface 보완은 관측했습니다. 오염, 원거리 point, FPS 초기점·tie·거리 경쟁의 기여율은 미확인입니다.
시각화는 저장된 결과를 표시합니다. Sampler, 후보 추출, normal estimation, FPS trace, GPU, simulator를 실행하지 않았습니다.
+
+
+
+
+
+
+
+
+
+
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/70742cb85640c3ab9a3441dcabbcb62bbce4b887dc5858890ec0c2054a0149b1/analysis.txt b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/70742cb85640c3ab9a3441dcabbcb62bbce4b887dc5858890ec0c2054a0149b1/analysis.txt
new file mode 100644
index 0000000000000000000000000000000000000000..559eb4dab5d7026f191e6381b9a0db86008e4e98
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/70742cb85640c3ab9a3441dcabbcb62bbce4b887dc5858890ec0c2054a0149b1/analysis.txt
@@ -0,0 +1,217 @@
+Task03-D — Box Hole Rim Bottleneck Analysis, Phase 1
+Run: d3f14ee494894daabb8ba2fab8e1b00c; source run: 2551448b0fae4c6bbce3caf48774275f
+CPU / saved ep000 / frames 0 and 120 / S0, S2, S3 only.
+
+결론: Frame 0의 S3는 후보 reference coverage가 S2보다 높지만(91 vs 57), priority 선택 후에는 3 vs 13으로 역전된다.
+S2 Surface는 후보 밖 reference 3개를 보완하여 최종 16개, S3 Surface는 0개를 보완하여 최종 3개다.
+관측 손실은 frame 0에서 0개다. Frame 120은 관측 손실 33개와 후보 rim coverage 0/8을 구분해야 한다.
+이는 손실이 나타나는 단계를 확인한 결과다. 오염 또는 FPS 거리 경쟁의 인과 기여율은 이 자료로 확정하지 않는다.
+
+정의와 구현
+R(A): 동일 물체의 동일 point/reference pair가 2D <=2px AND 3D <=3mm를 동시에 만족하는 unique saved reference ID 집합.
+ID는 저장 evaluation/box/reference_uv 및 reference_xyz의 행 번호다. 한 node의 다중 reference hit와 다중 node의 동일 reference hit를 구분했다.
+관측 분모는 V, 후보/priority/surface/final retention 분모는 O다. 분모 0은 null(N/A)이며 raw 분자/분모를 보존한다.
+S0는 General FPS 대조이며 C/P와 관련 집합 차이는 N/A다. 저장된 candidate 진단 count는 allocation 표에서만 별도 표시한다.
+기존 run_sampling.py를 수정하지 않고 독립 run_rim_bottleneck.py를 추가했다. 전체 sweep의 기본 동작과 입력 요구사항에 영향이 없기 때문이다.
+sampling_evaluation.py:47 reference_hits, :100 count_ratio, :106 staged_reference_coverage를 추가했다.
+기존 CoverageMatcher.__init__/score, evaluation_context(), Task02 rim_reference()와 평가 상수는 원본 AST와 같다.
+run_rim_bottleneck.py:47 source_contract, :84 geometry_evidence, :97 validate_saved_selection, :176 diagnose_frame, :257 diagnose.
+geometry_evidence는 기존 RGB-D adapter와 build_organized_geometry 및 ROI에 필요한 object_mask/validity boundary만 사용한다.
+normal estimation, feature extraction, candidate extraction, sampler, 별도 FPS를 실제 진단에서 호출하지 않는다.
+착수 시 유일한 원본 source byte 차이였던 edge_evidence.py는 끝의 빈 줄 제거뿐이며 AST가 같다.
+변경 파일: sampling_evaluation.py(+74), run_rim_bottleneck.py(신규 342줄), test_sampling_evaluation.py(+135/-1; 신규 테스트 8개).
+production sampling.py/estimator/FPS, allocation, 기존 runner는 변경하지 않았다.
+
+Frame 0 — Box 단계별 집계
+method | stage | actual nodes | matched nodes | unique references | coverage
+S0 | X | 11665 | 153 | 103 | 103/103 (100.00%)
+S0 | C | N/A | N/A | N/A | N/A
+S0 | P | N/A | N/A | N/A | N/A
+S0 | S | 127 | 2 | 6 | 6/103 (5.83%)
+S0 | F | 127 | 2 | 6 | 6/103 (5.83%)
+S2 | X | 11665 | 153 | 103 | 103/103 (100.00%)
+S2 | C | 297 | 101 | 57 | 57/103 (55.34%)
+S2 | P | 32 | 4 | 13 | 13/103 (12.62%)
+S2 | S | 95 | 1 | 3 | 3/103 (2.91%)
+S2 | F | 127 | 5 | 16 | 16/103 (15.53%)
+S3 | X | 11665 | 153 | 103 | 103/103 (100.00%)
+S3 | C | 599 | 127 | 91 | 91/103 (88.35%)
+S3 | P | 32 | 1 | 3 | 3/103 (2.91%)
+S3 | S | 95 | 0 | 0 | 0/103 (0.00%)
+S3 | F | 127 | 1 | 3 | 3/103 (2.91%)
+
+집합 차이 — reference 수. 서로 겹치는 행을 원인별 손실률로 합산하지 않는다.
+expression | S0 | S2 | S3
+V_minus_O | 0 | 0 | 0
+O_minus_C | N/A | 46 | 12
+C_minus_P | N/A | 44 | 88
+C_minus_F | N/A | 44 | 88
+P_intersect_S | N/A | 0 | 0
+S_minus_P | N/A | 3 | 0
+S_minus_C | N/A | 3 | 0
+C_minus_P_intersect_S | N/A | 0 | 0
+O_minus_F | 97 | 87 | 100
+
+S2/S3 직접 비교: stage | intersection | S2 only | S3 only
+C | 56 | 1 | 35
+P | 0 | 13 | 3
+F | 0 | 16 | 3
+
+Allocation: method | object | observed | budget | candidates(saved diagnostic for S0) | priority | surface_fps | selected
+S0 | box | 11665 | 127 | 599 | 0 | 127 | 127
+S0 | peg | 11780 | 129 | 703 | 0 | 129 | 129
+S2 | box | 11665 | 127 | 297 | 32 | 95 | 127
+S2 | peg | 11780 | 129 | 870 | 32 | 97 | 129
+S3 | box | 11665 | 127 | 599 | 32 | 95 | 127
+S3 | peg | 11780 | 129 | 703 | 32 | 97 | 129
+
+Negative ROI node counts: ROI | X | S0 S/F | S2 C/P/S/F | S3 C/P/S/F
+silhouette_2px | 1164 | 19 | 0/0/15/15 | 2/1/17/18
+occlusion_2px | 510 | 5 | 0/0/6/6 | 94/5/3/8
+same_plane_tracker_cut_2px | 96 | 5 | 0/0/4/4 | 5/1/2/3
+invalid_depth_2px | 296 | 6 | 0/0/2/2 | 0/0/5/5
+robot_occlusion_2px | 510 | 5 | 0/0/6/6 | 94/5/3/8
+contamination | 482 | 21 | 59/3/15/18 | 186/4/16/20
+plane_interior | 8387 | 38 | 0/0/25/25 | 0/0/35/35
+known_negative_union | 10506 | 82 | 59/3/61/64 | 281/9/70/79
+개별 ROI는 겹친다. known_negative_union은 논리 OR로 중복을 제거하여 한 번만 센다.
+known_negative_union: method | C/path | P/path | S/path | F/path
+S0 | N/A | N/A | 82/127 (64.57%) | 82/127 (64.57%)
+S2 | 59/297 (19.87%) | 3/32 (9.38%) | 61/95 (64.21%) | 64/127 (50.39%)
+S3 | 281/599 (46.91%) | 9/32 (28.12%) | 70/95 (73.68%) | 79/127 (62.20%)
+ROI별 path 비율과 관측 ROI 대비 비율의 raw 분자/분모는 diagnostic.json에 모두 저장했다.
+일반 Surface node가 평면/negative ROI에 있다는 사실을 false selection이나 예산 낭비로 해석하지 않는다.
+
+Positive finite depth (CV-camera z, metres): method | path | count | min | median | p95 | max | count z > X p95 / path
+S0 | X | 11665 | 0.295000 | 0.496000 | 0.535000 | 30.726000 | 562/11665 (4.82%)
+S0 | S | 127 | 0.296000 | 0.524000 | 8.431000 | 30.726000 | 57/127 (44.88%)
+S0 | F | 127 | 0.296000 | 0.524000 | 8.431000 | 30.726000 | 57/127 (44.88%)
+S2 | X | 11665 | 0.295000 | 0.496000 | 0.535000 | 30.726000 | 562/11665 (4.82%)
+S2 | C | 297 | 0.303000 | 0.500000 | 0.632000 | 0.690000 | 47/297 (15.82%)
+S2 | P | 32 | 0.303000 | 0.506000 | 0.665300 | 0.690000 | 12/32 (37.50%)
+S2 | S | 95 | 0.296000 | 0.533000 | 8.431000 | 30.726000 | 47/95 (49.47%)
+S2 | F | 127 | 0.296000 | 0.529000 | 8.431000 | 30.726000 | 59/127 (46.46%)
+S3 | X | 11665 | 0.295000 | 0.496000 | 0.535000 | 30.726000 | 562/11665 (4.82%)
+S3 | C | 599 | 0.295000 | 0.488000 | 0.666500 | 1.426000 | 80/599 (13.36%)
+S3 | P | 32 | 0.306000 | 0.580500 | 1.405650 | 1.426000 | 20/32 (62.50%)
+S3 | S | 95 | 0.296000 | 0.522000 | 8.431000 | 30.726000 | 40/95 (42.11%)
+S3 | F | 127 | 0.296000 | 0.525000 | 8.431000 | 30.726000 | 60/127 (47.24%)
+X의 median/p95에서 나눈 세 구간은 분포 설명용이며 임의 far cutoff, filter 또는 오류 label이 아니다. 전체 구간별 점유는 JSON에 있다.
+
+Frame 120 — Box 단계별 집계
+method | stage | actual nodes | matched nodes | unique references | coverage
+S0 | X | 5618 | 11 | 8 | 8/41 (19.51%)
+S0 | C | N/A | N/A | N/A | N/A
+S0 | P | N/A | N/A | N/A | N/A
+S0 | S | 197 | 1 | 3 | 3/8 (37.50%)
+S0 | F | 197 | 1 | 3 | 3/8 (37.50%)
+S2 | X | 5618 | 11 | 8 | 8/41 (19.51%)
+S2 | C | 24 | 0 | 0 | 0/8 (0.00%)
+S2 | P | 24 | 0 | 0 | 0/8 (0.00%)
+S2 | S | 173 | 0 | 0 | 0/8 (0.00%)
+S2 | F | 197 | 0 | 0 | 0/8 (0.00%)
+S3 | X | 5618 | 11 | 8 | 8/41 (19.51%)
+S3 | C | 65 | 0 | 0 | 0/8 (0.00%)
+S3 | P | 49 | 0 | 0 | 0/8 (0.00%)
+S3 | S | 148 | 1 | 2 | 2/8 (25.00%)
+S3 | F | 197 | 1 | 2 | 2/8 (25.00%)
+
+집합 차이 — reference 수. 서로 겹치는 행을 원인별 손실률로 합산하지 않는다.
+expression | S0 | S2 | S3
+V_minus_O | 33 | 33 | 33
+O_minus_C | N/A | 8 | 8
+C_minus_P | N/A | 0 | 0
+C_minus_F | N/A | 0 | 0
+P_intersect_S | N/A | 0 | 0
+S_minus_P | N/A | 0 | 2
+S_minus_C | N/A | 0 | 2
+C_minus_P_intersect_S | N/A | 0 | 0
+O_minus_F | 5 | 8 | 6
+
+S2/S3 직접 비교: stage | intersection | S2 only | S3 only
+C | 0 | 0 | 0
+P | 0 | 0 | 0
+F | 0 | 0 | 2
+
+Allocation: method | object | observed | budget | candidates(saved diagnostic for S0) | priority | surface_fps | selected
+S0 | box | 5618 | 197 | 65 | 0 | 197 | 197
+S0 | peg | 1353 | 59 | 247 | 0 | 59 | 59
+S2 | box | 5618 | 197 | 24 | 24 | 173 | 197
+S2 | peg | 1353 | 59 | 206 | 40 | 19 | 59
+S3 | box | 5618 | 197 | 65 | 49 | 148 | 197
+S3 | peg | 1353 | 59 | 247 | 15 | 44 | 59
+
+Negative ROI node counts: ROI | X | S0 S/F | S2 C/P/S/F | S3 C/P/S/F
+silhouette_2px | 689 | 28 | 24/24/25/49 | 33/29/20/49
+occlusion_2px | 445 | 21 | 0/0/23/23 | 8/4/21/25
+same_plane_tracker_cut_2px | 177 | 12 | 0/0/11/11 | 0/0/10/10
+invalid_depth_2px | 0 | 0 | 0/0/0/0 | 0/0/0/0
+robot_occlusion_2px | 315 | 14 | 0/0/17/17 | 8/4/14/18
+contamination | 105 | 32 | 0/0/29/29 | 21/14/23/37
+plane_interior | 4325 | 113 | 0/0/94/94 | 0/0/83/83
+known_negative_union | 5556 | 193 | 24/24/170/194 | 62/47/146/193
+개별 ROI는 겹친다. known_negative_union은 논리 OR로 중복을 제거하여 한 번만 센다.
+known_negative_union: method | C/path | P/path | S/path | F/path
+S0 | N/A | N/A | 193/197 (97.97%) | 193/197 (97.97%)
+S2 | 24/24 (100.00%) | 24/24 (100.00%) | 170/173 (98.27%) | 194/197 (98.48%)
+S3 | 62/65 (95.38%) | 47/49 (95.92%) | 146/148 (98.65%) | 193/197 (97.97%)
+ROI별 path 비율과 관측 ROI 대비 비율의 raw 분자/분모는 diagnostic.json에 모두 저장했다.
+일반 Surface node가 평면/negative ROI에 있다는 사실을 false selection이나 예산 낭비로 해석하지 않는다.
+
+Positive finite depth (CV-camera z, metres): method | path | count | min | median | p95 | max | count z > X p95 / path
+S0 | X | 5618 | 0.413000 | 0.511000 | 0.531000 | 1.177000 | 276/5618 (4.91%)
+S0 | S | 197 | 0.413000 | 0.512000 | 0.761000 | 1.177000 | 30/197 (15.23%)
+S0 | F | 197 | 0.413000 | 0.512000 | 0.761000 | 1.177000 | 30/197 (15.23%)
+S2 | X | 5618 | 0.413000 | 0.511000 | 0.531000 | 1.177000 | 276/5618 (4.91%)
+S2 | C | 24 | 0.530000 | 0.537000 | 0.538000 | 0.538000 | 17/24 (70.83%)
+S2 | P | 24 | 0.530000 | 0.537000 | 0.538000 | 0.538000 | 17/24 (70.83%)
+S2 | S | 173 | 0.413000 | 0.513000 | 0.765400 | 1.177000 | 24/173 (13.87%)
+S2 | F | 197 | 0.413000 | 0.516000 | 0.761000 | 1.177000 | 41/197 (20.81%)
+S3 | X | 5618 | 0.413000 | 0.511000 | 0.531000 | 1.177000 | 276/5618 (4.91%)
+S3 | C | 65 | 0.426000 | 0.533000 | 0.539000 | 0.569000 | 38/65 (58.46%)
+S3 | P | 49 | 0.426000 | 0.535000 | 0.539000 | 0.569000 | 34/49 (69.39%)
+S3 | S | 148 | 0.413000 | 0.513000 | 0.786950 | 1.177000 | 21/148 (14.19%)
+S3 | F | 197 | 0.413000 | 0.517000 | 0.753000 | 1.177000 | 55/197 (27.92%)
+X의 median/p95에서 나눈 세 구간은 분포 설명용이며 임의 far cutoff, filter 또는 오류 label이 아니다. 전체 구간별 점유는 JSON에 있다.
+
+해석과 한계
+Frame 0: O=103/103이므로 관측 단계 손실은 없다. S3 후보 599개가 91 reference를 덮고 S2 후보 297개가 57개를 덮는다.
+후보 개수가 충분한 것과 rim reference를 덮는 것은 다르다. S3의 더 낮은 최종 coverage를 후보 reference coverage 부족으로 설명할 수 없다.
+C에서 P로 가며 S3는 88개, S2는 44개 reference가 남지 않았다. Surface가 이 C 손실을 회복한 수는 양쪽 모두 0개다.
+S2 Surface는 R(C) 밖의 3개를 추가했고, S3 Surface는 reference를 추가하지 않았다. P/S reference overlap은 양쪽 0개다.
+S2/S3 최종 reference 교집합은 0개다. 따라서 16 vs 3은 동일 13개 ID만의 증감으로 해석할 수 없다.
+Frame 0 Peg/Box 예산은 129/127, priority는 S2/S3 모두 32/32다. 후보 크기의 차이와 실제 allocation 차이를 혼동하지 않는다.
+Frame 120: V=41, O=8. 후보 C는 S2 24개, S3 65개이나 양쪽 rim coverage는 0/8이다.
+S2 Box는 후보 24개 전부 priority이며 rim은 0개다. S3는 priority 49개에서 0개, Surface 148개 중 1 node가 후보 밖 2 reference를 덮는다.
+S0는 197개 중 1 node가 3 reference를 덮는다. S0/S2/S3 retention은 37.50%/0%/25%, GT coverage는 7.32%/0%/4.88%다.
+Frame 120 Peg/Box priority는 S2 40/24, S3 15/49다. 기존 sampler는 object budget 가중치와 후보 capacity로 전역 64개 priority를 배분한다.
+이는 저장 count 및 변경하지 않은 source를 확인한 설명이며 allocation을 재실행하지 않았다.
+Frame 0의 contamination priority는 S2 3개, S3 4개; known_negative_union priority는 3/32와 9/32다.
+S3 priority median/p95/max depth는 0.5805/1.40565/1.426m, S2는 0.506/0.6653/0.690m다.
+X 최대 30.726m의 유효 positive depth는 두 조건 모두 Surface 경로에 남았다. 두 Surface의 p95/max는 8.431/30.726m다.
+ROI 점유와 depth 분포의 차이는 관측 사실이다. 그 차이가 rim 손실에 기여한 비율, 거리 경쟁/초기점/tie/priority seeding의 영향은 미확인이다.
+특히 S3 priority의 후보 밖 원거리 극단치 때문에 실패했다고 단정할 수 없다. C/P와 Surface의 depth 범위는 다르다.
+
+FPS trace 판단
+Phase 1의 손실 단계 구분에는 FPS trace가 필요하지 않다. 관측/후보/priority/Surface 차이는 saved sets로 확인했다.
+다음 질문이 왜 91개 후보 reference 중 priority가 3개만 남기는가라면 추가 trace가 유용하다. 아직 실행하거나 변경하지 않았다.
+별도 승인 시 최소 범위: frame 0 Box S2/S3 기본 조건만, 기존 선택 결과를 바꾸지 않는 priority 순서·source flat ID·현재 min-distance²·argmax/tie·rim hit 여부 기록.
+선택된 극단 depth 점/초기점과 미선택 rim 후보의 거리 상태를 비교한다. Surface 보완 3 vs 0을 설명해야 할 때만 같은 두 조건의 Surface 초기 상태와 선택 순서를 추가한다.
+trace만으로 filtering/allocation 변경의 인과 효과를 확정하지 않는다. GT는 사후 hit annotation에만 사용한다.
+
+검증과 보존
+WANDB_MODE=disabled MPLCONFIGDIR=/tmp/task03d-mpl .venv/bin/python -m unittest visual.runtime.test.test_sampling_evaluation visual.runtime.test.test_sampling visual.runtime.test.test_sampling_geometry -v
+결과: 31 tests, PASS 31 / FAIL 0 / SKIP 0 (신규 8개). 테스트의 sampler 실행은 synthetic fixture에 한정한다.
+같은 pair의 2px AND 3mm(다른 두 node가 각 조건을 만족하는 반례 포함), 다중 reference hit/중복 제거, P/S union/overlap, Surface 후보 밖 보완, 빈 집합/분모0을 확인했다.
+source row/raster/pixel centre/invalid/overlap/XYZ 일치 및 손상된 source/geometry 거부, historical 평가 정의 변경 시 실패도 검증했다.
+WANDB_MODE=disabled MPLCONFIGDIR=/tmp/task03d-mpl .venv/bin/python -m visual.runtime.test.run_rim_bottleneck
+결과: PASS. Source frame 0/120만 진단. 저장 reference 좌표와 순서 bit-exact; selected XYZ exact equality (오차0), 객체 소속 및 모든 Peg/Box allocation counter 일치.
+C⊆X, P⊆C, F⊆X, R(C)⊆O, R(F)⊆O, R(F)=R(P)∪R(S)를 reference ID 수준에서 확인했다.
+기존 frame-level 모든 tolerance(1px/2mm, 2px/3mm, 3px/5mm)의 coverage 및 기존 negative ROI count가 정확히 일치한다. 새 tolerance sweep을 수행한 것은 아니다.
+필수 재현 target: frame 0 103/103 및 S0/S2/S3=6/16/3; frame 120 41/8 및 3/0/2 — 전부 일치.
+git diff --check: PASS. 원본 NPZ/JSON, episode, masks, tracking/segmentation map의 실행 전후 SHA256 동일.
+첫 검증 UUID 847985ac6e004b55967b080906c166d3는 보존했다. 2-node 반례 테스트를 기본 2px/3mm로 명시한 후 현재 UUID에서 재검증했다. 진단 결과는 동일하다.
+ExperimentLogger와 experiment_artifacts.digests/register_existing_output의 UUID, local metrics, manifest, sidecar 계약을 재사용했다. W&B disabled. 외부 업로드 없음.
+원본 input에는 새 sidecar를 쓰지 않았고 source_run_id 및 input hashes로 연결했다. 현재 git_dirty=true 및 실행 source snapshot을 보존했다.
+GPU/CUDA/MPS, simulator backend, tracking, 실제 ep000 sampler 재실행, FPS trace, filtering/threshold/allocation ablation, PCL, Graph/BC 학습은 NOT RUN.
+설치/commit/외부 게시 없음. Phase 1 결과 제출 후 중단한다.
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3/run_rim_bottleneck.py b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3/run_rim_bottleneck.py
new file mode 100644
index 0000000000000000000000000000000000000000..35b3330505b1896bac6fcb987448bc4243594744
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3/run_rim_bottleneck.py
@@ -0,0 +1,342 @@
+"""Task03-D Phase 1: diagnose ONLY saved frames 0/120 and S0/S2/S3.
+
+WANDB_MODE=disabled .venv/bin/python -m visual.runtime.test.run_rim_bottleneck
+
+No sampler, normal estimator, candidate extraction, FPS or simulator is called.
+Results go to a new ExperimentLogger UUID directory; inputs remain read-only.
+"""
+from __future__ import annotations
+
+import argparse
+import ast
+import json
+import os
+from pathlib import Path
+import platform
+import shutil
+from types import SimpleNamespace
+
+import numpy as np
+
+from utils.experiment_artifacts import digests
+from utils.experiment_logger import ExperimentLogger
+from visual.runtime.geometry import build_organized_geometry
+from visual.runtime.rgbd import BOX, PEG, attach_rgbd
+from visual.runtime.test.normal_diagnostics import endpoints
+from visual.runtime.test.sampling_evaluation import (
+ CoverageMatcher, count_ratio, evaluation_context, staged_reference_coverage,
+)
+
+REPO = Path(__file__).resolve().parents[3]
+SOURCE_RUN = '2551448b0fae4c6bbce3caf48774275f'
+CONDITIONS = dict(S0='S0_n256_r0_t20_s0', S2='S2_n256_r0.25_t20_s0',
+ S3='S3_n256_r0.25_t20_s0')
+FRAMES = (0, 120)
+TARGETS = {0: (103, 103, (6, 16, 3)), 120: (41, 8, (3, 0, 2))}
+
+
+def write_json(path, value):
+ path.write_text(json.dumps(value, indent=2, allow_nan=False)+'\n', encoding='utf-8')
+
+
+def require_equal(actual, expected, label):
+ if actual != expected:
+ raise ValueError(f'{label} mismatch: {actual!r} != {expected!r}')
+
+
+def source_contract(source, config):
+ """Fail closed on historical evaluation changes; permit additive diagnostics.
+
+ Every original top-level function and every original CoverageMatcher method
+ must retain its AST. Evaluation imports/constants remain unchanged too.
+ """
+ records = {}
+ for relative, expected in config['source_sha256'].items():
+ saved, current = source/'evaluated_source'/relative, REPO/relative
+ require_equal(digests(saved)[1], expected, f'source snapshot {relative}')
+ saved_tree, current_tree = ast.parse(saved.read_text()), ast.parse(current.read_text())
+ if relative.endswith('/sampling_evaluation.py'):
+ functions = {n.name: n for n in current_tree.body if isinstance(n, (ast.FunctionDef, ast.ClassDef))}
+ for node in saved_tree.body:
+ if isinstance(node, ast.ClassDef):
+ replacement = functions[node.name]
+ methods = {n.name: n for n in replacement.body if isinstance(n, ast.FunctionDef)}
+ replacement = ast.ClassDef(name=node.name, bases=replacement.bases,
+ keywords=replacement.keywords, body=[methods[n.name] if isinstance(n, ast.FunctionDef)
+ else n for n in node.body], decorator_list=replacement.decorator_list)
+ elif isinstance(node, ast.FunctionDef):
+ replacement = functions[node.name]
+ else:
+ if ast.dump(node) not in [ast.dump(n) for n in current_tree.body]:
+ raise ValueError(f'historical evaluation import/constant changed: {relative}')
+ replacement = node
+ require_equal(ast.dump(replacement), ast.dump(node), f'historical evaluation definition {relative}')
+ status = 'original definitions unchanged; additive diagnostics only'
+ elif relative.endswith('/test_sampling_evaluation.py'):
+ status = 'diagnostic tests extended; not an evaluation dependency'
+ else:
+ require_equal(ast.dump(current_tree), ast.dump(saved_tree), f'historical source AST {relative}')
+ status = 'byte identical' if digests(current)[1] == expected else 'AST identical (formatting only)'
+ records[relative] = dict(original_sha256=expected, current_sha256=digests(current)[1], status=status)
+ return records
+
+
+def geometry_evidence(frame):
+ """Only the mask/validity fields read by the unchanged evaluation_context.
+
+ endpoints(support, ~valid_depth) is the original in-image four-neighbour
+ depth_validity_boundary rule. No normals/features/candidates are extracted.
+ """
+ geometry = build_organized_geometry(frame)
+ objects = {oid: SimpleNamespace(object_mask=geometry.object_masks[oid],
+ depth_validity_boundary=endpoints(geometry.observed_mask(oid), ~geometry.valid_depth))
+ for oid in (PEG, BOX)}
+ return SimpleNamespace(frame=SimpleNamespace(geometry=geometry, objects=objects))
+
+
+def validate_saved_selection(archive, key, frame, geometry):
+ """Exact source raster, object support and float32 XYZ equality, no epsilon."""
+ require_equal(int(archive['source_frame']), frame.source_frame, 'source_frame')
+ np.testing.assert_array_equal(archive['shape'], frame.depth.shape)
+ flat, vu = archive[key+'/flat_index'], archive[key+'/pixels_vu']
+ oid, points = archive[key+'/object_id'], archive[key+'/points']
+ priority = archive[key+'/priority_selected']
+ if flat.ndim != 1 or flat.dtype.kind not in 'iu' or len(np.unique(flat)) != len(flat):
+ raise ValueError('invalid/duplicate saved source pixels')
+ if ((flat < 0) | (flat >= frame.depth.size)).any():
+ raise ValueError('source pixel outside raster')
+ np.testing.assert_array_equal(vu, np.column_stack(np.unravel_index(flat, frame.depth.shape)))
+ np.testing.assert_array_equal(flat, vu[:, 0]*frame.depth.shape[1]+vu[:, 1])
+ require_equal(len(oid), len(flat), 'object ID length')
+ if not np.isin(oid, [PEG, BOX]).all() or priority.shape != flat.shape or priority.dtype != bool:
+ raise ValueError('invalid object IDs/selection roles')
+ np.testing.assert_array_equal(points, geometry.xyz.reshape(-1, 3)[flat])
+ for object_id in (PEG, BOX):
+ if not geometry.observed_mask(object_id).ravel()[flat[oid == object_id]].all():
+ raise ValueError('saved selection outside valid unambiguous object support')
+ if archive[key+'/depth_priority_selected'].any():
+ raise ValueError('unexpected depth priority in S0/S2/S3')
+ return dict(source_frame=frame.source_frame, selected_nodes=len(flat),
+ xyz_exact=True, max_abs_xyz_error_m=0., raster_and_object_support=True)
+
+
+def depth_summary(values):
+ values = np.asarray(values)
+ if len(values) and not (np.isfinite(values) & (values > 0)).all():
+ raise ValueError('nonpositive/nonfinite depth in observed support')
+ return dict(count=len(values), min=float(values.min()) if len(values) else None,
+ median=float(np.median(values)) if len(values) else None,
+ p95=float(np.percentile(values, 95)) if len(values) else None,
+ max=float(values.max()) if len(values) else None)
+
+
+def occupancy(frame, node_sets, negatives):
+ """Per-path node occupancy; overlapping ROIs and their deduplicated union."""
+ masks = dict(negatives)
+ masks['known_negative_union'] = np.logical_or.reduce(list(negatives.values()))
+ x = node_sets['X']
+ roi = {}
+ for name, mask in masks.items():
+ observed = int(mask.ravel()[x].sum())
+ roi[name] = {}
+ for stage, flat in node_sets.items():
+ if flat is None:
+ roi[name][stage] = None
+ continue
+ count = int(mask.ravel()[flat].sum())
+ roi[name][stage] = dict(count=count, fraction_of_path=count_ratio(count, len(flat)),
+ fraction_of_observed_roi=count_ratio(count, observed))
+ depth = {name: depth_summary(frame.depth.ravel()[flat]) if flat is not None else None
+ for name, flat in node_sets.items()}
+ # Observation-derived quantile bands describe depth occupancy without an
+ # arbitrary far cutoff or reclassifying ordinary surface nodes as errors.
+ bounds = depth['X']
+ bands = {}
+ if len(x):
+ for stage, flat in node_sets.items():
+ if flat is None:
+ bands[stage] = None
+ continue
+ z = frame.depth.ravel()[flat]
+ counts = (int((z <= bounds['median']).sum()),
+ int(((z > bounds['median']) & (z <= bounds['p95'])).sum()),
+ int((z > bounds['p95']).sum()))
+ bands[stage] = {name: count_ratio(n, len(z)) for name, n in
+ zip(('z_le_X_median', 'X_median_lt_z_le_X_p95', 'z_gt_X_p95'), counts)}
+ return dict(negative_roi=roi, depth_m=depth, depth_quantile_occupancy=bands,
+ depth_band_bounds_m=dict(median=bounds['median'], p95=bounds['p95']))
+
+
+def compare_ids(first, second):
+ first, second = set(first), set(second)
+ return {name: dict(count=len(ids), reference_ids=sorted(ids)) for name, ids in
+ [('intersection', first & second), ('S2_only', first-second), ('S3_only', second-first)]}
+
+
+def diagnose_frame(frame, gt, robot_ids, source):
+ evidence = geometry_evidence(frame)
+ geometry = evidence.frame.geometry
+ context = evaluation_context(frame, evidence, gt, frame.camera, robot_ids)
+ metrics = json.loads((source/f'f{frame.source_frame:04d}_metrics.json').read_text())
+ results, alignments = {}, {}
+ with np.load(source/f'f{frame.source_frame:04d}_samples.npz', allow_pickle=False) as archive:
+ # Recomputed Task02 references must be bit-exact, including ID order.
+ # Actual matching below always uses the saved arrays.
+ for suffix, recomputed in zip(('uv', 'xyz'), context['references']['box']):
+ np.testing.assert_array_equal(archive[f'evaluation/box/reference_{suffix}'], recomputed)
+ reference = tuple(archive['evaluation/box/reference_'+s] for s in ('uv', 'xyz'))
+ matcher = CoverageMatcher(geometry, BOX, reference)
+ for method, key in CONDITIONS.items():
+ require_equal(metrics[key]['source_frame'], frame.source_frame, 'metric source row')
+ alignments[method] = validate_saved_selection(archive, key, frame, geometry)
+ choose = archive[key+'/object_id'] == BOX
+ f = archive[key+'/flat_index'][choose]
+ role = archive[key+'/priority_selected'][choose]
+ p, s = f[role], f[~role]
+ c = None if method == 'S0' else archive[f'evidence/{"fd2" if method == "S2" else "pca5"}/1/20/orientation_flat']
+ if method == 'S0' and len(p):
+ raise ValueError('General FPS unexpectedly has priority nodes')
+ row = staged_reference_coverage(matcher, c, p if c is not None else None, s, f)
+ original = metrics[key]['objects']['box']
+ rescored, _ = matcher.score(f)
+ require_equal(rescored['tolerance'], original['structural']['tolerance'], 'frame-level coverage')
+ counts = original['counts']
+ for name, n in [('observed', len(matcher.flat)), ('budget', len(f)), ('priority', len(p)),
+ ('surface_fps', len(s)), ('selected', len(f))]:
+ require_equal(n, counts[name], 'Box '+name)
+ if c is not None:
+ require_equal(len(c), counts['candidates'], 'Box candidates')
+ require_equal(int(np.isin(f, c).sum()), counts['selected_candidates'], 'selected candidate nodes')
+ nodes = dict(X=matcher.flat, C=c, P=p if c is not None else None, S=s, F=f)
+ row.update(occupancy(frame, nodes, context['negatives']['box']))
+ for name, oid in [('peg', PEG), ('box', BOX)]:
+ obj = archive[key+'/object_id'] == oid
+ obj_flat = archive[key+'/flat_index'][obj]
+ obj_priority = archive[key+'/priority_selected'][obj]
+ estimator = 'fd2' if method == 'S2' else 'pca5'
+ obj_candidates = archive[f'evidence/{estimator}/{oid}/20/orientation_flat']
+ saved_counts = metrics[key]['objects'][name]['counts']
+ expected_counts = dict(observed=int(geometry.observed_mask(oid).sum()),
+ budget=len(obj_flat), candidates=len(obj_candidates), priority=int(obj_priority.sum()),
+ orientation_priority=int(obj_priority.sum()), depth_priority=0,
+ surface_fps=int((~obj_priority).sum()), selected=len(obj_flat),
+ selected_candidates=int(np.isin(obj_flat, obj_candidates).sum()))
+ require_equal(saved_counts, expected_counts, name+' allocation counters')
+ # Prove existing ROI occupancy is reproduced, not a new ROI definition.
+ for name, saved in original['negative'].items():
+ actual = row['negative_roi'][name]
+ for old, stage in [('observed', 'X'), ('selected', 'F'), ('priority', 'P')]:
+ require_equal(actual[stage]['count'] if actual[stage] is not None else 0,
+ saved[old], 'saved negative ROI '+name+'/'+old)
+ row.update(condition=key, control='General FPS; C/P not applicable' if c is None else None,
+ allocation={name: metrics[key]['objects'][name]['counts'] for name in ('box', 'peg')},
+ original_frame_coverage_exact=True)
+ results[method] = row
+ expected_v, expected_o, expected_final = TARGETS[frame.source_frame]
+ require_equal(len(results['S0']['reference_ids']['V']), expected_v, 'target GT')
+ require_equal(len(results['S0']['reference_ids']['O']), expected_o, 'target observed')
+ for method, n in zip(CONDITIONS, expected_final):
+ require_equal(results[method]['stages']['F']['unique_reference_count'], n, 'target '+method)
+ # Allocation targets requested explicitly, separate from reference counts.
+ box = {m: results[m]['allocation']['box'] for m in CONDITIONS}
+ if frame.source_frame == 0:
+ for m in CONDITIONS:
+ require_equal((box[m]['observed'], box[m]['budget']), (11665, 127), 'frame 0 allocation')
+ expected = {'S2': (297, 32), 'S3': (599, 32)}
+ else:
+ expected = {'S2': (24, 24), 'S3': (65, 49)}
+ for m, pair in expected.items():
+ require_equal((box[m]['candidates'], box[m]['priority']), pair, 'candidate/priority target '+m)
+ comparison = {stage: compare_ids(results['S2']['reference_ids'][stage],
+ results['S3']['reference_ids'][stage]) for stage in ('C', 'P', 'F')}
+ return dict(source_frame=frame.source_frame, conditions=results, S2_vs_S3=comparison,
+ alignment=alignments, saved_reference_order_and_geometry_exact=True,
+ target_coverage_exact=True, saved_negative_roi_counts_exact=True)
+
+
+def diagnose(source, output_root):
+ if os.environ.get('WANDB_MODE') != 'disabled':
+ raise ValueError('set WANDB_MODE=disabled for this local-only diagnostic')
+ source = Path(source).resolve()
+ comparison_path = source/'comparison.json'
+ original = json.loads(comparison_path.read_text())
+ require_equal(original['run_id'], SOURCE_RUN, 'Task03 source run')
+ config = original['config']
+ source_checks = source_contract(source, config)
+ episode, masks = Path(config['input']), Path(config['masks'])
+ inputs = [comparison_path, episode, masks]
+ require_equal(digests(episode)[1], config['input_sha256'], 'episode SHA256')
+ require_equal(digests(masks)[1], config['masks_sha256'], 'tracker mask SHA256')
+ require_equal(config['tolerances_px_m'], [[1., .002], [2., .003], [3., .005]], 'evaluation tolerances')
+ segmap = episode.with_name('segmentation_id_map.json')
+ require_equal(digests(segmap)[1], config['segmentation_map_sha256'], 'segmentation map SHA256')
+ inputs.append(segmap)
+ tracking_path = masks.with_name('tracking.json')
+ if tracking_path.exists():
+ tracking = json.loads(tracking_path.read_text())
+ require_equal(tracking['camera'], config['camera'], 'tracker camera')
+ require_equal(Path(tracking['input']).resolve(), episode.resolve(), 'tracker source episode')
+ inputs.append(tracking_path)
+ for f in FRAMES:
+ inputs.extend(source/f'f{f:04d}_{suffix}' for suffix in ('samples.npz', 'metrics.json'))
+ before = {str(p): digests(p)[1] for p in inputs}
+ current_sources = {str(p.relative_to(REPO)): digests(p)[1] for p in
+ (Path(__file__), Path(__file__).with_name('sampling_evaluation.py'),
+ Path(__file__).with_name('test_sampling_evaluation.py'))}
+ diagnostic_config = dict(task='03-D', phase=1, source_run_id=SOURCE_RUN, source_directory=str(source),
+ frames=FRAMES, conditions=CONDITIONS, tolerance_px_m=[2., .003],
+ input_sha256=before, source_sha256=current_sources, device='cpu', gpu_executed=False,
+ gt_diagnostic_only=True, sampler_executed=False, candidate_extraction_executed=False,
+ normal_estimation_executed=False, python=platform.python_version(), numpy=np.__version__)
+ with ExperimentLogger(team='visual', config=diagnostic_config, seed=0, model='task03d_rim_bottleneck',
+ job_type='evaluate', root=output_root) as logger:
+ output = logger.directory
+ logger.record(source_run_id=SOURCE_RUN, evaluation_device='cpu', gpu_executed=False)
+ print('Output:', output, flush=True)
+ with np.load(episode, allow_pickle=False) as ep, np.load(masks, allow_pickle=False) as mask:
+ gt_keys = [f'{config["camera"]}/seg', 'peg_id', 'box_id', 'peg_pose', 'box_pose',
+ 'box_hole_pose', 'peg_half_sizes', 'box_hole_radii']
+ gt = {k: ep[k] for k in gt_keys}
+ sources = mask['source_frame']
+ np.testing.assert_array_equal(sources, np.arange(len(gt[gt_keys[0]])))
+ peg_masks, box_masks = mask['peg'], mask['box']
+ selected_rows = [int(np.flatnonzero(sources == f).item()) for f in FRAMES]
+ tracking_rows = ((i, {1: peg_masks[row], 2: box_masks[row]}) for i, row in enumerate(selected_rows))
+ frames = attach_rgbd(tracking_rows, ep, camera=config['camera'], source_frames=sources[selected_rows])
+ rows = [diagnose_frame(frame, gt, config['robot_ids'], source) for frame in frames]
+ require_equal(tuple(r['source_frame'] for r in rows), FRAMES, 'diagnosed sources')
+ after = {str(p): digests(p)[1] for p in inputs}
+ require_equal(after, before, 'input preservation SHA256')
+ result = dict(run_id=logger.run_id, source_run_id=SOURCE_RUN, config=diagnostic_config,
+ source_contract=source_checks, inputs_unchanged=True, frames=rows,
+ notes=['Reference IDs index saved evaluation/box/reference_uv and reference_xyz rows.',
+ 'All coverage uses the same pair within 2px AND 3mm.',
+ 'Overlapping set differences and ROI counts are not additive causal losses.',
+ 'S0 saved candidate diagnostics appear only in allocation; C/P are inapplicable.',
+ 'Depth bands are empirical X quantiles, not filtering or far/error labels.',
+ 'No FPS trace or causal counterfactual was executed.'])
+ write_json(output/'diagnostic.json', result)
+ for relative in current_sources:
+ dest = output/'diagnostic_source'/relative
+ dest.parent.mkdir(parents=True, exist_ok=True)
+ shutil.copyfile(REPO/relative, dest)
+ logger.link_output(dest, kind='reports')
+ logger.link_output(output/'diagnostic.json', kind='metrics')
+ for row in rows:
+ logger.log({m: r['coverage'] for m, r in row['conditions'].items()},
+ step=row['source_frame'], prefix='eval/task03d')
+ logger.record(inputs_unchanged=True, evaluated_frames=len(rows), all_target_coverage_exact=True,
+ source_contract_verified=True)
+ return output
+
+
+def main():
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument('--source', type=Path, default=REPO/'visual/results/sampling'/SOURCE_RUN)
+ parser.add_argument('--out', type=Path, default=REPO/'experiments')
+ args = parser.parse_args()
+ print(diagnose(args.source, args.out))
+
+
+if __name__ == '__main__':
+ main()
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8663cba6a243baf6c4a12fee5be066aeaf724c25bfcf5208e35c3014cd46ba17/build_visualizations.py b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8663cba6a243baf6c4a12fee5be066aeaf724c25bfcf5208e35c3014cd46ba17/build_visualizations.py
new file mode 100644
index 0000000000000000000000000000000000000000..3e437129cc17484d8bda6252fffee234a322e52b
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8663cba6a243baf6c4a12fee5be066aeaf724c25bfcf5208e35c3014cd46ba17/build_visualizations.py
@@ -0,0 +1,135 @@
+"""Render the completed Task03-D result; no experiment, sampler or FPS rerun.
+
+From repository root:
+ .venv/bin/python experiments/d3f14ee494894daabb8ba2fab8e1b00c/build_visualizations.py
+"""
+import base64
+from io import BytesIO
+import json
+from pathlib import Path
+import sys
+
+import numpy as np
+from PIL import Image
+
+HERE = Path(__file__).resolve().parent
+REPO = HERE.parents[1]
+sys.path.insert(0, str(REPO))
+from utils.experiment_artifacts import digests, register_existing_output
+from visual.runtime.geometry import build_organized_geometry
+from visual.runtime.rgbd import BOX, attach_rgbd
+from visual.runtime.test.sampling_evaluation import CoverageMatcher
+
+
+def png_url(rgb):
+ buffer = BytesIO()
+ Image.fromarray(rgb).save(buffer, format='PNG')
+ return 'data:image/png;base64,' + base64.b64encode(buffer.getvalue()).decode('ascii')
+
+
+def extent(uv, shape, padding):
+ if not len(uv):
+ return [0, 0, shape[1], shape[0]]
+ left, top = np.floor(uv.min(axis=0)-padding).astype(int)
+ right, bottom = np.ceil(uv.max(axis=0)+padding+1).astype(int)
+ left, top = max(0, left), max(0, top)
+ right, bottom = min(shape[1], right), min(shape[0], bottom)
+ return [int(left), int(top), int(right-left), int(bottom-top)]
+
+
+def main():
+ result_path = HERE/'diagnostic.json'
+ result = json.loads(result_path.read_text())
+ config = result['config']
+ original = Path(config['source_directory'])
+ comparison = json.loads((original/'comparison.json').read_text())['config']
+ episode, masks = Path(comparison['input']), Path(comparison['masks'])
+ tracked = [result_path, HERE/'verification.json', HERE/'analysis.txt',
+ *map(Path, config['input_sha256'])]
+ before = {str(p): digests(p)[1] for p in tracked}
+ for path, expected in config['input_sha256'].items():
+ if before[path] != expected:
+ raise ValueError('historical diagnostic input changed: '+path)
+ scenes = []
+ with np.load(episode, allow_pickle=False) as ep, np.load(masks, allow_pickle=False) as masks_npz:
+ source_rows = masks_npz['source_frame']
+ requested = [row['source_frame'] for row in result['frames']]
+ rows = [int(np.flatnonzero(source_rows == s).item()) for s in requested]
+ peg, box = masks_npz['peg'], masks_npz['box']
+ tracking = ((i, {1: peg[row], 2: box[row]}) for i, row in enumerate(rows))
+ frames = attach_rgbd(tracking, ep, camera=comparison['camera'], source_frames=source_rows[rows])
+ for frame, report in zip(frames, result['frames']):
+ assert frame.source_frame == report['source_frame']
+ geometry = build_organized_geometry(frame)
+ with np.load(original/f'f{frame.source_frame:04d}_samples.npz', allow_pickle=False) as saved:
+ assert int(saved['source_frame']) == frame.source_frame
+ refs = tuple(saved['evaluation/box/reference_'+suffix] for suffix in ('uv', 'xyz'))
+ matcher = CoverageMatcher(geometry, BOX, refs)
+ adjacency = matcher.adjacencies['2px_3mm']
+ groups, per_ref = {}, {}
+ for method, row in report['conditions'].items():
+ condition = row['condition']
+ belongs = saved[condition+'/object_id'] == BOX
+ final = saved[condition+'/flat_index'][belongs]
+ role = saved[condition+'/priority_selected'][belongs]
+ np.testing.assert_array_equal(saved[condition+'/points'][belongs],
+ geometry.xyz.reshape(-1, 3)[final])
+ candidate = None if method == 'S0' else saved[
+ f'evidence/{"fd2" if method == "S2" else "pca5"}/1/20/orientation_flat']
+ nodes = dict(X=matcher.flat, C=candidate,
+ P=final[role] if candidate is not None else None,
+ S=final[~role], F=final)
+ groups[method] = {s: flat.tolist() if flat is not None else None for s, flat in nodes.items()}
+ per_ref[method] = {}
+ for stage, flat in nodes.items():
+ if flat is None:
+ per_ref[method][stage] = None
+ continue
+ hits, matched = matcher.reference_hits(flat)
+ assert hits.tolist() == row['reference_ids'][stage]
+ expected = row['stages'][stage]
+ assert (len(flat), len(matched), len(hits)) == tuple(expected[k] for k in
+ ('node_count', 'matched_node_count', 'unique_reference_count'))
+ subset = adjacency[np.searchsorted(matcher.flat, flat)].tocsc()
+ per_ref[method][stage] = [flat[subset.indices[subset.indptr[i]:subset.indptr[i+1]]].tolist()
+ for i in range(matcher.nref)]
+ raw_mask = geometry.object_masks[BOX]
+ padded = np.pad(raw_mask, 1)
+ interior = (padded[1:-1, :-2] & padded[1:-1, 2:] &
+ padded[:-2, 1:-1] & padded[2:, 1:-1])
+ outline = np.flatnonzero(raw_mask & ~interior)
+ all_vu = np.column_stack(np.nonzero(raw_mask))
+ scenes.append(dict(source_frame=frame.source_frame, image=png_url(frame.rgb),
+ width=frame.depth.shape[1], height=frame.depth.shape[0],
+ reference_uv=refs[0].tolist(), reference_xyz=refs[1].tolist(),
+ groups=groups, matched_nodes_by_reference=per_ref, mask_outline=outline.tolist(),
+ crops=dict(rim=extent(refs[0], frame.depth.shape, 16),
+ box=extent(all_vu[:, ::-1], frame.depth.shape, 10),
+ full=[0, 0, frame.depth.shape[1], frame.depth.shape[0]])))
+ after = {str(p): digests(p)[1] for p in tracked}
+ assert after == before
+ payload = dict(result=result, scenes=scenes)
+ encoded = json.dumps(payload, ensure_ascii=False, separators=(',', ':'), allow_nan=False).replace('', '<\\/')
+ template = (HERE/'visualizations_template.html').read_text()
+ assert template.count('/*__EMBEDDED_DATA__*/') == 1
+ output = HERE/'visualizations.html'
+ output.write_text(template.replace('/*__EMBEDDED_DATA__*/', encoded), encoding='utf-8')
+ checks = dict(run_id=result['run_id'], source_run_id=result['source_run_id'],
+ renderer='build_visualizations.py', frames=[s['source_frame'] for s in scenes],
+ geometry_and_saved_reference_ids_exact=True, all_stage_node_counts_exact=True,
+ all_stage_matched_node_counts_exact=True, original_inputs_unchanged=True,
+ input_sha256=before, sampler_executed=False, fps_executed=False,
+ normal_estimation_executed=False, external_dependencies=[],
+ display_coordinates='source raster UV + 0.5 onto original RGB pixel centres',
+ html_sha256=digests(output)[1], html_bytes=output.stat().st_size)
+ check_path = HERE/'visualizations_verification.json'
+ check_path.write_text(json.dumps(checks, indent=2, ensure_ascii=False)+'\n')
+ for path, kind in [(output, 'reports'), (Path(__file__), 'reports'),
+ (HERE/'visualizations_template.html', 'reports'), (check_path, 'metrics')]:
+ register_existing_output(HERE, path, kind=kind)
+ print(output)
+ print(f'PASS: exact saved reference sets / node counts / XYZ; preserved {len(before)} inputs')
+
+
+if __name__ == '__main__':
+ main()
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd/test_sampling_evaluation.py b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd/test_sampling_evaluation.py
new file mode 100644
index 0000000000000000000000000000000000000000..6975e66a0e8f0493df34f73f387a1fb1685c7c3c
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd/test_sampling_evaluation.py
@@ -0,0 +1,247 @@
+"""Task03 denominator / joint-tolerance / visible-only rim evaluation contracts."""
+from dataclasses import replace
+import json
+import os
+from pathlib import Path
+import tempfile
+import unittest
+from unittest.mock import patch
+import numpy as np
+
+from visual.runtime.geometry import build_organized_geometry
+from visual.runtime.rgbd import PEG, BOX
+from visual.runtime.sampling import extract_sampling_evidence, sample_points, SamplingConfig
+from visual.runtime.test.normal_diagnostics import synthetic_frame, oracle, box_primitives, rim_region
+from visual.runtime.test.run_structural_edges import rim_reference
+from visual.runtime.test.sampling_evaluation import CoverageMatcher, staged_reference_coverage
+from visual.runtime.test.run_rim_bottleneck import (
+ geometry_evidence, validate_saved_selection, occupancy, source_contract,
+)
+from visual.runtime.test.run_sampling import conditions, evaluate
+
+
+class SamplingEvaluationTests(unittest.TestCase):
+ def test_tracking_and_sampling_losses_have_separate_denominators(self):
+ k=np.array([[100.,0,8],[0,100.,8],[0,0,1]])
+ mask=np.zeros((16,16),bool);mask[5,5]=True;mask[5,6]=True
+ frame=synthetic_frame(np.full((16,16),.3,np.float32),k,mask)
+ g=build_organized_geometry(frame)
+ uv=np.array([[5,5],[6,5],[12,12]],float)
+ xyz=g.xyz[uv[:,1].astype(int),uv[:,0].astype(int)]
+ matcher=CoverageMatcher(g,PEG,(uv,xyz),((.1,.0001),))
+ row,_=matcher.score(np.array([5*16+5]))
+ r=row['tolerance']['0.1px_0.1mm']
+ self.assertEqual((r['gt_visible'],r['tracker_observed'],r['sampled']),(3,2,1))
+ self.assertEqual(r['gt_coverage'],1/3);self.assertEqual(r['sampling_retention'],.5)
+ row,arrays=matcher.score(np.array([],np.int64))
+ self.assertEqual(row['tolerance']['0.1px_0.1mm']['sampled'],0)
+ self.assertEqual(row['missing_reference_distances'],3)
+ self.assertEqual(len(arrays['gt_to_sample_mm']),0)
+
+ def test_joint_tolerance_requires_same_pair(self):
+ k=np.array([[100.,0,8],[0,100.,8],[0,0,1]])
+ mask=np.zeros((16,16),bool);mask[5,5]=True
+ g=build_organized_geometry(synthetic_frame(np.full((16,16),.3,np.float32),k,mask))
+ # One reference is near only in image; the other only in 3D.
+ refs=(np.array([[5.,5.],[12.,12.]]),np.array([g.xyz[5,5]+[0,0,.1],g.xyz[5,5]]))
+ row,_=CoverageMatcher(g,PEG,refs).score(np.array([85]))
+ self.assertEqual(row['tolerance']['2px_3mm']['sampled'],0)
+
+ def test_hole_reference_only_observed_entrance_not_hidden_projection(self):
+ k=np.array([[100.,0,64],[0,100.,64],[0,0,1]])
+ pose=np.array([0.,0,.5,np.sqrt(.5),0,np.sqrt(.5),0])
+ frame=synthetic_frame(np.full((128,128),.4,np.float32),k,np.ones((128,128),bool))
+ truth=oracle(frame,pose,box_primitives(.1,.025,np.zeros(2)))
+ visible=np.isfinite(truth['depth'])
+ rim,_=rim_region(frame,truth,visible,pose,.1,.025,np.zeros(2))
+ gt={'box_pose':pose[None], 'box_hole_pose':pose[None], 'box_hole_radii':np.array(.025),'peg_half_sizes':np.array([.1,.02,.02])}
+ ref=rim_reference(frame,gt,truth,rim)
+ self.assertGreater(len(ref[0]),0)
+ hidden=rim_reference(frame,gt,truth,np.zeros_like(rim))
+ self.assertEqual(len(hidden[0]),0)
+ # Hide half the actual entrance for evaluation and omit it from tracker support.
+ partial=rim.copy();partial[:64]=False
+ ref=rim_reference(frame,gt,truth,partial)
+ self.assertTrue((ref[0][:,1]>=62.5).all())
+ depth=np.where(visible,truth['depth'],0).astype(np.float32)
+ frame=replace(frame,depth=depth,masks={BOX:visible & (np.indices(visible.shape)[0]>=64)})
+ e=extract_sampling_evidence(frame)
+ a=sample_points(e,SamplingConfig(num_points=64),method='S4')
+ self.assertTrue((a.pixels_vu[:,0]>=64).all())
+ self.assertTrue(visible[tuple(a.pixels_vu.T)].all())
+
+ def test_empty_reference_is_undefined_not_perfect(self):
+ k=np.eye(3);frame=synthetic_frame(np.ones((8,8),np.float32),k,np.ones((8,8),bool))
+ matcher=CoverageMatcher(build_organized_geometry(frame),PEG,(np.empty((0,2)),np.empty((0,3))))
+ row,_=matcher.score(np.array([0,1]))
+ self.assertIsNone(row['tolerance']['2px_3mm']['gt_coverage'])
+ self.assertEqual(row['tolerance']['2px_3mm']['selected'],2)
+
+ def test_staged_sweeps_cover_all_requested_values(self):
+ c=conditions();self.assertEqual(len(c),54)
+ for method in ('S1','S2','S3','S4'):
+ rows=[v for v in c.values() if v['method']==method]
+ self.assertEqual({v['num_points'] for v in rows},{64,128,256,512})
+ self.assertEqual({v['structural_ratio'] for v in rows},{0.,.125,.25,.5})
+ self.assertEqual({v['orientation_threshold_deg'] for v in rows},{10,20,30,40})
+ self.assertEqual({v['seed'] for v in rows},{0,1,2})
+
+ def test_saved_evaluation_logging_all_frames_and_metadata(self):
+ n,h,w=2,16,16
+ ep={'camera/rgb':np.zeros((n,h,w,3),np.uint8),'camera/depth':np.full((n,h,w),.3,np.float32),
+ 'camera/intrinsic':np.tile([[100,0,8],[0,100,8],[0,0,1]],(n,1,1)),
+ 'camera/cam2world':np.tile(np.eye(4),(n,1,1)),'tcp_pose':np.tile([0,0,0,1,0,0,0],(n,1)),
+ 'camera/seg':np.ones((n,h,w),np.int16),'peg_id':np.array(1),'box_id':np.array(2),
+ 'peg_pose':np.tile([0,0,.4,1,0,0,0],(n,1)),'box_pose':np.tile([1,0,.5,1,0,0,0],(n,1)),
+ 'box_hole_pose':np.tile([1,0,.5,1,0,0,0],(n,1)),'peg_half_sizes':np.array([.1,.1,.1]),
+ 'box_hole_radii':np.array(.02),'seed':np.array(0)}
+ with tempfile.TemporaryDirectory() as d:
+ root=Path(d);episode=root/'ep.npz';masks=root/'masks.npz'
+ np.savez(episode,**ep);np.savez(masks,source_frame=np.arange(n),peg=np.ones((n,h,w),bool),box=np.zeros((n,h,w),bool))
+ with patch.dict(os.environ,{'WANDB_MODE':'disabled','EXPERIMENTS_DIR':str(root/'experiments')}):
+ out=evaluate(episode,masks,root/'out',camera='camera',selected=(),seeds=(0,),make_plots=False)
+ report=json.loads((out/'comparison.json').read_text())
+ self.assertEqual(report['evaluated_frames'],2);self.assertEqual(report['conditions'],44)
+ self.assertFalse(report['config']['gt_sampling_input'])
+ self.assertEqual(len(list(out.glob('*_samples.npz'))),2)
+ with np.load(out/'f0000_samples.npz',allow_pickle=False) as ar:
+ self.assertIn('S4_n256_r0.25_t20_s0/metadata/depth_discontinuity',ar.files)
+ self.assertEqual(len(ar['S0_n256_r0_t20_s0/points']),256)
+ meta=json.loads((root/'experiments'/out.name/'metadata.json').read_text())
+ self.assertEqual(meta['status'],'finished');self.assertEqual(meta['run_id'],out.name)
+ np.savez(masks,source_frame=np.array([0]),peg=np.ones((1,h,w),bool),box=np.zeros((1,h,w),bool))
+ with self.assertRaises(ValueError):evaluate(episode,masks,root/'out',camera='camera',selected=(),make_plots=False)
+
+
+class StagedCoverageTests(unittest.TestCase):
+ def fixture(self):
+ mask = np.zeros((16, 16), bool)
+ mask[5, [3, 6, 10]] = True
+ k = np.array([[1000., 0, 8], [0, 1000., 8], [0, 0, 1]])
+ frame = synthetic_frame(np.full((16, 16), .3, np.float32), k, mask)
+ geometry = build_organized_geometry(frame)
+ uv = np.array([[2., 5], [4.5, 5], [7., 5], [10., 5]])
+ xyz = np.tile(geometry.xyz[5, 6], (4, 1))
+ matcher = CoverageMatcher(geometry, PEG, (uv, xyz))
+ return frame, geometry, matcher
+
+ def test_reference_overlap_union_and_surface_outside_candidates(self):
+ _, _, matcher = self.fixture()
+ c, p, s, f = [np.array(a, np.int64) for a in ([83, 86], [83], [86, 90], [90, 83, 86])]
+ row = staged_reference_coverage(matcher, c, p, s, f)
+ self.assertEqual(row['reference_ids']['C'], [0, 1, 2])
+ self.assertEqual(row['reference_ids']['P'], [0, 1])
+ self.assertEqual(row['reference_ids']['S'], [1, 2, 3])
+ self.assertEqual(row['reference_ids']['F'], [0, 1, 2, 3])
+ self.assertEqual(row['stages']['C'], dict(node_count=2, matched_node_count=2, unique_reference_count=3))
+ expected = dict(V_minus_O=0, O_minus_C=1, C_minus_P=1, C_minus_F=0,
+ P_intersect_S=1, S_minus_P=2, S_minus_C=1,
+ C_minus_P_intersect_S=1, O_minus_F=0)
+ self.assertEqual({k: v['count'] for k, v in row['differences'].items()}, expected)
+ self.assertEqual(row['coverage']['candidate'], dict(numerator=3, denominator=4, value=.75))
+
+ def test_two_different_nodes_cannot_satisfy_one_reference_pair(self):
+ frame, _, _ = self.fixture()
+ intrinsic = frame.intrinsic.copy(); intrinsic[0, 0] = 100.
+ geometry = build_organized_geometry(replace(frame, intrinsic=intrinsic))
+ # Node 83 satisfies 2D only; node 90 satisfies 3D only.
+ matcher = CoverageMatcher(geometry, PEG, (np.array([[3., 5]]), geometry.xyz[5, 10][None]))
+ ids, matched = matcher.reference_hits(np.array([83, 90]))
+ self.assertEqual((len(ids), len(matched)), (0, 0))
+
+ def test_empty_points_zero_observation_and_zero_visible(self):
+ frame, geometry, matcher = self.fixture()
+ empty = np.array([], np.int64)
+ row = staged_reference_coverage(matcher, empty, empty, empty, empty)
+ self.assertEqual(row['coverage']['final_retention'], dict(numerator=0, denominator=4, value=0.))
+ geometry = build_organized_geometry(replace(frame, masks={PEG: np.zeros_like(frame.depth, bool)}))
+ for refs in ((matcher.ref_uv, matcher.ref_xyz), (np.empty((0, 2)), np.empty((0, 3)))):
+ row = staged_reference_coverage(CoverageMatcher(geometry, PEG, refs), empty, empty, empty, empty)
+ self.assertEqual(row['coverage']['final_retention'], dict(numerator=0, denominator=0, value=None))
+ self.assertEqual(row['coverage']['observation']['numerator'], 0)
+ self.assertEqual(row['coverage']['observation']['denominator'], len(refs[0]))
+
+ def test_general_fps_candidate_and_priority_are_inapplicable(self):
+ _, _, matcher = self.fixture()
+ flat = matcher.flat
+ row = staged_reference_coverage(matcher, None, None, flat, flat)
+ for name in ('C', 'P'):
+ self.assertIsNone(row['stages'][name])
+ self.assertIsNone(row['coverage']['candidate'])
+ self.assertIsNone(row['coverage']['priority'])
+ self.assertIsNone(row['differences']['O_minus_C'])
+ self.assertEqual(row['coverage']['surface'], row['coverage']['final_retention'])
+
+ def test_invalid_nodes_and_non_partition_are_rejected(self):
+ _, _, matcher = self.fixture()
+ for flat in (np.array([0]), np.array([83, 83]), np.array([256]), np.array([-1]), np.array([83.])):
+ with self.assertRaises(ValueError):
+ matcher.reference_hits(flat)
+ with self.assertRaises(ValueError):
+ staged_reference_coverage(matcher, np.array([83]), np.array([86]), np.array([90]), np.array([86, 90]))
+ with self.assertRaises(ValueError):
+ staged_reference_coverage(matcher, matcher.flat, np.array([83]), np.array([83, 90]), np.array([83, 90]))
+ with self.assertRaises(ValueError):
+ staged_reference_coverage(matcher, matcher.flat, np.array([83]), np.array([90]), matcher.flat)
+
+ def test_geometry_alignment_invalid_depth_overlap_and_pixel_centres(self):
+ frame, _, _ = self.fixture()
+ depth = frame.depth.copy()
+ depth[5, 6] = 0
+ depth[2, 2] = np.nan
+ box = np.zeros_like(depth, bool)
+ box[5, 10] = True # ambiguous in BOTH masks
+ frame = replace(frame, depth=depth, masks={PEG: frame.masks[PEG], BOX: box})
+ evidence = geometry_evidence(frame)
+ geometry = evidence.frame.geometry
+ self.assertEqual(np.flatnonzero(geometry.observed_mask(PEG)).tolist(), [83])
+ self.assertFalse(geometry.observed_mask(BOX).any())
+ self.assertTrue(np.isnan(geometry.xyz[5, 6]).all())
+ z = float(depth[5, 3])
+ np.testing.assert_allclose(geometry.xyz[5, 3], [(3.5-8)*z/1000, (5.5-8)*z/1000, z], rtol=1e-7)
+ # Minimal evaluation adapter has exactly the existing validity ROI field.
+ from visual.runtime.geometry import compute_geometric_features, GeometryParameters
+ for oid in (PEG, BOX):
+ features = compute_geometric_features(geometry, oid, np.full_like(geometry.xyz, np.nan),
+ np.zeros_like(depth, bool), GeometryParameters())
+ np.testing.assert_array_equal(evidence.frame.objects[oid].depth_validity_boundary,
+ features.depth_validity_boundary)
+ key = 'saved'
+ archive = {'source_frame': np.array(frame.source_frame), 'shape': np.array(depth.shape),
+ key+'/flat_index': np.array([83]), key+'/pixels_vu': np.array([[5, 3]]),
+ key+'/object_id': np.array([PEG]), key+'/points': geometry.xyz[5, 3][None].copy(),
+ key+'/priority_selected': np.array([False]), key+'/depth_priority_selected': np.array([False])}
+ self.assertTrue(validate_saved_selection(archive, key, frame, geometry)['xyz_exact'])
+ for field, corrupted in [('points', archive[key+'/points']+.001), ('pixels_vu', np.array([[5, 4]])),
+ ('object_id', np.array([BOX]))]:
+ with self.assertRaises((ValueError, AssertionError)):
+ validate_saved_selection(dict(archive, **{key+'/'+field: corrupted}), key, frame, geometry)
+ with self.assertRaises(ValueError):
+ validate_saved_selection(dict(archive, source_frame=np.array(frame.source_frame+1)), key, frame, geometry)
+
+ def test_negative_union_deduplicates_and_depth_bands_cover_paths(self):
+ frame, _, matcher = self.fixture()
+ a = np.zeros_like(frame.depth, bool); b = a.copy()
+ a[5, [3, 6]] = True; b[5, [6, 10]] = True
+ row = occupancy(frame, dict(X=matcher.flat, C=None, P=None, S=matcher.flat, F=matcher.flat), dict(a=a, b=b))
+ roi = row['negative_roi']
+ self.assertEqual(roi['a']['F']['count']+roi['b']['F']['count'], 4)
+ self.assertEqual(roi['known_negative_union']['F']['count'], 3)
+ self.assertIsNone(roi['known_negative_union']['P'])
+ self.assertEqual(sum(v['numerator'] for v in row['depth_quantile_occupancy']['F'].values()), 3)
+
+ def test_historical_evaluation_changes_fail_closed(self):
+ import hashlib
+ with tempfile.TemporaryDirectory() as directory:
+ root = Path(directory)
+ relative = 'visual/runtime/test/sampling_evaluation.py'
+ snapshot = root/'evaluated_source'/relative
+ snapshot.parent.mkdir(parents=True)
+ source = Path(relative).read_text().replace('<= m', '<= m*2', 1)
+ snapshot.write_text(source)
+ config = {'source_sha256': {relative: hashlib.sha256(snapshot.read_bytes()).hexdigest()}}
+ with self.assertRaisesRegex(ValueError, 'historical evaluation definition'):
+ source_contract(root, config)
+
+
+if __name__=='__main__':unittest.main()
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a/report-912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a.zip b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a/report-912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a.zip
new file mode 100644
index 0000000000000000000000000000000000000000..37d83f2b75d0416c91d74d362f902a46a6dc2275
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a/report-912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a
+size 1051700
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/9850f748895cb1decc1bb5ad67a951ac61df8cd5d5aff39bc79faf06b933c0da/visualizations.html b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/9850f748895cb1decc1bb5ad67a951ac61df8cd5d5aff39bc79faf06b933c0da/visualizations.html
new file mode 100644
index 0000000000000000000000000000000000000000..253a2c0748f87fbe8a7d66244cd3dc578b53a3c3
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/9850f748895cb1decc1bb5ad67a951ac61df8cd5d5aff39bc79faf06b933c0da/visualizations.html
@@ -0,0 +1,200 @@
+
+
+
+
+
+Task03-D · Box rim coverage 진단
+
+
+
+
+
+
+
+단계별 reference coverage
+
+
+X는 전체 유효 Box 관측점입니다. C/P/S/F의 분모는 모두 O이며 S0의 C/P는 N/A입니다. P와 S의 coverage는 겹칠 수 있으므로 막대를 단순 합산하지 않습니다.
+
+Node 수와 unique reference 수 구분
+
+
+
+Reference ID별 보존 상태
+열은 저장 reference 배열의 행 번호입니다. ID 순서는 물리적인 rim 경로 순서를 의미하지 않습니다. 채워진 칸은 해당 reference가 집합에 포함됨을 뜻합니다.
+
+미포함S2 포함S3 포함관측 또는 S0 포함
+좁은 화면에서는 ID 선택 목록을 사용할 수 있습니다.
+
+S2와 S3 직접 비교
각 행의 교집합과 차집합은 reference ID 기준입니다. 왼쪽 집합 차이 행들은 겹칠 수 있어 원인별 손실률처럼 합산할 수 없습니다.
+
+
+Negative ROI의 경로별 점유
+ROI에 들어간 실제 node 수를 경로별 node 수로 나눕니다. 개별 ROI는 겹치고 known_negative_union은 논리 OR로 중복을 제거합니다. 일반 Surface node를 false selection이나 예산 낭비로 해석하지 않습니다.
+
+
+모든 ROI의 node count와 경로 대비 비율
+
+
+Positive depth 분포와 선택 경로
+선분은 min–max, 원은 median, 삼각형은 p95입니다. 세 조건은 같은 축 범위를 사용합니다. 원거리 cutoff를 추가하거나 depth를 필터링하지 않았습니다.
+
+┃ min / max● median▲ p95
+
+
+관측 X의 분위수 구간별 점유
+
+z ≤ X medianX median < z ≤ X p95z > X p95
+
+X 분위수는 해당 프레임의 관측 분포를 설명하는 경계이며 far point나 오류 판정 기준이 아닙니다. 구간 점유와 coverage의 상관만으로 FPS 거리 경쟁의 인과 효과를 확정할 수 없습니다.
+
+
+Peg와 Box의 node allocation
+물체별 실제 priority와 Surface 선택 node를 합쳐 256개 예산을 보여줍니다. 원본 frame metrics의 observed, budget, candidates, priority, surface_fps, selected를 연결했습니다.
+
+
+S0의 candidates count는 저장된 PCA5 진단 수치이며 General FPS의 후보 우선 선택을 의미하지 않습니다. S0의 후보 coverage는 N/A입니다.
+
+
+검증과 해석 범위
+확인한 계약
- 저장 reference ID 순서, 모든 단계 node·matched node·unique reference 수 일치.
- 저장 selected XYZ와 원래 RGB-D raster geometry 정확히 일치.
- 동일 point/reference pair의 2px AND 3mm 조건.
- 원본 NPZ·JSON·RGB-D·mask hash 보존.
- Phase 1 관련 테스트 31 PASS / 0 FAIL / 0 SKIP.
확인하지 않은 인과 원인
후보에서 priority로 넘어갈 때의 reference 감소와 Surface 보완은 관측했습니다. 오염, 원거리 point, FPS 초기점·tie·거리 경쟁의 기여율은 미확인입니다.
시각화는 저장된 결과를 표시합니다. Sampler, 후보 추출, normal estimation, FPS trace, GPU, simulator를 실행하지 않았습니다.
+
+
+
+
+
+
+
+
+
+
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b/sampling_evaluation.py b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b/sampling_evaluation.py
new file mode 100644
index 0000000000000000000000000000000000000000..e242ecc8d6e47658e2d935d6345ae7d63e0152de
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b/sampling_evaluation.py
@@ -0,0 +1,248 @@
+"""Evaluation-only GT matching and surface/false-selection metrics for Task03."""
+from dataclasses import replace
+import numpy as np
+from scipy.spatial import cKDTree
+from scipy.sparse import csr_matrix
+from scipy.ndimage import label
+from visual.runtime.test.normal_diagnostics import stats, dilate, endpoints, erode
+from visual.runtime.test.run_normal_comparison import real_truth
+from visual.runtime.test.run_structural_edges import raster_reference, rim_reference, negative_regions
+from visual.runtime.rgbd import PEG, BOX
+
+TOLERANCES = ((1., .002), (2., .003), (3., .005))
+
+
+class CoverageMatcher:
+ """Same-pair joint 2D/3D matching. No reference-dependent sampling inputs.
+
+ Distances are unfiltered by a GT corridor. Missing selected points yield
+ zero hits; distances then stay undefined and missing_reference_distances is
+ explicit. Sampling retention denominator is only tracker-recoverable refs.
+ """
+ def __init__(self, geometry, oid, reference, tolerances=TOLERANCES):
+ self.flat = np.flatnonzero(geometry.observed_mask(oid))
+ self.uv = np.column_stack(np.unravel_index(self.flat, geometry.valid_depth.shape))[:, ::-1]
+ self.xyz = geometry.xyz.reshape(-1, 3)[self.flat]
+ self.ref_uv, self.ref_xyz = reference
+ self.nref = len(self.ref_uv)
+ self.tolerances = tolerances
+ self.adjacencies = {}
+ if len(self.flat) and self.nref:
+ self.to_gt_px = cKDTree(self.ref_uv).query(self.uv)[0]
+ self.to_gt_mm = cKDTree(self.ref_xyz).query(self.xyz)[0]*1000
+ else:
+ self.to_gt_px = np.full(len(self.flat), np.nan)
+ self.to_gt_mm = self.to_gt_px.copy()
+ for px, m in tolerances:
+ if len(self.flat) and self.nref:
+ matrix = cKDTree(self.uv).sparse_distance_matrix(cKDTree(self.ref_uv), px, output_type='coo_matrix')
+ good = np.linalg.norm(self.xyz[matrix.row]-self.ref_xyz[matrix.col], axis=1) <= m
+ adj = csr_matrix((np.ones(good.sum(), bool), (matrix.row[good], matrix.col[good])), shape=(len(self.flat), self.nref))
+ else: adj = csr_matrix((len(self.flat), self.nref), dtype=bool)
+ self.adjacencies[self.key(px,m)] = adj
+
+ @staticmethod
+ def key(px,m): return f'{px:g}px_{m*1000:g}mm'
+
+ def reference_hits(self, selected_flat, px=2., m=.003):
+ """Reference IDs and matched source nodes from the existing joint adjacency.
+
+ IDs are row positions in the saved reference arrays, not rounded pixels.
+ A node can cover multiple IDs; multiple nodes covering one ID count once.
+ """
+ selected_flat = np.asarray(selected_flat)
+ if selected_flat.ndim != 1 or selected_flat.dtype.kind not in 'iu':
+ raise ValueError('source indices must be a one-dimensional integer array')
+ if len(np.unique(selected_flat)) != len(selected_flat):
+ raise ValueError('duplicate source nodes')
+ rows = np.searchsorted(self.flat, selected_flat)
+ if len(rows) and ((rows >= len(self.flat)).any()
+ or not np.array_equal(self.flat[rows], selected_flat)):
+ raise ValueError('evaluation points outside observed support')
+ adjacency = self.adjacencies[self.key(px, m)][rows]
+ return (np.flatnonzero(adjacency.getnnz(axis=0)),
+ selected_flat[adjacency.getnnz(axis=1) > 0])
+
+ def score(self, selected_flat):
+ rows = np.searchsorted(self.flat, selected_flat)
+ if len(rows) and ((rows >= len(self.flat)).any() or not np.array_equal(self.flat[rows], selected_flat)):
+ raise ValueError('evaluation points outside observed support')
+ out = dict(selected=len(rows), gt_visible=self.nref, tolerance={})
+ arrays = dict(sample_to_gt_px=self.to_gt_px[rows], sample_to_gt_mm=self.to_gt_mm[rows])
+ if len(rows) and self.nref:
+ arrays['gt_to_sample_px'] = cKDTree(self.uv[rows]).query(self.ref_uv)[0]
+ arrays['gt_to_sample_mm'] = cKDTree(self.xyz[rows]).query(self.ref_xyz)[0]*1000
+ else:
+ arrays['gt_to_sample_px'] = np.empty(0); arrays['gt_to_sample_mm'] = np.empty(0)
+ out['missing_reference_distances'] = self.nref if not len(rows) else 0
+ for key, adjacency in self.adjacencies.items():
+ observable = adjacency.getnnz(axis=0) > 0
+ covered = adjacency[rows].getnnz(axis=0) > 0
+ matched = adjacency[rows].getnnz(axis=1) > 0
+ row = dict(gt_visible=self.nref, tracker_observed=int(observable.sum()), sampled=int(covered.sum()),
+ selected=len(rows), selected_near_gt=int(matched.sum()))
+ # Every visible reference remains in the denominator, including tracker losses.
+ row.update(gt_coverage=row['sampled']/self.nref if self.nref else None,
+ tracker_coverage=row['tracker_observed']/self.nref if self.nref else None,
+ sampling_retention=row['sampled']/row['tracker_observed'] if row['tracker_observed'] else None)
+ # Spatial distribution of preservation, fixed image-axis halves of visible references.
+ if self.nref:
+ mid = np.median(self.ref_uv, axis=0)
+ quadrants = (self.ref_uv[:,0] >= mid[0]).astype(int)+2*(self.ref_uv[:,1] >= mid[1]).astype(int)
+ row['reference_quadrants'] = [dict(gt_visible=int((quadrants==q).sum()),
+ tracker_observed=int((observable & (quadrants==q)).sum()), sampled=int((covered & (quadrants==q)).sum())) for q in range(4)]
+ else: row['reference_quadrants'] = []
+ out['tolerance'][key] = row
+ out['distances'] = {k:stats(v) for k,v in arrays.items()}
+ return out, arrays
+
+
+def count_ratio(numerator, denominator):
+ """Preserve raw counts, including undefined zero-denominator fractions."""
+ return dict(numerator=int(numerator), denominator=int(denominator),
+ value=numerator/denominator if denominator else None)
+
+
+def staged_reference_coverage(matcher, candidates, priority, surface, final):
+ """Saved-set diagnosis only; no candidate extraction or selection is run.
+
+ C/P are None for the General FPS control, rather than empty candidate sets.
+ Set differences overlap and must not be summed as causal loss fractions.
+ """
+ if (candidates is None) != (priority is None):
+ raise ValueError('candidate and priority applicability must agree')
+ nodes = dict(X=matcher.flat, C=candidates, P=priority, S=surface, F=final)
+ hits, stages = {}, {}
+ for name, flat in nodes.items():
+ if flat is None:
+ hits[name] = None
+ stages[name] = None
+ continue
+ ids, matched = matcher.reference_hits(flat)
+ hits[name] = set(ids.tolist())
+ stages[name] = dict(node_count=len(flat), matched_node_count=len(matched),
+ unique_reference_count=len(ids))
+ p = np.asarray(priority if priority is not None else [], dtype=np.int64)
+ if np.intersect1d(p, surface).size or set(final) != set(p) | set(surface):
+ raise ValueError('final nodes must be the disjoint priority/surface union')
+ if candidates is not None and not set(p) <= set(candidates):
+ raise ValueError('priority nodes outside candidate support')
+ v, o = set(range(matcher.nref)), hits['X']
+ c, p, s, f = hits['C'], hits['P'], hits['S'], hits['F']
+ if not f <= o or (c is not None and not c <= o):
+ raise AssertionError('covered references outside observable references')
+ if f != (p or set()) | s:
+ raise AssertionError('final reference union differs from priority/surface')
+ differences = {'V_minus_O': v-o, 'O_minus_F': o-f}
+ if c is not None:
+ differences.update(O_minus_C=o-c, C_minus_P=c-p, C_minus_F=c-f,
+ P_intersect_S=p&s, S_minus_P=s-p, S_minus_C=s-c,
+ C_minus_P_intersect_S=(c-p)&s)
+ else:
+ differences.update({key: None for key in ('O_minus_C', 'C_minus_P', 'C_minus_F',
+ 'P_intersect_S', 'S_minus_P', 'S_minus_C', 'C_minus_P_intersect_S')})
+ coverage = dict(observation=count_ratio(len(o), len(v)))
+ for name, key in [('C', 'candidate'), ('P', 'priority'), ('S', 'surface'), ('F', 'final_retention')]:
+ coverage[key] = count_ratio(len(hits[name]), len(o)) if hits[name] is not None else None
+ return dict(stages=stages, coverage=coverage,
+ gt_final_coverage=count_ratio(len(f), len(v)),
+ reference_ids={k: sorted(ids) if ids is not None else None
+ for k, ids in dict(V=v, O=o, **hits).items()},
+ differences={k: dict(count=len(ids), reference_ids=sorted(ids)) if ids is not None else None
+ for k, ids in differences.items()})
+
+
+def evaluation_context(frame, evidence, gt, camera, robot_ids):
+ """Reuse unchanged Task02 visible seam/rim definition; GT read after extraction."""
+ truths, regions, maps = real_truth(frame, evidence.frame, gt, camera)
+ refs, matchers, negatives, surfaces = {}, {}, {}, {}
+ for name, oid in [('peg',PEG), ('box',BOX)]:
+ t = truths[name]; r = regions[name]
+ robot = np.isin(gt[f'{camera}/seg'][frame.source_frame],robot_ids) & np.isfinite(t['depth']) & evidence.frame.geometry.valid_depth & (frame.depth < t['depth']-.0015)
+ r['robot_occlusion_2px'] = dilate(endpoints(r['gt_visible'],robot),2) & r['gt_visible']
+ if name == 'box':
+ r['plane_interior'] = np.logical_or.reduce([erode(r['gt_visible'] & (t['face']==f),3) for f in range(6)]) & ~dilate(r['hole_rim'],4)
+ reference = raster_reference(maps[name]['seam'],t,frame.intrinsic) if name=='peg' else rim_reference(frame,gt,t,r['hole_rim'])
+ refs[name] = reference
+ matchers[name] = CoverageMatcher(evidence.frame.geometry,oid,reference)
+ # Include other physical box seams when excluding negatives, exactly as Task02-C.
+ other = raster_reference(maps[name]['seam'], t, frame.intrinsic)
+ all_ref = tuple(np.concatenate([reference[i], other[i]]) for i in (0,1))
+ negatives[name] = negative_regions(r, maps[name], all_ref, frame.depth.shape)
+ support = evidence.frame.geometry.observed_mask(oid)
+ flat = np.flatnonzero(support)
+ components, count = label(support)
+ comp = components.ravel()[flat]
+ sizes = np.bincount(comp, minlength=count+1)
+ surfaces[name] = dict(flat=flat, xyz=evidence.frame.geometry.xyz.reshape(-1,3)[flat],
+ plane=r['plane_interior'].ravel()[flat], face=t['face'].ravel()[flat],
+ small_component=(sizes[comp] <= 64), component_count=count)
+ return dict(truths=truths, regions=regions, maps=maps, references=refs, matchers=matchers,
+ negatives=negatives, surfaces=surfaces)
+
+
+def score_selection(result, context):
+ row, arrays = dict(objects={}), {}
+ for name, oid in [('peg',PEG),('box',BOX)]:
+ choose = result.object_id==oid
+ flat = result.flat_index[choose]
+ structural, dist = context['matchers'][name].score(flat)
+ arrays.update({name+'/'+k:v for k,v in dist.items()})
+ surface = context['surfaces'][name]
+ nearest = cKDTree(result.points[choose]).query(surface['xyz'])[0]*1000 if choose.any() else np.empty(0)
+ surface_dist = {'all':nearest}
+ if len(nearest):
+ surface_dist.update(plane=nearest[surface['plane']],small_components=nearest[surface['small_component']])
+ surface_dist.update({f'face_{f}':nearest[surface['face']==f] for f in range(6)})
+ surface_metrics = {k:dict(distance_mm=stats(v), within_3mm=int((v<=3).sum()), points=len(v)) for k,v in surface_dist.items()}
+ surface_metrics['component_count'] = surface['component_count']
+ arrays.update({name+'/surface_'+k:v for k,v in surface_dist.items()})
+ priority = result.priority_selected[choose]
+ negative = {}
+ for k, mask in context['negatives'][name].items():
+ hit = mask.ravel()[flat]
+ negative[k] = dict(observed=int(mask.ravel()[surface['flat']].sum()),
+ selected=int(hit.sum()), priority=int((hit&priority).sum()),
+ depth_priority=int((hit&result.depth_priority_selected[choose]).sum()))
+ # Union is evaluated once; region counts deliberately overlap.
+ false_union = np.logical_or.reduce(list(context['negatives'][name].values()))
+ hit = false_union.ravel()[flat]
+ negative['known_negative_union'] = dict(observed=int(false_union.ravel()[surface['flat']].sum()),
+ selected=int(hit.sum()), priority=int((hit&priority).sum()), depth_priority=int((hit&result.depth_priority_selected[choose]).sum()))
+ row['objects'][name] = dict(structural=structural,surface=surface_metrics,negative=negative,counts=result.counts[oid])
+ row['timings_ms'] = result.timings_ms
+ return row, arrays
+
+
+def summarize(rows, arrays):
+ """Micro counts plus per-frame coverage distributions; no independent-frame CI."""
+ result = dict(frames=len(rows),objects={})
+ for name in ('peg','box'):
+ objects = [r['objects'][name] for r in rows]
+ counts = {k:sum(o['counts'][k] for o in objects) for k in objects[0]['counts']}
+ structural = {}
+ for tol in objects[0]['structural']['tolerance']:
+ original = [o['structural']['tolerance'][tol] for o in objects]
+ summed = {k:sum(o[k] for o in original) for k in ('gt_visible','tracker_observed','sampled','selected','selected_near_gt')}
+ n,obs,sel = summed['gt_visible'],summed['tracker_observed'],summed['sampled']
+ summed.update(gt_coverage=sel/n if n else None,tracker_coverage=obs/n if n else None,
+ sampling_retention=sel/obs if obs else None,
+ frame_gt_coverage=stats([v['gt_coverage'] for v in original if v['gt_coverage'] is not None]),
+ frame_sampling_retention=stats([v['sampling_retention'] for v in original if v['sampling_retention'] is not None]))
+ structural[tol] = summed
+ negatives = {k:{c:sum(o['negative'][k][c] for o in objects) for c in objects[0]['negative'][k]} for k in objects[0]['negative']}
+ for v in negatives.values():
+ v['fraction_of_priority'] = v['priority']/counts['priority'] if counts['priority'] else None
+ v['fraction_of_selected_budget'] = v['priority']/counts['selected'] if counts['selected'] else None
+ distance = {k:stats(np.concatenate(v)) for k,v in arrays.items() if k.startswith(name+'/')}
+ surfaces = {}
+ for key in objects[0]['surface']:
+ if key=='component_count': continue
+ valid = [o['surface'][key] for o in objects if key in o['surface']]
+ n=sum(v['points'] for v in valid); hit=sum(v['within_3mm'] for v in valid)
+ surfaces[key] = dict(points=n,within_3mm=hit,coverage_3mm=hit/n if n else None,
+ distance_mm=distance.get(name+'/surface_'+key))
+ result['objects'][name] = dict(counts=counts,structural=structural,surface=surfaces,negative=negatives,
+ distances=distance,missing_reference_distances=sum(o['structural']['missing_reference_distances'] for o in objects))
+ result['timings_ms'] = {k:stats([r['timings_ms'][k] for r in rows]) for k in rows[0]['timings_ms']}
+ return result
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/e937b9f22220beb77e4a4a7ba6f641e179b0b1832d0f89ea27e85197c26127ef/tests.log b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/e937b9f22220beb77e4a4a7ba6f641e179b0b1832d0f89ea27e85197c26127ef/tests.log
new file mode 100644
index 0000000000000000000000000000000000000000..6195880e19b4641fe4a18f61129d1231157d2084
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/e937b9f22220beb77e4a4a7ba6f641e179b0b1832d0f89ea27e85197c26127ef/tests.log
@@ -0,0 +1,38 @@
+test_empty_reference_is_undefined_not_perfect (visual.runtime.test.test_sampling_evaluation.SamplingEvaluationTests.test_empty_reference_is_undefined_not_perfect) ... ok
+test_hole_reference_only_observed_entrance_not_hidden_projection (visual.runtime.test.test_sampling_evaluation.SamplingEvaluationTests.test_hole_reference_only_observed_entrance_not_hidden_projection) ... ok
+test_joint_tolerance_requires_same_pair (visual.runtime.test.test_sampling_evaluation.SamplingEvaluationTests.test_joint_tolerance_requires_same_pair) ... ok
+test_saved_evaluation_logging_all_frames_and_metadata (visual.runtime.test.test_sampling_evaluation.SamplingEvaluationTests.test_saved_evaluation_logging_all_frames_and_metadata) ... Output: /private/var/folders/_2/xcfq65k14fsfgp0n7w86w3_m0000gn/T/tmp7ldrj9p4/out/1a24bfdb32674eb5a470972ddcca585c
+Frames 1/2; 44 conditions each
+ok
+test_staged_sweeps_cover_all_requested_values (visual.runtime.test.test_sampling_evaluation.SamplingEvaluationTests.test_staged_sweeps_cover_all_requested_values) ... ok
+test_tracking_and_sampling_losses_have_separate_denominators (visual.runtime.test.test_sampling_evaluation.SamplingEvaluationTests.test_tracking_and_sampling_losses_have_separate_denominators) ... ok
+test_empty_points_zero_observation_and_zero_visible (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_empty_points_zero_observation_and_zero_visible) ... ok
+test_general_fps_candidate_and_priority_are_inapplicable (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_general_fps_candidate_and_priority_are_inapplicable) ... ok
+test_geometry_alignment_invalid_depth_overlap_and_pixel_centres (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_geometry_alignment_invalid_depth_overlap_and_pixel_centres) ... ok
+test_historical_evaluation_changes_fail_closed (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_historical_evaluation_changes_fail_closed) ... ok
+test_invalid_nodes_and_non_partition_are_rejected (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_invalid_nodes_and_non_partition_are_rejected) ... ok
+test_negative_union_deduplicates_and_depth_bands_cover_paths (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_negative_union_deduplicates_and_depth_bands_cover_paths) ... ok
+test_reference_overlap_union_and_surface_outside_candidates (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_reference_overlap_union_and_surface_outside_candidates) ... ok
+test_two_different_nodes_cannot_satisfy_one_reference_pair (visual.runtime.test.test_sampling_evaluation.StagedCoverageTests.test_two_different_nodes_cannot_satisfy_one_reference_pair) ... ok
+test_all_false_candidates_still_respect_contract_and_roles (visual.runtime.test.test_sampling.SamplingTests.test_all_false_candidates_still_respect_contract_and_roles) ... ok
+test_budget_ratio_observed_uniqueness_alignment_and_reproducibility (visual.runtime.test.test_sampling.SamplingTests.test_budget_ratio_observed_uniqueness_alignment_and_reproducibility) ... ok
+test_fps_seed_ties_initial_and_coincident_rows (visual.runtime.test.test_sampling.SamplingTests.test_fps_seed_ties_initial_and_coincident_rows) ... ok
+test_gt_not_accepted_and_rgb_cannot_change_selection (visual.runtime.test.test_sampling.SamplingTests.test_gt_not_accepted_and_rgb_cannot_change_selection) ... ok
+test_insufficient_both_empty_and_zero_budget (visual.runtime.test.test_sampling.SamplingTests.test_insufficient_both_empty_and_zero_budget) ... ok
+test_invalid_config_is_explicit (visual.runtime.test.test_sampling.SamplingTests.test_invalid_config_is_explicit) ... ok
+test_mask_cut_and_invalid_hole_not_structural_but_depth_step_separate (visual.runtime.test.test_sampling.SamplingTests.test_mask_cut_and_invalid_hole_not_structural_but_depth_step_separate) ... ok
+test_minimums_and_configurable_observation_allocation (visual.runtime.test.test_sampling.SamplingTests.test_minimums_and_configurable_observation_allocation) ... ok
+test_normal_and_candidate_regression_against_task02_all_fields (visual.runtime.test.test_sampling.SamplingTests.test_normal_and_candidate_regression_against_task02_all_fields) ... ok
+test_one_object_empty_current_observation_no_cache (visual.runtime.test.test_sampling.SamplingTests.test_one_object_empty_current_observation_no_cache) ... ok
+test_overlap_invalid_depth_and_input_immutability (visual.runtime.test.test_sampling.SamplingTests.test_overlap_invalid_depth_and_input_immutability) ... ok
+test_plane_has_no_invented_structural_and_equals_fps (visual.runtime.test.test_sampling.SamplingTests.test_plane_has_no_invented_structural_and_equals_fps) ... ok
+test_real_crease_priority_hits_visible_edge_and_spreads (visual.runtime.test.test_sampling.SamplingTests.test_real_crease_priority_hits_visible_edge_and_spreads) ... ok
+test_sparse_candidates_surface_fills_without_duplicates (visual.runtime.test.test_sampling.SamplingTests.test_sparse_candidates_surface_fills_without_duplicates) ... ok
+test_zero_ratio_matches_general_fps_for_every_method (visual.runtime.test.test_sampling.SamplingTests.test_zero_ratio_matches_general_fps_for_every_method) ... ok
+test_clustered_candidates_fps_covers_small_remote_region (visual.runtime.test.test_sampling_geometry.SamplingGeometryTests.test_clustered_candidates_fps_covers_small_remote_region) ... ok
+test_cuboid_visible_seam_is_preserved_by_priority (visual.runtime.test.test_sampling_geometry.SamplingGeometryTests.test_cuboid_visible_seam_is_preserved_by_priority) ... ok
+
+----------------------------------------------------------------------
+Ran 31 tests in 0.670s
+
+OK
diff --git a/visual/d3f14ee494894daabb8ba2fab8e1b00c/manifests/c90a11bf99c71db2fe8a003348a41743c9e544ff60a7f0753486b8bcb6fdf5a1/manifest.json b/visual/d3f14ee494894daabb8ba2fab8e1b00c/manifests/c90a11bf99c71db2fe8a003348a41743c9e544ff60a7f0753486b8bcb6fdf5a1/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..e6a0bab1df07bc7a32a85c0b633ef1552d84efd0
--- /dev/null
+++ b/visual/d3f14ee494894daabb8ba2fab8e1b00c/manifests/c90a11bf99c71db2fe8a003348a41743c9e544ff60a7f0753486b8bcb6fdf5a1/manifest.json
@@ -0,0 +1,124 @@
+{
+ "artifacts": [
+ {
+ "kind": "metrics",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/70a7c74709bce2a757c1512e415829cb3b676714cad85267d7c1b1eb836535d6/metrics.json",
+ "sha256": "70a7c74709bce2a757c1512e415829cb3b676714cad85267d7c1b1eb836535d6",
+ "size": 4266
+ },
+ {
+ "kind": "metrics",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/857eec6078322285809c0322622eca4059e5be4d5d088bbb62e68a7ef6714796/diagnostic.json",
+ "sha256": "857eec6078322285809c0322622eca4059e5be4d5d088bbb62e68a7ef6714796",
+ "size": 184582
+ },
+ {
+ "kind": "metrics",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/f36e98379144581c4d26815b4530f805053b7d46aaed4979e388049a5c075dac/verification.json",
+ "sha256": "f36e98379144581c4d26815b4530f805053b7d46aaed4979e388049a5c075dac",
+ "size": 927
+ },
+ {
+ "kind": "metrics",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/1d2fd5719d0b9828c07dde87543c0468afc2d6e59d3c092ff337d735d9559d9f/visualizations_verification.json",
+ "sha256": "1d2fd5719d0b9828c07dde87543c0468afc2d6e59d3c092ff337d735d9559d9f",
+ "size": 3091
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3/run_rim_bottleneck.py",
+ "sha256": "8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3",
+ "size": 20175
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b/sampling_evaluation.py",
+ "sha256": "daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b",
+ "size": 15611
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd/test_sampling_evaluation.py",
+ "sha256": "8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd",
+ "size": 15253
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/70742cb85640c3ab9a3441dcabbcb62bbce4b887dc5858890ec0c2054a0149b1/analysis.txt",
+ "sha256": "70742cb85640c3ab9a3441dcabbcb62bbce4b887dc5858890ec0c2054a0149b1",
+ "size": 15669
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/e937b9f22220beb77e4a4a7ba6f641e179b0b1832d0f89ea27e85197c26127ef/tests.log",
+ "sha256": "e937b9f22220beb77e4a4a7ba6f641e179b0b1832d0f89ea27e85197c26127ef",
+ "size": 5665
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/34c14a7aba8eba48f7aafc5f2a0ca6708dd0ffa1732a1ae68e00c84be750f4e8/execution.log",
+ "sha256": "34c14a7aba8eba48f7aafc5f2a0ca6708dd0ffa1732a1ae68e00c84be750f4e8",
+ "size": 226
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/1de58f1273afcf997f91399d3bee129ab9eabcd1407f28a9d0d36808f01f6f13/implementation.patch",
+ "sha256": "1de58f1273afcf997f91399d3bee129ab9eabcd1407f28a9d0d36808f01f6f13",
+ "size": 35358
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/9850f748895cb1decc1bb5ad67a951ac61df8cd5d5aff39bc79faf06b933c0da/visualizations.html",
+ "sha256": "9850f748895cb1decc1bb5ad67a951ac61df8cd5d5aff39bc79faf06b933c0da",
+ "size": 1164642
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8663cba6a243baf6c4a12fee5be066aeaf724c25bfcf5208e35c3014cd46ba17/build_visualizations.py",
+ "sha256": "8663cba6a243baf6c4a12fee5be066aeaf724c25bfcf5208e35c3014cd46ba17",
+ "size": 7618
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/6f789bf37516620bdbd2e45b27a729a331ef1d14961cd97e0606533d28c4790f/visualizations_template.html",
+ "sha256": "6f789bf37516620bdbd2e45b27a729a331ef1d14961cd97e0606533d28c4790f",
+ "size": 39058
+ },
+ {
+ "kind": "reports",
+ "path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a/report-912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a.zip",
+ "sha256": "912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a",
+ "size": 1051700
+ }
+ ],
+ "config_path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/config/0e7e72647775333761a724f0c55247849b01753f51df2a4089535c30867eaedd/config.yaml",
+ "environment": null,
+ "episode_metadata_paths": [],
+ "git_commit": "2e10a51736826aa980f2fe79a801eb6c9da8e288",
+ "git_dirty": true,
+ "metrics_path": "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/metrics/70a7c74709bce2a757c1512e415829cb3b676714cad85267d7c1b1eb836535d6/metrics.json",
+ "model_name": "task03d_rim_bottleneck",
+ "random_seed": 0,
+ "report_paths": [
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8323bd3048438be9c90b663f1bc03ef6fdfd67d10eb123c1fd4930538428fda3/run_rim_bottleneck.py",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/daebf8834d2c0d4ca7f95e927c87ed3d6c7fc3777909a49504e265443585d60b/sampling_evaluation.py",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8ec490314b6e55b3d4c0bc2b05f37036bf07fa3462039fd8b1676227d0a3b0bd/test_sampling_evaluation.py",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/70742cb85640c3ab9a3441dcabbcb62bbce4b887dc5858890ec0c2054a0149b1/analysis.txt",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/e937b9f22220beb77e4a4a7ba6f641e179b0b1832d0f89ea27e85197c26127ef/tests.log",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/34c14a7aba8eba48f7aafc5f2a0ca6708dd0ffa1732a1ae68e00c84be750f4e8/execution.log",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/1de58f1273afcf997f91399d3bee129ab9eabcd1407f28a9d0d36808f01f6f13/implementation.patch",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/9850f748895cb1decc1bb5ad67a951ac61df8cd5d5aff39bc79faf06b933c0da/visualizations.html",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/8663cba6a243baf6c4a12fee5be066aeaf724c25bfcf5208e35c3014cd46ba17/build_visualizations.py",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/6f789bf37516620bdbd2e45b27a729a331ef1d14961cd97e0606533d28c4790f/visualizations_template.html",
+ "visual/d3f14ee494894daabb8ba2fab8e1b00c/artifacts/reports/912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a/report-912dc970744ab2d7810032c279d3b3d4bb66c8da01d622685cb21305dfa2ac3a.zip"
+ ],
+ "run_id": "d3f14ee494894daabb8ba2fab8e1b00c",
+ "schema_version": 1,
+ "selection": [
+ "metrics",
+ "reports"
+ ],
+ "task": null,
+ "team": "visual",
+ "wandb_run_id": "d3f14ee494894daabb8ba2fab8e1b00c"
+}