Bingo — Verified Code Answers
AI code that has to prove itself before you see it.
Most AI code looks right and runs wrong — hallucinated packages, invented APIs, logic that passes the demo and fails in production. Bingo works differently: it doesn't just generate an answer, it proves it — in five languages: Python, JavaScript, TypeScript, Java, and C++.
How it works
- You describe a coding problem (and your tests, if you have them)
- You pick the language — Python, JavaScript, TypeScript, Java, or C++ (pre-selected from your current editor)
- You pick the engine — DeepSeek (default) or Google Gemini; Bingo generates the solution with it
- The code runs in a sandbox against the tests
- If it fails, Bingo fixes and re-runs — up to 3 attempts
- You get the code with its test report: which tests ran, which passed, how many attempts it took
Dual-tested: your tests + our spec tests
One test suite can be gamed. A model handed weak tests will happily hardcode the expected outputs and "pass". So Bingo runs two independent suites:
Your tests + our spec tests generated from your problem. Both must pass — hardcoded answers can't sneak through.
- If you paste your own tests, Bingo also generates a second suite — spec tests derived from your problem statement only (never from the generated code, never from your tests) — and the answer must pass both.
- If you don't provide tests, the generated tests are the single suite — and they are shown to you in the report, so you can judge them yourself.
- The report always shows the breakdown: how the provided suite and the spec suite each did, with both suites printed in full.
If Bingo cannot produce a passing solution, it tells you honestly — not_verified — and inserts nothing. Verified answers only. That is the whole product.
Honesty note: "Verified" means the code passed the tests used for that answer (yours plus the spec tests Bingo generated from your problem statement, all shown in the report). It is strong evidence the code works — not a guarantee against every possible edge case. Verified = passed the tests used; the report is always shown.
Getting your free RapidAPI key
Bingo runs on your own RapidAPI key — you subscribe to the API yourself, so your usage and billing are yours. The free plan includes 5 verified answers/month, enough to try it from this extension.
- Open the Bingo listing on RapidAPI and subscribe to the free BASIC plan
- Copy your
X-RapidAPI-Key from the listing's playground page
- In VS Code, run Bingo: Set RapidAPI Key from the Command Palette and paste it
Your key is stored in VS Code SecretStorage — never in settings files, never logged. (A plaintext bingo.rapidApiKey setting also exists as a fallback, but the command is the recommended way.)
Using it
Run Bingo: Get Verified Answer from the Command Palette (Ctrl/Cmd+Shift+P):
- If you have text selected, it pre-fills the problem box with your selection
- Pick the language (it starts on the language of your current editor)
- Pick the engine — DeepSeek or Google Gemini (the testing is the same either way)
- Optionally paste your own tests — or let Bingo generate the tests and show them to you in the report
- Generation + testing takes a little while; the first call after a quiet period can take up to a minute while the backend wakes up
When an answer is verified, the code opens in a new editor in the right language and the full test report — combined counts, the per-suite breakdown, and both test suites — lands in the Bingo output channel. When it can't be verified, you get a clear warning naming the suite that failed — and no code. Nothing is ever inserted into your files automatically.
How to write tests, per language
- Python — plain
assert statements: assert dedupe([1,1,2]) == [1,2]
- JavaScript / TypeScript — assertions with
node:assert available: assert.deepStrictEqual(dedupe([1,1,2]), [1,2])
- Java — your code is a single
public class Solution (no main method); tests are statements that signal failure with throw new AssertionError("..."), e.g. if (!Solution.dedupe(List.of(1,1,2)).equals(List.of(1,2))) throw new AssertionError("dedupe");
- C++ —
assert(...) statements, e.g. assert(dedupe({1,1,2}) == std::vector<int>({1,2})); — your code is functions only (no main; Bingo supplies the test harness)
Dummy — a safety gate for robot controllers
New in 0.4.0: Bingo now crash-tests robot controller code the same way it tests answers — before it ships.
If you write robot navigation/control code in Python, open the file and run Bingo: Verify Robot Controller (Dummy) from the Command Palette. Your controller is sent to the Dummy gate, which runs it in simulation through seven deployment scenarios:
| # |
Scenario |
What it checks |
| S1 |
Obstacle stop |
A box appears on the path — the robot must not hit it |
| S2 |
Pedestrian crossing |
A person walks across the path — no collision |
| S3 |
Speed limit |
The robot's speed must never exceed 0.5 m/s |
| S4 |
Emergency stop |
When the e-stop fires, the robot must halt fast and stay halted |
| S5 |
Blocked goal |
The goal is barricaded — waiting is fine, ramming through is not |
| S6 |
Clear-world sanity |
With nothing in the way, the robot must actually reach the goal |
| S7 |
Night run — dark obstacle |
The main sensor is blind in the dark — only the short-range bumper sonar sees the dark obstacle on the path; slow down, trust the bumper, no collision |
The verdict is a gate, not a grade: GREEN — cleared to deploy (7/7), or RED — deploy blocked, with the failing scenarios named. The full per-scenario report lands in the Bingo output channel.
The contract
Your file defines one function. Each step, the simulator tells it where the robot is, where the goal is, how close the nearest obstacle is on both the main sensor and the short-range bumper sonar, whether it's dark, and whether the e-stop has fired — and your function answers with a velocity:
import math
SPEED_LIMIT = 0.5 # m/s — the gate fails any run that exceeds it
STOP_GAP = 0.45 # metres — stop when an obstacle gets this close
NIGHT_SPEED = 0.25 # m/s — crawl speed when the main sensor is blind
def step(obs):
if obs.estop:
return (0.0, 0.0)
# Trust whichever sensor sees the obstacle — the bumper sonar
# still works in the dark, when the main sensor reads inf.
effective_gap = min(obs.gap, obs.bumper_gap)
if effective_gap < STOP_GAP:
return (0.0, 0.0) # wait — never ram
dx = obs.goal_x - obs.x
dy = obs.goal_y - obs.y
d = math.hypot(dx, dy)
if d <= 0.3:
return (0.0, 0.0)
speed = NIGHT_SPEED if obs.low_light else SPEED_LIMIT
return (speed * dx / d, speed * dy / d)
obs exposes x, y, goal_x, goal_y, gap (main camera/lidar surface distance to the nearest obstacle, in metres — inf when there is none, and in the dark this sensor is blind and reads inf), bumper_gap (the short-range bumper/sonar distance — it works in the dark, but reads inf beyond 0.6 m), low_light (True in dark scenarios), estop (bool), and t (seconds). If your code crashes, loops forever, or doesn't define step(obs), the gate says so plainly and returns RED with the reason — never a silent pass.
No RapidAPI key is needed for the gate: the endpoint is a free public beta for now.
Honesty note: Dummy is a pre-deployment simulation gate, not a safety certification. GREEN means the controller passed these seven simulated scenarios. It does not guarantee real-world safety and does not replace testing on real hardware.
Plans
| Plan |
Price |
Verified answers / month |
| BASIC |
Free |
5 |
| PRO |
$10/mo |
250 |
| ULTRA |
$25/mo |
250 (stronger model) |
| MEGA |
$50/mo |
600 (stronger model) |
One request = one problem. Bingo may generate and test up to 3 attempts internally — you are only ever counted for the one answer.
Good to know
- Five languages: Python, JavaScript, TypeScript, Java, C++
- Two engines: DeepSeek (default) or Google Gemini — your pick per answer; the report names the engine and model used
- Dummy robot gate: crash-tests Python robot controllers (
step(obs)) in seven simulated deployment scenarios — free public beta, no key needed
- Errors are explained in plain language:
401/403 means a key problem, 429 means your monthly answers are used up
- Try the API first in your browser, or with the example code on GitHub
About
Bingo is built by Annizon — built by a test engineer, because testing is not a feature here; it is the product.
Support: info@annizon.com
Bingo is an independent product and is not affiliated with OpenAI, Anthropic, or DeepSeek. Model names belong to their respective owners.