Closed dhruvdcoder closed 3 years ago
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
Merging #79 (91c0691) into main (5da5507) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #79 +/- ##
=======================================
Coverage 86.43% 86.43%
=======================================
Files 54 54
Lines 1489 1489
=======================================
Hits 1287 1287
Misses 202 202
Flag | Coverage Δ | |
---|---|---|
cpu | 86.43% <ø> (ø) |
|
pytest | 86.43% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out 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 5da5507...91c0691. Read the comment docs.
Co-authored-by: Dhruvesh dhruvdplayer@gmail.com