~/talk

Choose Wisely: Code Smells in Automatically Generated Code

Talkat Strange Loop 2022 · 2022-09-22..09-24· [security, ai-assisted-development]
links:none on file
slides:none on file

Research measures concrete risks: training corpora used to build code generators contain 97% of python samples flagged for code smells, and one corpus shows 10% with security smells. Generated outputs from GitHub Copilot and an open‑source alternative include undefined variables, long lines, duplicated code, unused arguments, hard‑coded credentials, SQL injection patterns, use of eval and weak hashes like MD5. Findings come from running static tools pylint and bandit over datasets and model completions and show real, actionable quality and security failures.

AI-written summary · about

  1. 0:00Introduction
  2. 0:23Rise of AI coding tools
  3. 0:47Research motivation
  4. 1:30Defining code smells
  5. 1:55Analyzing training data
  6. 3:09Evaluating generated code
  7. 4:20Security case study
  8. 5:11Best practices for developers
  9. 5:45Conclusion and accountability
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.