ENGINEERING PRACTICE
Work on the code around the algorithm.
Original repositories with engineering tickets, visible tests, protected checks and evidence you can explain. Code-review quality is assessed by a human reviewer.
13 published challenges
Build a reproducible conversion metric
Implement daily(events). Each valid event contains date (YYYY-MM-DD), user (string), and converted (boolean). Count each user once per date. A user converts if …
Python · 35 minutes · Data analyticsFeature · IntermediateRepair a CSV ingestion contract
Implement ingest(text) for CSV with headers id,amount_cents. Use a CSV parser. Strip whitespace from values. Accept rows only when id is nonempty and amount_cen…
Python · 35 minutes · Data analyticsDebugging · IntermediateRepair customer revenue aggregation
Implement aggregate(customers, orders). Customers are dictionaries with unique integer id and string name. Orders have customer_id and nonnegative integer cents…
Python · 35 minutes · Data analyticsDebugging · IntermediateCorrect a misleading conversion dashboard
The overview dashboard averages daily conversion rates even when daily traffic varies. Implement overview(days): each day has integer visitors and conversions, …
Python · 35 minutes · Data analyticsDebugging · IntermediateStop fitting preprocessing on evaluation data
Implement apply(values, training_mean) in preprocessing.py. Replace only None values with the supplied mean fitted on training data. Keep zero and other numeric…
Python · 35 minutes · Data analyticsDesign · AdvancedDesign a bounded inference scheduler
Implement schedule(lengths, slots). All requests arrive at tick zero. lengths are nonnegative integer decode durations. At each step, assign the next request to…
Python · 50 minutes · AI engineeringTesting · IntermediateWrite regression tests for chunk windows
Write unittest tests in tests/ for chunks(words, size, overlap), defined in chunks.py. size must be positive and 0 <= overlap < size, otherwise raise ValueError…
Python · 35 minutes · AI engineeringPerformance · IntermediateDeduplicate embedding work
Implement prepare(texts). Call embeddings.embed(text) once per distinct input string, preserving original output order. Return {"vectors": [...], "calls": integ…
Python · 35 minutes · AI engineeringCode review · IntermediateReview a leaking evaluation pipeline
Review pipeline.py. Write a review in REVIEW.md identifying specific lines, the impact and a concrete correction. Evaluate data leakage, handling of labels, rep…
Python · 35 minutes · AI engineeringFeature · IntermediateValidate evidence citations
Implement validate(citations, allowed_ids). Return a sorted, unique list of citation IDs not present in allowed_ids. IDs are strings. An empty citation list ret…
Python · 35 minutes · AI engineeringRefactoring · IntermediateSeparate model-provider adapters
Refactor route(provider, text) to delegate to AlphaAdapter or BetaAdapter in adapters.py. AlphaAdapter.generate(text) returns "alpha:" + text.strip(); BetaAdapt…
Python · 35 minutes · AI engineeringDebugging · IntermediateIsolate a multi-request KV cache
Two request streams share a cache. Implement process(events, capacity). Each event is [request_id, token]. Return the retained token list after each event. Keep…
Python · 35 minutes · AI engineeringSecurity · IntermediateEnforce tool permissions
Implement authorize(calls, allowed). Each call is a dictionary with a string tool name and arbitrary args. Return allowed tool names, in call order, including d…
Python · 35 minutes · AI engineering