School/✦ Research Engineer/Week 32
Honest records: notebooks, fabrication and falsification
One run crashed and one looks 'obviously wrong'. Deleting them would make the graph cleaner. What is the line between cleaning and falsifying?
About 35 min · 3 goals · Checked by automated tests
1.Why should I care?
Integrity failures rarely start with villains. They start with a tired researcher tidying a graph. Clear rules made before the data, and a notebook written as you go, make the honest path the easy one.
- ◇ Keep a dated research notebook written at the time.
- ◇ Define fabrication and falsification and recognise their subtle forms.
- ◇ Handle anomalous runs with pre-stated rules and full reporting.
2.Predict
Which is falsification?
Guess first. Being wrong here is how the surprise works.
3.Understand
The research notebook
Dated entries, written at the time: what you planned, what you did, what happened, what went wrong and what you decided. Never rewrite history: add corrections as new entries. In code, an append-only log with seeds and settings is your notebook.
Fabrication and falsification
Fabrication is making up data or results. Falsification is manipulating materials, equipment, processes, data or images, or omitting data, so the record misrepresents the work. Together with plagiarism they are the core forms of research misconduct.
Anomalies
Decide exclusion rules before data (e.g. 'runs where the simulator reports a numerical error'). Apply them by script. Report how many runs were excluded and why, and show results with and without exclusions when it matters. A run that merely disagrees with you is data.
Explain it another way
A diary rewritten after the fact is a story, not a record.
Research misconduct is commonly defined as fabrication, falsification or plagiarism in proposing, performing, reviewing or reporting research; honest error and differences of opinion are not misconduct.
Negative results, such as 'the filter did not help', are honest, publishable and save others from repeating the attempt.
Worked example 1
Two of 20 runs give errors five times larger than the rest. No rule was pre-stated. What do you do?
Keep them. Investigate the logs: if a recorded fault explains them, report that, show results with and without, and propose the rule for future studies. Do not silently delete them.
Common mix-ups
- Removing obviously wrong data points is just good cleaning.
✓ Cleaning follows rules fixed in advance and is fully reported. Removing points because they look wrong to you is selective reporting.
4.Discover
Write a small logging function that appends each run to a list with a timestamp, seed, settings and outcome, and never overwrites. Add a second function that marks a run as excluded with a reason, keeping the original row. Print both the full log and the analysed subset.
Can't use the interactive? Read a description instead
The code studio activity writes an append-only run log with timestamps, seeds, settings and outcomes, plus a function that marks exclusions with a reason without deleting rows. A paper notebook with dated, never-erased entries is an equivalent alternative.
5.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
A learner runs out of time and writes in five plausible results for runs never done. This is…
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
Which exclusion is legitimate?
Practice 3
Your hypothesis was refuted. What is the right thing to report?
Practice 4
What should you do when a notebook entry turns out to be wrong?
7.Apply it
Start your capstone notebook today with a dated entry: plan, pre-registration link, pilot status. Write your exclusion rules in it before any confirmatory run.
8.Reflect
Concepts: Honest reporting and research integrity · Reproducibility and documentation