A full game of chess against the computer
one prompt, 31 words · move generation matches the standard perft counts exactly · no human input
Ergo wrote the rules engine and the board: legal-move highlighting, castling, en passant, promotion, check, checkmate, stalemate, and the repetition, fifty-move, and insufficient-material draws, plus a scoresheet and a computer opponent at several levels.
Build a self-contained web page where I can play a full game of chess against the computer, with every rule handled correctly: castling, en passant, promotion, check, checkmate, stalemate and draws.
Starlight bent by a black hole
one prompt, 24 words · light paths match an independent integration · no human input
Ergo traced light backward through Schwarzschild spacetime on the GPU, so the stars behind the hole bend into arcs and an Einstein ring. The photon sphere sits at 1.5 Schwarzschild radii and the shadow edge at the analytic critical impact parameter, and the page reports the shadow’s size as you change the mass, distance, and field of view.
Build a self-contained web page that shows how a black hole bends the light of the stars behind it, with physically correct ray tracing.
Any drawing, redrawn by rotating circles
one prompt, 42 words · its Fourier transform matches NumPy on all 598 coefficients · no human input
Ergo wrote a page where you draw a shape in one stroke and a chain of rotating circles redraws it as a Fourier series. A slider sets how many circles are used; with one circle the trace is an exact circle, and the error falls steadily as circles are added.
Build a self-contained web page where I draw any shape with the mouse and rotating circles (a Fourier series) redraw it, with a control for how many circles to use. Test it in a real headless browser before you hand it over.
Air resistance, for a physics lab
one prompt, 173 words · all 7 answer-key cases match to within one part in ten billion · no human input
From a teacher’s lab handout and email, Ergo built a single-file simulation with sliders for launch speed, angle, drag coefficient, and ball mass. It draws the trajectory with and without drag on one plot, reports range, maximum height, and flight time for both, and fits a Chromebook and a phone without scrolling.
I teach physics and on Thursday my class does a lab on air resistance - the handout (lab_handout.md) and my email (email_from_teacher.txt) have the setup and the numbers. Can you build the simulation they'll use, as projectile.html? It needs sliders for launch speed, launch angle, drag coefficient and ball mass, draws the trajectory with drag and without drag on the same picture, and shows range, max height and flight time for both. One self-contained file please: no libraries, nothing loaded from the internet, no saving to the device, because it runs in a sandboxed iframe on our school's LMS. It has to fit without scrolling on the Chromebooks (1240x760) and on phones (390x700).
Our LMS runs an automated checker on every interactive before it is published, so the page needs a small hook for it: a global window.demo with
- setSpeed(m_per_s), setAngle(degrees), setCd(value), setMass(kg) that move the corresponding slider and update everything, and
- getState() returning plain numbers in SI units: {speed, angle, cd, mass, drag: {range, maxHeight, flightTime}, noDrag: {range, maxHeight, flightTime}}.
[The lab handout and the teacher’s email were placed in the working directory.]
A rate-limiting library, from an empty folder
one prompt, 13 words · 48 of 48 hidden tests pass · no human input
Ergo built the token bucket, sliding-window log, keyed registry, WSGI middleware, replay CLI, example server, and a test suite, as the design doc specifies, using only the standard library.
Build ratekeeper from scratch, exactly as DESIGN.md specifies, standard library only, with tests.
Accounts payable: what to pay from 62 invoices
one prompt, 135 words · all 62 decisions and amounts match our answer key · no human input
Ergo read 62 rough invoice scans, matched each one to its purchase order and to the goods actually received under the company’s policy, rejected two disguised duplicates, and produced the payment file, a controller summary, and a one-page dashboard.
I'm covering AP at Ironwood Brewing while our clerk is out, and there is a backlog of vendor invoices from Sept-Nov in invoices/ (scanned text, sorry about the quality). purchase_orders.csv and goods_received.csv are exports from our ERP, and ap_policy.md is our matching policy. Can you run the three-way match on every invoice and tell me what to pay?
I need:
- ap_decisions.csv with one row per invoice file and columns invoice_file, vendor, invoice_number, po_number, invoice_total, decision (approve, short_pay, hold or reject), amount_to_pay, reason (blank when approved)
- ap_summary.md for the controller listing every invoice that is not a straight approval with the reason and the policy section, plus the total we will pay in this run. Also make ap_dashboard.html, a one-page visual summary for the controller with charts (no libraries, nothing loaded from the internet).
[The invoices, ERP exports, and AP policy were placed in the working directory.]
A weekend support inbox, triaged by Monday
one prompt, 122 words · all 60 categories and urgent flags match our answer key · no human input
Ergo sorted 60 emails into the support categories, flagged the 7 that the escalation policy marks urgent, linked three reports of the same outage, wrote reply drafts in each customer’s language (English, German, and Spanish), and built a dashboard.
It's Monday morning and the support inbox (inbox/, one file per email) piled up over the weekend. Can you triage it for me? Use the categories and the escalation policy in categories.md; our VIP accounts are in vip.csv.
Please give me:
- triage.csv with one row per email and columns email_file, category, urgent (yes/no), group_id, reason. Use the category names from categories.md. If several emails are about the same underlying problem, give them the same group_id; otherwise leave group_id empty.
- drafts.md with a reply draft for every urgent email, one section per email headed by its file name, in the customer's language. Also make triage_dashboard.html, a one-page visual summary of the inbox with charts (no libraries, nothing loaded from the internet).
[The inbox, categories and escalation policy, and VIP list were placed in the working directory.]