Coverage report:
97%
hide covered
Files
Functions
Classes
coverage.py v7.13.4
, created at 2026-02-22 19:38 -0700
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_dataframe_serialization.py
(no class)
66
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_loading_edge_cases.py
TestPopulateExternalsErrorChecking
27
0
0
100%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoaderHandlerFromFormattedClass
32
0
0
100%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoaderHandlerFromFormattedClass.test_missing_serialize_method.MissingSerialize
1
1
0
0%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoaderHandlerFromFormattedClass.test_missing_load_method.MissingLoad
1
1
0
0%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoaderHandlerFromFormattedClass.test_missing_format_key.MissingFormat
2
2
0
0%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoaderHandlerFromFormattedClass.test_non_string_format_key.NonStringFormat
2
2
0
0%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoaderHandlerFromFormattedClass.test_valid_formatted_class.ValidClass
2
2
0
0%
tests / unit / no_torch / test_loading_edge_cases.py
TestGetItemLoader
3
0
0
100%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoadItemRecursive
10
0
0
100%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoadItemRecursive.test_unloadable_type_strict_mode.CustomUnloadable
0
0
0
100%
tests / unit / no_torch / test_loading_edge_cases.py
TestLoadItemRecursive.test_unloadable_type_permissive_mode.CustomUnloadable
0
0
0
100%
tests / unit / no_torch / test_loading_edge_cases.py
(no class)
25
0
0
100%
tests / unit / no_torch / test_serializing_edge_cases.py
TestZanjExternalSerialize
46
0
0
100%
tests / unit / no_torch / test_serializing_edge_cases.py
TestZanjExternalSerialize.test_invalid_jsonl_data_type.NotSerializableAsJsonl
0
0
0
100%
tests / unit / no_torch / test_serializing_edge_cases.py
(no class)
14
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)
73
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)
143
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_torchutil_edge_cases.py
EdgeCaseTestConfig
0
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
EdgeCaseTestModel
3
1
0
67%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestConfiguredModelValidation
10
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestConfiguredModelValidation.test_missing_config_class_decorator.UnconfiguredModel
1
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestConfiguredModelValidation.test_wrong_config_type.WrongConfig
0
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestSetConfigClass
6
2
0
67%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestSetConfigClass.test_invalid_config_class_type.NotSerializable
0
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestSetConfigClass.test_invalid_config_class_type.BadModel
0
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestConfiguredModelSaveLoad
20
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestNumParamsWrapper
6
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestAssertModelExactEquality
22
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestAssertModelExactEquality.test_state_dict_keys_mismatch.DifferentModel
3
1
0
67%
tests / unit / with_torch / test_torchutil_edge_cases.py
TestConfiguredModelReadRoundTrip
10
0
0
100%
tests / unit / with_torch / test_torchutil_edge_cases.py
(no class)
34
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 / consts.py
(no class)
7
2
0
71%
zanj / externals.py
(no class)
21
1
0
95%
zanj / loading.py
LoaderHandler
8
0
0
100%
zanj / loading.py
LoadedZANJ
16
0
0
100%
zanj / loading.py
(no class)
115
13
0
89%
zanj / serializing.py
ZANJSerializerHandler
0
0
0
100%
zanj / serializing.py
(no class)
74
0
0
100%
zanj / torchutil.py
ConfiguredModel
35
1
0
97%
zanj / torchutil.py
ConfigMismatchException
3
0
0
100%
zanj / torchutil.py
(no class)
78
2
0
97%
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
1767
50
0
97%
No items found using the specified filter.