Hasty Briefsbeta

Show HN: AI Code Detector – detect AI-generated code with 95% accuracy

7 hours ago
  • #code analysis
  • #machine learning
  • #AI detection
  • AI Code Detector uses a machine learning model trained on millions of code samples to detect AI-generated code with 95% accuracy.
  • The model, span-detect-1, analyzes code chunks based on style, syntax, and structure patterns to classify them as AI-generated or human-written.
  • It works with all AI coding tools without requiring integrations or manual tagging.
  • The model abstains from classifying boilerplate code (about 10% of chunks) due to insufficient signal.
  • Span’s platform allows tracking AI vs. human code ratios, defect rates, and productivity impact by AI coding tools.
  • The technology is particularly accurate for Typescript and Python, with consistent testing to avoid overfitting.