Coverage report:
93%
hide covered
Files
Functions
Classes
coverage.py v7.6.12
, created at 2025-02-14 12:59 -0700
File
function
statements
missing
excluded
coverage
tests\test_bool_array.py
test_list_bool_array
6
0
0
100%
tests\test_bool_array.py
test_np_bool_array
8
0
0
100%
tests\test_bool_array.py
test_torch_bool_array
8
0
0
100%
tests\test_bool_array.py
(no function)
24
0
0
100%
tests\test_get_module_device.py
test_get_module_device_single_device
6
0
0
100%
tests\test_get_module_device.py
test_get_module_device_multiple_devices
10
8
0
20%
tests\test_get_module_device.py
test_get_module_device_no_parameters
4
0
0
100%
tests\test_get_module_device.py
(no function)
7
0
0
100%
tests\test_isolate_zanj_handler_store.py
test_Basic
6
0
0
100%
tests\test_isolate_zanj_handler_store.py
test_isolate_handlers
13
0
0
100%
tests\test_isolate_zanj_handler_store.py
(no function)
28
1
0
96%
tests\test_zanj_basic.py
array_meta
3
0
0
100%
tests\test_zanj_basic.py
test_numpy
13
0
0
100%
tests\test_zanj_basic.py
test_jsonl
7
0
0
100%
tests\test_zanj_basic.py
(no function)
12
0
0
100%
tests\test_zanj_populate_nested.py
test_nested_populate
7
0
0
100%
tests\test_zanj_populate_nested.py
(no function)
17
0
0
100%
tests\test_zanj_sdc_modelcfg.py
CustomCfg.__init__
2
0
0
100%
tests\test_zanj_sdc_modelcfg.py
CustomCfg.__eq__
1
0
0
100%
tests\test_zanj_sdc_modelcfg.py
CustomCfg.serialize
1
0
0
100%
tests\test_zanj_sdc_modelcfg.py
CustomCfg.load
1
0
0
100%
tests\test_zanj_sdc_modelcfg.py
test_config_holder
11
0
0
100%
tests\test_zanj_sdc_modelcfg.py
test_config_holder_zanj
9
0
0
100%
tests\test_zanj_sdc_modelcfg.py
test_adv_config_holder
6
0
0
100%
tests\test_zanj_sdc_modelcfg.py
test_adv_config_holder_zanj
6
0
0
100%
tests\test_zanj_sdc_modelcfg.py
(no function)
53
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_Basic
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_Nested
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_Nested_with_container
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_sdc_with_np_array_small
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_sdc_with_np_array
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_sdc_tensor_small
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_sdc_tensor
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_sdc_with_df
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
sdc_complicated.__eq__
1
1
0
0%
tests\test_zanj_serializable_dataclass.py
test_sdc_complicated
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
test_sdc_container_explicit
6
0
0
100%
tests\test_zanj_serializable_dataclass.py
(no function)
67
0
0
100%
tests\test_zanj_torch.py
test_torch_configmodel_minimal
26
0
0
100%
tests\test_zanj_torch.py
test_torch_configmodel_minimal.MyNN.__init__
2
0
0
100%
tests\test_zanj_torch.py
test_torch_configmodel_minimal.MyNN.forward
1
1
0
0%
tests\test_zanj_torch.py
test_torch_configmodel
41
0
0
100%
tests\test_zanj_torch.py
test_torch_configmodel.MyGPTConfig.loss
1
1
0
0%
tests\test_zanj_torch.py
test_torch_configmodel.MyGPTConfig.optim
1
1
0
0%
tests\test_zanj_torch.py
test_torch_configmodel.MyGPT.__init__
2
0
0
100%
tests\test_zanj_torch.py
test_torch_configmodel.MyGPT.forward
1
1
0
0%
tests\test_zanj_torch.py
(no function)
13
0
0
100%
tests\test_zanj_torch_cfgmismatch.py
MyGPT.__init__
2
0
0
100%
tests\test_zanj_torch_cfgmismatch.py
MyGPT.forward
1
1
0
0%
tests\test_zanj_torch_cfgmismatch.py
test_config_mismatch_exception_direct
5
0
0
100%
tests\test_zanj_torch_cfgmismatch.py
test_equal_configs
4
0
0
100%
tests\test_zanj_torch_cfgmismatch.py
test_unequal_configs
9
1
0
89%
tests\test_zanj_torch_cfgmismatch.py
test_unequal_configs_2
9
1
0
89%
tests\test_zanj_torch_cfgmismatch.py
test_incorrect_instance
7
0
0
100%
tests\test_zanj_torch_cfgmismatch.py
(no function)
22
0
0
100%
zanj\__init__.py
(no function)
4
4
0
0%
zanj\externals.py
load_jsonl
1
0
0
100%
zanj\externals.py
load_npy
1
0
0
100%
zanj\externals.py
GET_EXTERNAL_LOAD_FUNC
3
1
0
67%
zanj\externals.py
(no function)
16
0
0
100%
zanj\loading.py
_populate_externals_error_checking
17
8
0
53%
zanj\loading.py
LoaderHandler.serialize
1
0
0
100%
zanj\loading.py
LoaderHandler.from_formattedclass
7
7
0
0%
zanj\loading.py
register_loader_handler
2
0
0
100%
zanj\loading.py
get_item_loader
9
1
0
89%
zanj\loading.py
load_item_recursive
15
3
0
80%
zanj\loading.py
_each_item_in_externals
15
2
0
87%
zanj\loading.py
LoadedZANJ.__init__
12
0
0
100%
zanj\loading.py
LoadedZANJ.populate_externals
4
0
0
100%
zanj\loading.py
(no function)
44
4
0
91%
zanj\serializing.py
jsonl_metadata
2
0
0
100%
zanj\serializing.py
store_npy
1
0
0
100%
zanj\serializing.py
store_jsonl
3
0
0
100%
zanj\serializing.py
zanj_external_serialize
28
4
0
86%
zanj\serializing.py
(no function)
25
0
0
100%
zanj\torchutil.py
num_params
5
0
0
100%
zanj\torchutil.py
get_module_device
7
1
0
86%
zanj\torchutil.py
ConfiguredModel.__init__
7
2
0
71%
zanj\torchutil.py
ConfiguredModel.serialize
4
0
0
100%
zanj\torchutil.py
ConfiguredModel.save
3
3
0
0%
zanj\torchutil.py
ConfiguredModel._load_state_dict_wrapper
2
0
0
100%
zanj\torchutil.py
ConfiguredModel.load
9
1
0
89%
zanj\torchutil.py
ConfiguredModel.read
5
0
0
100%
zanj\torchutil.py
ConfiguredModel.load_file
2
2
0
0%
zanj\torchutil.py
ConfiguredModel.get_handler
2
0
0
100%
zanj\torchutil.py
ConfiguredModel.num_params
1
1
0
0%
zanj\torchutil.py
set_config_class
4
1
0
75%
zanj\torchutil.py
set_config_class.wrapper
3
0
0
100%
zanj\torchutil.py
ConfigMismatchException.__init__
2
0
0
100%
zanj\torchutil.py
ConfigMismatchException.__str__
1
0
0
100%
zanj\torchutil.py
assert_model_cfg_equality
7
0
0
100%
zanj\torchutil.py
assert_model_exact_equality
12
2
0
83%
zanj\torchutil.py
(no function)
37
0
0
100%
zanj\zanj.py
ZANJ.__init__
10
1
0
90%
zanj\zanj.py
ZANJ.externals_info
9
1
0
89%
zanj\zanj.py
ZANJ.meta
3
0
0
100%
zanj\zanj.py
ZANJ.save
18
1
0
94%
zanj\zanj.py
ZANJ.read
8
2
0
75%
zanj\zanj.py
(no function)
35
0
0
100%
Total
950
69
0
93%
No items found using the specified filter.