Linear Regression: Exercise 11. is there a glitch?

Hi,

I have tried the intermediate level.

I had faced below issue when I wrote the loop.


The answer is not correct - Test cases: 0 / 2
  File "/usr/local/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/local/lib/python3.12/unittest/case.py", line 634, in run
    self._callTestMethod(testMethod)
  File "/usr/local/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
    if method() is not None:
       ^^^^^^^^
  File "/app/test/test_main.py", line 26, in test_answer_two
    main(X2, c2)
  File "/app/tmc/utils.py", line 10, in fail
    raise AssertionError(err)

Error: src.main.predict does not exist!

I thought my loop logic was incorrect, so I wrote all combinations manually but still the same issue. can anyone provide me the reason for this error.

‘‘‘

‘‘‘