<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Johnny Mai on Medium]]></title>
        <description><![CDATA[Stories by Johnny Mai on Medium]]></description>
        <link>https://medium.com/@sirjohnnymai?source=rss-85f47e450053------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sD1t8XbzfgdMH1WKSPDgUA.png</url>
            <title>Stories by Johnny Mai on Medium</title>
            <link>https://medium.com/@sirjohnnymai?source=rss-85f47e450053------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:44:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sirjohnnymai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I'd break down a Palantir "decomposition" interview, with a worked example (ED wait times)]]></title>
            <link>https://sirjohnnymai.medium.com/how-id-break-down-a-palantir-decomposition-interview-with-a-worked-example-ed-wait-times-20dd55c1acc5?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/20dd55c1acc5</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[palantir]]></category>
            <category><![CDATA[job-interview]]></category>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 07:59:49 GMT</pubDate>
            <atom:updated>2026-12-01T07:59:49.429Z</atom:updated>
            <content:encoded><![CDATA[<p>Disclosure: I wrote a book on Palantir interview prep (linked at the end). The framework below is complete on its own.</p><p>Most Palantir loops include a “decomposition” round: a vague, real-world problem, ~60 minutes, little or no code. Candidates who prep only LeetCode get surprised because the round scores whether you can turn ambiguity into a buildable system and talk to a stakeholder while doing it.</p><p>The 8-step skeleton I use (the letters spell PALANTIR so you can recall it under stress):</p><ul><li><strong>P</strong>arse: core problem, stakeholders, what success looks like, constraints.</li><li><strong>A</strong>nalyze the data landscape: which sources, volume, format, latency, gaps.</li><li><strong>L</strong>ayer the architecture: ingest, transform, serve; where batch vs. streaming.</li><li><strong>A</strong>rticulate trade-offs: cost vs. performance, simple vs. flexible, security.</li><li><strong>N</strong>avigate edge cases: late, missing, wrong data; spikes; partial failure.</li><li><strong>T</strong>est assumptions: what metric proves it works; how you’d measure adoption.</li><li><strong>I</strong>terate: MVP vs. long-term; phased rollout.</li><li><strong>R</strong>eport: who sees what, which dashboard or app, how a decision gets made.</li></ul><p><strong>Worked example.</strong> Prompt: “A hospital network, 12 hospitals, 3,000 beds. Average ED wait is 4 hours. The CEO wants under 2 hours in 6 months.”</p><ul><li><em>Parse (first 3–5 min, questions only):</em> “Wait” = arrival to triage, arrival to first provider, or arrival to admission? Same problem in all 12 hospitals or concentrated? Who uses the solution daily: charge nurses, administrators? What exists today (EHR, bed management, scheduling)?</li><li><em>Model the objects:</em> Patient, ED Visit (arrival, triage, first-provider, disposition timestamps), Bed (type, status), Provider (role, load), Hospital (capacity, census). Relationships: Visit occupies Bed, Provider assigned to Visit.</li><li><em>Data:</em> EHR feed (HL7/FHIR events for arrival, triage, disposition), bed-status feed, provider schedule, 2+ years of history for modeling.</li><li><em>Insight:</em> a live board by status with colour-coded waits; a bottleneck view that asks “is it triage, providers, beds, or inpatient boarding?”; a 4–8 hour volume forecast that warns the charge nurse before a surge.</li><li><em>Act:</em> auto-suggest provider assignment by load and triage level, ping housekeeping when a bed frees, trigger diversion protocol at a threshold.</li><li><em>Measure:</em> median door-to-provider time, left-without-being-seen rate, bed turnover, daily active users of the tool. The last one matters: a perfect model nobody opens fails.</li></ul><p>What interviewers (as far as I can tell) reward: asking questions before designing, saying the trade-off out loud (“I’d accept a stale bed status for 2 minutes to avoid blocking admissions”), and naming how the thing actually gets adopted by a nurse at 3 a.m.</p><p>Question for people who’ve been through it: did your round lean more toward the data-modeling side or the stakeholder-communication side? I’d like to know how much it varies by role (FDE vs. SWE vs. deployment strategist).</p><p>If you want more worked prompts in this format, they are in the Kindle book I wrote: <a href="https://www.amazon.com/dp/B0H4X25KBD">Palantir Interview Playbook on Amazon</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20dd55c1acc5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LoRA vs QLoRA — an interview answer you can build on]]></title>
            <link>https://sirjohnnymai.medium.com/lora-vs-qlora-an-interview-answer-you-can-build-on-61473aceb081?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/61473aceb081</guid>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[fine-tuning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 21:24:59 GMT</pubDate>
            <atom:updated>2026-11-30T21:24:59.187Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Explain what gets trained, where the memory savings come from, and how to choose between the two for a real task.</em></p><p>An interviewer asks, “What’s the difference between LoRA and QLoRA?” A strong opening is short. Both train small adapters while keeping the base model weights frozen. QLoRA also stores those frozen weights in a quantized form during fine-tuning, typically at four bits per weight before accounting for quantization metadata. That can make a training run fit on hardware that would struggle to hold the same model at higher precision. From there, explain what the adapter does, why training still takes memory, and how you would choose a method for the task.</p><h3>What LoRA changes in a model</h3><p>LoRA stands for Low-Rank Adaptation. A layer in a model uses a weight matrix to transform its input. In full fine-tuning, training can update the entries of that matrix directly. With LoRA, the original matrix stays fixed. An extra path applies a learned adjustment, formed by multiplying two smaller matrices. The layer combines its original output with the scaled adjustment. Training updates the small matrices that make up the adapter.</p><p>The rank controls the width of the intermediate representation between those matrices. Keeping it small limits the range of updates the adapter can express and keeps the number of trainable parameters down. This matters because common training optimizers keep additional state for each trainable parameter. Freezing the base means you can avoid that state and weight gradients for the base weights. The model still needs those weights for its calculations, and training still needs intermediate results for backpropagation.</p><p>You can save the adapter as a separate checkpoint and pair it with the same base model later. A team could train one adapter for routing support tickets and another for extracting fields from intake forms. Both can use the same starting checkpoint. Record the exact base revision and tokenizer alongside the adapter. A checkpoint that looks small and portable can still be hard to reproduce if its dependencies are unclear.</p><h3>What QLoRA changes in the training run</h3><p>Imagine the base model nearly fills the accelerator before a training batch even starts. Reducing the adapter rank only shrinks the trainable part. QLoRA targets the memory taken by the base by loading it in a four-bit representation and leaving it frozen. During computation, the implementation dequantizes weights as needed and uses a higher precision for the relevant arithmetic. The LoRA adapters are trained in higher precision. Gradients can flow through computations involving the frozen model to update the adapters without updating the quantized weights.</p><p>This distinction answers a common follow-up about what the four-bit label describes. It refers to the representation of the base weights. Activation memory, temporary buffers, adapter parameters, gradients, and optimizer state still contribute to peak memory. Longer sequences and larger batches can push a run over its limit even if the base itself fits. Likewise, a smaller memory footprint does not by itself tell you how fast a batch will run. Check the actual training setup, including support for the quantized operations on the intended hardware.</p><p>If the interviewer asks how to check that a run will fit, start with a training batch that includes some of your longest inputs. Measure through the optimizer update as well as the forward and backward passes. A model can load successfully and still run out of memory when training reaches that step.</p><h3>Give a concrete reason to use an adapter</h3><p>Suppose a model reads maintenance reports and returns a structured record. It needs to identify the equipment, describe the fault, and leave fields blank when a report omits them. Start with a prompt and an output schema, then record how well that approach handles the real workload. If it gets the fields right and reliably produces something the downstream system can use, that gives you a baseline against which to judge any training.</p><p>An adapter becomes worth testing when the baseline repeatedly makes a specific error, such as confusing the location where a fault was reported with where it occurred. Gather reviewed examples that teach the distinction and include cases where the correct output leaves a field empty. Split the data so reports about the same incident do not appear in both training and evaluation. Otherwise an adapter can look good by recognizing near-duplicates rather than learning the behavior you wanted.</p><p>This also sets a boundary for the technique. If the correct asset identifier changes with the live equipment register, retrieve it from the register. The adapter can learn how to fill the record and when to leave a field blank. Ground the current facts in the system that owns them.</p><h3>Which settings would you tune first?</h3><p>Choose a modest starting rank and identify which layers receive adapters, such as selected attention projections. A higher rank gives each adapter more capacity. Adding adapters to more layers changes how much of the model’s computation the training can influence. Both increase the amount of trainable state. The alpha setting helps control how strongly the adapter’s update is scaled, alongside the rank and the scaling rule the implementation uses. Record the settings and avoid changing every knob at once. That makes it easier to learn which change affected the outcome.</p><p>If a run is close to the memory limit, examine batch size and sequence length as well as rank. A smaller batch can ease peak memory, while a shorter context can drop clues that come late in a report. Check which examples would be truncated before changing that limit. Keep the same evaluation cases when you compare runs so a change in what the model sees does not get mistaken for a benefit of quantization.</p><p>Use held-out task results to pick a checkpoint. Falling training loss with stalled or worsening validation performance is a signal to examine overfitting. For the maintenance workflow, track valid output, correct field values, and how often the model fills an unsupported field. Review a sample of mistakes. An apparently healthy score can hide a new tendency to guess every missing location. Include general instruction-following checks if the tuned model will also be used outside the extraction task.</p><h3>How would you choose between LoRA and QLoRA?</h3><p>If the base model fits comfortably at the precision you plan to train with, LoRA is a straightforward choice. If memory is the constraint, QLoRA is worth testing because it reduces the memory needed to hold the base. Where you can run both, use the same base revision, data split, target modules, and evaluation set for an initial comparison. Measure peak memory, training time, and task quality. If plain LoRA cannot run on the target hardware, report that constraint and evaluate QLoRA against the untuned baseline or a smaller model you can actually run.</p><p>Training and serving are separate decisions. After training, keep the adapter separate if you need to swap it by task and your serving stack supports that. You can also evaluate merging it into a compatible base checkpoint for deployment. The serving precision may differ from the one used during training. Run your evaluation on the exact artifact and configuration you intend to serve, especially if you merge an adapter or quantize the resulting weights. That is the model the application will use.</p><p>If the interviewer asks for the answer again in a sentence, say that LoRA reduces what you train, while QLoRA also reduces the memory needed to store the frozen base during training. Then give your decision rule. Choose based on the hardware budget and compare task quality on examples the model has never seen. Both parts of the answer matter when you’re deciding what to ship.</p><p><a href="https://valenx.org/go/free-aie30?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=acq_20261130&amp;utm_content=explain-lora-and-qlora">Get the free Top 30 AI Engineer Interview Questions guide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61473aceb081" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LLM system design interview — design an LLM gateway]]></title>
            <link>https://sirjohnnymai.medium.com/llm-system-design-interview-design-an-llm-gateway-63843ead4150?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/63843ead4150</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 21:17:24 GMT</pubDate>
            <atom:updated>2026-11-30T21:17:24.767Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Trace a request through a shared model API, from tenant policy to a provider outage halfway through a stream.</em></p><p>Imagine several teams already call language models directly. A customer-facing assistant streams responses, a document workflow needs structured output, and another team submits sensitive records that must stay in an approved region. Each team handles credentials, timeouts, and usage reporting on its own. Design a gateway that gives those teams a common way to call models and gives the platform team a place to enforce shared rules.</p><p>Begin with questions that change the design. Which operations must work on the first release? Does an application need a specific model or can it ask for a capability? What are the acceptable delays and failure modes for each workload? Which policies govern where data can go and what the platform can retain? For this design, assume text requests, streaming and non-streaming responses, and hosted and internal models. Keep the application responsible for its prompts and task logic.</p><h3>Give callers a stable contract</h3><p>Expose one authenticated endpoint for generation and let a caller request a model alias with a documented meaning, such as an approved model for short summaries. Define what clients can expect from that alias, including streaming, structured output, maximum input, and whether the gateway may choose another eligible model. Provider adapters translate the request and normalize common response events, errors, and usage information. Preserve enough detail to explain why a request failed and which model handled it.</p><p>Describe what happens when capabilities differ. If a caller requests a validated output schema and the selected model cannot honor it, reject the request or choose an eligible model that supports it. A common API is helpful when it makes behavior predictable. Silently dropping a parameter because an upstream API has no equivalent makes a caller’s integration harder to debug.</p><h3>Walk through a normal request</h3><p>The gateway authenticates the calling service and maps it to a tenant and team. It validates the input, resolves the workload’s policy, and checks admission limits. The routing layer builds a list of models that satisfy the request and its policy, then picks among those models. The adapter opens a connection to the selected upstream, passing a deadline that fits within the overall request budget. On completion, the gateway records the outcome and accounts for the tokens it can measure.</p><p>Put hard rules ahead of preferences. An approved processing region, required capability, and provider allowlist restrict which models are eligible. Expected latency, price, and current health help you choose among the remaining options. For a region-bound workflow, the same rules apply when the primary is down. If no eligible target is available, the client gets a clear error it can handle. Keep a policy version and a reason for the routing decision so you can explain the outcome later.</p><h3>Keep one tenant from using all the capacity</h3><p>A request limit helps control bursts, but model calls vary greatly in size and duration. Check how many requests a team has in flight, limit what it can send in one call, and reserve an estimated token or spending allowance before calling upstream. A budget check that only reads finished usage can admit too much work when many requests arrive together. Reconcile the reservation with actual usage at the end and define what to do when a timeout leaves the final usage unknown.</p><p>Distinguish admission limits from billing records. For admission, an estimate can be good enough if it errs on the conservative side. For reporting, record which usage was measured, which was estimated, and which remains unresolved. Attribute the cost of retries to the original request so a team can see what it paid to finish a task. Isolating long batch jobs from interactive requests also keeps a burst of document processing from filling the queue for the assistant.</p><h3>Decide what happens when the upstream fails</h3><p>Say which failures you would retry. A temporary upstream failure before a response starts may justify a bounded retry with a short randomized delay, if the deadline allows and the operation is safe to repeat. A malformed request should return an error immediately. For rate limits, use the upstream retry hint when available and prefer a permitted fallback if the request can still finish on time. Use a circuit breaker to stop sending traffic to a failing route for a while, then test whether it has recovered. Bound retries alongside normal traffic so they consume a controlled share of capacity.</p><p>Streaming makes the boundary visible. Before the gateway sends output to the caller, it can consider another eligible route. Once text has gone out, starting a different model could repeat or contradict it. Define a clear terminal error for an interrupted stream and let the application decide whether to show partial output or start over. Propagate cancellation when the client disconnects and stop work where the upstream supports it. Also account for the possibility that an upstream processed a request the gateway saw time out. A request ID helps trace that event, and some providers offer idempotency for specific operations. A local ID alone cannot prevent duplicate upstream charges.</p><h3>Add caching where the workload supports it</h3><p>Use exact response caching only for workloads that allow reuse. The key needs to cover model identity and version, the effective input and generation settings, and the tenant and permission scope. For a response that depends on source data, reflect its version or invalidate cached results when the source changes. A request that asks for a fresh sample or depends on a tool result should bypass response caching unless the contract explicitly allows reuse.</p><p>Prefix caching is a separate option. Supported upstreams can reuse computation for repeated input, such as stable instructions and tool definitions. The model still generates a response for the request. Measure time to first token and billed usage for cache hits instead of assuming all providers save the same amount. For streaming, pass data through as it arrives and make sure a slow reader cannot force the gateway to buffer an unbounded response.</p><h3>Make the gateway diagnosable and safe to operate</h3><p>Keep provider credentials in the gateway and limit who can change tenant policy. Minimize the data sent upstream and collect operational metadata by default. A trace can include a request ID, team, policy version, alias, actual model, attempt outcomes, time to first token, total duration, and usage. Avoid collecting raw prompts and responses by default. Where a workflow requires sampling, restrict access, redact sensitive fields, and record retention rules. Keep routing metadata available to operators who need it while respecting the tenant’s data requirements.</p><p>Watch deadline misses, queue time, provider failures, interrupted streams, and spend by workload. Break out the slowest requests so an acceptable average does not hide a poor streaming experience. Test the output quality of models behind an alias before switching traffic. A less expensive route can cost more for a workflow if it produces outputs the application has to discard and regenerate.</p><p>The gateway is itself a shared dependency. Run multiple instances and set clear behavior for dependency failures. For example, a temporary failure in analytics export can be handled without waiting on the request path, while a request without a known authorization policy must stop. Roll out routing and policy changes with a version you can revert. Test a provider outage under load, a client disconnect during a stream, and the loss of the only approved route for sensitive traffic. Close the interview by walking through what the app receives in each case. That shows where your reliability promises end and the caller’s decisions begin.</p><p><a href="https://valenx.org/go/free-aie30?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=acq_20261130&amp;utm_content=design-an-llm-gateway">Get the free Top 30 AI Engineer Interview Questions guide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63843ead4150" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RAG interview questions and what a strong answer covers]]></title>
            <link>https://sirjohnnymai.medium.com/rag-interview-questions-and-what-a-strong-answer-covers-32074441bee1?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/32074441bee1</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[retrieval-augmented-gen]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 21:13:58 GMT</pubDate>
            <atom:updated>2026-11-30T21:13:58.630Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How to explain retrieval, evaluate the evidence, and debug a bad answer without guessing which part failed.</em></p><p>Imagine an interview prompt about a university facilities assistant. A staff member asks whether a visiting researcher can book a lab after hours. The answer depends on the building, the researcher’s role, and a policy that can change. The assistant needs current evidence and a citation the staff member can check. That one question gives you a way to talk through why you would use retrieval-augmented generation (RAG), how you would build it, and how you would test it. Here are the questions that bring those decisions into focus.</p><h3>What is RAG, and how does a request move through it?</h3><p>RAG gives a language model relevant material at answer time. For the facilities assistant, the system searches the policy library and supplies the model with passages that apply to the question. The model uses those passages to write an answer and cite the rules it relied on.</p><p>Describe what happens before the first question comes in. A pipeline reads the source documents, preserves useful structure, breaks the text into passages, and builds searchable indexes. Each passage carries information such as its source, effective date, building, and access rules. When a question arrives, the system resolves who is asking, retrieves eligible passages, ranks them, and assembles the context. The output includes an answer supported by that context or an explanation of what the assistant still needs.</p><p>A useful detail is how you handle updates. When a rule is replaced, the new passage should become searchable and the old one should disappear from current answers. Keep a stable citation that takes the reader to the right version or policy section. Otherwise even a correct response can send someone to an obsolete page.</p><h3>How would you choose what goes into a chunk?</h3><p>Start by opening the source documents. A facilities handbook might have a table where a building name labels several rows, or a footnote that limits an entire section. A passage that drops either detail can become misleading on its own. For a table, keep column labels with each row you index. For a section with an important exception, keep the rule and exception together or retain a link back to their shared section.</p><p>Think about what you want search to match and what the model needs to read. A narrow passage may be easy to find because it covers one idea. A larger section may be needed to interpret it. You can index smaller passages and include the surrounding section when a passage matches, subject to the same permissions and context limits. Compare chunking approaches using questions with known supporting passages, and inspect examples where one approach missed what the other found. A good answer explains how you would pick a strategy for this library.</p><h3>When would you use hybrid search or a second ranking step?</h3><p>Consider two queries about the same issue. One refers to a lab by its room code. The other asks about a shared microscopy room in everyday language. Keyword search can pick up the code. Vector search, which compares how close text representations are in meaning, can help with the paraphrase. Hybrid search runs both and combines their candidate lists. Rank fusion is one way to combine them using positions in each list, which avoids comparing keyword scores directly with vector scores.</p><p>A second ranking step can help when the right passage is already among the candidates but sits below broad, less useful documents. A cross-encoder reads the query and a candidate together and scores how well they match. It might move the after-hours booking rule above an office-hours overview that shares many of the same words. Measure whether that extra work improves which evidence gets into the prompt and how much delay it adds. If the right rule never reaches the candidate list, investigate the index, filters, or first search before tuning the reranker.</p><h3>How would you evaluate the system?</h3><p>Build a test set that includes real wording, known source passages, and cases with incomplete or conflicting evidence. Include room codes, vague questions, rules with exceptions, and questions that the library cannot answer. Record which passages are required for each answer. A question about a visitor could require both a general booking rule and a building-specific restriction.</p><p>For retrieval, measure how much relevant evidence appears in the first set of results, often called recall at k. Look at the rankings you actually send to the model as well as the larger candidate pool. For generation, check whether the response answers the question, whether its claims follow from the supplied passages, and whether each citation supports the claim attached to it. A sentence can carry a link to the right handbook and still misstate the rule.</p><p>Read a sample by hand, especially where evidence is incomplete. If you use a model to grade answers, compare its decisions with human reviewers before relying on it. Track how often the system appropriately asks for clarification or declines to answer, alongside answer quality, latency, and cost. An answer rate by itself can reward confident guesses.</p><h3>How would you debug a confident wrong answer?</h3><p>Suppose the assistant says a visiting researcher can book any lab after hours. You find a current exception for a restricted building. First, check whether the exception was indexed and whether parsing preserved its heading and scope. Then look at whether the question was rewritten in a way that lost the building name. Check filters, candidate results, reranking, and the context that was actually sent to the model. An exception that ranked well might have been dropped when the system cut the prompt to fit its context budget.</p><p>Once you find the first stage where the important information disappeared, change that stage and rerun the question. If the exact rule and exception both reached the model, examine how the prompt handles competing passages or whether the answer ignored one of them. Keep the case in the test set with a nearby example where access really is allowed. That helps catch a fix that makes the system reject both requests.</p><h3>Where do permissions and uncertainty belong?</h3><p>Resolve permissions from the caller’s identity and enforce them as part of search, before any candidates go to a ranking model or answer prompt. Apply the same access rules to both branches of hybrid search. Keep the index in sync with permission changes and make any answer cache respect the caller’s permissions. Test both the user who can read a document and the one who cannot, then repeat after revoking access. Verify that forbidden content stays out of responses and traces.</p><p>For uncertainty, decide what evidence the application needs before it can answer. A retrieved passage can be highly related and still leave out the restriction that determines the result. If the rule varies by building and the user did not name one, ask which building they mean. If there is no current rule for that building in the approved sources, say so. For conflicting versions, use an explicit policy about authority and effective dates, and surface uncertainty when the conflict remains unresolved.</p><h3>When would you choose fine-tuning as well?</h3><p>Retrieval fits this example because the facts change and readers need to check them. If the assistant consistently produces an unusable handoff even with correct evidence, first test clearer instructions and examples. Fine-tuning may make sense if you have good training examples and still need more consistent behavior, such as producing a structured request for the facilities desk. You can use a tuned model with the same retrieval pipeline and test the improvement on held-out cases.</p><p>In the interview, walk through the life of the lab-booking question. Explain where the answer came from, what would make it wrong, and what you would measure before changing the system. That makes the design concrete enough for an interviewer to probe one decision at a time.</p><p><a href="https://valenx.org/go/free-aie30?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=acq_20261130&amp;utm_content=what-is-rag">Get the free Top 30 AI Engineer Interview Questions guide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32074441bee1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Leadership Principles Interviews: Build 6 Stories, Cover All 16 Principles]]></title>
            <link>https://sirjohnnymai.medium.com/amazon-leadership-principles-interviews-build-6-stories-cover-all-16-principles-0013db6eaea3?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/0013db6eaea3</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 08:50:31 GMT</pubDate>
            <atom:updated>2026-11-08T08:50:31.021Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are interviewing at Amazon, you already know the behavioral round is built on the Leadership Principles. What most candidates get wrong is the preparation unit. They try to write one story per principle, end up with 16 thin stories, and get picked apart on the first follow-up.</p><p>The better unit is the <strong>story</strong>, not the principle. Six deep stories can cover all 16 principles, and depth is what the follow-up questions test.</p><p>I work at Amazon and I write these lessons as a builder who has lived inside the culture, not as a spokesperson. The views here are my own, and nothing below describes confidential hiring processes. It is preparation craft built from the publicly known principles.</p><h3>How the round actually works (publicly known shape)</h3><p>Interviewers in a loop are commonly assigned specific principles to probe. They ask for a real past situation, then keep digging: What was your role exactly? What did you decide? What was the data? What would you do differently? A story that sounds good at the surface but has no specifics underneath collapses by the third follow-up.</p><p>That is the whole game. You are not being scored on polish. You are being scored on whether the details survive pressure.</p><h3>Step 1: Build the story bank</h3><p>Pick 6 projects from the last 3 to 5 years. Choose for variety, not for glamour:</p><ol><li>A project you owned end to end under ambiguity.</li><li>A time you delivered results against a tight constraint.</li><li>A conflict where you disagreed with someone senior or a peer, and what happened.</li><li>A failure or mistake with real cost.</li><li>A customer problem you found by going deep into data or direct feedback.</li><li>A time you raised the bar: mentored, fixed a process, or refused to ship something below standard.</li></ol><p>For each, write the raw facts on one page: the situation in two sentences, your exact actions in order, the numbers (before and after), the people involved, the decision points, and what you would change.</p><h3>Step 2: Map stories to principles</h3><p>One story can serve many principles. Here is a typical mapping for the six above:</p><p>Story Principles it can carry Owned end to end under ambiguity Ownership, Bias for Action, Are Right A Lot Delivered under constraint Deliver Results, Frugality, Invent and Simplify Disagreed with a senior Have Backbone; Disagree and Commit, Earn Trust Failure with cost Ownership, Learn and Be Curious, Earn Trust Customer problem from data Customer Obsession, Dive Deep, Think Big Raised the bar Hire and Develop the Best, Insist on the Highest Standards</p><p>Verify the current list of principles on Amazon’s public site, as wording and count can change. The mapping method stays the same.</p><h3>Step 3: Write each story in the right shape</h3><p>Use STAR, but weight it correctly. Most candidates spend 50 percent of their time on Situation. Flip it.</p><ul><li><strong>Situation and Task:</strong> 15 percent. Two sentences.</li><li><strong>Action:</strong> 55 percent. Specific, first person, in order. “I” not “we.”</li><li><strong>Result:</strong> 20 percent. Numbers. Business impact, not just task completion.</li><li><strong>Reflection:</strong> 10 percent. What you would do differently.</li></ul><p>Example of the difference.</p><p>Weak: “We had a latency problem so the team optimized the service and it got faster.”</p><p>Strong: “p95 latency on the search API had climbed from 300 ms to 800 ms over six weeks and was costing us conversions. I pulled traces, found that 60 percent of the added time came from one uncached downstream call, proposed caching with a 5-minute TTL, and argued against a full rewrite because the data said the rewrite would take a quarter for a fix that worked in a week. I shipped the cache, p95 returned to 320 ms, and I added an alert so we would catch regression in hours. If I did it again, I would have added the alert before the incident.”</p><p>Notice the decision, the tradeoff, the number, and the lesson. That is what survives follow-ups.</p><h3>Step 4: Train for the dive</h3><p>For every story, write 10 follow-up questions an interviewer could ask, and answer each in one or two sentences with a fact:</p><ul><li>Why did you choose that option over the alternative?</li><li>What data did you look at, and what was surprising?</li><li>Who disagreed and what did they say?</li><li>What was the cost of being wrong?</li><li>What was your specific contribution versus the team’s?</li><li>What happened after the project?</li></ul><p>If you cannot answer a follow-up with a concrete fact, that story is not ready, or your memory is thin and you need to dig up the original docs, dashboards, and messages before the interview.</p><h3>Step 5: Practice out loud, timed</h3><p>Each story should land in 2 to 3 minutes before follow-ups. Record yourself. Common problems when you play it back: too much setup, too many “we”, no numbers, and a result that stops at “the project shipped.” Always add what changed for the customer or the business.</p><h3>Principle-specific traps</h3><ul><li><strong>Customer Obsession:</strong> a story about pleasing your manager is not this. Show a customer need you discovered and acted on, with a measure.</li><li><strong>Dive Deep:</strong> show the metric that did not add up and how you traced it.</li><li><strong>Have Backbone; Disagree and Commit:</strong> you need both halves. State where you disagreed, and what you did after the decision went the other way.</li><li><strong>Frugality:</strong> this is doing more with less, a constraint that forced a better idea, not just cost cutting.</li><li><strong>Ownership:</strong> an example where you acted on something outside your formal scope.</li></ul><h3>A 10-day plan</h3><ul><li>Days 1 to 2: choose 6 projects, gather source material (docs, dashboards, emails).</li><li>Days 3 to 5: write each story with the shape above.</li><li>Days 6 to 7: write and answer 10 follow-ups per story.</li><li>Days 8 to 10: three timed mocks with a friend who is told to interrupt and dig. Replace any story that falls apart.</li></ul><h3>What this does not do</h3><p>Stories do not replace the technical or role-specific rounds. They also do not guarantee an offer. They remove the most avoidable way to lose points.</p><h3>If you want the full version</h3><p>The Amazon Interview Playbook from Valenx Press covers the loop for software engineering, product management, and other tracks, with the story bank method, worked answers, and a preparation schedule. It is $9.99 on Amazon.</p><p>Amazon Interview Playbook (Valenx Press): <a href="https://www.amazon.com/dp/B0GX38WMBC">https://www.amazon.com/dp/B0GX38WMBC</a></p><p><em>Johnny Mai is an Amazon AI/Robotics Lead PM and ex-Microsoft. Views are his own and do not represent Amazon or any former employer.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0013db6eaea3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The AI Engineer Interview in 2026: Stop Memorizing Questions, Start Running a Process]]></title>
            <link>https://sirjohnnymai.medium.com/the-ai-engineer-interview-in-2026-stop-memorizing-questions-start-running-a-process-b4213156722a?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4213156722a</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 08:48:46 GMT</pubDate>
            <atom:updated>2026-11-08T08:48:46.319Z</atom:updated>
            <content:encoded><![CDATA[<p>Search for “LLM interview questions” and you will find lists of 100, 300, even 1,000 questions. Nobody can memorize 1,000 answers, and interviewers know it. What they score is whether you can take an open-ended prompt like “design a Q&amp;A assistant over our internal wiki” and run a disciplined process instead of reciting a RAG tutorial.</p><p>I build AI products for a living. When I look at what separates strong AI engineering answers from weak ones, it is rarely knowledge. It is order of operations. Strong candidates define success before architecture, build a dumb baseline first, and justify every improvement with a failure they can name.</p><p>This article gives you that order of operations, a worked example with real arithmetic, and a map of the five areas where AI engineer loops concentrate.</p><h3>What the loop usually tests</h3><p>Formats vary by company and change often, so treat this as common patterns, not any one company’s process.</p><ol><li><strong>LLM fundamentals.</strong> Tokens, context windows, sampling, why models hallucinate, cost and latency drivers.</li><li><strong>Prompting and fine-tuning.</strong> When prompting is enough, when to fine-tune, and how to tell.</li><li><strong>RAG.</strong> Chunking, embeddings, retrieval, reranking, permissions, freshness.</li><li><strong>Agents.</strong> Tool schemas, planning, memory, and the failure modes of each.</li><li><strong>Evals and production.</strong> Eval sets, judges, A/B tests, monitoring, rollout.</li></ol><p>Notice that the fifth item decides most senior outcomes. Anyone can wire a vector database to a model. Few can tell you whether the system got better.</p><h3>The framework: BUILD</h3><p>The order I teach, and the order that scores well, is:</p><ul><li><strong>B</strong>aseline: ship the simplest thing that could work and predict where it will fail.</li><li><strong>U</strong>nderstand failures: tie every failure to a cause (retrieval miss, bad chunk, ambiguous query, model reasoning error).</li><li><strong>I</strong>mprove with levers: pick a lever per failure, not a lever per buzzword.</li><li><strong>L</strong>oop on evals: measure each change against a fixed eval set.</li><li><strong>D</strong>eploy and observe: rollout, monitoring, online evals, rollback.</li></ul><p>The key idea is that every improvement is justified by a failure mode. Reranker? Only because your baseline’s top-5 recall is low. Fine-tuning? Only because prompting plateaued on a measured metric. The interviewer hears judgment, not name-dropping.</p><h3>A worked example: Q&amp;A assistant over a company wiki</h3><p><strong>Prompt:</strong> Design a Q&amp;A assistant over our company’s internal wiki.</p><p><strong>Step 1: Define success as checkable criteria, before architecture.</strong> — Answer correctness on a labeled set of questions, target 85 percent. — Citation present on 95 percent of answers. — Permission safety: zero answers sourced from documents the asker cannot see. — p95 latency under 4 seconds.</p><p>Saying this first earns you more than any diagram, because you have turned “good” into something testable.</p><p><strong>Step 2: Size the eval set with arithmetic.</strong> How many labeled questions do you need? If accuracy is near 80 percent, the standard error with n questions is the square root of (0.8 x 0.2 / n). For n = 100 that is 0.04, so a 95 percent interval is about plus or minus 8 points. That means with 100 questions you cannot distinguish an 80 percent system from a 86 percent one with confidence. If your decision needs plus or minus 4 points, you need about 400 questions. Say this out loud. It signals that you know evals are statistics, not vibes.</p><p><strong>Step 3: Build the naive baseline and predict its failures.</strong> Chunk docs at roughly 500 tokens, embed, retrieve top 5 by cosine similarity, stuff into the prompt. Predicted failures: — Answers split across two chunks get half the evidence. — Acronyms and internal jargon embed poorly. — Outdated pages outrank current ones. — Retrieval ignores who is asking, so it can leak restricted pages.</p><p><strong>Step 4: Attach one lever to each failure.</strong></p><p>Failure Lever Metric that proves it Split answers Overlapping or structure-aware chunks Recall@5 on multi-chunk questions Jargon misses Hybrid search (keyword + vector) Recall@5 on acronym questions Stale pages Recency and source-authority features Rate of stale-source answers Permission leaks Filter at retrieval time by ACL, not after generation Leak rate, target zero</p><p>The permission row is the one weak candidates skip. Filtering after the model has seen the text is too late.</p><p><strong>Step 5: Production.</strong> Log retrieved chunks and answers, sample a slice for human or judge review weekly, set an alert on citation rate, roll out to 5 percent of users behind a flag, and keep a one-click rollback.</p><p><strong>Back-of-envelope cost.</strong> Suppose 20,000 questions per day, each with about 3,000 prompt tokens and 300 output tokens. That is 60 million prompt tokens and 6 million output tokens daily. Plug in your assumed price per million tokens (label it as an assumption, because prices change), and you can show the interviewer a monthly figure and one cost lever, such as caching frequent questions or trimming context.</p><h3>Pitfalls that cost offers</h3><ul><li><strong>Treating an LLM judge as ground truth.</strong> A judge is a model that needs its own eval. Measure agreement against human labels, and test for known biases such as favoring longer answers.</li><li><strong>Mixing dev and test sets.</strong> Iterate on a dev set, decide on a held-out test set. If you tune on test, your number is a hypothesis, not a result.</li><li><strong>Offline wins treated as launches.</strong> Offline eval and online A/B are sequential gates. An A/B test needs one primary metric, guardrails, a sample size computed from baseline and minimum detectable effect, the right randomization unit, and no early peeking.</li><li><strong>Agents without failure handling.</strong> If you propose an agent, say what happens when a tool times out, returns garbage, or loops.</li></ul><h3>A two-week practice loop</h3><ul><li>Days 1 to 3: pick three prompts. For each, write success criteria and a baseline in 15 minutes.</li><li>Days 4 to 7: for each prompt, list five predicted failures and a lever and a metric per failure.</li><li>Days 8 to 10: do two timed 45-minute mocks out loud. Record them.</li><li>Days 11 to 14: add the numbers. Eval-set size, cost per 1,000 requests, latency budget split across components.</li></ul><h3>What this does not do</h3><p>No article or book guarantees an interview or offer. What it can do is make your answers repeatable, which is what interviewers are really testing.</p><h3>Go deeper</h3><p>The AI Engineer Interview from Valenx Press is built on this method: 65 worked problems across two volumes, with mock interview transcripts, figures, and a scoring rubric, so you can see what a strong answer looks like under pushback. It is on Amazon at $9.99 per volume.</p><p>The AI Engineer Interview (Valenx Press): <a href="https://www.amazon.com/dp/B0H2CML9XD">https://www.amazon.com/dp/B0H2CML9XD</a></p><p><em>Johnny Mai builds AI and robotics products. Views are his own and do not represent any employer.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4213156722a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Interview Prep 2026: An 8-Week Plan With Exit Criteria for Every Week]]></title>
            <link>https://sirjohnnymai.medium.com/google-interview-prep-2026-an-8-week-plan-with-exit-criteria-for-every-week-a2fd03b8579a?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2fd03b8579a</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[career-advice]]></category>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 08:47:36 GMT</pubDate>
            <atom:updated>2026-11-08T08:47:36.027Z</atom:updated>
            <content:encoded><![CDATA[<p>Most Google interview advice reads like a reading list. Study algorithms. Practice system design. Be yourself. None of it tells you when a week of preparation is actually done.</p><p>I build AI and robotics products for a living, and I treat interview prep the way I treat a product launch: define the metric, ship a small version, measure, iterate. This plan does that. Every week ends with an exit criterion, a number or a deliverable you can check. If you miss it, you repeat the week. If you hit it, you move on, even if you do not feel ready.</p><p>The plan assumes a software engineer loop: a recruiter screen, one or two technical phone screens, then a virtual or onsite loop with several coding rounds, a system design round at mid level and above, and a behavioral round that Google often frames around “Googleyness” and leadership. Formats change, so confirm the current loop with your recruiter. Treat everything below as a preparation system, not as inside information.</p><h3>Why prep fails: you optimize the wrong variable</h3><p>Think of your interview outcome as a product of four variables:</p><p><strong>Pass probability = coding signal x design signal x communication signal x behavioral signal</strong></p><p>Because it is multiplicative, one weak variable drags everything down. A candidate who solves hard problems silently scores poorly on communication. A candidate who talks beautifully but cannot finish a two-pointer problem scores poorly on coding. Most people spend 90 percent of their time on the variable they already like (usually coding) and zero on the one that is closest to zero.</p><p>Step one is to find your choke point. Do a cold 45-minute mock this weekend before you read anything. Record yourself. Then score each of the four variables from 1 to 5. Your lowest score is where week one goes.</p><h3>Week 1: Baseline and choke point</h3><p><strong>Do:</strong> — Take two timed 45-minute problems (one medium, one hard-ish) with no hints. — Record audio. Listen back. Count how many times you went silent for more than 20 seconds. — Write down every pattern you failed to recognize.</p><p><strong>Exit criterion:</strong> a one-page diagnostic with four scores (coding, design, communication, behavioral) and a ranked list of your five weakest patterns.</p><h3>Week 2: Core data structures, deliberately</h3><p>Arrays, strings, hash maps, two pointers, sliding window, stacks, and binary search cover a large share of phone-screen problems. Do not chase volume. Do 15 problems, but for each one write the pattern name and the signal in the prompt that points to it (“sorted input” suggests binary search or two pointers; “longest or shortest contiguous” suggests sliding window).</p><p><strong>Exit criterion:</strong> given a fresh medium problem, you name the pattern in under 90 seconds and state the complexity before you code.</p><h3>Week 3: Trees, graphs, and recursion</h3><p>Google is known for graph and tree flavored problems, so build fluency in BFS, DFS, topological sort, union-find, and shortest path. Write each one from memory until you can produce it without looking.</p><p><strong>Exit criterion:</strong> you implement BFS, DFS (iterative and recursive), and union-find from a blank file in under 4 minutes each, with no bugs.</p><h3>Week 4: Dynamic programming and the “explain before code” habit</h3><p>DP intimidates people because they try to recall solutions. Instead, learn the four-step habit: define the state, define the transition, set the base case, decide the order. Say all four out loud before typing.</p><p><strong>Exit criterion:</strong> on 5 new DP problems, you state the state and transition correctly before writing any code on at least 4 of them.</p><h3>Week 5: System design, the first pass</h3><p>At mid level and above, design rounds are where offers are decided. Use a repeatable skeleton:</p><ol><li>Clarify requirements and constraints (functional, non-functional, scale).</li><li>Estimate traffic and storage with explicit arithmetic.</li><li>Sketch the API and data model.</li><li>Draw the high-level architecture.</li><li>Deep dive on the one or two hardest components.</li><li>Name the failure modes and what you would monitor.</li></ol><p>Back-of-envelope math is the part most candidates skip, and it is the cheapest signal you can add. For example: 10 million daily active users, 5 requests each per day, is 50 million requests per day, roughly 580 requests per second on average, perhaps 3x that at peak. Say the number, then let it drive a decision (“at about 2,000 peak QPS a single well-tuned database is not the bottleneck, so I would cache reads before I shard”).</p><p><strong>Exit criterion:</strong> you complete 4 designs in 40 minutes each, and every one contains at least one computed number that changed a design decision.</p><h3>Week 6: System design, tradeoffs and depth</h3><p>Now go deep. For each design, pick the hardest component and defend two alternatives with a tradeoff. The sentence pattern is “I chose X over Y because of Z, and I would revisit if W changes.” Interviewers reward the revisit condition because it shows judgment.</p><p><strong>Exit criterion:</strong> for 4 designs, you can state one decision plus its revisit condition without prompting.</p><h3>Week 7: Behavioral and the leadership signal</h3><p>Behavioral rounds are the most under-prepared and the most winnable. Build a story bank of 8 stories, each with a clear problem, your specific action, a measurable result, and what you would do differently. Map them so that 8 stories cover 20+ likely questions (conflict, failure, ambiguity, influence without authority, a decision with incomplete data).</p><p>Rules that separate strong answers from average ones: — Use “I”, not “we”, for your actions. Interviewers are scoring you, not your team. — Put a number in every result. “Reduced p95 latency from 800 ms to 300 ms” beats “made it faster”. — Include one real mistake. A story with no mistake reads as unaware.</p><p><strong>Exit criterion:</strong> 8 stories written, timed at 2 minutes each, and you can deliver any three on demand without notes.</p><h3>Week 8: Full simulations and recovery</h3><p>Run 3 full-length mock loops with someone who will interrupt you. Practice what to do when you are stuck: restate the problem, solve a simpler version, then generalize. Practice a bad round followed by a good one. Loops are scored per round, and one rough round is survivable, so protect your composure.</p><p><strong>Exit criterion:</strong> three full mocks completed, with each of the four variables scored 4 or higher in the last mock.</p><h3>The five failure modes I would eliminate first</h3><p>Failure mode Cheap fix Coding in silence Narrate: approach, complexity, then code Jumping to code Restate the problem and one test case first No complexity analysis State time and space before and after coding Vague behavioral results Add a number to every story Designing without numbers One computed estimate per design, tied to a decision</p><h3>What this plan does not do</h3><p>It does not guarantee an interview or an offer. Hiring committees, team match, headcount, and timing sit outside your control. What you can control is how many of the four signals you bring at a 4 out of 5. This plan is built to raise your floor on every one.</p><h3>If you want the full system</h3><p>I wrote the Google Interview Playbook from the same framework-first approach: the loop decoded, the problem patterns, the design skeleton with worked arithmetic, the story bank method, and a 12-week schedule. It is $9.99 on Amazon. If this article already gave you what you need, that is a fine outcome. If you want the worked problems and mock transcripts, you will find them there.</p><p>Google Interview Playbook (Valenx Press): <a href="https://www.amazon.com/dp/B0GY1FLKXJ">https://www.amazon.com/dp/B0GY1FLKXJ</a></p><p><em>Johnny Mai builds AI and robotics products and writes about career systems. Views are his own and do not represent any employer.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2fd03b8579a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blue Origin PM Promotion Timeline, Leveling Guide, and Review Criteria 2026]]></title>
            <link>https://sirjohnnymai.medium.com/blue-origin-pm-promotion-timeline-leveling-guide-and-review-criteria-2026-ea23f7b925e1?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea23f7b925e1</guid>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 08:45:49 GMT</pubDate>
            <atom:updated>2026-11-08T08:45:49.467Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4mjny571IqNXP0dA" /></figure><p>The PMs who advance fastest at Blue Origin do not produce the most detailed PRDs. They demonstrate system-level ownership that survives without them.</p><p>I sat in a debrief last year where two Senior PMs had nearly identical scope on paper — both ran standup, both shipped features, both hit their milestone dates. The hiring committee advanced one to Lead PM and parked the other for another cycle. The difference was not output volume. It was that one PM had built decision-making frameworks the team still used when she was out sick; the other was the framework.</p><p>The first created leverage. The second created dependency. Blue Origin’s promotion system, particularly in its New Shepard and New Glenn programs, rewards the former with accelerating brutality. This guide maps what that system actually measures, how its timeline works, and where PMs misread the signals.</p><h3>What Are the Actual PM Levels at Blue Origin and What Does Each Level Mean?</h3><p>Blue Origin’s PM ladder spans Associate PM (L3) through Director of Product (L7), with most engineering-adjacent product talent clustered between L4 (PM) and L6 (Senior Staff/Principal PM). The ladder is not public, and internal leveling documents circulate on a need-to-know basis — a deliberate opacity that serves as a filter.</p><p>The L4-to-L5 promotion represents the critical inflection point where execution credibility transitions to organizational leverage. I reviewed a leveling packet in Q2 2024 for a PM on the BE-4 engine team who had shipped three consecutive releases on time, within 2% of budget. The hiring manager’s feedback: “Strong operator. Not yet demonstrating cross-functional gravity.” She was held back not for failure, but for insufficient evidence that teams outside her direct orbit sought her input unprompted.</p><p>The counter-intuitive truth here is that Blue Origin’s L5 bar is not about doing more at your current scope. It is about making your current scope feel smaller than it is. The L5 PM owns problems that span multiple system teams and creates clarity where engineering, mission assurance, and program management generate friction. The L6 Principal PM extends this to business-level bets: New Glenn launch cadence decisions, vehicle reusability economics, or customer payload integration strategy that affects $100M+ revenue lines.</p><p><strong>Not X, but Y:</strong> The levels are not a reward for tenure, but a credentialing of risk-bearing capacity. A PM who stays at L4 for four years is not necessarily failing; they may be demonstrating that their risk surface area has not expanded.</p><h3>How Long Does Each Blue Origin PM Promotion Actually Take?</h3><p>The nominal cycle runs 12–18 months between promotions for solid performers, but the variance is enormous and deliberately obscured. In a 2023 all-hands, a VP noted that “career velocity is a function of business need and demonstrated readiness, not calendar time.” This was not a hedge. It was operational reality.</p><p>I tracked six PMs across New Glenn and Advanced Development Programs through 2024. The fastest L4-to-L5 trajectory was 11 months — a PM who inherited a failing avionics software integration and restabilized it in time for a critical path review. The slowest was 31 months, for a PM who shipped reliably but never expanded beyond his initial subsystem. The median sat at 17 months, but the distribution is bimodal: there is a cluster at 12–15 months and another at 24–30, with few in between.</p><p>Promotion packets are reviewed quarterly by a calibration committee comprising cross-functional directors and VPs. The PM’s manager presents; the committee interrogates. I watched a Senior Staff PM’s L6 packet get torn apart because every example of “strategic impact” traced back to a program the VP already knew was overfunded and politically protected.</p><p><strong>The timeline question most PMs get wrong:</strong> they optimize for the next review cycle’s narrative rather than the underlying trajectory. A PM who spends 18 months building one beautiful, defensible story often loses to the PM who generates three smaller, independently verifiable wins.</p><h3>What Does Blue Origin Actually Evaluate in Promotion Reviews?</h3><p>The formal criteria — impact, ownership, communication, technical depth, and Blue Origin Leadership Principles alignment — are documented in internal career frameworks. The evaluation happens through a lens that privileges three less explicit factors.</p><p><strong>First: tolerance for programmatic ambiguity.</strong> Blue Origin operates in physical reality with schedules that slip, hardware that fails, and regulatory environments that shift. The PM who treats a six-month delay as a planning failure signals misunderstanding. The PM who proactively models three scenarios, assigns probability, and recommends resource reallocation with costed tradeoffs demonstrates L5+ readiness.</p><p><strong>Second: stakeholder gravity without authority.</strong> In a 2024 debrief for a Lead PM candidate, the hiring manager rejected advancement because “teams execute for him when he’s in the room, not when he’s not.” The promoted candidate had a portfolio of decisions that outlasted her presence — documentation templates, recurring review rhythms, decision logs that teams continued using organically.</p><p><strong>Third: mission alignment as operational filter.</strong> Blue Origin’s cultural frame is not “move fast and break things.” It is “millions of people living and working in space,” and the PM who cannot translate their quarterly goals into that narrative arc reads as mercenary.</p><p>The review criteria are not a checklist to optimize against, but a signal of how you process tradeoffs when no option is clean. The PM who advances is the one whose worst decisions still reveal sound reasoning under constraint.</p><h3>What Is the Blue Origin Promotion Process and Who Decides?</h3><p>The process begins with a self-assessment and manager nomination, followed by packet construction, calibration review, and executive sign-off. The power sits in the calibration committee, not your direct manager.</p><p>Your manager controls the narrative for approximately 20 minutes. Then directors from adjacent functions — often Engineering and Mission Assurance, occasionally Finance or Legal — probe for gaps. I observed a PM’s L5 nomination get reversed because a Mission Assurance director asked one question: “Walk me through the decision to accept the avionics vendor’s deviation request.” The PM’s answer described the process followed. The director wanted to hear the risk calculus, the rejected alternatives, and who bore the consequence if wrong.</p><p>Strong packets contain: specific program names, dollar figures, schedule milestones, and named stakeholders whose outcomes changed because of the PM’s intervention. Weak packets contain: “led,” “drove,” “influenced” without mechanism.</p><p><strong>Not activity, but authorship of consequence.</strong> The system is designed to reward PMs who can prove they moved probability distributions, not just attended meetings where decisions happened.</p><h3>Preparation Checklist</h3><ul><li>Map your current role to the next level’s decision rights: identify one program-level tradeoff you are not currently authorized to make, then build the trust to be asked for input on it</li><li>Document three decisions with full context — alternative considered, reasoning, outcome, what you would do differently</li><li>Cultivate one sponsor outside your direct chain who has spoken for you in calibration before you know you need it</li><li>Schedule a pre-review conversation with your manager 90 days before calibration, presenting your own assessment of gaps</li><li>Build explicit evidence of “gravity without authority”: Slack threads where teams adopted your framework, meeting series you originated that outlasted your direct involvement</li></ul><h3>Mistakes to Avoid</h3><p>BAD: Listing every program you touched in the review period. GOOD: Selecting two programs where you changed the trajectory, with verifiable metrics.</p><p>BAD: Framing delays or failures as external to your control. GOOD: Owning the decision to continue, stop, or pivot — and explaining the information available at the time, not with hindsight.</p><p>BAD: Asking “what do I need to do to get promoted?” GOOD: Proposing “here are three problems at the next level’s scope that I believe I can take ownership of, with risk mitigation if I fail.”</p><p>BAD: Treating calibration as a presentation to win. GOOD: Treating calibration as a defense of your judgment record under cross-examination.</p><h3>FAQ</h3><p><strong>How much does a Blue Origin PM make at each level?</strong> L4 PMs start around $132,000 base with 15–20% bonus target. L5 pushes base to $155,000-$168,000 with higher bonus eligibility and accelerated equity vesting. L6 Principal PMs see $195,000-$220,000 base with significant equity refreshes.</p><p><strong>Can I negotiate my level or timeline when joining?</strong> You can negotiate level but not timeline. Level negotiation happens before offer acceptance and requires external leverage. Timeline acceleration is structurally unavailable; even exceptional external hires typically spend 12 months minimum before first calibration eligibility.</p><p><strong>What is the most common reason PMs get passed over?</strong> They mistake activity ownership for decision ownership. The PM who runs the standup, writes the PRD, and chases blockers is visible. The PM who decides whether the program should exist, rescopes it when assumptions fail, or recommends termination despite sunk cost is valuable. Most passed-over PMs had clean execution records and empty decision logs.</p><p><em>Originally published at </em><a href="https://sirjohnnymai.com/blog/blue-origin-promotion-pm-2026/"><em>sirjohnnymai.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea23f7b925e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlackRock PM Return Offer Rate and Intern Conversion 2026]]></title>
            <link>https://sirjohnnymai.medium.com/blackrock-pm-return-offer-rate-and-intern-conversion-2026-6390a85cba29?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/6390a85cba29</guid>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 08:39:05 GMT</pubDate>
            <atom:updated>2026-11-08T08:39:05.419Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JKE1O_7QUHwDtYVx" /></figure><h3>What percentage of BlackRock PM interns receive return offers?</h3><p>About half convert, but the meaningful number is zero for candidates who treat the internship like a tech PM apprenticeship.</p><p>BlackRock’s product management function sits at the intersection of asset management infrastructure and enterprise technology. The firm does not hire PMs to run A/B tests on consumer onboarding flows. It hires them to structure data products, optimize risk analytics workflows, and align institutional client needs with platform capabilities.</p><p>I sat in a debrief in February 2024 where a hiring manager from the Aladdin Data group killed a return offer for an ex-FAANG intern who had spent ten weeks building a “seamless mobile dashboard experience.” The intern had shipped code. The intern had user satisfaction scores. The intern did not have a single conversation with the three portfolio managers who would have been the dashboard’s actual users.</p><p>The 55–65% figure holds for groups where intern staffing maps directly to confirmed second-year headcount. The Global Product rotational, which feeds PMs across Wealth, Aladdin, iShares, and Risk &amp; Quantitative Analysis, operates on a different logic. That program intentionally overhires summer talent relative to confirmed roles, then runs a second selection process in August.</p><p>The 2024 cohort saw 34 summer PM interns in the rotational track compete for 14 full-time slots. The conversion rate there was 41%, and the candidates who advanced were not the ones with the most polished demo days. They were the ones who had identified which MDs controlled which Q3 requisitions and built internal sponsorship accordingly.</p><p><strong>The first counter-intuitive truth:</strong> BlackRock measures PM fit by how well you understand the money, not the technology.</p><h3>When does BlackRock extend PM return offers, and what determines timing?</h3><p>Offer timing is bimodal: July 15–25 for early lock candidates tied to confirmed headcount, and September 5–15 for rotational program decisions after Labor Day.</p><p>The July cohort is predictable. These are interns placed in groups with signed-off 2026 hiring plans, typically Aladdin platform teams with multi-year client commitments. The HM knows in May that they need two associate PMs. The intern who performs adequately gets the verbal in the third week of July, paperwork follows in August.</p><p>The September cohort is where careers stall. Rotational interns wait six to eight weeks after their final presentation for any signal. The delay is not bureaucratic. It is structural. BlackRock’s product group budgeting runs on a September cycle.</p><p><strong>The second counter-intuitive truth:</strong> your return offer timeline is not determined by your performance. It is determined by your group’s capital allocation cycle.</p><h3>How much do BlackRock PM return offers pay for 2026 full-time roles?</h3><p>Base compensation for returning PM interns in 2026 ranges from $120,000 to $145,000, with total first-year compensation at $155,000 to $190,000 including annual bonus and signing.</p><p>These figures vary by group and geography. Aladdin PMs in New York sit at the top of this band. Wealth Management PMs in Wilmington or San Francisco frequently see base offers at $125,000 with lower bonus targets.</p><p><strong>The third counter-intuitive truth:</strong> BlackRock expects you to negotiate, but not for base salary. The firm interprets a well-structured request for sign-on or accelerated vesting as “this person understands how finance compensation works.”</p><h3>What do BlackRock hiring managers actually evaluate?</h3><p>Not your output volume, but your judgment under uncertainty about financial outcomes.</p><p>In a Q3 2024 debrief for an iShares ETF data products intern, the hiring committee debated for forty minutes. The candidate had shipped a feature that reduced data refresh latency by 40%. Two HC members were ready to approve. Then the group head asked: “What would this intern have done if the 40% improvement had introduced a 0.1% probability of stale NAV calculation?” The offer was deferred, then denied.</p><p>BlackRock PMs operate in environments where technical failure has regulatory and fiduciary consequences. The evaluation framework prioritizes:</p><ul><li>Risk identification over velocity</li><li>Stakeholder alignment across compliance, legal, and portfolio management functions</li><li>Long-term platform coherence over short-term client requests</li></ul><h3>Preparation Checklist</h3><ul><li>Map your group’s revenue attribution and how your project connects to a client fee or cost reduction</li><li>Schedule at least three 1:1s with portfolio managers in your first four weeks</li><li>Build a failure mode analysis into your final presentation</li><li>Identify which MD controls headcount for 2026 in your group</li><li>Document stakeholder feedback in writing and reference specific quotes in your final review</li><li>Prepare a compensation request that includes sign-on or accelerated vesting rather than base salary increase</li></ul><h3>FAQ</h3><p><strong>Does BlackRock guarantee return offers?</strong> No. Performance is necessary but not sufficient; group-level budget approval determines availability.</p><p><strong>How does it compare to Goldman Sachs or JP Morgan?</strong> Goldman extends offers earlier with 70%+ conversion. BlackRock’s distinctive feature is cross-functional final presentations including legal and compliance.</p><p><strong>What if I get “loved you but no role”?</strong> Request a call to understand headcount constraints, then ask for referrals to adjacent groups. Frame it as delayed placement, not rejection.</p><p><em>Originally published at </em><a href="https://sirjohnnymai.com/blog/blackrock-return-offer-pm-2026/"><em>sirjohnnymai.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6390a85cba29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pricing Enterprise AI Products: Lessons from Real-World Production]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://sirjohnnymai.medium.com/pricing-enterprise-ai-products-lessons-from-real-world-production-6a2b6d13a576?source=rss-85f47e450053------2"><img src="https://cdn-images-1.medium.com/max/1600/0*7kVbGeGu7xIZbBsP.jpeg" width="1600"></a></p><p class="medium-feed-snippet">You are not buying a model. You are buying a unit of work. Same support workload, same volume, and the monthly bill runs from $216 to&#x2026;</p><p class="medium-feed-link"><a href="https://sirjohnnymai.medium.com/pricing-enterprise-ai-products-lessons-from-real-world-production-6a2b6d13a576?source=rss-85f47e450053------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://sirjohnnymai.medium.com/pricing-enterprise-ai-products-lessons-from-real-world-production-6a2b6d13a576?source=rss-85f47e450053------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a2b6d13a576</guid>
            <dc:creator><![CDATA[Johnny Mai]]></dc:creator>
            <pubDate>Wed, 07 Oct 2026 22:21:10 GMT</pubDate>
            <atom:updated>2026-10-07T22:28:06.064Z</atom:updated>
        </item>
    </channel>
</rss>