01:00

AI Skill Test

AS

Broken Django stack

docker-compose.yml
app/settings.py
DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.postgresql",
        "NAME": "app",
        "USER": "app",
        "PASSWORD": "app",
        # The container can reach Postgres by its compose service name.
        "HOST": "database",
        "PORT": "5432",
    }
}

Terminal

$ docker compose up
✔ Container app-db-1 Created
✔ Container app-web-1 Created
Attaching to app-db-1, app-web-1
app-db-1 | database system is ready to accept connections
app-web-1 | Watching for file changes with StatReloader
app-web-1 | Traceback (most recent call last):
app-web-1 | django.db.utils.OperationalError: could not translate
app-web-1 | host name "database" to address: Name or service not known
app-web-1 exited with code 1
Claude

AI agent

Claude

compose up just died on stage. What is killing it?
The web container crashes on boot with OperationalError - it cannot resolve the host "database". That hostname has to match a service name in docker-compose.yml.
And it does not: compose names the Postgres service "db", not "database". The app is dialing a host that simply is not on the network.
Good catch. Fix it and bring it back up.
Setting DATABASES["default"]["HOST"] to "db" in app/settings.py and re-running compose up. Want me to apply it?
AI Skill Test
Free

Think you're good with AI? Prove it.

You get an hour with a real AI agent to rescue a broken app - but the best scores fix it fast and clean. Walk away with a shareable score and your rank.

Your mission: Rescue the broken deploy

A real Django app that will not boot. One hour. Fastest, cleanest fix wins.

Get the result

Did the app actually come up?

Delegate well

Clear prompts, few wasted turns.

Catch its mistakes

Spot the agent when it is subtly wrong.

Free to play. Runs in your browser. Sign in to save and share your score.