Coverage report: 86%

Files Functions Classes

coverage.py v7.14.3, created at 2026-06-27 08:31 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
python/lsst/meas/transiNet/__init__.py (no function)   100% 3 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/__init__.py (no function)   100% 3 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackagePayload.__init__   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackageFormatter.read_from_uri   100% 3 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackageFormatter.to_bytes   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/formatters.py (no function)   100% 12 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.__init__   100% 8 0 0   100% 4 0   100%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.load   88% 8 1 0   75% 4 1   83%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.get_model_input_shape   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.get_input_scale_factors   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.get_boost_factor   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py (no function)   100% 9 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.__init__   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.fetch   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.load_arch   100% 2 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.load_weights   100% 2 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.load_metadata   100% 3 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py (no function)   100% 11 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.__init__   80% 10 2 0   67% 6 2   75%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.from_other   75% 12 3 0   50% 2 1   71%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.from_payload   100% 7 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.to_payload   100% 6 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.fetch   71% 7 2 0   50% 4 2   64%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.load_arch   100% 3 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.load_weights   75% 4 1 0   50% 2 1   67%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.load_metadata   100% 2 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.ingest   85% 13 2 0   50% 4 2   76%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.ingest.register_dataset_type   100% 4 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py (no function)   100% 23 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterFactory.py StorageAdapterFactory.create   83% 6 1 0   50% 2 1   75%
python/lsst/meas/transiNet/modelPackages/storageAdapterFactory.py (no function)   100% 7 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py StorageAdapterLocal.__init__   100% 3 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py StorageAdapterLocal.get_base_path   60% 5 2 0   100% 0 0   60%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py StorageAdapterLocal.get_filenames   64% 14 5 0   50% 6 3   60%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py (no function)   100% 9 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py StorageAdapterNeighbor.__init__   0% 3 3 0   100% 0 0   0%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py StorageAdapterNeighbor.get_base_path   0% 5 5 0   100% 0 0   0%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py StorageAdapterNeighbor.get_filenames   0% 14 14 0   0% 6 0   0%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py (no function)   100% 9 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory   100% 10 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory.InMemoryLoader.__init__   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory.InMemoryLoader.get_data   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory.InMemoryLoader.get_filename   100% 1 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_file   100% 4 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/utils.py import_model_from_module   67% 6 2 0   50% 4 2   60%
python/lsst/meas/transiNet/modelPackages/utils.py import_model   100% 2 0 0   100% 0 0   100%
python/lsst/meas/transiNet/modelPackages/utils.py (no function)   100% 10 0 0   100% 0 0   100%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.__init__   100% 5 0 0   100% 0 0   100%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.init_model   83% 6 1 0   50% 2 1   75%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.input_to_batches   100% 2 0 0   100% 2 0   100%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.prepare_input   100% 11 0 0   100% 2 0   100%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.infer   100% 16 0 0   100% 6 0   100%
python/lsst/meas/transiNet/rbTransiNetInterface.py (no function)   100% 20 0 0   100% 0 0   100%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetConnections.__init__   0% 3 3 0   0% 2 0   0%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetConfig.validate   100% 3 0 0   100% 4 0   100%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetTask.__init__   100% 2 0 0   100% 0 0   100%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetTask.run   100% 17 0 0   100% 2 0   100%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetTask._make_cutouts   70% 10 3 0   50% 2 1   67%
python/lsst/meas/transiNet/rbTransiNetTask.py (no function)   100% 28 0 0   100% 0 0   100%
python/lsst/meas/transiNet/version.py (no function)   100% 5 0 0   100% 0 0   100%
tests/test_ModelPackage.py sanity_check_dummy_model   100% 3 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageLocal.setUp   100% 2 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageLocal.test_load   100% 3 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageLocal.test_arch_weights_mismatch   100% 20 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageLocal.test_invalid_inputs   100% 17 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageLocal.test_metadata   100% 9 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageNeighbor.setUp   0% 8 8 0   100% 0 0   0%
tests/test_ModelPackage.py TestModelPackageNeighbor.tearDown   0% 1 1 0   100% 0 0   0%
tests/test_ModelPackage.py TestModelPackageNeighbor.test_load   0% 4 4 0   100% 0 0   0%
tests/test_ModelPackage.py TestModelPackageNeighbor.test_metadata   0% 9 9 0   100% 0 0   0%
tests/test_ModelPackage.py TestModelPackageButler.setUp   100% 4 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageButler.tearDown   100% 1 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageButler.ingest   100% 2 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageButler.load_from_butler   100% 2 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageButler.test_double_ingest   100% 3 0 0   100% 0 0   100%
tests/test_ModelPackage.py TestModelPackageButler.test_ingest_load   100% 4 0 0   100% 0 0   100%
tests/test_ModelPackage.py (no function)   100% 36 0 0   100% 0 0   100%
tests/test_RBTransiNetInterface.py TestInference.setUp   100% 5 0 0   100% 0 0   100%
tests/test_RBTransiNetInterface.py TestInference.test_version   100% 1 0 0   100% 0 0   100%
tests/test_RBTransiNetInterface.py TestInference.test_infer_empty_inputs   100% 3 0 0   100% 0 0   100%
tests/test_RBTransiNetInterface.py TestInference.test_infer_single_empty   100% 5 0 0   100% 0 0   100%
tests/test_RBTransiNetInterface.py TestInference.test_infer_many   100% 5 0 0   100% 0 0   100%
tests/test_RBTransiNetInterface.py (no function)   100% 10 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.create_sample_datasets   100% 6 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.setUp   100% 5 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_make_cutouts   100% 10 0 0   100% 4 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask._check_cutout   100% 2 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask._check_empty_cutout   100% 1 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_run   100% 5 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_config_butlerblock   100% 5 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_config_butlerpass_none   100% 4 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_config_butlerblock_empty   100% 5 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py setup_module   100% 1 0 0   100% 0 0   100%
tests/test_RBTransiNetTask.py (no function)   91% 23 2 0   50% 2 1   88%
Total     88% 624 74 0   64% 72 18   86%

No items found using the specified filter.