Data Preparation
Audit repeated greenhouse events
Two repeated IDs do not mean two extra rows
Overlapping sensor exports can include extra copies of the same event. Botie has stable event IDs and needs to audit duplicate rows.
BOTIE
The inputs we are comparing
Imported sensor event IDs
An overlapping export
- 0101
- 1102
- 2102
- 3103
Several copies
- 08
- 18
- 28
- 39
- 410
- 510
Result for an overlapping export
1
One event exported four times
This check uses the pieces from “Count copies beyond distinct event identities”.
BOTIE
- Imported sensor event IDs
- 051
- 151
- 251
- 351
Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
Why could equal temperature values be legitimate while equal stable event IDs signal copies, and what assumption makes this audit valid?
Use observation identity to detect duplication. A repeated measurement value alone does not identify the same event.
This audit assumes IDs identify events reliably. It does not decide which conflicting record should be kept.
Work through the Python challenges →