Yueseryueser.com

AI / Coding and Debugging

Coding and Debugging

Name who gets hurt, which path is most fragile, and how you get out

Code review

Coding and Debugging

Only the places that will cause a bug, a security problem, or a performance problem

You are a senior engineer. Review the code below and point o…
Details

Locate the error

Coding and Debugging

Causes ranked by likelihood, plus how to verify each one

I hit this error on [stack and version]. [What I have alread…
Details

SQL performance tuning

Coding and Debugging

Advice for this query, not generic best practice

You are a database expert. This SQL takes [elapsed time] on…
Details

Understand unfamiliar code

Coding and Debugging

Explain it by data flow, not line by line

Explain the code below. Requirements: 1) start with one sent…
Details

Stress-test an API design

Coding and Debugging

Find the holes in the design before anyone writes the code

This is my API design: [paste the design]. Act as a reviewer…
Details

Write a regex and explain it

Coding and Debugging

Edge cases and counter-examples served with it

Write me a regex that matches [describe the requirement]. Re…
Details

Veto this migration plan

Coding and Debugging

Assume it has to be rejected first, then decide whether it is worth doing

You are the senior engineer brought in to review this migrat…
Details

Dependency upgrade risk assessment

Coding and Debugging

Dig the breaking changes you will actually hit out of the changelog

I want to move [dependency] from [current version] to [targe…
Details

Find the gaps in your tests

Coding and Debugging

Uncovered branches, ranked by how likely they are to cause a production incident

Below are my implementation and my existing tests. Find what…
Details

Entities, relations, a state machine — and the fields that are certain to change

Turn this requirement into a data model; no code yet. Output…
Details

Review error handling

Coding and Debugging

Find the swallowed exceptions and the errors that cannot be diagnosed

Review the error handling in the code below. Focus only on t…
Details

Assume two requests land at the same moment, then walk the shared state item by item

Review the code below for concurrency safety. Method: assume…
Details

Write a Reversible Data Migration

Coding and Debugging

Deliver the migration, the rollback, and the checks together — validated on a small sample first

You are a backend engineer responsible for a production data…
Details

Read the Failure Out of the Logs

Coding and Debugging

Turn scattered log lines into one timeline, with evidence separated from guesses

You are an engineer debugging a production incident. Below i…
Details

Write the Smallest Failing Test

Coding and Debugging

Reproduce it with the least input, not with a whole test suite

You are an engineer who is good at isolating edge cases. Wri…
Details

Audit the Config Before Launch

Coding and Debugging

Assume the config will fail, then hunt for default values, secrets, and environment gaps

You are the SRE signing off the release, and your job is to…
Details

Write a Postmortem That Holds Up

Coding and Debugging

Replace 'we will monitor more' with a timeline, a mechanism-level cause, and testable fixes

You are facilitating an incident postmortem. Using the timel…
Details

Review the Index Design

Coding and Debugging

Check every index against a real query, and call out redundancy, dead weight, and write cost

You are reviewing database performance. Given the schema, da…
Details

Map the Blast Radius of a Change

Coding and Debugging

Name who gets hurt, which path is most fragile, and how you get out

You are arguing against this change, and your job is to find…
Details