Closed purujitgoyal closed 3 years ago
Merging #30 (175e697) into dev/main (5a331d6) will increase coverage by
0.35%
. The diff coverage is80.48%
.
@@ Coverage Diff @@
## dev/main #30 +/- ##
============================================
+ Coverage 79.03% 79.39% +0.35%
============================================
Files 30 31 +1
Lines 954 985 +31
============================================
+ Hits 754 782 +28
- Misses 200 203 +3
Flag | Coverage Δ | |
---|---|---|
cpu | 79.39% <80.48%> (+0.35%) |
:arrow_up: |
pytest | 79.39% <80.48%> (+0.35%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
box_embeddings/modules/embedding.py | 71.42% <71.42%> (ø) |
|
box_embeddings/__init__.py | 90.90% <100.00%> (ø) |
|
box_embeddings/parameterizations/box_tensor.py | 81.57% <100.00%> (+1.36%) |
:arrow_up: |
box_embeddings/parameterizations/tf_box_tensor.py | 74.60% <100.00%> (ø) |
|
...mbeddings/parameterizations/tf_delta_box_tensor.py | 72.58% <100.00%> (ø) |
|
box_embeddings/initializations/uniform_boxes.py | 87.50% <0.00%> (+7.50%) |
:arrow_up: |
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 5a331d6...175e697. Read the comment docs.
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/init.py"
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/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/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/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/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/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/init.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/soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/volume.py"
log_hard_volume
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%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%Overall statistics for 16 files (3 files are empty): Needed: 76 - Found: 45 - Missing: 31 Total coverage: 59.2% - 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/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/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/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/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/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/setup.py"
load_requirements
Needed: 2; Found: 0; Missing: 2; Coverage: 0.0%Overall statistics for 16 files: Needed: 69 - Found: 41 - Missing: 28 Total coverage: 59.4% - Grade: Not bad
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/init.py"
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/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/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/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/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/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/init.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/soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/volume.py"
log_hard_volume
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%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%Overall statistics for 16 files (3 files are empty): Needed: 76 - Found: 45 - Missing: 31 Total coverage: 59.2% - 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/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/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/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/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/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/setup.py"
load_requirements
Needed: 2; Found: 0; Missing: 2; Coverage: 0.0%Overall statistics for 16 files: Needed: 69 - Found: 41 - Missing: 28 Total coverage: 59.4% - 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/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/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/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/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/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/pooling.py"
BoxPooler.forward
Needed: 3; Found: 1; Missing: 2; Coverage: 33.3%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/volume/soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/volume.py"
log_hard_volume
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/init.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/setup.py"
load_requirements
Needed: 2; Found: 0; Missing: 2; Coverage: 0.0%Overall statistics for 17 files (3 files are empty): Needed: 75 - Found: 40 - Missing: 35 Total coverage: 53.3% - 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/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/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/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/bessel_volume.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/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"
_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/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 17 files: Needed: 108 - Found: 70 - Missing: 38 Total coverage: 64.8% - Grade: Good
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/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/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/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/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/pooling.py"
BoxPooler.forward
Needed: 3; Found: 1; Missing: 2; Coverage: 33.3%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/volume/soft_volume.py"
File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/modules/volume/volume.py"
log_hard_volume
Needed: 8; Found: 6; Missing: 2; Coverage: 75.0%File: "/home/runner/work/box-embeddings/box-embeddings/box_embeddings/parameterizations/init.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/setup.py"
load_requirements
Needed: 2; Found: 0; Missing: 2; Coverage: 0.0%Overall statistics for 17 files (3 files are empty): Needed: 75 - Found: 40 - Missing: 35 Total coverage: 53.3% - 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/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/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/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/bessel_volume.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/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"
_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/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 17 files: Needed: 108 - Found: 70 - Missing: 38 Total coverage: 64.8% - Grade: Good
Still has these 2 mypy issues:
box_embeddings/modules/embedding.py:21: error: "Type[R?]" has no attribute "w2z_ratio" box_embeddings/modules/embedding.py:55: error: "Type[R?]" has no attribute "from_zZ"