notjustlgtm · AI-readiness check for humans

AI is writing your code.
Are you actually in control of your craft?

10 questions on whether your skills can keep AI in check.

Find out →

~10 minutes · no signup · share your score

This passed code review last week. Two bugs. Find them.

app.post("/webhooks/stripe", async (req, res) => {
  const event = req.body;
  if (event.type === "checkout.session.completed") {
    const userId = event.data.object.metadata.user_id;
    await db.users.update(
      { id: userId },
      { $inc: { credits: 100 } }
    );
  }
  res.sendStatus(200);
});

Which one will you be?

Bug Whisperer·Suspicious Approver·Coin-Flip Reviewer·LGTM Bot

Categories

SecurityConcurrency & AsyncTesting QualityPerformance & ScalabilityArchitecture JudgmentAI-Specific Review