In this lesson
A portfolio is proof, not a promise.
Here you take the projects from the course and turn them into proof. Proof is something a skeptical person can verify in ten minutes.
- Set up a repository that explains how to run it and how to measure it
- Show results with the number of examples and a baseline
- Tell the story of a project in five minutes
What the proof needs to have
The person evaluating asks one question about each item: what can I verify here? Think of a buyer who asks for the receipt behind every claim.
- "94 percent precision". It only counts with the script that calculates the number and the test set saved in the repository.
- "Zero bias incidents". Zero without measurement means nobody looked. What counts is a report with the groups analyzed.
- "Thousands of reais generated". A personal project has no such measured value. The only honest financial number is the real cost per request.
The rule is simple: every number in the portfolio has a script that reproduces it. Whatever has none comes out.
A repository that runs in ten minutes
The test is physical: a person who has never seen the project clones it, follows the README, installs it and runs the tests, with a clock in hand. The README answers, in this order: what the project does, why it exists, how to run it, how to measure it and what it does not do.
| File | What it is for |
|---|---|
| README.md | The front page |
| requirements.txt with hashes | The exact list of libraries, with a fingerprint of each one |
| LICENSE | Says what others may do. Without it, nobody may copy |
| .gitignore | Lists what stays out, such as the keys file |
What the pros know
GitHub already helps, but it does not forgive everything. Push protection, which blocks secrets from being pushed to public repositories, comes turned on by default for the user. But it does not fix what already got in: the GitHub documentation says that, if the data is a secret, you need to revoke it or change it, and that after that it no longer gives access. Rewriting the history carries a high risk of contamination, because you cannot clean other people's clones, and an old clone can bring the value back. People who build a serious portfolio change the key first and clean up afterward.
An honest result
An accuracy measured on a few emails is an estimate. The confidence interval is the range where the real value probably is, and the bootstrap calculates it: the computer draws the examples again, with replacement, thousands of times, like taking balls out of an urn and putting them back. The variation in the results becomes the range.
The baseline is the result of a simple method, which serves as a yardstick. If always choosing the most common category already got almost everything right, the model would be worth little. And a new version with a slightly higher score, inside the range, is indistinguishable from the previous one.
An automated test that proves it
Saying the project has tests convinces nobody. CI, continuous integration, is a bot that runs the tests at every change, like an inspector who checks every part on the line. It uses recorded answers, without your key and without the internet, and one of the tests requires that the accuracy never falls below the accepted limit.
Evaluators often open the history before the code. In each commit message, the subject is short and the body explains why.
The write-up and the interview
A short write-up about each project is worth more than any badge. The order evaluators expect:
- The problem, and who suffered from it.
- The decision, and the alternative you discarded, with the reason.
- The measurement: metric, number of examples, baseline.
- What failed and what you did about it.
- What you would do next.
What failed is the part experienced reviewers read first: nobody can fake it. Practice the same story out loud, in five minutes, with a clock.
To talk about the market, measure it: open twenty real job postings in the field you want, note the requirements in a spreadsheet and count. The result describes those twenty postings, not the whole market, but it is enough to decide what goes at the top of the portfolio.
Careful
Never publish an API key, real customer data or internal prompts in a portfolio. Use made-up data and a separate demo key, with a daily spending cap.
Practice · 5 min
- Write a short README for one of your projects: what it is, why it exists, how to run it and how to measure it.
- For each number in the README, ask where the script that calculates it is. Remove whatever has no answer.
- Ask someone who has never seen the project to follow the README, timed. Fix the places where they got stuck.
Summary
- Every number in the portfolio has a script that reproduces it.
- The repository needs to run in ten minutes for someone who has never seen it.
- Leaked secret: change the key first.
- Tell what failed. It is the part that convinces the most.
Sources
Read on October 30, 2026.
- GitHub. About push protection: protection turned on by default for users.
- GitHub. Removing sensitive data from a repository: revoke first.
- SciPy. scipy.stats.bootstrap: confidence interval by bootstrap.
Lesson quiz
Three situations to apply what you learned.
Isaque Victor free courses