Debug a Python Job Scheduler: Failed Jobs Stuck in PENDING and Async Jobs Never Run

Quick Overview

Debug an existing Python job scheduler from bug reports and write a regression test for every fix. A threaded, heap-based scheduler leaves failing jobs stuck in PENDING, and an asyncio-based scheduler seems never to run submitted jobs; tests root-cause analysis, failure handling and deterministic concurrent tests.

Debug a Python Job Scheduler: Failed Jobs Stuck in PENDING and Async Jobs Never Run

Company: OpenAI

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: hard

Interview Round: Onsite

Overview: Debug an existing Python job scheduler from bug reports and write a regression test for every fix. A threaded, heap-based scheduler leaves failing jobs stuck in PENDING, and an asyncio-based scheduler seems never to run submitted jobs; tests root-cause analysis, failure handling and deterministic concurrent tests.

Read the full OpenAI Software Engineer interview experience this question came from

OpenAI logo
OpenAI
Jul 29, 2026
hardSoftware EngineerOnsiteSoftware Engineering Fundamentals
11
0
Loading...