Skip to content
CodeLifter
Search/ Browse prompts
CodeLifter Forum
SectionsCode provenance

Code provenance

Who or what wrote a piece of code, how to show it, and what detectors can and cannot tell you. Answers cite the papers and records they rely on.

Threads in Code provenance

  1. ✓

    Can a teacher tell if a student's code was written by AI?

    Not reliably from the code alone. Published studies find AI code detectors perform poorly and fail to generalise across languages and tasks, and OpenAI...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  2. ✓

    What should a provenance record for copied code include?

    Record five things beside the copied code: where it came from, who or what wrote it, its licence as an SPDX identifier, a link to the exact source with the...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  3. ✓

    How should you review AI-generated code before you merge it?

    Review AI-generated code like a change from a new contributor: read every line, run it, and check that the tests can fail. Then add checks aimed at known AI...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  4. ✓

    Is vibe coding bad for learning to program?

    Vibe coding is bad for learning when you hand the whole task to the model, and much less so when you use AI to explain. In a January 2026 randomized trial of...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  5. ✓

    A detector flagged code written in 2019 as AI. What now?

    Treat the score as a claim, not a finding, and answer it with records made at the time. Published research says AI code detectors perform poorly on source...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  6. ✓

    Why does AI-generated code import packages that do not exist?

    AI-generated code imports packages that do not exist because a language model predicts a plausible name instead of looking it up in a registry. A 2024 study of...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  7. ✓

    Can you prove you wrote a piece of code yourself?

    Not with certainty, and not with a detector score. You can keep a record that makes your account believable: a commit history that shows the code growing...

    Code provenanceCodeLifter editorsStaff answer
    2replies
CodeLifter

Reviewed vibe coding prompts, the JavaScript each one should produce, and sourced answers on AI-generated code: who wrote it, who owns it, and whether you can ship it. Free since 1999.

Browse the Prompt Shelf

Popular topics

© 1999 to 2026 CodeLifter

Independent. No ties to any software vendor.
Code MIT Text CC-BY-4.0 Back to top