Open
Description
There are some examples of code that is easy (or at least possible) to understand with background or context knowledge. One example could be abstract mathematical formulas such as:
def g(p, r, t, n):
a = p * (1 + r/n)**(n*t)
return a
While we can say that this is not great code, it would still be great if SeaGOAT allowed finding such code fragments. One way of that would be to use some heuristic to detect such scenarios (such as a code consisting mostly of short variable names, or having a lot of operands) and use ollama
using a fast model in order to annotate such chunks
Metadata
Metadata
Assignees
Labels
No labels