For companies
A trial that looks like the job, built with you.
VS Code
Chrome
Spark
HadoopImplement a sliding-window RateLimiter(max_requests, window_seconds) with an allow(client_id) method. O(1) amortized per call; only allowed requests consume quota.
private_test_passIncludedpublic_test_passIncluded— no formula yet —Includedtop 10%10 – 35%35 – 60%Owned the rate-limiter design end to end, correcting an AI-suggested data structure that would have degraded to O(n). Prompts were specific, with acceptance criteria given before generation.
Wrote her own edge-case tests only after the second failed private-test run; one boundary condition remained uncovered at submission.
Her spec-first prompting, then targeted diffs, would transfer well to larger codebases. A test-first habit would close the validation gap quickly.
Under time pressure she deferred to AI output without verification twice; with weaker test harnesses this could let regressions through.
/plan the implementation of a sliding-window RateLimiter(max_requests, window_seconds) with an allow(client_id) method as per @README.md. Acceptance: O(1) amortized per call, and only allowed requests consume quota.
Generated rate_limiter.py using a per-client list of timestamps scanned on each call.
The timestamp-list scan is O(n) per call. Switch to a per-client deque and pop expired entries from the left instead.
Refactored to collections.deque with popleft-based expiry — amortized O(1) per call. Only allowed requests are appended, so rejected calls never consume quota.
Why ask: Confirms the functional-ownership signal — the design decisions in the transcript should be hers and reproducible without the assistant. · Functional ownership
Why ask: Checks the O(n)-to-deque correction was reasoned rather than pattern-matched; a strong answer references the complexity constraint she set up front. · AI orchestration quality
Why ask: Targets the validation-ownership band; distinguishes a habit gap from a deliberate time-pressure tradeoff. · Validation ownership