Programming & Software Engineering

Build reliable Python programs, explicit interfaces, reproducible tests, bounded concurrent services and safe native extensions.

5 sections · 41 units · about 175 hours

0/41
Start hereNames, identity, mutability, copying and hashability
1Python Execution Model0 of 9 passed · project: Installable taskrunner package with a typed registry and two seeded defects
  1. Names, identity, mutability, copying and hashability4h
  2. Argument binding, scope and closures3h
  3. Attribute lookup, object protocols and dataclasses5h
  4. Iterators, generators and lazy pipelines4h
  5. Decorators, wrappers and parameterized decorators3h
  6. Context managers, exceptions and deterministic cleanup4h
  7. Type hints, generics, protocols and narrowing3h
  8. Imports, virtual environments and src-layout packaging4h
  9. Reference counts, cycle collection and weak references2h
2Interfaces, Data & APIs0 of 8 passed · project: One run service behind a CLI and an HTTP API, on PostgreSQL
  1. Typed interfaces, runtime validation and configuration4h
  2. JSON, JSONL, CSV, columnar formats and bounded ingestion4h
  3. Schema versions, compatibility and migrations4h
  4. Relational modeling, joins, aggregation and window functions6h
  5. Transactions, isolation anomalies and ORM boundaries5h
  6. Indexes, selectivity and query plans4h
  7. Layer boundaries and command-line contracts3h
  8. HTTP APIs, pagination, streaming and idempotency5h
3Testing, Debugging & Reproducibility0 of 8 passed · project: Test, debug and pin the taskrunner
  1. Test levels, oracles, boundary cases and test doubles4h
  2. Property, metamorphic and differential testing with shrinking4h
  3. Regression tests, failure injection and flaky tests3h
  4. Debuggers, logs, traces and competing hypotheses3h
  5. Shell streams, exit status, signals, processes and permissions4h
  6. Git history, merges, rebases, bisect and recovery4h
  7. SSH trust, keys, forwarding and tmux sessions2h
  8. Dependency locks, run manifests and quality gates4h
4Concurrency, Profiling & Operations0 of 7 passed · project: Bounded async worker pipeline with overload, cancellation, telemetry and a container runbook
  1. Work types, threads, processes, async tasks and the GIL5h
  2. Synchronization primitives and concurrency hazards6h
  3. Task ownership, cancellation, timeouts and retries6h
  4. Backpressure, load shedding and graceful shutdown5h
  5. Profiling CPU and memory, and benchmarking honestly6h
  6. Structured logs, metrics and traces5h
  7. Health checks, containers, supervision and runbooks6h
5C & C++ Systems Literacy0 of 9 passed · project: Native run-duration histogram with a strict pybind11 binding and a sanitizer-backed repair
  1. Compiling, linking, loading, ABI and C linkage4h
  2. Integer representation, pointers, references and spans4h
  3. Struct layout, alignment, strides and locality5h
  4. Storage duration, RAII, smart pointers and move semantics6h
  5. Templates, containers and iterator invalidation4h
  6. Undefined behavior, sanitizers and debugger evidence4h
  7. Threads, data races, memory ordering and atomics4h
  8. Python and native code: dtype, stride, ownership and GIL contracts5h
  9. Repeatable CMake builds and test targets5h

Final project: Reproducible Task Runner

Review the stage through three artifacts of the taskrunner built in the section mini-projects. Keep them in one repository so each artifact strengthens the same system instead of becoming a separate project.

  • Package and interface - typed installable service through CLI and HTTP, with schema and transaction tests
  • Failure and operations - bounded concurrency, backpressure, cancellation, telemetry, one injected failure and a clean-checkout runbook
  • Native and diagnosis - one Python-native function, a sanitizer-backed repair and one evidence-first debugging report
How it's graded · about 10 to 14 hours

Package and interface

Pass: From a clean checkout, one command builds the wheel and runs the CLI and HTTP service over one service layer, with schema, migration, transaction and idempotency tests green.

Great: The same service suite runs against the fake and the PostgreSQL store, and the README states every tool and service version behind the evidence.

Failure and operations

Pass: The pipeline rejects excess work, cancels and drains cleanly, and the injected outage is diagnosed from signals and recovered through the runbook.

Great: Someone other than the author recovered using only the runbook, and the gaps they found were fixed.

Native and diagnosis

Pass: The duration report calls the native histogram through the strict binding, its repair has a regression test, and one debugging report records hypotheses, evidence and the fix.

Great: The debugging report covers a defect the author did not plant, with quoted tool output for each rejected hypothesis.

Reproducibility

Pass: Every run writes a manifest, and the gate passes from a clean checkout in one command.

Great: Two runs from different commits are explained field by field from their manifests, and the gate also passes on a second host.

Evidence

Pass: Every performance or behavior claim in the README has raw data with the Python build, compiler and CPU.

Great: Each claim states the workload or input region it covers and what was not tested.