
How to Humanize a Student README and Code Comments
AI-written READMEs and comments describe features your code does not have. How to write documentation that explains what you built, why and how to run it.
Computer science instructors read student READMEs and code comments for two reasons: to understand the project and to check that the student understands it. AI-written documentation tends to fail both. A model asked to write a README produces a polished page that describes a "robust, scalable application" with features the code does not have, installation steps for a different setup and a contributing section for a two-week class project. AI-written comments explain the obvious ("increment the counter") and miss the decisions that actually matter.
This guide shows how to write a README and comments that explain what you built, how it works and why you made the choices you did.
Check the course rules
Computer science courses vary widely on AI. Some allow AI coding assistants with disclosure; some allow them for certain tasks only; some prohibit them entirely for graded work. Documentation is often treated as evidence of understanding, so it may be covered by stricter rules than code. Read the policy and ask if unsure. If you used AI for any part of the project, disclose it as required, often in the README itself.
What a good student README contains
A useful README answers a reader's questions in order: what does this do, how do I run it, how do I use it, how does it work, and what are its limits? For assignments, add anything your instructor asks for, such as your name, the assignment number, how to run tests, design decisions and AI use. Keep it accurate and short.
Why AI READMEs read wrong
A model writing a README draws on thousands of open-source READMEs, so it produces their style: badges, feature lists, marketing adjectives and sections for contributors and licences. It does not know your code, so it guesses features and commands. Instructors notice immediately when a README describes something the code does not do, and it raises questions about who wrote the code.
Describe what you actually built
Here is a typical AI-generated README introduction:
TaskMaster is a robust and scalable task management application that leverages modern technologies to deliver a seamless user experience. It features real-time synchronisation, advanced filtering, and intuitive design.
And a student's version:
TaskMaster is a command-line to-do list for CS 210 Assignment 3. It stores tasks in a local JSON file and supports add, list, complete and delete. I used a dictionary keyed by task ID rather than a list so that delete runs in constant time; the trade-off is that listing tasks in creation order needs a sort.
The second version is accurate, specific and shows a design decision with its trade-off. An instructor learns more from it in two sentences than from a page of features.
Make the run instructions work
Write installation and run instructions by actually following them on a clean machine or environment. List the language version, dependencies and exact commands. Include an example of input and output. If tests exist, explain how to run them. AI-generated instructions often reference files or commands that do not exist in your project.
Explain design decisions and limitations
Instructors value a short section on why you made the choices you did: data structures, algorithms, libraries, architecture. Explain the trade-offs. Then be honest about limitations and known bugs. "Deleting a task that does not exist crashes the program; I ran out of time to handle it" is more useful, and more credible, than claiming the program is complete.
Comments that explain why
Good comments explain intent, not mechanics. The code already says what it does; a comment should say why, especially where the reason is not obvious. Note edge cases, assumptions, performance considerations and anything you tried that did not work. Remove comments that just restate the code. AI-generated comments often do exactly that, adding noise without information.
For example, instead of "loop through the list", write "check every task because IDs may not be sequential after deletions". Instead of "return the result", explain any special cases the return value covers.
Disclose AI use clearly
If your course allows AI with disclosure, include a short section in the README: which tool you used, for what and how you checked its output. For example: "I used GitHub Copilot to suggest the argument-parsing code in cli.py and rewrote the error handling myself. All other code and this README are my own." Follow your instructor's format if one is given.
A workflow that keeps it yours
Write the README after the code works, while you remember your decisions. Start with a one-paragraph description in your own words, then add run instructions you have tested, a short design section and known limitations. Review your comments and keep only those that explain why.
A tool like Human Writes can help smooth the prose of a README if your course allows it, but never let any tool add features or instructions you have not verified. For related technical writing, see humanizing a README, humanizing a pull request description and humanizing an error analysis write-up.