"hungry judge effect" is a debunked myth.
The story of its debunking is so much more interesting: https://www.cambridge.org/core/journals/judgment-and-decisio...
It's been criticized, but "time since last meal" is still known to be a predictor of harsher sentences (even when you control for legal representation / severity).
The story of its debunking is so much more interesting: https://www.cambridge.org/core/journals/judgment-and-decisio...