# mshang/python-elevator-challenge

So You Think You Can Program An Elevator

Repository: https://github.com/mshang/python-elevator-challenge
Canonical: https://ross.abutalabs.com/products/python-elevator-challenge
Language: Python
License: MIT
License Family: permissive
Last push: 2025-11-02T20:39:27+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 50, release rhythm 35, longevity 100
- inputs: {"age_days": 3889, "days_push": 304, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1380, forks 191 (observed 2026-08-28T04:04:33.777516+00:00)

## What it is
A Python coding challenge where participants implement the business logic for a simplified elevator simulator until all doctest examples pass. It provides a simulator, test harness, and a naive broken implementation to fix.

## Use cases
- practice implementing elevator scheduling logic in python
- find a coding exercise to sharpen algorithmic thinking
- prepare for programming interviews with a fun challenge
- learn python doctest by running a real test harness
- contribute a solution to an open-source coding challenge

## When to choose
- you want a small, well-scoped programming exercise in python
- you are teaching or learning state-machine-style business logic
- you want to practice test-driven development with doctest

## When to avoid
- you need a real elevator control or building automation system
- you want a full-featured simulation framework with physics or traffic optimization
- you need production elevator dispatch algorithms

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: simulation, testing, developer-tools
- domain: education, programming-languages
- platform: python, cli, cross-platform
- tags: coding-challenge, elevator-simulation, doctest, python-exercise, interview-practice, algorithms

## Member repositories
- mshang/python-elevator-challenge (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.777516+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:15.565219+00:00, confidence not recorded.
  - readme: https://github.com/mshang/python-elevator-challenge (fetched 2026-08-28T04:04:33.777516+00:00, sha 87d9d815ee45)
- Data as of 2026-08-30T08:39:29.467469+00:00.
