Coverage report: 95%

Files Functions Classes

coverage.py v7.6.12, created at 2025-11-06 16:15 +0000

File class statements missing excluded coverage
tests/unit/no_torch/test_bool_array.py MyClass_list 0 0 0 100%
tests/unit/no_torch/test_bool_array.py MyClass_np 0 0 0 100%
tests/unit/no_torch/test_bool_array.py (no class) 31 0 0 100%
tests/unit/no_torch/test_isolate_zanj_handler_store.py Basic 0 0 0 100%
tests/unit/no_torch/test_isolate_zanj_handler_store.py ModelCfg 0 0 0 100%
tests/unit/no_torch/test_isolate_zanj_handler_store.py (no class) 47 1 0 98%
tests/unit/no_torch/test_load_item_recursive.py test_load_item_recursive_serializable_dataclass.TestClass 0 0 0 100%
tests/unit/no_torch/test_load_item_recursive.py test_load_item_recursive_error_modes.CustomHandler 2 1 0 50%
tests/unit/no_torch/test_load_item_recursive.py (no class) 84 0 0 100%
tests/unit/no_torch/test_shared_prefix_keys.py (no class) 22 0 0 100%
tests/unit/no_torch/test_zanj_basic.py (no class) 35 0 0 100%
tests/unit/no_torch/test_zanj_edge_cases.py test_zanj_error_modes.ForceExceptionOnSerialize 1 1 0 0%
tests/unit/no_torch/test_zanj_edge_cases.py test_zanj_error_modes.ExceptionForcingZANJ 3 1 0 67%
tests/unit/no_torch/test_zanj_edge_cases.py (no class) 148 0 0 100%
tests/unit/no_torch/test_zanj_populate_nested.py InnerClassWithArray 0 0 0 100%
tests/unit/no_torch/test_zanj_populate_nested.py OuterClassWithNestedList 0 0 0 100%
tests/unit/no_torch/test_zanj_populate_nested.py (no class) 24 0 0 100%
tests/unit/no_torch/test_zanj_serializable_dataclass.py BasicZanj 0 0 0 100%
tests/unit/no_torch/test_zanj_serializable_dataclass.py Nested 0 0 0 100%
tests/unit/no_torch/test_zanj_serializable_dataclass.py Nested_with_container 0 0 0 100%
tests/unit/no_torch/test_zanj_serializable_dataclass.py sdc_with_np_array 0 0 0 100%
tests/unit/no_torch/test_zanj_serializable_dataclass.py sdc_with_df 0 0 0 100%
tests/unit/no_torch/test_zanj_serializable_dataclass.py sdc_container_explicit 0 0 0 100%
tests/unit/no_torch/test_zanj_serializable_dataclass.py (no class) 91 0 0 100%
tests/unit/with_torch/test_bool_array_torch.py MyClass_torch 0 0 0 100%
tests/unit/with_torch/test_bool_array_torch.py (no class) 19 0 0 100%
tests/unit/with_torch/test_get_module_device.py (no class) 33 1 0 97%
tests/unit/with_torch/test_sdc_torch.py BasicZanjTorch 0 0 0 100%
tests/unit/with_torch/test_sdc_torch.py NestedTorch 0 0 0 100%
tests/unit/with_torch/test_sdc_torch.py sdc_with_torch_tensor 0 0 0 100%
tests/unit/with_torch/test_sdc_torch.py sdc_complicated 1 1 0 0%
tests/unit/with_torch/test_sdc_torch.py (no class) 58 0 0 100%
tests/unit/with_torch/test_torch_edge_cases.py test_get_module_device_empty.EmptyModule 2 1 0 50%
tests/unit/with_torch/test_torch_edge_cases.py test_load_state_dict_wrapper.SimpleConfig 0 0 0 100%
tests/unit/with_torch/test_torch_edge_cases.py test_load_state_dict_wrapper.SimpleModel 5 1 0 80%
tests/unit/with_torch/test_torch_edge_cases.py test_deprecated_load_file.SimpleConfig 0 0 0 100%
tests/unit/with_torch/test_torch_edge_cases.py test_deprecated_load_file.SimpleModel 3 1 0 67%
tests/unit/with_torch/test_torch_edge_cases.py test_configmodel_training_records.SimpleConfig 0 0 0 100%
tests/unit/with_torch/test_torch_edge_cases.py test_configmodel_training_records.SimpleModel 4 1 0 75%
tests/unit/with_torch/test_torch_edge_cases.py test_configmodel_with_custom_settings.SimpleConfig 0 0 0 100%
tests/unit/with_torch/test_torch_edge_cases.py test_configmodel_with_custom_settings.CustomStateModel 6 1 0 83%
tests/unit/with_torch/test_torch_edge_cases.py (no class) 88 0 0 100%
tests/unit/with_torch/test_zanj_sdc_modelcfg.py MyModelCfg 0 0 0 100%
tests/unit/with_torch/test_zanj_sdc_modelcfg.py TrainCfg 0 0 0 100%
tests/unit/with_torch/test_zanj_sdc_modelcfg.py CustomCfg 5 0 0 100%
tests/unit/with_torch/test_zanj_sdc_modelcfg.py BasicCfgHolder 0 0 0 100%
tests/unit/with_torch/test_zanj_sdc_modelcfg.py BaseGPTConfig 0 0 0 100%
tests/unit/with_torch/test_zanj_sdc_modelcfg.py AdvCfgHolder 0 0 0 100%
tests/unit/with_torch/test_zanj_sdc_modelcfg.py (no class) 85 0 0 100%
tests/unit/with_torch/test_zanj_torch.py test_torch_configmodel_minimal.MyNNConfig 0 0 0 100%
tests/unit/with_torch/test_zanj_torch.py test_torch_configmodel_minimal.MyNN 3 1 0 67%
tests/unit/with_torch/test_zanj_torch.py test_torch_configmodel.MyGPTConfig 2 2 0 0%
tests/unit/with_torch/test_zanj_torch.py test_torch_configmodel.MyGPT 3 1 0 67%
tests/unit/with_torch/test_zanj_torch.py (no class) 80 0 0 100%
tests/unit/with_torch/test_zanj_torch_cfgmismatch.py MyGPTConfig 0 0 0 100%
tests/unit/with_torch/test_zanj_torch_cfgmismatch.py MyGPT 3 1 0 67%
tests/unit/with_torch/test_zanj_torch_cfgmismatch.py (no class) 56 2 0 96%
zanj/__init__.py (no class) 4 0 0 100%
zanj/externals.py (no class) 21 1 0 95%
zanj/loading.py LoaderHandler 8 7 0 12%
zanj/loading.py LoadedZANJ 16 0 0 100%
zanj/loading.py (no class) 108 21 0 81%
zanj/serializing.py ZANJSerializerHandler 0 0 0 100%
zanj/serializing.py (no class) 65 8 0 88%
zanj/torchutil.py ConfiguredModel 35 7 0 80%
zanj/torchutil.py ConfigMismatchException 3 0 0 100%
zanj/torchutil.py (no class) 78 5 0 94%
zanj/zanj.py _ZANJ_GLOBAL_DEFAULTS_CLASS 0 0 0 100%
zanj/zanj.py ZANJ 48 1 0 98%
zanj/zanj.py (no class) 35 0 0 100%
Total   1365 68 0 95%

No items found using the specified filter.