What is your approach to measuring accuracy?
Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
11–20 of 69 posts
Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#12What is your approach to measuring accuracy?
"span-detect-1 was evaluated by an independent team within Span. The team’s objective was to create an eval that’s free from training data contamination and reflecting realistic human and AI authored code patterns. The focus was on 3 sources: real world human, AI code authored by Devin crawled from public GitHub repositories, and AI samples that we synthesized for “brownfield” edits by leading LLMs. In the end, evaluation was performed with ~45K balanced datasets for TypeScript and Python each, and an 11K sample set for TSX."
Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#13Could I use this to iterate over my AI generated code until it's not detectable anymore? So essentially the moment you publish this tool it stops working?
Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#14This is interesting. Do you know what features the classifier is matching on? Like how much does stuff like whitespace matter here vs. deeper code structure? Put differently, if you were to parse the AI and non-AI code into AST and train a classifier based on that, would the results be the same?
Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#15Earlier quoted context omitted.
I'd argue that knowing AI generated code shipped into production is the first step to understanding the impact of AI coding assistants on velocity and quality. When paired with additional context, it can help leaders understand how to improve proficiency around these tools.
That's not relevant to the comment you replied to.
Recall 91.5, F1 93.3
Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#16Could I use this to iterate over my AI generated code until it's not detectable anymore? So essentially the moment you publish this tool it stops working?
Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#17Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#18Re: Show HN: AI Code Detector – detect AI-generated code with 95% accuracy
#19I guess it's impossible (or really hard) to train a language-agnostic classifier.
Reference, from your own URL here: https://www.span.app/introducing-span-detect-1