harbor run -t openthoughts/tasktrove-swegym-tasks-patched-validated-v2-swegym-2255harbor download openthoughts/tasktrove-swegym-tasks-patched-validated-v2-swegym-2255Project-MONAI/MONAI6d3bf2fb7910afcb656fed91eb1d337c61c40ac4Project-MONAI__MONAI-17460.4cd /testbed
git clone https://github.com/Project-MONAI/MONAI.git repo
cd repo
git checkout 6d3bf2fb7910afcb656fed91eb1d337c61c40ac4
# Activate environment
source /opt/miniconda3/bin/activate
conda activate testbed
# Install dependencies
sed -i '/^git+https:\/\/github.com\/Project-MONAI\//d' requirements-dev.txt; python -m pip install types-pkg-resources==0.1.3 pytest; pip install -r requirements-dev.txt; python setup.py develop;
inaccurate code coverage report for multiprocess executions Describe the bug code coverage reports can't track multiprocessing code executions properly https://codecov.io/gh/Project-MONAI/MONAI/tree/master/tests therefore:
tests/test_rotate.py::TestRotate2D::test_correct_results_0tests/test_rand_rotate.py::TestRandRotate2D::test_correct_results_3tests/test_data_statsd.py::TestDataStatsd::test_value_1tests/test_handler_stats.py::TestHandlerStats::test_loss_printtests/test_data_stats.py::TestDataStats::test_value_4tests/test_rand_rotated.py::TestRandRotated2D::test_correct_results_2tests/test_data_statsd.py::TestDataStatsd::test_value_6tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_6tests/test_rotate.py::TestRotate2D::test_correct_results_3tests/test_affine.py::TestAffine::test_affine_3tests/test_affine.py::TestAffine::test_affine_5tests/test_rand_rotate.py::TestRandRotate2D::test_correct_results_0tests/test_rotate.py::TestRotate3D::test_correct_results_2tests/test_affine.py::TestAffine::test_affine_0tests/test_affined.py::TestAffined::test_affine_4tests/test_rand_rotate.py::TestRandRotate3D::test_correct_results_3tests/test_data_stats.py::TestDataStats::test_value_0tests/test_affined.py::TestAffined::test_affine_3tests/test_affined.py::TestAffined::test_affine_5tests/test_data_stats.py::TestDataStats::test_value_2tests/test_data_statsd.py::TestDataStatsd::test_value_0tests/test_rotate.py::TestRotate2D::test_correct_results_2tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_1tests/test_affined.py::TestAffined::test_affine_1tests/test_rotate.py::TestRotate3D::test_ill_casetests/test_handler_stats.py::TestHandlerStats::test_metrics_printtests/test_data_statsd.py::TestDataStatsd::test_value_4tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_7tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_2tests/test_affined.py::TestAffined::test_affine_6tests/test_handler_stats.py::TestHandlerStats::test_loss_filetests/test_rand_rotate.py::TestRandRotate2D::test_correct_results_2tests/test_rotate.py::TestRotate3D::test_correct_results_3tests/test_rotate.py::TestRotate3D::test_correct_shape_1tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_5tests/test_rotate.py::TestRotate2D::test_correct_results_4tests/test_rotate.py::TestRotate2D::test_correct_results_1tests/test_handler_stats.py::TestHandlerStats::test_loss_dicttests/test_rand_rotate.py::TestRandRotate2D::test_correct_results_1tests/test_rotate.py::TestRotate3D::test_correct_shape_0tests/test_rotate.py::TestRotate3D::test_correct_results_4tests/test_affine.py::TestAffine::test_affine_6tests/test_affined.py::TestAffined::test_affine_2tests/test_rand_rotate.py::TestRandRotate3D::test_correct_results_2tests/test_data_stats.py::TestDataStats::test_value_3tests/test_rotate.py::TestRotate3D::test_correct_results_1tests/test_data_stats.py::TestDataStats::test_value_1tests/test_rand_rotate.py::TestRandRotate3D::test_correct_results_0tests/test_data_statsd.py::TestDataStatsd::test_value_3tests/test_rotate.py::TestRotate3D::test_correct_results_0tests/test_affine.py::TestAffine::test_affine_4tests/test_affine.py::TestAffine::test_affine_2tests/test_rand_rotated.py::TestRandRotated2D::test_correct_results_3tests/test_data_statsd.py::TestDataStatsd::test_value_2tests/test_handler_stats.py::TestHandlerStats::test_exceptiontests/test_rand_rotated.py::TestRandRotated2D::test_correct_results_0tests/test_affine.py::TestAffine::test_affine_1tests/test_data_stats.py::TestDataStats::test_value_5tests/test_rand_rotate.py::TestRandRotate3D::test_correct_results_1tests/test_affined.py::TestAffined::test_affine_0tests/test_rand_rotated.py::TestRandRotated2D::test_correct_results_1tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_3tests/test_rotate.py::TestRotate3D::test_correct_shape_2tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_4tests/test_rand_rotated.py::TestRandRotated3D::test_correct_shapes_0tests/test_data_statsd.py::TestDataStatsd::test_value_5tests/test_data_statsd.py::TestDataStatsd::test_file_0tests/test_data_stats.py::TestDataStats::test_file_0Apply code changes directly inside /testbed/repo and use pytest to run any of the above test targets. Focus on making the failing tests succeed without regressing the existing passing suite.