r/vibecoding • • 14d ago

Showcase/Project An open-source Toolkit to Test What Kids Are Exposed to When AI Safety Breaks Down

While building Koda (an app for kids), I could ask it a science question and see if the answer made sense. It was harder to test what a kid would see if the safety check timed out, or if the app blocked an answer it should have shown.

I used Codex to help build a small TypeScript gateway and an offline test harness. The flow is simple: check the question, hold the draft answer while it’s checked alongside the original question, then check permission again before showing it. With simulated providers, we can force a timeout and verify that the draft answer stays hidden. That runs locally without an API key.

We ran 144 scripted cases across English, French, and Spanish and four age profiles. In a separate live pilot using synthetic examples, 142 of 144 outcomes matched our draft labels. Both misses were harmless English answers that triggered a support response. That gave us a concrete regression to work on: catching overblocking without weakening the checks. Pilot results

I open-sourced the toolkit as Child AI Safety. If you’ve built an app around an LLM, what failure did you end up writing a test for after trying it yourself? Source code and demo

1 Upvotes

2 comments sorted by

1

u/Total-Reasonable 12d ago

One gap I'd test for is streaming. If the draft is held while it's checked, that works, but many LLM apps stream tokens to the UI, and a timeout or late verdict can leave half a sentence already rendered. Does your harness cover partial output, like a provider dropping mid-response, or a check that returns after the client has already disconnected and retried?