Skip to content
mentoor

Topic 5 of 5 · 4 min read

Disclosing your AI use in portfolio projects

Goal: Write an AI-use note for a project that names what the AI produced, what you changed or rejected, and how you checked the result.

For each portfolio project, say which parts an AI assistant or agent produced, what you reviewed, changed or rejected, and how you checked the result. Do it before a reviewer asks.

Check yourself · 1 of 3

Which AI-use note tells a reviewer the most?

Choose one answer

Why it matters

Reviewers know that most people use Copilot, Cursor, ChatGPT, Claude or Gemini. Using AI is not the issue. The issue is whether the work shows your judgement. If you hide AI use and a reviewer finds it, they doubt everything else on the page. If you describe it well, they see someone who can direct a tool, check its output and take responsibility. For some jobs and courses, the employer or school also has a rule, so check it. Disclosing is a safe habit regardless.

How to write an AI-use note

Keep it to four short lines. Put it in the README or at the end of the write-up.

  1. Tools used. Name them: "Claude for the first draft of the parsing code; GitHub Copilot for autocomplete."
  2. What the AI produced. Be specific: "the first version of the CSV parser and all test-case ideas."
  3. What I did myself. "Problem definition, data collection, test set, error analysis, final code review, deployment."
  4. How I checked it. "Ran 100 held-out cases; read every line of the parser; replaced the date handling, which was wrong for two formats."

Include one thing you rejected or fixed. It is the best proof that you read what the tool gave you.

Before and after

Before: "Built entirely by me." (when an assistant wrote most of the code)

After: "AI use: Claude drafted the parser and test ideas. I wrote the problem definition and the 100-case test set, rejected its first date handling (it failed on 2 of 5 formats), and reviewed all merged code. Final accuracy is from my held-out test, not from the AI's own claims."

What goes wrong

  • Claiming sole credit. A reviewer who asks "walk me through this function" will find out if you cannot.
  • Vague disclosure. "Some AI was used" says nothing about your role. Name the tool and the part.
  • Trusting the tool's own report. An assistant that says "all tests pass" may not have run them. Run them yourself.
  • Over-disclosing a lot of noise. Do not list every autocomplete. Name the parts that matter.

Optional code branch

Engineers can put the note in a standard file and in the pull request template:

## AI use
Tools: Claude (parser draft), Copilot (autocomplete)
AI produced: first parser, test ideas
I did: problem, test set, review, deployment
Checked by: 100 held-out cases; manual review of all lines
Rejected: first date handling (failed on 2 of 5 formats)

Examples

A short AI-use note

AI use. Claude drafted the first version of the scraper and suggested test inputs. I defined the problem, collected the 120 pages, wrote the scoring script, and reviewed every line before merging. I rejected its retry logic, which looped forever on a 404, and wrote my own. Results come from my 120-page test, not from the assistant's report.

Vague and specific disclosure

Vague: "Some AI tools were used in this project."

Specific: "Copilot suggested boilerplate and unit-test stubs. The sorting rules, the test set and the final accuracy check are mine."

The specific note tells a reviewer where to look for your judgement.

Key points

  • Name the tools and the parts they produced, in specific terms.
  • State what you did yourself: problem, data, test set, review and decisions.
  • Say how you checked the result, using your own tests rather than the tool's claim.
  • Include one thing you rejected or fixed, as proof that you read the output.
  • Disclosure builds trust, and hiding AI use costs you credibility when it is found.

Common mistakes

  • Writing 'built entirely by me' when an assistant wrote much of the code.
  • Disclosing so vaguely that the reviewer cannot tell what you did.
  • Reporting the assistant's own claim that tests pass without running them yourself.
  • Listing every autocomplete suggestion instead of naming the parts that matter.

Check yourself · 2 of 3

Why should an AI-use note include something you rejected or fixed?

Choose one answer

Check yourself · 3 of 3

An assistant says 'all tests pass' after editing your code. What do you do before writing 'verified' in your note?

Choose one answer

Practice items, not counted towards your mastery.

Start here