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
- Names, identity, mutability, copying and hashability4h
- Argument binding, scope and closures3h
- Attribute lookup, object protocols and dataclasses5h
- Iterators, generators and lazy pipelines4h
- Decorators, wrappers and parameterized decorators3h
- Context managers, exceptions and deterministic cleanup4h
- Type hints, generics, protocols and narrowing3h
- Imports, virtual environments and src-layout packaging4h
- Reference counts, cycle collection and weak references2h
- Typed interfaces, runtime validation and configuration4h
- JSON, JSONL, CSV, columnar formats and bounded ingestion4h
- Schema versions, compatibility and migrations4h
- Relational modeling, joins, aggregation and window functions6h
- Transactions, isolation anomalies and ORM boundaries5h
- Indexes, selectivity and query plans4h
- Layer boundaries and command-line contracts3h
- HTTP APIs, pagination, streaming and idempotency5h
- Test levels, oracles, boundary cases and test doubles4h
- Property, metamorphic and differential testing with shrinking4h
- Regression tests, failure injection and flaky tests3h
- Debuggers, logs, traces and competing hypotheses3h
- Shell streams, exit status, signals, processes and permissions4h
- Git history, merges, rebases, bisect and recovery4h
- SSH trust, keys, forwarding and tmux sessions2h
- Dependency locks, run manifests and quality gates4h
- Work types, threads, processes, async tasks and the GIL5h
- Synchronization primitives and concurrency hazards6h
- Task ownership, cancellation, timeouts and retries6h
- Backpressure, load shedding and graceful shutdown5h
- Profiling CPU and memory, and benchmarking honestly6h
- Structured logs, metrics and traces5h
- Health checks, containers, supervision and runbooks6h
- Compiling, linking, loading, ABI and C linkage4h
- Integer representation, pointers, references and spans4h
- Struct layout, alignment, strides and locality5h
- Storage duration, RAII, smart pointers and move semantics6h
- Templates, containers and iterator invalidation4h
- Undefined behavior, sanitizers and debugger evidence4h
- Threads, data races, memory ordering and atomics4h
- Python and native code: dtype, stride, ownership and GIL contracts5h
- 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.