Show HN: Checking Pope's election results with smoke test script for chimney

21 vasusen 10 5/8/2025, 4:13:44 PM github.com ↗
This Playwright test script uses AI to test if there's smoke coming out of the Sistine Chapel chimney and whether that smoke is white. The test only passes if the smoke is white.

Currently, set to use Google Gemini Flash 2.0, but you can switch it to use other LLM providers/models by setting the environment variable in the Github actions workflow: https://github.com/donobu-inc/donobu-papal-election-tests/bl...

I've set it to run every minute during the Papal Conclave election times - https://github.com/donobu-inc/donobu-papal-election-tests/ac...

Comments (10)

devonbleak · 3h ago
Alternative version: check for dings on my phone from every news outlet sending a notification about it.
akmarinov · 3h ago
Test should be passing now
vasusen · 3h ago
It passed right when the smoke started coming out - https://github.com/donobu-inc/donobu-papal-election-tests/bl...
hcaz · 3h ago
What was your motivation to use AI for this instead of simple image analysis?
ksajh · 3h ago
Writing prompts is much simpler than image analysis plus they make a AI test framework thingy
vasusen · 2h ago
Image analysis would be better. I just wanted to test it quickly with different models (Gemini, GPT 4o, etc.) using an AI testing framework I am building
akmarinov · 3h ago
AI’s cool
codr7 · 3h ago
AI is for cool fools
alkh · 2h ago
How much did you end up spending on API credits for Flash 2.0?
vasusen · 1h ago
$0.29 over the past 2 days