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|
Explorer

Reference

Code

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

The execution host keeps running out of disk. Temp directories under /tmp/canary/ are piling up instead of being removed. Diagnose why, then fix it in solution.py. CAR-523 has the incident context.

What you have

CAR-523The Jira ticket — full incident context and team discussion
PR #1098The PR that originally shipped execute_run()
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 incident and the code
  2. 02Reproduce the symptom and trace it to its root cause
  3. 03Edit solution.py with your fix
  4. 04Click ▶ Run to validate with the hidden test suite
  5. 05Submit 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