Closed purujitgoyal closed 3 years ago
Merging #65 (b0a5590) into main (171d9cb) will increase coverage by
1.70%
. The diff coverage is75.96%
.
@@ Coverage Diff @@
## main #65 +/- ##
==========================================
+ Coverage 83.58% 85.29% +1.70%
==========================================
Files 46 54 +8
Lines 1395 1489 +94
==========================================
+ Hits 1166 1270 +104
+ Misses 229 219 -10
Flag | Coverage Δ | |
---|---|---|
cpu | 85.29% <75.96%> (+1.70%) |
:arrow_up: |
pytest | 85.29% <75.96%> (+1.70%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
box_embeddings/initializations/tf_uniform_boxes.py | 87.17% <ø> (ø) |
|
box_embeddings/initializations/uniform_boxes.py | 87.50% <ø> (ø) |
|
box_embeddings/modules/volume/soft_volume.py | 90.90% <ø> (ø) |
|
box_embeddings/parameterizations/__init__.py | 93.33% <ø> (-0.79%) |
:arrow_down: |
...mbeddings/parameterizations/tf_delta_box_tensor.py | 90.00% <ø> (ø) |
|
box_embeddings/modules/pooling/tf_bag_of_boxes.py | 39.13% <39.13%> (ø) |
|
box_embeddings/modules/pooling/tf_intersection.py | 40.00% <40.00%> (ø) |
|
...mbeddings/modules/regularization/tf_regularizer.py | 45.00% <45.00%> (ø) |
|
...mbeddings/modules/intersection/_tf_intersection.py | 58.33% <58.33%> (ø) |
|
...s/modules/regularization/tf_l2_side_regularizer.py | 61.11% <61.11%> (ø) |
|
... and 32 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 171d9cb...b0a5590. Read the comment docs.
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/constant.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/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/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/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/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_intersection.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/tf_pooling.py"
TFBoxPooler.__call__
Needed: 3; Found: 1; Missing: 2; Coverage: 33.3%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/regularizer.py"
BoxRegularizer._forward
BoxRegularizer._reduce
Needed: 6; Found: 3; Missing: 3; Coverage: 50.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/tf_l2_side_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/_tf_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_hard_volume.py"
tf_hard_volume
Needed: 4; Found: 2; Missing: 2; Coverage: 50.0%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/modules/volume/tf_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/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/examples/mnli_model.py"
MNLIModel
MNLIModel.__init__
MNLIModel.forward
MNLIModel.get_metrics
Needed: 5; Found: 0; Missing: 5; Coverage: 0.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 28 files: Needed: 134 - Found: 77 - Missing: 57 Total coverage: 57.5% - Grade: Not bad
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/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/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/_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/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/intersection/tf_hard_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/pooling/tf_bag_of_boxes.py"
tf_bag_of_boxes_pooler
TFBagOfBoxesBoxPooler.__init__
Needed: 5; Found: 2; Missing: 3; Coverage: 40.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/tf_intersection.py"
tf_hard_intersection_pooler
TFHardIntersectionBoxPooler.__init__
TFHardIntersectionBoxPooler.__call__
Needed: 5; Found: 1; Missing: 4; Coverage: 20.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/tf_regularizer.py"
TFBoxRegularizer._forward
TFBoxRegularizer._reduce
Needed: 6; Found: 3; Missing: 3; Coverage: 50.0%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/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/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/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_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_delta_box_tensor.py"
TFMinDeltaBoxTensor.kwargs
TFMinDeltaBoxTensor.args
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%Overall statistics for 28 files (1 files are empty): Needed: 152 - Found: 90 - Missing: 62 Total coverage: 59.2% - Grade: Not bad
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/constant.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/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/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/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/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_intersection.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/tf_pooling.py"
TFBoxPooler.__call__
Needed: 3; Found: 1; Missing: 2; Coverage: 33.3%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/regularizer.py"
BoxRegularizer._forward
BoxRegularizer._reduce
Needed: 6; Found: 3; Missing: 3; Coverage: 50.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/regularization/tf_l2_side_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/_tf_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/tf_hard_volume.py"
tf_hard_volume
Needed: 4; Found: 2; Missing: 2; Coverage: 50.0%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/modules/volume/tf_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/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/examples/mnli_model.py"
MNLIModel
MNLIModel.__init__
MNLIModel.forward
MNLIModel.get_metrics
Needed: 5; Found: 0; Missing: 5; Coverage: 0.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 28 files: Needed: 134 - Found: 77 - Missing: 57 Total coverage: 57.5% - Grade: Not bad
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/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/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/_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/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/intersection/tf_hard_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/pooling/tf_bag_of_boxes.py"
tf_bag_of_boxes_pooler
TFBagOfBoxesBoxPooler.__init__
Needed: 5; Found: 2; Missing: 3; Coverage: 40.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/tf_intersection.py"
tf_hard_intersection_pooler
TFHardIntersectionBoxPooler.__init__
TFHardIntersectionBoxPooler.__call__
Needed: 5; Found: 1; Missing: 4; Coverage: 20.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/tf_regularizer.py"
TFBoxRegularizer._forward
TFBoxRegularizer._reduce
Needed: 6; Found: 3; Missing: 3; Coverage: 50.0%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/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/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/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_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_delta_box_tensor.py"
TFMinDeltaBoxTensor.kwargs
TFMinDeltaBoxTensor.args
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%Overall statistics for 28 files (1 files are empty): Needed: 152 - Found: 90 - Missing: 62 Total coverage: 59.2% - 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/constant.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/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/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/intersection/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/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_intersection.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/tf_pooling.py"
TFBoxPooler.__call__
Needed: 3; Found: 1; Missing: 2; Coverage: 33.3%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/regularization/tf_l2_side_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/_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/modules/volume/tf_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/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/setup.py"
load_requirements
Needed: 2; Found: 0; Missing: 2; Coverage: 0.0%Overall statistics for 29 files (2 files are empty): Needed: 111 - Found: 68 - Missing: 43 Total coverage: 61.3% - Grade: Good
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/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/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/_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/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/intersection/tf_hard_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/pooling/tf_bag_of_boxes.py"
tf_bag_of_boxes_pooler
TFBagOfBoxesBoxPooler.__init__
Needed: 5; Found: 2; Missing: 3; Coverage: 40.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/pooling/tf_intersection.py"
tf_hard_intersection_pooler
TFHardIntersectionBoxPooler.__init__
TFHardIntersectionBoxPooler.__call__
Needed: 5; Found: 1; Missing: 4; Coverage: 20.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/tf_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/_tf_volume.py"
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/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_hard_volume.py"
tf_hard_volume
Needed: 4; Found: 2; Missing: 2; Coverage: 50.0%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/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_delta_box_tensor.py"
TFMinDeltaBoxTensor.kwargs
TFMinDeltaBoxTensor.args
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%Overall statistics for 28 files: Needed: 181 - Found: 115 - Missing: 66 Total coverage: 63.5% - Grade: Good