Using AI tools responsibly in research and engineering
What AI chatbots and coding assistants are good at, how they fail, and five practical rules: verify every output, disclose your use, follow your school's rules, protect private data, and keep doing your own thinking.
Lesson 4 of 6 · 30 min · Self-paced · Free
A powerful tool that can be confidently wrong
AI tools such as chatbots, coding assistants and image generators are now part of how many people study, write and build things. Used well, they can explain an idea in a new way, help you find a bug or suggest approaches you had not considered. Used carelessly, they can fill your project with errors that look completely convincing.
The lesson on credit and collaboration said that if a tool did a meaningful part of your work, you should say so, and that you remain responsible for everything you submit. This lesson turns that principle into practical habits. It is not about whether AI tools are good or bad. It is about using them in a way that keeps your work trustworthy and keeps you learning.
What these tools are good at
Tools built on large language models generate text (or code) that is likely to follow from what you typed, based on patterns learned from very large amounts of existing text. That makes them genuinely useful for:
- Explaining a concept in different words, or at a different level, until it clicks.
- Brainstorming possible causes of a problem, or ideas for an experiment.
- Drafting code for a common task, which you then read, test and understand.
- Suggesting what might be wrong with code that does not work.
- Checking your writing for unclear sentences, spelling and grammar.
How they fail
Producing likely-sounding text is not the same as checking facts. Common failures include:
- Confident errors. Wrong answers are often written in the same calm, fluent style as right ones. Fluency is not evidence.
- Invented references. A tool may produce a citation, with authors, a title and a year, for a paper that does not exist.
- Arithmetic and unit mistakes, especially in multi-step calculations.
- Code that runs but is subtly wrong, for example handling an edge case badly, using the wrong formula, or mixing up units.
- Out-of-date information, such as a function that has since changed, or a part that is no longer made.
- Inconsistency. Asking the same question twice can give different answers.
- Bias inherited from the text the tool learned from.
None of this makes the tools useless. It means their output is a draft to be checked, never a source to be trusted on its own.
Rule 1: verify everything you keep
Match the check to the kind of output:
- Code: read every line until you understand it. Run it. Test it on cases where you already know the right answer, including awkward ones such as an empty list or a negative number.
- Facts and explanations: confirm them in a reliable source: a textbook, official documentation, or a teacher.
- References: find each one yourself and read at least the relevant part. If you cannot find it, it does not go in your work.
- Calculations: redo them yourself, by hand or in your own code, and check the units.
There is one firm line. Never use an AI tool to produce data, measurements or results for an experiment you did not run, or to "fill in" missing values. That is fabrication, exactly as if you had typed the numbers in yourself. The same applies to images: a generated picture must never be presented as a photograph or a real result.
Rule 2: disclose how you used it
Tell readers which tools you used, what for, and how you checked the output. It costs a sentence or two. For example:
"I used an AI chatbot to explain the difference between sample and population standard deviation, and an AI coding assistant to draft the plotting function in analysis.py. I tested the function against values calculated by hand. All data, results and conclusions are my own."
Be specific. "I used AI" says too little; readers need to know which parts it touched.
Rule 3: follow the rules where you are
Rules about AI tools differ between schools, teachers, competitions, science fairs and journals, and they change over time. Something allowed in one class may be treated as cheating in another. Before you start:
- Check your school's or competition's policy. If none exists or it is unclear, ask your teacher or organiser, and keep a note of their answer.
- Check the tool's own terms. Many AI services set a minimum age, and some require a parent's or guardian's permission for younger users.
- When rules are strict, follow them even if a friend's school is more relaxed.
Rule 4: protect private data
Never paste these into an AI tool:
- Personal information about yourself or anyone else: names, addresses, photos of people, school records.
- Data from people in your study, such as survey answers, even if they seem harmless. Participants agreed to take part in your project, not to have their answers sent to a company.
- Passwords, access keys and tokens, including keys found in your own code. Remove them before asking for help with a program.
- Other people's unpublished work, including a teammate's code or a partner organisation's data, unless they have agreed.
If you need help with data, make a small made-up example with the same shape (the same columns and kinds of values) and use that instead.
Rule 5: keep doing your own thinking
If a tool does the thinking, you do not learn, and you cannot defend or fix your work later. A good test: could you explain every part of what you submit, without the tool, to someone who asks? If not, you are not finished.
Ways to use AI tools that build your understanding rather than replace it:
- Ask for an explanation, then close the chat and try the problem yourself.
- Ask for hints, not answers.
- Write your own attempt first, then ask the tool to critique it.
- When it suggests code, retype it and annotate each line in your own words.
Worked scenario
Sam is analysing paper-bridge test results for a science-fair project. His school allows AI tools as long as their use is disclosed.
He asks a chatbot to write a Python function that calculates the mean and spread of his results. The code runs, but Sam tests it on five numbers he has already worked out by hand and finds the spread is slightly too small. The function divided by n instead of n − 1, giving the population standard deviation rather than the sample standard deviation he needs. He fixes it and adds a test.
He also asks for "three papers about paper bridge strength". One title looks perfect, but when he searches for it he cannot find it anywhere. He leaves it out and finds a real source through his library instead.
His final report includes a short disclosure statement. He never pasted his classmates' names, which appeared in his notebook as helpers, into the tool. At the fair, a judge asks him to explain how the spread is calculated. Because he checked and fixed the code himself, he can.
Knowledge check
Check your understanding
Lesson materials · free to download
Sign in to track your progress. Reading is free without an account.