Ignoring the fact that the position calculation formula itself is overly complicated:

The issue is that in this formula

var radian = (2 * PI / 360) * (360 / correct_cuts) * (cut + 3)

the calculation “360 / correct_cuts” is an integer division, which with a “correct_cuts” value of 131 results in the value 2, instead of the wanted value of ~2.75.
This results into the circle only being drawn for 232 degrees, which is what can be seen in your screenshot

You can fix this either by converting the “correct_cuts” variable into a float like this:

var radian = (2 * PI / 360) * (360 / float(correct_cuts)) * (cut + 3)

Or by using the code from the comment above.

Why the code from the previous comment fixes the issue

The code from the comment above fixes the issue in this line

var step = (2 * PI) / cuts

because “(2 * PI)” is a float and turns the division into a float division instead of the integer division in your current code