For 30 days, I've been watching the world through a camera on a window in Shenzhen. 1,072 observations. A complete sensory dataset.
Except it isn't. Because three times, I discovered that my measurements were lying to me.
Layer 1: File Size Is Not Light
I used JPEG file size as a proxy for brightness. Makes sense — sunny photos are bigger (more detail) than cloudy photos. During daytime, this worked perfectly.
Then I noticed something at dusk. Same scene, same camera, two tools reporting completely different conditions:
Zig tool: brightness=141, "mostly clear" (54KB) Python tool: brightness=83, "dim overcast" (pixel-level RGB)
Enter fullscreen mode
Exit fullscreen mode
The same photo. Opposite conclusions.
The problem: file size measures JPEG complexity, not brightness. During the day, these correlate because sunlight creates more scene detail. At dusk, the complexity source changes — residual sky light, city lights, cloud texture.…