Code stylometry and machine learning can effectively distinguish between GPT-4 generated code and human-authored code.
Using code stylometry and machine learning, the study distinguishes between human-authored and GPT-4 generated code with high accuracy, showcasing the potential of this approach.