The puzzle 139-658fe398 from #139 has to be resolved:
|
@todo #139:30min Implement bidirect index pattern |
|
If the same numeric variable is incremented and decremented within the same method, |
|
it's a pattern. A numeric variable should either be always growing or decreasing. |
|
Bi-directional index is confusing. The method must return a list with the line numbers |
|
of the variables that match this pattern. After implementation, activate tests in |
|
test_bidirect_index.py |
|
""" |
|
return [] |
The puzzle was created by @yegor256 on 27-May-25.
Estimate: 30 minutes, role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.
The puzzle
139-658fe398from #139 has to be resolved:aibolit/aibolit/patterns/bidirect_index/bidirect_index.py
Lines 18 to 25 in cc472ae
The puzzle was created by @yegor256 on 27-May-25.
Estimate: 30 minutes, role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.