When you say €20 worth of tokens is it fair direct API call price or subsidized claude code?
is_done = False
while not is_done:
if pattern1:
...
if pattern2:
...
if matched == "SUCCESS":
is_done = True
break
if pattern3:
...
It's usually correct but extremely hard to follow and reminds of the good old asm code with convoluted goto's.