DRILLS.ai · Chapter 05
Phase 2: the pivot to job applications
On Sunday, October 25, I moved the starting point: start from the candidate and the posting, rather than from a learning program. This chapter follows the journey that came out of it, from importing the CV to choosing the posting.
The concept
Each step must lead to the next without making the candidate redo what they already gave. And each outside source (PDF, GitHub, job boards) is read with its limits, without drawing more from it than it says.
The four-step journey
| Step | Action | Expected answer |
|---|---|---|
| Profile | Import a PDF or type your experience | A reusable, editable text |
| Opportunities | Search or paste a posting | The full description and its original link |
| Assessment | Run the comparison | SkillAn instruction sheet the assistant loads only when the task matches. It's judged by the difference it makes, with evidence.See in the glossary → documented, partial or not documented, conditions apart, next actions |
| Documents | Request then edit CV and pitch | Drafts based on the profile, export, access to the site to apply |
The first idea: above 60% matching, prepare; below, work on the gaps. The final code is more careful (see chapter 7). Tracking is a page of its own; interview preparation is no longer a fifth step.
Importing the CV without typing it twice
First problem reported: importing a CV still asked you to write out your path, or only returned the extracted text, with no assessment. The chain now reuses the imported text.

The pypdf extraction runs in a subprocessThe Python module that launches another program (git, a CLI) and gets back its exit code and output.See in the glossary →: 4 seconds of wall time at most, 3 seconds of CPU, 256 MiB of memory, 1 to 10 pages for the fast path. Pages with little text, some invalid glyphs, encrypted documents and texts that are too long are refused by this path: they go to the AI fallback. From the repository (code written with the help of ChatGPT and Codex):
resource.setrlimit(resource.RLIMIT_AS, (256 * 1024 * 1024, 256 * 1024 * 1024))
resource.setrlimit(resource.RLIMIT_CPU, (3, 3))
These bounds reduce risk and waiting. They do not guarantee the reading order of a multi-column PDF. And the server currently requires a configured OpenAI key before the operation, even when the text path is enough.
GitHub: enrich without over-reading
The browser accepts the URL of a public GitHub repository and reads its metadata: name, description, main language, fork or not. It then asks the candidate to state their contribution.
It is not a code audit, not a commit analysis, not proof of authorship. The repository’s content is not run. Arbitrary URLs, private repositories and unexpected parameters are out of the contract.
Job postings: what is really connected

| Source | Configured boards |
|---|---|
| Greenhouse | Anthropic, Databricks, Scale AI |
| Ashby | Mistral AI, Dust |
The adapters read the public APIs, clean the HTML, deduplicate by URL and cap the list at 60 postings. Reads run in parallel, with a 12-second network TimeoutA maximum waiting time. Past it, you abandon the call and return a readable refusal, instead of waiting forever.See in the glossary →. A complete answer can stay cached for 300 seconds. A source that is down is never disguised as “no postings”: that would be a Silent failureAn error that looks like a normal answer, like "no results" when there are some. The worst kind of error.See in the glossary →.
The filter works on words: the title must target an entry level (internship, junior, work-study…), an engineering job, and the text must talk about AgentA program that uses a language model to decide what to do (search, call a tool, answer, refuse), in a loop, with stopping rules.See in the glossary →. Senior, staff, principal, lead, manager, director and head titles are excluded.
if re.search(r'\b(senior|staff|principal|lead|manager|director|head)\b', title, re.I): return None
This filter can miss a good posting or keep an imperfect one. What is not delivered: an exhaustive market database, ranking postings by profile, LinkedIn, or automatically reading any URL. The other path remains pasting the full text of a posting.
Removing interviews
An intermediate version recorded the pitch in the browser, had it transcribed by the OpenAI API, and gave feedback on clarity, evidence and relevance. Technical preparation moved to cases written in advance, with explicit rubrics (including Python debugging and refactoring). A teaching rubric is not proof of a question a company really asks.
I removed this preparation from the journey. The /api/interview/transcribe, /api/interview/feedback and /api/interview/technical routes return 410 for a valid request, and the prepare page redirects to the application.
What I keep
- A successful import is not the end of the expected action: it must lead to the assessment.
- A source says no more than what it contains: GitHub metadata does not prove a contribution.
- An outage is shown as an outage.
The Python mechanisms
- My Python for AI 101, chapter 11 · Deploying and tooling: card 53,
subprocess; card 67, the DRILLS subprocess, bounded in time, memory and CPU. - My Python for AI 101, chapter 7 · Errors and guardrails: card 31, the degraded fallback (failed extraction returns
None, and the AI fallback takes over). - My Python for AI 101, chapter 5 · Text: card 18, the Regex (regular expression)A pattern that describes a shape of text rather than an exact word; used by injection guards, redaction and to read a header.See in the glossary → of the job filter.
- My Python for AI 101, chapter 10 · Network, time and concurrency: card 48, checking that a link really is
httpsbefore keeping it; card 66, the five sources read in parallel withasyncio.gatherStarts several coroutines at the same time and returns their results in the order they were given.See in the glossary →.
The defense question
Does the GitHub link prove the candidate wrote the project?
No. I read public metadata: name, description, language, fork. The contribution is stated by the candidate.