From 01d4e370534c3c98e08be4fde6f0cd1ded0cdcce Mon Sep 17 00:00:00 2001 From: Laleh Beni Date: Mon, 30 Jun 2025 10:57:07 -0700 Subject: [PATCH 1/7] fix the dets issue --- src/tesseract_main.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/tesseract_main.cc b/src/tesseract_main.cc index 4f6ffdf..08aa163 100644 --- a/src/tesseract_main.cc +++ b/src/tesseract_main.cc @@ -231,12 +231,13 @@ struct Args { std::vector inner_products(config.dem.count_detectors()); if (!detector_coords.size() || !detector_coords.at(0).size()) { - // If there are no detector coordinates, just use the standard ordering - // of the indices. + // If there are no detector coordinates, just use the standard + // ordering of the indices. for (size_t det_order = 0; det_order < num_det_orders; ++det_order) { - config.det_orders.emplace_back(); - std::iota(config.det_orders.back().begin(), config.det_orders.front().end(), 0); + config.det_orders[det_order].resize(config.dem.count_detectors()); + std::iota(config.det_orders[det_order].begin(), config.det_orders[det_order].end(), 0); } + } else { // Use the coordinates to order the detectors based on a random // orientation @@ -694,4 +695,4 @@ int main(int argc, char* argv[]) { std::cout << " total_time_seconds = " << total_time_seconds; std::cout << std::endl; } -} +} \ No newline at end of file From 694843d4a04aafef674e947e9077d9e5d2d76f4c Mon Sep 17 00:00:00 2001 From: Laleh Beni Date: Mon, 30 Jun 2025 13:19:21 -0700 Subject: [PATCH 2/7] cleaup --- MODULE.bazel.lock | 253 +++++++++++++++++++++++++++++++++++++++++ src/tesseract_main.cc | 1 - try.stim | 254 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 507 insertions(+), 1 deletion(-) create mode 100644 MODULE.bazel.lock create mode 100644 try.stim diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock new file mode 100644 index 0000000..4d83a09 --- /dev/null +++ b/MODULE.bazel.lock @@ -0,0 +1,253 @@ +{ + "lockFileVersion": 18, + "registryFileHashes": { + "https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497", + "https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2", + "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589", + "https://bcr.bazel.build/modules/abseil-cpp/20230125.1/MODULE.bazel": "89047429cb0207707b2dface14ba7f8df85273d484c2572755be4bab7ce9c3a0", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.0.bcr.1/MODULE.bazel": "1c8cec495288dccd14fdae6e3f95f772c1c91857047a098fad772034264cc8cb", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.0/MODULE.bazel": "d253ae36a8bd9ee3c5955384096ccb6baf16a1b1e93e858370da0a3b94f77c16", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.1/MODULE.bazel": "fa92e2eb41a04df73cdabeec37107316f7e5272650f81d6cc096418fe647b915", + "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/MODULE.bazel": "37bcdb4440fbb61df6a1c296ae01b327f19e9bb521f9b8e26ec854b6f97309ed", + "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/source.json": "9be551b8d4e3ef76875c0d744b5d6a504a27e3ae67bc6b28f46415fd2d2957da", + "https://bcr.bazel.build/modules/bazel_features/1.1.1/MODULE.bazel": "27b8c79ef57efe08efccbd9dd6ef70d61b4798320b8d3c134fd571f78963dbcd", + "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", + "https://bcr.bazel.build/modules/bazel_features/1.15.0/MODULE.bazel": "d38ff6e517149dc509406aca0db3ad1efdd890a85e049585b7234d04238e2a4d", + "https://bcr.bazel.build/modules/bazel_features/1.17.0/MODULE.bazel": "039de32d21b816b47bd42c778e0454217e9c9caac4a3cf8e15c7231ee3ddee4d", + "https://bcr.bazel.build/modules/bazel_features/1.18.0/MODULE.bazel": "1be0ae2557ab3a72a57aeb31b29be347bcdc5d2b1eb1e70f39e3851a7e97041a", + "https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58", + "https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b", + "https://bcr.bazel.build/modules/bazel_features/1.21.0/source.json": "3e8379efaaef53ce35b7b8ba419df829315a880cb0a030e5bb45c96d6d5ecb5f", + "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", + "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", + "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", + "https://bcr.bazel.build/modules/bazel_skylib/1.1.1/MODULE.bazel": "1add3e7d93ff2e6998f9e118022c84d163917d912f5afafb3058e3d2f1545b5e", + "https://bcr.bazel.build/modules/bazel_skylib/1.2.0/MODULE.bazel": "44fe84260e454ed94ad326352a698422dbe372b21a1ac9f3eab76eb531223686", + "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", + "https://bcr.bazel.build/modules/bazel_skylib/1.3.0/MODULE.bazel": "20228b92868bf5cfc41bda7afc8a8ba2a543201851de39d990ec957b513579c5", + "https://bcr.bazel.build/modules/bazel_skylib/1.4.1/MODULE.bazel": "a0dcb779424be33100dcae821e9e27e4f2901d9dfd5333efe5ac6a8d7ab75e1d", + "https://bcr.bazel.build/modules/bazel_skylib/1.4.2/MODULE.bazel": "3bd40978e7a1fac911d5989e6b09d8f64921865a45822d8b09e815eaa726a651", + "https://bcr.bazel.build/modules/bazel_skylib/1.5.0/MODULE.bazel": "32880f5e2945ce6a03d1fbd588e9198c0a959bb42297b2cfaf1685b7bc32e138", + "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.0/MODULE.bazel": "0db596f4563de7938de764cc8deeabec291f55e8ec15299718b93c4423e9796d", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", + "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", + "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", + "https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb", + "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", + "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6", + "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/source.json": "41e9e129f80d8c8bf103a7acc337b76e54fad1214ac0a7084bf24f4cd924b8b4", + "https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f", + "https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075", + "https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d", + "https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902", + "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", + "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5", + "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", + "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", + "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", + "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", + "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", + "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", + "https://bcr.bazel.build/modules/protobuf/23.1/MODULE.bazel": "88b393b3eb4101d18129e5db51847cd40a5517a53e81216144a8c32dfeeca52a", + "https://bcr.bazel.build/modules/protobuf/24.4/MODULE.bazel": "7bc7ce5f2abf36b3b7b7c8218d3acdebb9426aeb35c2257c96445756f970eb12", + "https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c", + "https://bcr.bazel.build/modules/protobuf/27.1/MODULE.bazel": "703a7b614728bb06647f965264967a8ef1c39e09e8f167b3ca0bb1fd80449c0d", + "https://bcr.bazel.build/modules/protobuf/29.0-rc2/MODULE.bazel": "6241d35983510143049943fc0d57937937122baf1b287862f9dc8590fc4c37df", + "https://bcr.bazel.build/modules/protobuf/29.0/MODULE.bazel": "319dc8bf4c679ff87e71b1ccfb5a6e90a6dbc4693501d471f48662ac46d04e4e", + "https://bcr.bazel.build/modules/protobuf/29.0/source.json": "b857f93c796750eef95f0d61ee378f3420d00ee1dd38627b27193aa482f4f981", + "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", + "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e", + "https://bcr.bazel.build/modules/pybind11_bazel/2.13.6/MODULE.bazel": "2d746fda559464b253b2b2e6073cb51643a2ac79009ca02100ebbc44b4548656", + "https://bcr.bazel.build/modules/pybind11_bazel/2.13.6/source.json": "6aa0703de8efb20cc897bbdbeb928582ee7beaf278bcd001ac253e1605bddfae", + "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel": "cb3d511531b16cfc78a225a9e2136007a48cf8a677e4264baeab57fe78a80206", + "https://bcr.bazel.build/modules/re2/2023-09-01/source.json": "e044ce89c2883cd957a2969a43e79f7752f9656f6b20050b62f90ede21ec6eb4", + "https://bcr.bazel.build/modules/rules_android/0.1.1/MODULE.bazel": "48809ab0091b07ad0182defb787c4c5328bd3a278938415c00a7b69b50c4d3a8", + "https://bcr.bazel.build/modules/rules_android/0.1.1/source.json": "e6986b41626ee10bdc864937ffb6d6bf275bb5b9c65120e6137d56e6331f089e", + "https://bcr.bazel.build/modules/rules_cc/0.0.1/MODULE.bazel": "cb2aa0747f84c6c3a78dad4e2049c154f08ab9d166b1273835a8174940365647", + "https://bcr.bazel.build/modules/rules_cc/0.0.10/MODULE.bazel": "ec1705118f7eaedd6e118508d3d26deba2a4e76476ada7e0e3965211be012002", + "https://bcr.bazel.build/modules/rules_cc/0.0.13/MODULE.bazel": "0e8529ed7b323dad0775ff924d2ae5af7640b23553dfcd4d34344c7e7a867191", + "https://bcr.bazel.build/modules/rules_cc/0.0.14/MODULE.bazel": "5e343a3aac88b8d7af3b1b6d2093b55c347b8eefc2e7d1442f7a02dc8fea48ac", + "https://bcr.bazel.build/modules/rules_cc/0.0.15/MODULE.bazel": "6704c35f7b4a72502ee81f61bf88706b54f06b3cbe5558ac17e2e14666cd5dcc", + "https://bcr.bazel.build/modules/rules_cc/0.0.16/MODULE.bazel": "7661303b8fc1b4d7f532e54e9d6565771fea666fbdf839e0a86affcd02defe87", + "https://bcr.bazel.build/modules/rules_cc/0.0.17/MODULE.bazel": "2ae1d8f4238ec67d7185d8861cb0a2cdf4bc608697c331b95bf990e69b62e64a", + "https://bcr.bazel.build/modules/rules_cc/0.0.17/source.json": "4db99b3f55c90ab28d14552aa0632533e3e8e5e9aea0f5c24ac0014282c2a7c5", + "https://bcr.bazel.build/modules/rules_cc/0.0.2/MODULE.bazel": "6915987c90970493ab97393024c156ea8fb9f3bea953b2f3ec05c34f19b5695c", + "https://bcr.bazel.build/modules/rules_cc/0.0.6/MODULE.bazel": "abf360251023dfe3efcef65ab9d56beefa8394d4176dd29529750e1c57eaa33f", + "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", + "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", + "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", + "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", + "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/source.json": "c8b1e2c717646f1702290959a3302a178fb639d987ab61d548105019f11e527e", + "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", + "https://bcr.bazel.build/modules/rules_java/5.3.5/MODULE.bazel": "a4ec4f2db570171e3e5eb753276ee4b389bae16b96207e9d3230895c99644b86", + "https://bcr.bazel.build/modules/rules_java/6.0.0/MODULE.bazel": "8a43b7df601a7ec1af61d79345c17b31ea1fedc6711fd4abfd013ea612978e39", + "https://bcr.bazel.build/modules/rules_java/6.4.0/MODULE.bazel": "e986a9fe25aeaa84ac17ca093ef13a4637f6107375f64667a15999f77db6c8f6", + "https://bcr.bazel.build/modules/rules_java/6.5.2/MODULE.bazel": "1d440d262d0e08453fa0c4d8f699ba81609ed0e9a9a0f02cd10b3e7942e61e31", + "https://bcr.bazel.build/modules/rules_java/7.1.0/MODULE.bazel": "30d9135a2b6561c761bd67bd4990da591e6bdc128790ce3e7afd6a3558b2fb64", + "https://bcr.bazel.build/modules/rules_java/7.10.0/MODULE.bazel": "530c3beb3067e870561739f1144329a21c851ff771cd752a49e06e3dc9c2e71a", + "https://bcr.bazel.build/modules/rules_java/7.12.2/MODULE.bazel": "579c505165ee757a4280ef83cda0150eea193eed3bef50b1004ba88b99da6de6", + "https://bcr.bazel.build/modules/rules_java/7.2.0/MODULE.bazel": "06c0334c9be61e6cef2c8c84a7800cef502063269a5af25ceb100b192453d4ab", + "https://bcr.bazel.build/modules/rules_java/7.3.2/MODULE.bazel": "50dece891cfdf1741ea230d001aa9c14398062f2b7c066470accace78e412bc2", + "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", + "https://bcr.bazel.build/modules/rules_java/8.11.0/MODULE.bazel": "c3d280bc5ff1038dcb3bacb95d3f6b83da8dd27bba57820ec89ea4085da767ad", + "https://bcr.bazel.build/modules/rules_java/8.11.0/source.json": "302b52a39259a85aa06ca3addb9787864ca3e03b432a5f964ea68244397e7544", + "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7", + "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel": "33f6f999e03183f7d088c9be518a63467dfd0be94a11d0055fe2d210f89aa909", + "https://bcr.bazel.build/modules/rules_jvm_external/5.2/MODULE.bazel": "d9351ba35217ad0de03816ef3ed63f89d411349353077348a45348b096615036", + "https://bcr.bazel.build/modules/rules_jvm_external/5.3/MODULE.bazel": "bf93870767689637164657731849fb887ad086739bd5d360d90007a581d5527d", + "https://bcr.bazel.build/modules/rules_jvm_external/6.1/MODULE.bazel": "75b5fec090dbd46cf9b7d8ea08cf84a0472d92ba3585b476f44c326eda8059c4", + "https://bcr.bazel.build/modules/rules_jvm_external/6.3/MODULE.bazel": "c998e060b85f71e00de5ec552019347c8bca255062c990ac02d051bb80a38df0", + "https://bcr.bazel.build/modules/rules_jvm_external/6.3/source.json": "6f5f5a5a4419ae4e37c35a5bb0a6ae657ed40b7abc5a5189111b47fcebe43197", + "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/MODULE.bazel": "ef85697305025e5a61f395d4eaede272a5393cee479ace6686dba707de804d59", + "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/MODULE.bazel": "d269a01a18ee74d0335450b10f62c9ed81f2321d7958a2934e44272fe82dcef3", + "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/source.json": "2faa4794364282db7c06600b7e5e34867a564ae91bda7cae7c29c64e9466b7d5", + "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", + "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", + "https://bcr.bazel.build/modules/rules_license/1.0.0/MODULE.bazel": "a7fda60eefdf3d8c827262ba499957e4df06f659330bbe6cdbdb975b768bb65c", + "https://bcr.bazel.build/modules/rules_license/1.0.0/source.json": "a52c89e54cc311196e478f8382df91c15f7a2bfdf4c6cd0e2675cc2ff0b56efb", + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", + "https://bcr.bazel.build/modules/rules_pkg/1.0.1/MODULE.bazel": "5b1df97dbc29623bccdf2b0dcd0f5cb08e2f2c9050aab1092fd39a41e82686ff", + "https://bcr.bazel.build/modules/rules_pkg/1.0.1/source.json": "bd82e5d7b9ce2d31e380dd9f50c111d678c3bdaca190cb76b0e1c71b05e1ba8a", + "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", + "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", + "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc1/MODULE.bazel": "1e5b502e2e1a9e825eef74476a5a1ee524a92297085015a052510b09a1a09483", + "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", + "https://bcr.bazel.build/modules/rules_proto/7.0.2/MODULE.bazel": "bf81793bd6d2ad89a37a40693e56c61b0ee30f7a7fdbaf3eabbf5f39de47dea2", + "https://bcr.bazel.build/modules/rules_proto/7.0.2/source.json": "1e5e7260ae32ef4f2b52fd1d0de8d03b606a44c91b694d2f1afb1d3b28a48ce1", + "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", + "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel": "49ffccf0511cb8414de28321f5fcf2a31312b47c40cc21577144b7447f2bf300", + "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel": "72f1506841c920a1afec76975b35312410eea3aa7b63267436bfb1dd91d2d382", + "https://bcr.bazel.build/modules/rules_python/0.28.0/MODULE.bazel": "cba2573d870babc976664a912539b320cbaa7114cd3e8f053c720171cde331ed", + "https://bcr.bazel.build/modules/rules_python/0.31.0/MODULE.bazel": "93a43dc47ee570e6ec9f5779b2e64c1476a6ce921c48cc9a1678a91dd5f8fd58", + "https://bcr.bazel.build/modules/rules_python/0.34.0/MODULE.bazel": "1d623d026e075b78c9fde483a889cda7996f5da4f36dffb24c246ab30f06513a", + "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", + "https://bcr.bazel.build/modules/rules_python/0.40.0/MODULE.bazel": "9d1a3cd88ed7d8e39583d9ffe56ae8a244f67783ae89b60caafc9f5cf318ada7", + "https://bcr.bazel.build/modules/rules_python/0.40.0/source.json": "939d4bd2e3110f27bfb360292986bb79fd8dcefb874358ccd6cdaa7bda029320", + "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", + "https://bcr.bazel.build/modules/rules_shell/0.2.0/source.json": "7f27af3c28037d9701487c4744b5448d26537cc66cdef0d8df7ae85411f8de95", + "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", + "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", + "https://bcr.bazel.build/modules/stardoc/0.5.6/MODULE.bazel": "c43dabc564990eeab55e25ed61c07a1aadafe9ece96a4efabb3f8bf9063b71ef", + "https://bcr.bazel.build/modules/stardoc/0.7.0/MODULE.bazel": "05e3d6d30c099b6770e97da986c53bd31844d7f13d41412480ea265ac9e8079c", + "https://bcr.bazel.build/modules/stardoc/0.7.1/MODULE.bazel": "3548faea4ee5dda5580f9af150e79d0f6aea934fc60c1cc50f4efdd9420759e7", + "https://bcr.bazel.build/modules/stardoc/0.7.1/source.json": "b6500ffcd7b48cd72c29bb67bcac781e12701cc0d6d55d266a652583cfcdab01", + "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", + "https://bcr.bazel.build/modules/upb/0.0.0-20230516-61a97ef/MODULE.bazel": "c0df5e35ad55e264160417fd0875932ee3c9dda63d9fccace35ac62f45e1b6f9", + "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", + "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79", + "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d", + "https://bcr.bazel.build/modules/zlib/1.3.1/MODULE.bazel": "751c9940dcfe869f5f7274e1295422a34623555916eb98c174c1e945594bf198" + }, + "selectedYankedVersions": {}, + "moduleExtensions": { + "@@platforms//host:extension.bzl%host_platform": { + "general": { + "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", + "usagesDigest": "SeQiIN/f8/Qt9vYQk7qcXp4I4wJeEC0RnQDiaaJ4tb8=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "host_platform": { + "repoRuleId": "@@platforms//host:extension.bzl%host_platform_repo", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@pybind11_bazel+//:internal_configure.bzl%internal_configure_extension": { + "general": { + "bzlTransitiveDigest": "wXImnqOfGKOqkiPwQBuez+TGQdj1tuLQU6OYcfhB97I=", + "usagesDigest": "tVQNvLoXMWAbiK39am3yovKGpwINdftfn7RpDyN+JZc=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "pybind11": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "build_file": "@@pybind11_bazel+//:pybind11-BUILD.bazel", + "strip_prefix": "pybind11-2.13.6", + "url": "https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz", + "integrity": "sha256-4Iy4f0dz2pf6e18DXeh2OrxlbYfVdz5i9toFh9Hw7CA=" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "pybind11_bazel+", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@rules_kotlin+//src/main/starlark/core/repositories:bzlmod_setup.bzl%rules_kotlin_extensions": { + "general": { + "bzlTransitiveDigest": "sFhcgPbDQehmbD1EOXzX4H1q/CD5df8zwG4kp4jbvr8=", + "usagesDigest": "QI2z8ZUR+mqtbwsf2fLqYdJAkPOHdOV+tF2yVAUgRzw=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "com_github_jetbrains_kotlin_git": { + "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:compiler.bzl%kotlin_compiler_git_repository", + "attributes": { + "urls": [ + "https://github.com/JetBrains/kotlin/releases/download/v1.9.23/kotlin-compiler-1.9.23.zip" + ], + "sha256": "93137d3aab9afa9b27cb06a824c2324195c6b6f6179d8a8653f440f5bd58be88" + } + }, + "com_github_jetbrains_kotlin": { + "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:compiler.bzl%kotlin_capabilities_repository", + "attributes": { + "git_repository_name": "com_github_jetbrains_kotlin_git", + "compiler_version": "1.9.23" + } + }, + "com_github_google_ksp": { + "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:ksp.bzl%ksp_compiler_plugin_repository", + "attributes": { + "urls": [ + "https://github.com/google/ksp/releases/download/1.9.23-1.0.20/artifacts.zip" + ], + "sha256": "ee0618755913ef7fd6511288a232e8fad24838b9af6ea73972a76e81053c8c2d", + "strip_version": "1.9.23-1.0.20" + } + }, + "com_github_pinterest_ktlint": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file", + "attributes": { + "sha256": "01b2e0ef893383a50dbeb13970fe7fa3be36ca3e83259e01649945b09d736985", + "urls": [ + "https://github.com/pinterest/ktlint/releases/download/1.3.0/ktlint" + ], + "executable": true + } + }, + "rules_android": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "sha256": "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806", + "strip_prefix": "rules_android-0.1.1", + "urls": [ + "https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_kotlin+", + "bazel_tools", + "bazel_tools" + ] + ] + } + } + } +} diff --git a/src/tesseract_main.cc b/src/tesseract_main.cc index 08aa163..0f8e9ae 100644 --- a/src/tesseract_main.cc +++ b/src/tesseract_main.cc @@ -237,7 +237,6 @@ struct Args { config.det_orders[det_order].resize(config.dem.count_detectors()); std::iota(config.det_orders[det_order].begin(), config.det_orders[det_order].end(), 0); } - } else { // Use the coordinates to order the detectors based on a random // orientation diff --git a/try.stim b/try.stim new file mode 100644 index 0000000..bff1aac --- /dev/null +++ b/try.stim @@ -0,0 +1,254 @@ +# l wta wtb wtc wtd k d cirset +# 7 2 2 2 2 6 4 1&2 +# ax 0 1 +# bx 0 2 +# cx 0 3 +# dx 0 4 +# begin circuit + R 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 + X_ERROR(0.001) 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 + TICK + DEPOLARIZE1(0.001) 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 + TICK + XCX 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 + CX 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 + DEPOLARIZE2(0.001) 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 + TICK + XCX 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 + CX 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 + DEPOLARIZE2(0.001) 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 + TICK + XCX 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 + CX 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 + DEPOLARIZE2(0.001) 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 + TICK + XCX 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 + CX 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 + DEPOLARIZE2(0.001) 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 + TICK + XCX 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 + CX 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 + DEPOLARIZE2(0.001) 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 + TICK + XCX 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 + CX 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 + DEPOLARIZE2(0.001) 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 + TICK + X_ERROR(0.001) 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 + MR 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 + X_ERROR(0.001) 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 + DETECTOR rec[-1] + DETECTOR rec[-2] + DETECTOR rec[-3] + DETECTOR rec[-4] + DETECTOR rec[-5] + DETECTOR rec[-6] + DETECTOR rec[-7] + DETECTOR rec[-8] + DETECTOR rec[-9] + DETECTOR rec[-10] + DETECTOR rec[-11] + DETECTOR rec[-12] + DETECTOR rec[-13] + DETECTOR rec[-14] + DETECTOR rec[-15] + DETECTOR rec[-16] + DETECTOR rec[-17] + DETECTOR rec[-18] + DETECTOR rec[-19] + DETECTOR rec[-20] + DETECTOR rec[-21] + TICK + DEPOLARIZE1(0.001) 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 + TICK + XCX 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 + CX 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 + DEPOLARIZE2(0.001) 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 + TICK + XCX 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 + CX 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 + DEPOLARIZE2(0.001) 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 + TICK + XCX 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 + CX 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 + DEPOLARIZE2(0.001) 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 + TICK + XCX 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 + CX 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 + DEPOLARIZE2(0.001) 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 + TICK + XCX 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 + CX 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 + DEPOLARIZE2(0.001) 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 + TICK + XCX 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 + CX 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 + DEPOLARIZE2(0.001) 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 + TICK + X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 + MR 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 + X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 + DETECTOR rec[-15] + DETECTOR rec[-16] + DETECTOR rec[-17] + DETECTOR rec[-18] + DETECTOR rec[-19] + DETECTOR rec[-20] + DETECTOR rec[-21] + DETECTOR rec[-1] rec[-50] + DETECTOR rec[-2] rec[-51] + DETECTOR rec[-3] rec[-52] + DETECTOR rec[-4] rec[-53] + DETECTOR rec[-5] rec[-54] + DETECTOR rec[-6] rec[-55] + DETECTOR rec[-7] rec[-56] + DETECTOR rec[-8] rec[-57] + DETECTOR rec[-9] rec[-58] + DETECTOR rec[-10] rec[-59] + DETECTOR rec[-11] rec[-60] + DETECTOR rec[-12] rec[-61] + DETECTOR rec[-13] rec[-62] + DETECTOR rec[-14] rec[-63] + REPEAT 3 { + TICK + DEPOLARIZE1(0.001) 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 + TICK + XCX 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 + CX 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 + DEPOLARIZE2(0.001) 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 + TICK + XCX 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 + CX 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 + DEPOLARIZE2(0.001) 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 + TICK + XCX 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 + CX 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 + DEPOLARIZE2(0.001) 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 + TICK + XCX 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 + CX 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 + DEPOLARIZE2(0.001) 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 + TICK + XCX 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 + CX 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 + DEPOLARIZE2(0.001) 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 + TICK + XCX 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 + CX 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 + DEPOLARIZE2(0.001) 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 + TICK + X_ERROR(0.001) 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 + MR 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 + X_ERROR(0.001) 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 + DETECTOR rec[-1] rec[-85] + DETECTOR rec[-2] rec[-86] + DETECTOR rec[-3] rec[-87] + DETECTOR rec[-4] rec[-88] + DETECTOR rec[-5] rec[-89] + DETECTOR rec[-6] rec[-90] + DETECTOR rec[-7] rec[-91] + DETECTOR rec[-8] rec[-43] + DETECTOR rec[-9] rec[-44] + DETECTOR rec[-10] rec[-45] + DETECTOR rec[-11] rec[-46] + DETECTOR rec[-12] rec[-47] + DETECTOR rec[-13] rec[-48] + DETECTOR rec[-14] rec[-49] + DETECTOR rec[-15] rec[-50] + DETECTOR rec[-16] rec[-51] + DETECTOR rec[-17] rec[-52] + DETECTOR rec[-18] rec[-53] + DETECTOR rec[-19] rec[-54] + DETECTOR rec[-20] rec[-55] + DETECTOR rec[-21] rec[-56] + TICK + DEPOLARIZE1(0.001) 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 + TICK + XCX 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 + CX 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 + DEPOLARIZE2(0.001) 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 + TICK + XCX 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 + CX 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 + DEPOLARIZE2(0.001) 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 + TICK + XCX 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 + CX 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 + DEPOLARIZE2(0.001) 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 + TICK + XCX 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 + CX 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 + DEPOLARIZE2(0.001) 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 + TICK + XCX 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 + CX 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 + DEPOLARIZE2(0.001) 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 + TICK + XCX 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 + CX 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 + DEPOLARIZE2(0.001) 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 + TICK + X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 + MR 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 + X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 + DETECTOR rec[-1] rec[-50] + DETECTOR rec[-2] rec[-51] + DETECTOR rec[-3] rec[-52] + DETECTOR rec[-4] rec[-53] + DETECTOR rec[-5] rec[-54] + DETECTOR rec[-6] rec[-55] + DETECTOR rec[-7] rec[-56] + DETECTOR rec[-8] rec[-57] + DETECTOR rec[-9] rec[-58] + DETECTOR rec[-10] rec[-59] + DETECTOR rec[-11] rec[-60] + DETECTOR rec[-12] rec[-61] + DETECTOR rec[-13] rec[-62] + DETECTOR rec[-14] rec[-63] + DETECTOR rec[-15] rec[-99] + DETECTOR rec[-16] rec[-100] + DETECTOR rec[-17] rec[-101] + DETECTOR rec[-18] rec[-102] + DETECTOR rec[-19] rec[-103] + DETECTOR rec[-20] rec[-104] + DETECTOR rec[-21] rec[-105] + } + X_ERROR(0.001) 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 + MR 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 + DETECTOR rec[-5] rec[-21] rec[-17] rec[-14] rec[-11] rec[-7] rec[-63] + DETECTOR rec[-4] rec[-20] rec[-16] rec[-13] rec[-10] rec[-6] rec[-62] + DETECTOR rec[-3] rec[-19] rec[-15] rec[-12] rec[-9] rec[-5] rec[-61] + DETECTOR rec[-2] rec[-18] rec[-21] rec[-11] rec[-8] rec[-4] rec[-60] + DETECTOR rec[-1] rec[-17] rec[-20] rec[-10] rec[-14] rec[-3] rec[-59] + DETECTOR rec[-7] rec[-16] rec[-19] rec[-9] rec[-13] rec[-2] rec[-58] + DETECTOR rec[-6] rec[-15] rec[-18] rec[-8] rec[-12] rec[-1] rec[-57] + DETECTOR rec[-33] rec[-42] rec[-39] rec[-21] rec[-20] rec[-35] rec[-56] + DETECTOR rec[-32] rec[-41] rec[-38] rec[-20] rec[-19] rec[-34] rec[-55] + DETECTOR rec[-31] rec[-40] rec[-37] rec[-19] rec[-18] rec[-33] rec[-54] + DETECTOR rec[-30] rec[-39] rec[-36] rec[-18] rec[-17] rec[-32] rec[-53] + DETECTOR rec[-29] rec[-38] rec[-42] rec[-17] rec[-16] rec[-31] rec[-52] + DETECTOR rec[-35] rec[-37] rec[-41] rec[-16] rec[-15] rec[-30] rec[-51] + DETECTOR rec[-34] rec[-36] rec[-40] rec[-15] rec[-21] rec[-29] rec[-50] + DETECTOR rec[-26] rec[-14] rec[-13] rec[-42] rec[-38] rec[-28] rec[-49] + DETECTOR rec[-25] rec[-13] rec[-12] rec[-41] rec[-37] rec[-27] rec[-48] + DETECTOR rec[-24] rec[-12] rec[-11] rec[-40] rec[-36] rec[-26] rec[-47] + DETECTOR rec[-23] rec[-11] rec[-10] rec[-39] rec[-42] rec[-25] rec[-46] + DETECTOR rec[-22] rec[-10] rec[-9] rec[-38] rec[-41] rec[-24] rec[-45] + DETECTOR rec[-28] rec[-9] rec[-8] rec[-37] rec[-40] rec[-23] rec[-44] + DETECTOR rec[-27] rec[-8] rec[-14] rec[-36] rec[-39] rec[-22] rec[-43] + DETECTOR rec[-6] rec[-35] rec[-31] rec[-28] rec[-25] rec[-7] rec[-91] + DETECTOR rec[-5] rec[-34] rec[-30] rec[-27] rec[-24] rec[-6] rec[-90] + DETECTOR rec[-4] rec[-33] rec[-29] rec[-26] rec[-23] rec[-5] rec[-89] + DETECTOR rec[-3] rec[-32] rec[-35] rec[-25] rec[-22] rec[-4] rec[-88] + DETECTOR rec[-2] rec[-31] rec[-34] rec[-24] rec[-28] rec[-3] rec[-87] + DETECTOR rec[-1] rec[-30] rec[-33] rec[-23] rec[-27] rec[-2] rec[-86] + DETECTOR rec[-7] rec[-29] rec[-32] rec[-22] rec[-26] rec[-1] rec[-85] + Tick + OBSERVABLE_INCLUDE(0) rec[-42] rec[-41] rec[-40] rec[-39] rec[-38] rec[-37] rec[-36] + OBSERVABLE_INCLUDE(1) rec[-35] rec[-34] rec[-33] rec[-32] rec[-31] rec[-30] rec[-29] + OBSERVABLE_INCLUDE(2) rec[-28] rec[-27] rec[-26] rec[-25] rec[-24] rec[-23] rec[-22] + OBSERVABLE_INCLUDE(3) rec[-42] rec[-41] rec[-40] rec[-35] rec[-34] rec[-21] + OBSERVABLE_INCLUDE(4) rec[-42] rec[-41] rec[-40] rec[-39] rec[-28] rec[-27] rec[-14] + OBSERVABLE_INCLUDE(5) rec[-35] rec[-34] rec[-33] rec[-32] rec[-28] rec[-27] rec[-26] rec[-7] + +# end of the circuit From 216c4d1127aaa3425cda4cd9ed28b3b4cab401a0 Mon Sep 17 00:00:00 2001 From: Laleh Beni Date: Mon, 30 Jun 2025 13:30:55 -0700 Subject: [PATCH 3/7] make the det-order-bfs default --- README.md | 2 +- src/tesseract_main.cc | 9 +++++---- viz/README.md | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0b5e6d0..4f9d77f 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ We tested the Tesseract decoder for: * **Detailed Statistics:** provides comprehensive statistics output, including shot counts, error counts, and processing times. * **Heuristics**: includes flexible heuristic options: `--beam`, `--det-penalty`, - `--beam-climbing`, `--no-revisit-dets`, `--at-most-two-errors-per-detector`, `--det-order-bfs` and `--pqlimit` to + `--beam-climbing`, `--no-revisit-dets`, `--at-most-two-errors-per-detector`, and `--pqlimit` to improve performance while maintaining a low logical error rate. To learn more about these options, use `./bazel-bin/src/tesseract --help` * **Visualization tool:** open the [viz directory](viz/) in your browser to view decoding results. See [viz/README.md](viz/README.md) for instructions on generating the visualization JSON. diff --git a/src/tesseract_main.cc b/src/tesseract_main.cc index 0f8e9ae..6565942 100644 --- a/src/tesseract_main.cc +++ b/src/tesseract_main.cc @@ -33,7 +33,7 @@ struct Args { // Manifold orientation options uint64_t det_order_seed; size_t num_det_orders = 10; - bool det_order_bfs = false; + bool det_order_bfs = true; // Sampling options size_t sample_num_shots = 0; @@ -381,9 +381,10 @@ int main(int argc, char* argv[]) { .metavar("N") .default_value(size_t(1)) .store_into(args.num_det_orders); - program.add_argument("--det-order-bfs") - .help("Use BFS-based detector ordering instead of geometric orientation") - .flag() + program.add_argument("--no-det-order-bfs") + .help("Disable BFS-based detector ordering and use geometric orientation") + .default_value(true) + .implicit_value(false) .store_into(args.det_order_bfs); program.add_argument("--det-order-seed") .help( diff --git a/viz/README.md b/viz/README.md index 9ab04d7..380e7ab 100644 --- a/viz/README.md +++ b/viz/README.md @@ -10,7 +10,7 @@ include only the lines used by the converter script: ```bash bazel build src:all && \ ./bazel-bin/src/tesseract \ - --sample-num-shots 1 --det-order-seed 13267562 --pqlimit 10000 --beam 1 --num-det-orders 20 --det-order-bfs \ + --sample-num-shots 1 --det-order-seed 13267562 --pqlimit 10000 --beam 1 --num-det-orders 20 \ --circuit testdata/colorcodes/r\=9\,d\=9\,p\=0.002\,noise\=si1000\,c\=superdense_color_code_X\,q\=121\,gates\=cz.stim \ --sample-seed 717347 --threads 1 --verbose | \ grep -E 'Error|Detector|activated_errors|activated_dets' > logfile.txt @@ -19,7 +19,7 @@ python viz/to_json.py logfile.txt -o logfile.json ``` -The `--det-order-bfs` flag is compatible with visualization logs. Just make +The `--no-det-order-bfs` flag is compatible with visualization logs. Just make sure `--verbose` is enabled so the detector coordinates are printed for `to_json.py` to parse. From 3cae4ff37701c9b80bb31e6b74162fa121f4c5f8 Mon Sep 17 00:00:00 2001 From: LaLeh Date: Mon, 30 Jun 2025 13:38:29 -0700 Subject: [PATCH 4/7] Delete try.stim --- try.stim | 254 ------------------------------------------------------- 1 file changed, 254 deletions(-) delete mode 100644 try.stim diff --git a/try.stim b/try.stim deleted file mode 100644 index bff1aac..0000000 --- a/try.stim +++ /dev/null @@ -1,254 +0,0 @@ -# l wta wtb wtc wtd k d cirset -# 7 2 2 2 2 6 4 1&2 -# ax 0 1 -# bx 0 2 -# cx 0 3 -# dx 0 4 -# begin circuit - R 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 - X_ERROR(0.001) 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 - TICK - DEPOLARIZE1(0.001) 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 - TICK - XCX 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 - CX 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 - DEPOLARIZE2(0.001) 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 - TICK - XCX 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 - CX 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 - DEPOLARIZE2(0.001) 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 - TICK - XCX 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 - CX 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 - DEPOLARIZE2(0.001) 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 - TICK - XCX 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 - CX 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 - DEPOLARIZE2(0.001) 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 - TICK - XCX 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 - CX 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 - DEPOLARIZE2(0.001) 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 - TICK - XCX 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 - CX 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 - DEPOLARIZE2(0.001) 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 - TICK - X_ERROR(0.001) 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 - MR 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 - X_ERROR(0.001) 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 - DETECTOR rec[-1] - DETECTOR rec[-2] - DETECTOR rec[-3] - DETECTOR rec[-4] - DETECTOR rec[-5] - DETECTOR rec[-6] - DETECTOR rec[-7] - DETECTOR rec[-8] - DETECTOR rec[-9] - DETECTOR rec[-10] - DETECTOR rec[-11] - DETECTOR rec[-12] - DETECTOR rec[-13] - DETECTOR rec[-14] - DETECTOR rec[-15] - DETECTOR rec[-16] - DETECTOR rec[-17] - DETECTOR rec[-18] - DETECTOR rec[-19] - DETECTOR rec[-20] - DETECTOR rec[-21] - TICK - DEPOLARIZE1(0.001) 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 - TICK - XCX 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 - CX 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 - DEPOLARIZE2(0.001) 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 - TICK - XCX 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 - CX 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 - DEPOLARIZE2(0.001) 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 - TICK - XCX 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 - CX 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 - DEPOLARIZE2(0.001) 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 - TICK - XCX 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 - CX 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 - DEPOLARIZE2(0.001) 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 - TICK - XCX 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 - CX 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 - DEPOLARIZE2(0.001) 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 - TICK - XCX 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 - CX 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 - DEPOLARIZE2(0.001) 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 - TICK - X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 - MR 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 - X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 - DETECTOR rec[-15] - DETECTOR rec[-16] - DETECTOR rec[-17] - DETECTOR rec[-18] - DETECTOR rec[-19] - DETECTOR rec[-20] - DETECTOR rec[-21] - DETECTOR rec[-1] rec[-50] - DETECTOR rec[-2] rec[-51] - DETECTOR rec[-3] rec[-52] - DETECTOR rec[-4] rec[-53] - DETECTOR rec[-5] rec[-54] - DETECTOR rec[-6] rec[-55] - DETECTOR rec[-7] rec[-56] - DETECTOR rec[-8] rec[-57] - DETECTOR rec[-9] rec[-58] - DETECTOR rec[-10] rec[-59] - DETECTOR rec[-11] rec[-60] - DETECTOR rec[-12] rec[-61] - DETECTOR rec[-13] rec[-62] - DETECTOR rec[-14] rec[-63] - REPEAT 3 { - TICK - DEPOLARIZE1(0.001) 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 - TICK - XCX 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 - CX 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 - DEPOLARIZE2(0.001) 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 56 8 57 9 58 10 59 11 60 12 61 13 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 22 70 23 71 24 72 25 73 26 74 27 75 21 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 36 84 37 85 38 86 39 87 40 88 41 89 35 90 - TICK - XCX 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 - CX 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 - DEPOLARIZE2(0.001) 21 49 22 50 23 51 24 52 25 53 26 54 27 55 35 56 36 57 37 58 38 59 39 60 40 61 41 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 70 1 71 2 72 3 73 4 74 5 75 6 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 7 84 8 85 9 86 10 87 11 88 12 89 13 90 - TICK - XCX 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 - CX 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 - DEPOLARIZE2(0.001) 25 49 26 50 27 51 21 52 22 53 23 54 24 55 38 56 39 57 40 58 41 59 35 60 36 61 37 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 3 70 4 71 5 72 6 73 0 74 1 75 2 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 11 84 12 85 13 86 7 87 8 88 9 89 10 90 - TICK - XCX 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 - CX 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 - DEPOLARIZE2(0.001) 28 49 29 50 30 51 31 52 32 53 33 54 34 55 21 56 22 57 23 58 24 59 25 60 26 61 27 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 7 70 8 71 9 72 10 73 11 74 12 75 13 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 14 84 15 85 16 86 17 87 18 88 19 89 20 90 - TICK - XCX 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 - CX 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 - DEPOLARIZE2(0.001) 31 49 32 50 33 51 34 52 28 53 29 54 30 55 26 56 27 57 21 58 22 59 23 60 24 61 25 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 9 70 10 71 11 72 12 73 13 74 7 75 8 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 17 84 18 85 19 86 20 87 14 88 15 89 16 90 - TICK - XCX 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 - CX 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 - DEPOLARIZE2(0.001) 6 49 0 50 1 51 2 52 3 53 4 54 5 55 13 56 7 57 8 58 9 59 10 60 11 61 12 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 21 70 22 71 23 72 24 73 25 74 26 75 27 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 35 84 36 85 37 86 38 87 39 88 40 89 41 90 - TICK - X_ERROR(0.001) 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 - MR 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 - X_ERROR(0.001) 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 - DETECTOR rec[-1] rec[-85] - DETECTOR rec[-2] rec[-86] - DETECTOR rec[-3] rec[-87] - DETECTOR rec[-4] rec[-88] - DETECTOR rec[-5] rec[-89] - DETECTOR rec[-6] rec[-90] - DETECTOR rec[-7] rec[-91] - DETECTOR rec[-8] rec[-43] - DETECTOR rec[-9] rec[-44] - DETECTOR rec[-10] rec[-45] - DETECTOR rec[-11] rec[-46] - DETECTOR rec[-12] rec[-47] - DETECTOR rec[-13] rec[-48] - DETECTOR rec[-14] rec[-49] - DETECTOR rec[-15] rec[-50] - DETECTOR rec[-16] rec[-51] - DETECTOR rec[-17] rec[-52] - DETECTOR rec[-18] rec[-53] - DETECTOR rec[-19] rec[-54] - DETECTOR rec[-20] rec[-55] - DETECTOR rec[-21] rec[-56] - TICK - DEPOLARIZE1(0.001) 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 - TICK - XCX 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 - CX 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 - DEPOLARIZE2(0.001) 21 56 22 57 23 58 24 59 25 60 26 61 27 62 28 63 29 64 30 65 31 66 32 67 33 68 34 69 0 42 1 43 2 44 3 45 4 46 5 47 6 48 37 91 38 92 39 93 40 94 41 95 35 96 36 97 9 70 10 71 11 72 12 73 13 74 7 75 8 76 16 77 17 78 18 79 19 80 20 81 14 82 15 83 - TICK - XCX 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 - CX 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 - DEPOLARIZE2(0.001) 35 56 36 57 37 58 38 59 39 60 40 61 41 62 14 63 15 64 16 65 17 66 18 67 19 68 20 69 7 42 8 43 9 44 10 45 11 46 12 47 13 48 21 91 22 92 23 93 24 94 25 95 26 96 27 97 0 70 1 71 2 72 3 73 4 74 5 75 6 76 28 77 29 78 30 79 31 80 32 81 33 82 34 83 - TICK - XCX 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 - CX 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 - DEPOLARIZE2(0.001) 38 56 39 57 40 58 41 59 35 60 36 61 37 62 20 63 14 64 15 65 16 66 17 67 18 68 19 69 11 42 12 43 13 44 7 45 8 46 9 47 10 48 25 91 26 92 27 93 21 94 22 95 23 96 24 97 3 70 4 71 5 72 6 73 0 74 1 75 2 76 29 77 30 78 31 79 32 80 33 81 34 82 28 83 - TICK - XCX 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 - CX 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 - DEPOLARIZE2(0.001) 7 56 8 57 9 58 10 59 11 60 12 61 13 62 35 63 36 64 37 65 38 66 39 67 40 68 41 69 14 42 15 43 16 44 17 45 18 46 19 47 20 48 28 91 29 92 30 93 31 94 32 95 33 96 34 97 21 70 22 71 23 72 24 73 25 74 26 75 27 76 0 77 1 78 2 79 3 80 4 81 5 82 6 83 - TICK - XCX 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 - CX 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 - DEPOLARIZE2(0.001) 13 56 7 57 8 58 9 59 10 60 11 61 12 62 39 63 40 64 41 65 35 66 36 67 37 68 38 69 17 42 18 43 19 44 20 45 14 46 15 47 16 48 31 91 32 92 33 93 34 94 28 95 29 96 30 97 22 70 23 71 24 72 25 73 26 74 27 75 21 76 4 77 5 78 6 79 0 80 1 81 2 82 3 83 - TICK - XCX 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 - CX 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 - DEPOLARIZE2(0.001) 26 56 27 57 21 58 22 59 23 60 24 61 25 62 33 63 34 64 28 65 29 66 30 67 31 68 32 69 5 42 6 43 0 44 1 45 2 46 3 47 4 48 35 91 36 92 37 93 38 94 39 95 40 96 41 97 7 70 8 71 9 72 10 73 11 74 12 75 13 76 14 77 15 78 16 79 17 80 18 81 19 82 20 83 - TICK - X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 - MR 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 - X_ERROR(0.001) 56 57 58 59 60 61 62 63 64 65 66 67 68 69 42 43 44 45 46 47 48 91 92 93 94 95 96 97 70 71 72 73 74 75 76 77 78 79 80 81 82 83 - DETECTOR rec[-1] rec[-50] - DETECTOR rec[-2] rec[-51] - DETECTOR rec[-3] rec[-52] - DETECTOR rec[-4] rec[-53] - DETECTOR rec[-5] rec[-54] - DETECTOR rec[-6] rec[-55] - DETECTOR rec[-7] rec[-56] - DETECTOR rec[-8] rec[-57] - DETECTOR rec[-9] rec[-58] - DETECTOR rec[-10] rec[-59] - DETECTOR rec[-11] rec[-60] - DETECTOR rec[-12] rec[-61] - DETECTOR rec[-13] rec[-62] - DETECTOR rec[-14] rec[-63] - DETECTOR rec[-15] rec[-99] - DETECTOR rec[-16] rec[-100] - DETECTOR rec[-17] rec[-101] - DETECTOR rec[-18] rec[-102] - DETECTOR rec[-19] rec[-103] - DETECTOR rec[-20] rec[-104] - DETECTOR rec[-21] rec[-105] - } - X_ERROR(0.001) 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 - MR 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 - DETECTOR rec[-5] rec[-21] rec[-17] rec[-14] rec[-11] rec[-7] rec[-63] - DETECTOR rec[-4] rec[-20] rec[-16] rec[-13] rec[-10] rec[-6] rec[-62] - DETECTOR rec[-3] rec[-19] rec[-15] rec[-12] rec[-9] rec[-5] rec[-61] - DETECTOR rec[-2] rec[-18] rec[-21] rec[-11] rec[-8] rec[-4] rec[-60] - DETECTOR rec[-1] rec[-17] rec[-20] rec[-10] rec[-14] rec[-3] rec[-59] - DETECTOR rec[-7] rec[-16] rec[-19] rec[-9] rec[-13] rec[-2] rec[-58] - DETECTOR rec[-6] rec[-15] rec[-18] rec[-8] rec[-12] rec[-1] rec[-57] - DETECTOR rec[-33] rec[-42] rec[-39] rec[-21] rec[-20] rec[-35] rec[-56] - DETECTOR rec[-32] rec[-41] rec[-38] rec[-20] rec[-19] rec[-34] rec[-55] - DETECTOR rec[-31] rec[-40] rec[-37] rec[-19] rec[-18] rec[-33] rec[-54] - DETECTOR rec[-30] rec[-39] rec[-36] rec[-18] rec[-17] rec[-32] rec[-53] - DETECTOR rec[-29] rec[-38] rec[-42] rec[-17] rec[-16] rec[-31] rec[-52] - DETECTOR rec[-35] rec[-37] rec[-41] rec[-16] rec[-15] rec[-30] rec[-51] - DETECTOR rec[-34] rec[-36] rec[-40] rec[-15] rec[-21] rec[-29] rec[-50] - DETECTOR rec[-26] rec[-14] rec[-13] rec[-42] rec[-38] rec[-28] rec[-49] - DETECTOR rec[-25] rec[-13] rec[-12] rec[-41] rec[-37] rec[-27] rec[-48] - DETECTOR rec[-24] rec[-12] rec[-11] rec[-40] rec[-36] rec[-26] rec[-47] - DETECTOR rec[-23] rec[-11] rec[-10] rec[-39] rec[-42] rec[-25] rec[-46] - DETECTOR rec[-22] rec[-10] rec[-9] rec[-38] rec[-41] rec[-24] rec[-45] - DETECTOR rec[-28] rec[-9] rec[-8] rec[-37] rec[-40] rec[-23] rec[-44] - DETECTOR rec[-27] rec[-8] rec[-14] rec[-36] rec[-39] rec[-22] rec[-43] - DETECTOR rec[-6] rec[-35] rec[-31] rec[-28] rec[-25] rec[-7] rec[-91] - DETECTOR rec[-5] rec[-34] rec[-30] rec[-27] rec[-24] rec[-6] rec[-90] - DETECTOR rec[-4] rec[-33] rec[-29] rec[-26] rec[-23] rec[-5] rec[-89] - DETECTOR rec[-3] rec[-32] rec[-35] rec[-25] rec[-22] rec[-4] rec[-88] - DETECTOR rec[-2] rec[-31] rec[-34] rec[-24] rec[-28] rec[-3] rec[-87] - DETECTOR rec[-1] rec[-30] rec[-33] rec[-23] rec[-27] rec[-2] rec[-86] - DETECTOR rec[-7] rec[-29] rec[-32] rec[-22] rec[-26] rec[-1] rec[-85] - Tick - OBSERVABLE_INCLUDE(0) rec[-42] rec[-41] rec[-40] rec[-39] rec[-38] rec[-37] rec[-36] - OBSERVABLE_INCLUDE(1) rec[-35] rec[-34] rec[-33] rec[-32] rec[-31] rec[-30] rec[-29] - OBSERVABLE_INCLUDE(2) rec[-28] rec[-27] rec[-26] rec[-25] rec[-24] rec[-23] rec[-22] - OBSERVABLE_INCLUDE(3) rec[-42] rec[-41] rec[-40] rec[-35] rec[-34] rec[-21] - OBSERVABLE_INCLUDE(4) rec[-42] rec[-41] rec[-40] rec[-39] rec[-28] rec[-27] rec[-14] - OBSERVABLE_INCLUDE(5) rec[-35] rec[-34] rec[-33] rec[-32] rec[-28] rec[-27] rec[-26] rec[-7] - -# end of the circuit From 593c3c801a11f2a4cdcddd47638c891c08c38ac1 Mon Sep 17 00:00:00 2001 From: LaLeh Date: Mon, 30 Jun 2025 13:38:46 -0700 Subject: [PATCH 5/7] Delete MODULE.bazel.lock --- MODULE.bazel.lock | 253 ---------------------------------------------- 1 file changed, 253 deletions(-) delete mode 100644 MODULE.bazel.lock diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock deleted file mode 100644 index 4d83a09..0000000 --- a/MODULE.bazel.lock +++ /dev/null @@ -1,253 +0,0 @@ -{ - "lockFileVersion": 18, - "registryFileHashes": { - "https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497", - "https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2", - "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589", - "https://bcr.bazel.build/modules/abseil-cpp/20230125.1/MODULE.bazel": "89047429cb0207707b2dface14ba7f8df85273d484c2572755be4bab7ce9c3a0", - "https://bcr.bazel.build/modules/abseil-cpp/20230802.0.bcr.1/MODULE.bazel": "1c8cec495288dccd14fdae6e3f95f772c1c91857047a098fad772034264cc8cb", - "https://bcr.bazel.build/modules/abseil-cpp/20230802.0/MODULE.bazel": "d253ae36a8bd9ee3c5955384096ccb6baf16a1b1e93e858370da0a3b94f77c16", - "https://bcr.bazel.build/modules/abseil-cpp/20230802.1/MODULE.bazel": "fa92e2eb41a04df73cdabeec37107316f7e5272650f81d6cc096418fe647b915", - "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/MODULE.bazel": "37bcdb4440fbb61df6a1c296ae01b327f19e9bb521f9b8e26ec854b6f97309ed", - "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/source.json": "9be551b8d4e3ef76875c0d744b5d6a504a27e3ae67bc6b28f46415fd2d2957da", - "https://bcr.bazel.build/modules/bazel_features/1.1.1/MODULE.bazel": "27b8c79ef57efe08efccbd9dd6ef70d61b4798320b8d3c134fd571f78963dbcd", - "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", - "https://bcr.bazel.build/modules/bazel_features/1.15.0/MODULE.bazel": "d38ff6e517149dc509406aca0db3ad1efdd890a85e049585b7234d04238e2a4d", - "https://bcr.bazel.build/modules/bazel_features/1.17.0/MODULE.bazel": "039de32d21b816b47bd42c778e0454217e9c9caac4a3cf8e15c7231ee3ddee4d", - "https://bcr.bazel.build/modules/bazel_features/1.18.0/MODULE.bazel": "1be0ae2557ab3a72a57aeb31b29be347bcdc5d2b1eb1e70f39e3851a7e97041a", - "https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58", - "https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b", - "https://bcr.bazel.build/modules/bazel_features/1.21.0/source.json": "3e8379efaaef53ce35b7b8ba419df829315a880cb0a030e5bb45c96d6d5ecb5f", - "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", - "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", - "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", - "https://bcr.bazel.build/modules/bazel_skylib/1.1.1/MODULE.bazel": "1add3e7d93ff2e6998f9e118022c84d163917d912f5afafb3058e3d2f1545b5e", - "https://bcr.bazel.build/modules/bazel_skylib/1.2.0/MODULE.bazel": "44fe84260e454ed94ad326352a698422dbe372b21a1ac9f3eab76eb531223686", - "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", - "https://bcr.bazel.build/modules/bazel_skylib/1.3.0/MODULE.bazel": "20228b92868bf5cfc41bda7afc8a8ba2a543201851de39d990ec957b513579c5", - "https://bcr.bazel.build/modules/bazel_skylib/1.4.1/MODULE.bazel": "a0dcb779424be33100dcae821e9e27e4f2901d9dfd5333efe5ac6a8d7ab75e1d", - "https://bcr.bazel.build/modules/bazel_skylib/1.4.2/MODULE.bazel": "3bd40978e7a1fac911d5989e6b09d8f64921865a45822d8b09e815eaa726a651", - "https://bcr.bazel.build/modules/bazel_skylib/1.5.0/MODULE.bazel": "32880f5e2945ce6a03d1fbd588e9198c0a959bb42297b2cfaf1685b7bc32e138", - "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.0/MODULE.bazel": "0db596f4563de7938de764cc8deeabec291f55e8ec15299718b93c4423e9796d", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", - "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", - "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", - "https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb", - "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", - "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6", - "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/source.json": "41e9e129f80d8c8bf103a7acc337b76e54fad1214ac0a7084bf24f4cd924b8b4", - "https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f", - "https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075", - "https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d", - "https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902", - "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", - "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5", - "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", - "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", - "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", - "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", - "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", - "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", - "https://bcr.bazel.build/modules/protobuf/23.1/MODULE.bazel": "88b393b3eb4101d18129e5db51847cd40a5517a53e81216144a8c32dfeeca52a", - "https://bcr.bazel.build/modules/protobuf/24.4/MODULE.bazel": "7bc7ce5f2abf36b3b7b7c8218d3acdebb9426aeb35c2257c96445756f970eb12", - "https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c", - "https://bcr.bazel.build/modules/protobuf/27.1/MODULE.bazel": "703a7b614728bb06647f965264967a8ef1c39e09e8f167b3ca0bb1fd80449c0d", - "https://bcr.bazel.build/modules/protobuf/29.0-rc2/MODULE.bazel": "6241d35983510143049943fc0d57937937122baf1b287862f9dc8590fc4c37df", - "https://bcr.bazel.build/modules/protobuf/29.0/MODULE.bazel": "319dc8bf4c679ff87e71b1ccfb5a6e90a6dbc4693501d471f48662ac46d04e4e", - "https://bcr.bazel.build/modules/protobuf/29.0/source.json": "b857f93c796750eef95f0d61ee378f3420d00ee1dd38627b27193aa482f4f981", - "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", - "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e", - "https://bcr.bazel.build/modules/pybind11_bazel/2.13.6/MODULE.bazel": "2d746fda559464b253b2b2e6073cb51643a2ac79009ca02100ebbc44b4548656", - "https://bcr.bazel.build/modules/pybind11_bazel/2.13.6/source.json": "6aa0703de8efb20cc897bbdbeb928582ee7beaf278bcd001ac253e1605bddfae", - "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel": "cb3d511531b16cfc78a225a9e2136007a48cf8a677e4264baeab57fe78a80206", - "https://bcr.bazel.build/modules/re2/2023-09-01/source.json": "e044ce89c2883cd957a2969a43e79f7752f9656f6b20050b62f90ede21ec6eb4", - "https://bcr.bazel.build/modules/rules_android/0.1.1/MODULE.bazel": "48809ab0091b07ad0182defb787c4c5328bd3a278938415c00a7b69b50c4d3a8", - "https://bcr.bazel.build/modules/rules_android/0.1.1/source.json": "e6986b41626ee10bdc864937ffb6d6bf275bb5b9c65120e6137d56e6331f089e", - "https://bcr.bazel.build/modules/rules_cc/0.0.1/MODULE.bazel": "cb2aa0747f84c6c3a78dad4e2049c154f08ab9d166b1273835a8174940365647", - "https://bcr.bazel.build/modules/rules_cc/0.0.10/MODULE.bazel": "ec1705118f7eaedd6e118508d3d26deba2a4e76476ada7e0e3965211be012002", - "https://bcr.bazel.build/modules/rules_cc/0.0.13/MODULE.bazel": "0e8529ed7b323dad0775ff924d2ae5af7640b23553dfcd4d34344c7e7a867191", - "https://bcr.bazel.build/modules/rules_cc/0.0.14/MODULE.bazel": "5e343a3aac88b8d7af3b1b6d2093b55c347b8eefc2e7d1442f7a02dc8fea48ac", - "https://bcr.bazel.build/modules/rules_cc/0.0.15/MODULE.bazel": "6704c35f7b4a72502ee81f61bf88706b54f06b3cbe5558ac17e2e14666cd5dcc", - "https://bcr.bazel.build/modules/rules_cc/0.0.16/MODULE.bazel": "7661303b8fc1b4d7f532e54e9d6565771fea666fbdf839e0a86affcd02defe87", - "https://bcr.bazel.build/modules/rules_cc/0.0.17/MODULE.bazel": "2ae1d8f4238ec67d7185d8861cb0a2cdf4bc608697c331b95bf990e69b62e64a", - "https://bcr.bazel.build/modules/rules_cc/0.0.17/source.json": "4db99b3f55c90ab28d14552aa0632533e3e8e5e9aea0f5c24ac0014282c2a7c5", - "https://bcr.bazel.build/modules/rules_cc/0.0.2/MODULE.bazel": "6915987c90970493ab97393024c156ea8fb9f3bea953b2f3ec05c34f19b5695c", - "https://bcr.bazel.build/modules/rules_cc/0.0.6/MODULE.bazel": "abf360251023dfe3efcef65ab9d56beefa8394d4176dd29529750e1c57eaa33f", - "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", - "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", - "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", - "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", - "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/source.json": "c8b1e2c717646f1702290959a3302a178fb639d987ab61d548105019f11e527e", - "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", - "https://bcr.bazel.build/modules/rules_java/5.3.5/MODULE.bazel": "a4ec4f2db570171e3e5eb753276ee4b389bae16b96207e9d3230895c99644b86", - "https://bcr.bazel.build/modules/rules_java/6.0.0/MODULE.bazel": "8a43b7df601a7ec1af61d79345c17b31ea1fedc6711fd4abfd013ea612978e39", - "https://bcr.bazel.build/modules/rules_java/6.4.0/MODULE.bazel": "e986a9fe25aeaa84ac17ca093ef13a4637f6107375f64667a15999f77db6c8f6", - "https://bcr.bazel.build/modules/rules_java/6.5.2/MODULE.bazel": "1d440d262d0e08453fa0c4d8f699ba81609ed0e9a9a0f02cd10b3e7942e61e31", - "https://bcr.bazel.build/modules/rules_java/7.1.0/MODULE.bazel": "30d9135a2b6561c761bd67bd4990da591e6bdc128790ce3e7afd6a3558b2fb64", - "https://bcr.bazel.build/modules/rules_java/7.10.0/MODULE.bazel": "530c3beb3067e870561739f1144329a21c851ff771cd752a49e06e3dc9c2e71a", - "https://bcr.bazel.build/modules/rules_java/7.12.2/MODULE.bazel": "579c505165ee757a4280ef83cda0150eea193eed3bef50b1004ba88b99da6de6", - "https://bcr.bazel.build/modules/rules_java/7.2.0/MODULE.bazel": "06c0334c9be61e6cef2c8c84a7800cef502063269a5af25ceb100b192453d4ab", - "https://bcr.bazel.build/modules/rules_java/7.3.2/MODULE.bazel": "50dece891cfdf1741ea230d001aa9c14398062f2b7c066470accace78e412bc2", - "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", - "https://bcr.bazel.build/modules/rules_java/8.11.0/MODULE.bazel": "c3d280bc5ff1038dcb3bacb95d3f6b83da8dd27bba57820ec89ea4085da767ad", - "https://bcr.bazel.build/modules/rules_java/8.11.0/source.json": "302b52a39259a85aa06ca3addb9787864ca3e03b432a5f964ea68244397e7544", - "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7", - "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel": "33f6f999e03183f7d088c9be518a63467dfd0be94a11d0055fe2d210f89aa909", - "https://bcr.bazel.build/modules/rules_jvm_external/5.2/MODULE.bazel": "d9351ba35217ad0de03816ef3ed63f89d411349353077348a45348b096615036", - "https://bcr.bazel.build/modules/rules_jvm_external/5.3/MODULE.bazel": "bf93870767689637164657731849fb887ad086739bd5d360d90007a581d5527d", - "https://bcr.bazel.build/modules/rules_jvm_external/6.1/MODULE.bazel": "75b5fec090dbd46cf9b7d8ea08cf84a0472d92ba3585b476f44c326eda8059c4", - "https://bcr.bazel.build/modules/rules_jvm_external/6.3/MODULE.bazel": "c998e060b85f71e00de5ec552019347c8bca255062c990ac02d051bb80a38df0", - "https://bcr.bazel.build/modules/rules_jvm_external/6.3/source.json": "6f5f5a5a4419ae4e37c35a5bb0a6ae657ed40b7abc5a5189111b47fcebe43197", - "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/MODULE.bazel": "ef85697305025e5a61f395d4eaede272a5393cee479ace6686dba707de804d59", - "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/MODULE.bazel": "d269a01a18ee74d0335450b10f62c9ed81f2321d7958a2934e44272fe82dcef3", - "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/source.json": "2faa4794364282db7c06600b7e5e34867a564ae91bda7cae7c29c64e9466b7d5", - "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", - "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", - "https://bcr.bazel.build/modules/rules_license/1.0.0/MODULE.bazel": "a7fda60eefdf3d8c827262ba499957e4df06f659330bbe6cdbdb975b768bb65c", - "https://bcr.bazel.build/modules/rules_license/1.0.0/source.json": "a52c89e54cc311196e478f8382df91c15f7a2bfdf4c6cd0e2675cc2ff0b56efb", - "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", - "https://bcr.bazel.build/modules/rules_pkg/1.0.1/MODULE.bazel": "5b1df97dbc29623bccdf2b0dcd0f5cb08e2f2c9050aab1092fd39a41e82686ff", - "https://bcr.bazel.build/modules/rules_pkg/1.0.1/source.json": "bd82e5d7b9ce2d31e380dd9f50c111d678c3bdaca190cb76b0e1c71b05e1ba8a", - "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", - "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", - "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc1/MODULE.bazel": "1e5b502e2e1a9e825eef74476a5a1ee524a92297085015a052510b09a1a09483", - "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", - "https://bcr.bazel.build/modules/rules_proto/7.0.2/MODULE.bazel": "bf81793bd6d2ad89a37a40693e56c61b0ee30f7a7fdbaf3eabbf5f39de47dea2", - "https://bcr.bazel.build/modules/rules_proto/7.0.2/source.json": "1e5e7260ae32ef4f2b52fd1d0de8d03b606a44c91b694d2f1afb1d3b28a48ce1", - "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", - "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel": "49ffccf0511cb8414de28321f5fcf2a31312b47c40cc21577144b7447f2bf300", - "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel": "72f1506841c920a1afec76975b35312410eea3aa7b63267436bfb1dd91d2d382", - "https://bcr.bazel.build/modules/rules_python/0.28.0/MODULE.bazel": "cba2573d870babc976664a912539b320cbaa7114cd3e8f053c720171cde331ed", - "https://bcr.bazel.build/modules/rules_python/0.31.0/MODULE.bazel": "93a43dc47ee570e6ec9f5779b2e64c1476a6ce921c48cc9a1678a91dd5f8fd58", - "https://bcr.bazel.build/modules/rules_python/0.34.0/MODULE.bazel": "1d623d026e075b78c9fde483a889cda7996f5da4f36dffb24c246ab30f06513a", - "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", - "https://bcr.bazel.build/modules/rules_python/0.40.0/MODULE.bazel": "9d1a3cd88ed7d8e39583d9ffe56ae8a244f67783ae89b60caafc9f5cf318ada7", - "https://bcr.bazel.build/modules/rules_python/0.40.0/source.json": "939d4bd2e3110f27bfb360292986bb79fd8dcefb874358ccd6cdaa7bda029320", - "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", - "https://bcr.bazel.build/modules/rules_shell/0.2.0/source.json": "7f27af3c28037d9701487c4744b5448d26537cc66cdef0d8df7ae85411f8de95", - "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", - "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", - "https://bcr.bazel.build/modules/stardoc/0.5.6/MODULE.bazel": "c43dabc564990eeab55e25ed61c07a1aadafe9ece96a4efabb3f8bf9063b71ef", - "https://bcr.bazel.build/modules/stardoc/0.7.0/MODULE.bazel": "05e3d6d30c099b6770e97da986c53bd31844d7f13d41412480ea265ac9e8079c", - "https://bcr.bazel.build/modules/stardoc/0.7.1/MODULE.bazel": "3548faea4ee5dda5580f9af150e79d0f6aea934fc60c1cc50f4efdd9420759e7", - "https://bcr.bazel.build/modules/stardoc/0.7.1/source.json": "b6500ffcd7b48cd72c29bb67bcac781e12701cc0d6d55d266a652583cfcdab01", - "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", - "https://bcr.bazel.build/modules/upb/0.0.0-20230516-61a97ef/MODULE.bazel": "c0df5e35ad55e264160417fd0875932ee3c9dda63d9fccace35ac62f45e1b6f9", - "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", - "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79", - "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d", - "https://bcr.bazel.build/modules/zlib/1.3.1/MODULE.bazel": "751c9940dcfe869f5f7274e1295422a34623555916eb98c174c1e945594bf198" - }, - "selectedYankedVersions": {}, - "moduleExtensions": { - "@@platforms//host:extension.bzl%host_platform": { - "general": { - "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", - "usagesDigest": "SeQiIN/f8/Qt9vYQk7qcXp4I4wJeEC0RnQDiaaJ4tb8=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "host_platform": { - "repoRuleId": "@@platforms//host:extension.bzl%host_platform_repo", - "attributes": {} - } - }, - "recordedRepoMappingEntries": [] - } - }, - "@@pybind11_bazel+//:internal_configure.bzl%internal_configure_extension": { - "general": { - "bzlTransitiveDigest": "wXImnqOfGKOqkiPwQBuez+TGQdj1tuLQU6OYcfhB97I=", - "usagesDigest": "tVQNvLoXMWAbiK39am3yovKGpwINdftfn7RpDyN+JZc=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "pybind11": { - "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "build_file": "@@pybind11_bazel+//:pybind11-BUILD.bazel", - "strip_prefix": "pybind11-2.13.6", - "url": "https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz", - "integrity": "sha256-4Iy4f0dz2pf6e18DXeh2OrxlbYfVdz5i9toFh9Hw7CA=" - } - } - }, - "recordedRepoMappingEntries": [ - [ - "pybind11_bazel+", - "bazel_tools", - "bazel_tools" - ] - ] - } - }, - "@@rules_kotlin+//src/main/starlark/core/repositories:bzlmod_setup.bzl%rules_kotlin_extensions": { - "general": { - "bzlTransitiveDigest": "sFhcgPbDQehmbD1EOXzX4H1q/CD5df8zwG4kp4jbvr8=", - "usagesDigest": "QI2z8ZUR+mqtbwsf2fLqYdJAkPOHdOV+tF2yVAUgRzw=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "com_github_jetbrains_kotlin_git": { - "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:compiler.bzl%kotlin_compiler_git_repository", - "attributes": { - "urls": [ - "https://github.com/JetBrains/kotlin/releases/download/v1.9.23/kotlin-compiler-1.9.23.zip" - ], - "sha256": "93137d3aab9afa9b27cb06a824c2324195c6b6f6179d8a8653f440f5bd58be88" - } - }, - "com_github_jetbrains_kotlin": { - "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:compiler.bzl%kotlin_capabilities_repository", - "attributes": { - "git_repository_name": "com_github_jetbrains_kotlin_git", - "compiler_version": "1.9.23" - } - }, - "com_github_google_ksp": { - "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:ksp.bzl%ksp_compiler_plugin_repository", - "attributes": { - "urls": [ - "https://github.com/google/ksp/releases/download/1.9.23-1.0.20/artifacts.zip" - ], - "sha256": "ee0618755913ef7fd6511288a232e8fad24838b9af6ea73972a76e81053c8c2d", - "strip_version": "1.9.23-1.0.20" - } - }, - "com_github_pinterest_ktlint": { - "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file", - "attributes": { - "sha256": "01b2e0ef893383a50dbeb13970fe7fa3be36ca3e83259e01649945b09d736985", - "urls": [ - "https://github.com/pinterest/ktlint/releases/download/1.3.0/ktlint" - ], - "executable": true - } - }, - "rules_android": { - "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", - "attributes": { - "sha256": "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806", - "strip_prefix": "rules_android-0.1.1", - "urls": [ - "https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip" - ] - } - } - }, - "recordedRepoMappingEntries": [ - [ - "rules_kotlin+", - "bazel_tools", - "bazel_tools" - ] - ] - } - } - } -} From 00861b4768e8c40fa5b2aa8f48ac2a7749980c3e Mon Sep 17 00:00:00 2001 From: Laleh Beni Date: Mon, 30 Jun 2025 17:05:58 -0700 Subject: [PATCH 6/7] added the --det-order-bfs for backward compatibility --- src/tesseract_main.cc | 9 +++++++++ viz/README.md | 7 ++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/tesseract_main.cc b/src/tesseract_main.cc index 6565942..e6892c0 100644 --- a/src/tesseract_main.cc +++ b/src/tesseract_main.cc @@ -386,6 +386,15 @@ int main(int argc, char* argv[]) { .default_value(true) .implicit_value(false) .store_into(args.det_order_bfs); + program.add_argument("--det-order-bfs") + .action([&](auto const&) { + std::cout << "BFS-based detector ordering is the default now; " + "--det-order-bfs is ignored." << std::endl; + }) + .default_value(true) + .implicit_value(true) + .store_into(args.det_order_bfs) + .hidden(); program.add_argument("--det-order-seed") .help( "Seed used when initializing the random detector traversal " diff --git a/viz/README.md b/viz/README.md index 380e7ab..ea2b9ea 100644 --- a/viz/README.md +++ b/viz/README.md @@ -19,9 +19,10 @@ python viz/to_json.py logfile.txt -o logfile.json ``` -The `--no-det-order-bfs` flag is compatible with visualization logs. Just make -sure `--verbose` is enabled so the detector coordinates are printed for -`to_json.py` to parse. +The `--no-det-order-bfs` flag is compatible with visualization logs. BFS-based +detector ordering is now enabled by default, so include this flag only if you +want to disable it. Make sure `--verbose` is enabled so the detector +coordinates are printed for `to_json.py` to parse. The `to_json.py` script produces `logfile.json`, which contains the detector coordinates and animation frames for the viewer. From f56326c1ad225574963162942a67667afd9f6889 Mon Sep 17 00:00:00 2001 From: Laleh Beni Date: Mon, 30 Jun 2025 17:13:35 -0700 Subject: [PATCH 7/7] update the format --- src/tesseract_main.cc | 3 ++- viz/README.md | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tesseract_main.cc b/src/tesseract_main.cc index 6f37e7d..bd33a9a 100644 --- a/src/tesseract_main.cc +++ b/src/tesseract_main.cc @@ -390,7 +390,8 @@ int main(int argc, char* argv[]) { program.add_argument("--det-order-bfs") .action([&](auto const&) { std::cout << "BFS-based detector ordering is the default now; " - "--det-order-bfs is ignored." << std::endl; + "--det-order-bfs is ignored." + << std::endl; }) .default_value(true) .implicit_value(true) diff --git a/viz/README.md b/viz/README.md index ea2b9ea..1e5a51f 100644 --- a/viz/README.md +++ b/viz/README.md @@ -1,4 +1,4 @@ -# Visualization +#Visualization This tool displays the detectors and errors from a Tesseract decoding run in 3D. @@ -32,4 +32,3 @@ coordinates and animation frames for the viewer. Open `viz/index.html` in a modern browser. It will automatically try to load `logfile.json` from the same directory. If the file picker is used, any JSON produced by `to_json.py` can be visualized. -