Closed purujitgoyal 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/initializations/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/init.py"
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/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/pooling/init.py"
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/soft_volume.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/parameterizations/init.py"
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/tf_delta_box_tensor.py"
_box_shape_ok
softplus_inverse
TFMinDeltaBoxTensor.kwargs
TFMinDeltaBoxTensor.args
Overall statistics for 19 files (2 files are empty): Needed: 69 - Found: 38 - Missing: 31 Total coverage: 55.1% - Grade: Not bad
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"
inv_sigmoid
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/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/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/pooling/bag_of_boxes.py"
bag_of_boxes_pooler
BagOfBoxesBoxPooler.__init__
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/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/hard_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/box_tensor.py"
_shape_error_str
BoxTensor.__repr__
BoxTensor.reinit
BoxTensor.args
BoxTensor.zZ_to_embedding
BoxTensor.__eq__
BoxFactory.__init__
register_box_class.add_box_class
BoxFactory.__call__
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/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.reinit
TFBoxTensor.args
TFBoxFactory.__init__
TFBoxFactory.__call__
File: "/home/runner/work/box-embeddings/box-embeddings/setup.py"
load_requirements
Overall statistics for 18 files (1 files are empty): Needed: 120 - Found: 76 - Missing: 44 Total coverage: 63.3% - Grade: Good
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/initializations/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/init.py"
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/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/pooling/init.py"
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/soft_volume.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/parameterizations/init.py"
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/tf_delta_box_tensor.py"
_box_shape_ok
softplus_inverse
TFMinDeltaBoxTensor.kwargs
TFMinDeltaBoxTensor.args
Needed: 11; Found: 7; Missing: 4; Coverage: 63.6%Overall statistics for 19 files (2 files are empty): Needed: 69 - Found: 38 - Missing: 31 Total coverage: 55.1% - Grade: Not bad
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/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/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/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/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/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/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/hard_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.reinit
BoxTensor.args
BoxTensor.zZ_to_embedding
BoxTensor.__eq__
BoxFactory.__init__
register_box_class.add_box_class
BoxFactory.__call__
Needed: 28; Found: 18; Missing: 10; Coverage: 64.3%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/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"
_box_shape_ok
_shape_error_str
TFBoxTensor.__repr__
TFBoxTensor.reinit
TFBoxTensor.args
TFBoxFactory.__init__
register_box_class.add_box_class
TFBoxFactory.__call__
Needed: 25; Found: 17; Missing: 8; Coverage: 68.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 18 files (1 files are empty): Needed: 120 - Found: 76 - Missing: 44 Total coverage: 63.3% - Grade: Good