Feature: Added code and modules to create doc string for any python code. It will read text from an existing python file and output it to a new file with a suffix for the llm model that created it.

This commit is contained in:
Nicholas Arquette
2025-01-28 13:54:58 -06:00
parent 8cb97665af
commit b582e41ecf
4 changed files with 280 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
def calculate(iterations, param1, param2):
result = 1.0
for i in range(1, iterations+1):
j = i * param1 - param2
result -= (1/j)
j = i * param1 + param2
result += (1/j)
return result
def calculate_2(iterations, param1, param2):
result = 1.0
for i in range(1, iterations+1):
j = i * param1 - param2
result -= (1/j)
j = i * param1 + param2
result += (1/j)
return result