Closed dhruvdcoder closed 3 years ago
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/init.py"
torch_is_available
tensorflow_is_available
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/registrable.py"
register.foo
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/tf_utils.py"
_box_shape_ok
_shape_error_str
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/initializer.py"
BoxInitializer.__call__
BoxInitializer.__repr__
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/tf_uniform_boxes.py"
TFUniformBoxInitializer.__call__
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/hard_intersection.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/intersection.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/tf_gumbel_intersection.py"
_tf_compute_logaddexp_with_clipping_and_separate_forward
_tf_compute_logaddexp_with_clipping
_tf_compute_logaddexp
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/bag_of_boxes.py"
bag_of_boxes_pooler
BagOfBoxesBoxPooler.__init__
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/intersection.py"
hard_intersection_pooler
HardIntersectionBoxPooler.__init__
HardIntersectionBoxPooler.forward
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/pooling.py"
BoxPooler.forward
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/bessel_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/hard_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_volume.py"
tf_log_hard_volume
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/box_tensor.py"
BoxTensor.__repr__
BoxTensor.__eq__
BoxFactory.__init__
register_box_class.add_box_class
BoxFactory.__call__
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/sigmoid_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tanh_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_box_tensor.py"
TFBoxTensor.__repr__
TFBoxTensor.args
TFBoxTensor.zZ_to_embedding
TFBoxTensor.__eq__
TFBoxFactory.__init__
TFBoxFactory.__call__
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_sigmoid_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_tanh_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
Overall statistics for 25 files (1 files are empty): Needed: 161 - Found: 112 - Missing: 49 Total coverage: 69.6% - Grade: Good
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/constant.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/utils.py"
softplus_inverse
inv_sigmoid
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/tf_initializer.py"
TFBoxInitializer.__call__
TFBoxInitializer.__repr__
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/uniform_boxes.py"
UniformBoxInitializer.__call__
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/box_module.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/embedding.py"
BoxEmbedding.__init__
BoxEmbedding.forward
BoxEmbedding.all_boxes
BoxEmbedding.get_bounding_box
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/_intersection.py"
_Intersection.forward
_Intersection._forward
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/gumbel_intersection.py"
_compute_logaddexp_with_clipping_and_separate_forward
_compute_logaddexp_with_clipping
_compute_logaddexp
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/tf_hard_intersection.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/tf_intersection.py"
TFIntersection.forward
TFIntersection._forward
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/l2_side_regularizer.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/regularizer.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/tf_embedding.py"
TFBoxEmbedding.__init__
TFBoxEmbedding.__call__
TFBoxEmbedding.all_boxes
TFBoxEmbedding.get_bounding_box
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_bessel_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/delta_box_tensor.py"
MinDeltaBoxTensor.kwargs
MinDeltaBoxTensor.args
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_delta_box_tensor.py"
TFMinDeltaBoxTensor.kwargs
TFMinDeltaBoxTensor.args
File: "/home/runner/work/box-embeddings/box-embeddings/setup.py"
load_requirements
Overall statistics for 24 files (2 files are empty): Needed: 102 - Found: 57 - Missing: 45 Total coverage: 55.9% - Grade: Not bad
Docstrings Coverage Report
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/init.py"
torch_is_available
tensorflow_is_available
Needed: 3; Found: 0; Missing: 3; Coverage: 0.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/registrable.py"
register.foo
Needed: 4; Found: 3; Missing: 1; Coverage: 75.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/tf_utils.py"
_box_shape_ok
_shape_error_str
Needed: 10; Found: 7; Missing: 3; Coverage: 70.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/initializer.py"
BoxInitializer.__call__
BoxInitializer.__repr__
Needed: 4; Found: 1; Missing: 3; Coverage: 25.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/tf_uniform_boxes.py"
TFUniformBoxInitializer.__call__
Needed: 5; Found: 3; Missing: 2; Coverage: 60.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/hard_intersection.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/intersection.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/tf_gumbel_intersection.py"
_tf_compute_logaddexp_with_clipping_and_separate_forward
_tf_compute_logaddexp_with_clipping
_tf_compute_logaddexp
Needed: 8; Found: 4; Missing: 4; Coverage: 50.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/bag_of_boxes.py"
bag_of_boxes_pooler
BagOfBoxesBoxPooler.__init__
Needed: 5; Found: 2; Missing: 3; Coverage: 40.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/intersection.py"
hard_intersection_pooler
HardIntersectionBoxPooler.__init__
HardIntersectionBoxPooler.forward
Needed: 5; Found: 1; Missing: 4; Coverage: 20.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/pooling.py"
BoxPooler.forward
Needed: 3; Found: 1; Missing: 2; Coverage: 33.3%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/bessel_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/hard_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_volume.py"
tf_log_hard_volume
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/box_tensor.py"
_box_shape_ok
_shape_error_str
BoxTensor.__repr__
BoxTensor.__eq__
BoxFactory.__init__
register_box_class.add_box_class
BoxFactory.__call__
Needed: 28; Found: 21; Missing: 7; Coverage: 75.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/sigmoid_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tanh_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_box_tensor.py"
TFBoxTensor.__repr__
TFBoxTensor.args
TFBoxTensor.zZ_to_embedding
TFBoxTensor.__eq__
TFBoxFactory.__init__
register_box_class.add_box_class
TFBoxFactory.__call__
Needed: 26; Found: 19; Missing: 7; Coverage: 73.1%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_sigmoid_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_tanh_box_tensor.py" Needed: 7; Found: 7; Missing: 0; Coverage: 100.0%
Overall statistics for 25 files (1 files are empty): Needed: 161 - Found: 112 - Missing: 49 Total coverage: 69.6% - Grade: Good
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/constant.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/common/utils.py"
softplus_inverse
inv_sigmoid
Needed: 7; Found: 4; Missing: 3; Coverage: 57.1%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/tf_initializer.py"
TFBoxInitializer.__call__
TFBoxInitializer.__repr__
Needed: 4; Found: 1; Missing: 3; Coverage: 25.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/initializations/uniform_boxes.py"
UniformBoxInitializer.__call__
Needed: 5; Found: 3; Missing: 2; Coverage: 60.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/box_module.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/embedding.py"
BoxEmbedding.__init__
BoxEmbedding.forward
BoxEmbedding.all_boxes
BoxEmbedding.get_bounding_box
Needed: 6; Found: 1; Missing: 5; Coverage: 16.7%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/_intersection.py"
_Intersection.forward
_Intersection._forward
Needed: 4; Found: 1; Missing: 3; Coverage: 25.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/gumbel_intersection.py"
_compute_logaddexp_with_clipping_and_separate_forward
_compute_logaddexp_with_clipping
_compute_logaddexp
Needed: 8; Found: 4; Missing: 4; Coverage: 50.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/tf_hard_intersection.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/intersection/tf_intersection.py"
TFIntersection.forward
TFIntersection._forward
Needed: 4; Found: 1; Missing: 3; Coverage: 25.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/l2_side_regularizer.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/regularizer.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/tf_embedding.py"
TFBoxEmbedding.__init__
TFBoxEmbedding.__call__
TFBoxEmbedding.all_boxes
TFBoxEmbedding.get_bounding_box
Needed: 6; Found: 1; Missing: 5; Coverage: 16.7%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_bessel_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/init.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/delta_box_tensor.py"
MinDeltaBoxTensor.kwargs
MinDeltaBoxTensor.args
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/tf_delta_box_tensor.py"
TFMinDeltaBoxTensor.kwargs
TFMinDeltaBoxTensor.args
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%File: "/home/runner/work/box-embeddings/box-embeddings/setup.py"
load_requirements
Needed: 2; Found: 0; Missing: 2; Coverage: 0.0%Overall statistics for 24 files (2 files are empty): Needed: 102 - Found: 57 - Missing: 45 Total coverage: 55.9% - Grade: Not bad