============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-7.1.2, pluggy-1.6.0
rootdir: /workspace/minitorch, configfile: setup.cfg
plugins: metadata-3.1.1, env-0.6.2, hypothesis-6.54.0, anyio-4.13.0, cov-7.1.0, json-report-1.5.0
collected 185 items

tests/test_autodiff.py ........                                          [  4%]
tests/test_conv.py .......                                               [  8%]
tests/test_module.py ...x..                                              [ 11%]
tests/test_modules.py ..                                                 [ 12%]
tests/test_nn.py .....F                                                  [ 15%]
tests/test_operators.py .................................                [ 33%]
tests/test_scalar.py ................................                    [ 50%]
tests/test_tensor.py ........................................xx....      [ 75%]
tests/test_tensor_data.py .x.....                                        [ 79%]
tests/test_tensor_general.py ......................................      [100%]

=================================== FAILURES ===================================
_______________________________ test_log_softmax _______________________________

    @pytest.mark.task4_4
>   @given(tensors(shape=(1, 1, 4, 4)))

tests/test_nn.py:94: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_nn.py:99: in test_log_softmax
    assert_close(q[i], q2[i])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

a = 0.6814525618085747, b = 0.6713752253535294

    def assert_close(a: float, b: float) -> None:
>       assert minitorch.operators.is_close(a, b), "Failure x=%f y=%f" % (a, b)
E       AssertionError: Failure x=0.681453 y=0.671375
E       Falsifying example: test_log_softmax(
E           t=
E           [
E           	[
E           		[
E           			[0.00 0.00 0.00 0.00]
E           			[0.00 0.00 0.00 0.00]
E           			[-13.00 -13.00 -11.00 -10.00]
E           			[0.00 0.00 0.00 0.00]]]],
E       )

tests/strategies.py:16: AssertionError
=============================== warnings summary ===============================
tests/test_scalar.py::test_one_derivative[fn0]
  /home/openhands/.local/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import ccompiler

tests/test_scalar.py::test_one_derivative[fn0]
  /home/openhands/.local/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:17: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
    from distutils.sysconfig import customize_compiler

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--------------------------------- JSON report ----------------------------------
report saved to: report.json
=========================== short test summary info ============================
FAILED tests/test_nn.py::test_log_softmax - AssertionError: Failure x=0.68145...
======= 1 failed, 180 passed, 4 xfailed, 2 warnings in 60.88s (0:01:00) ========