1/4

Welcome to your Canary interview

This workspace runs exactly like your day-to-day environment — real editor, real sandbox, real test runner. What you do here is what you'd do on the job.

Canary
38:00|
refs

Canary · Technical Interview

Overview

You've been assigned a real bug from an engineering backlog. Fix it the way you would on the job.

Your task

Fix execute_run() in solution.py so that sandbox directories are always cleaned up after a run — even when the run times out or crashes.

What you have

CAR-523The Jira ticket — full incident context and team discussion
PR #1098The original implementation that introduced the bug
solution.pyThe file to fix
tests.pyRun these to validate your solution
README.mdSandbox API reference
AI AssistantOpen via the Chat button in the toolbar — usage is recorded
Your teamComment on the Jira ticket and a coworker will respond

How to proceed

  1. 01Read CAR-523 and PR #1098 to understand the bug and its context
  2. 02Edit solution.py with your fix
  3. 03Click ▶ Run to validate with the hidden test suite
  4. 04Submit when you're confident in your solution

Notes

Your approach, AI usage, and solution quality are all evaluated — not just whether tests pass. Use tools as you would on the job. There's no single right path.

refs
PythonUTF-8