Defend the code you built.

Paste a GitHub repo. The coach reads your real code and asks, layer by layer, the questions a mentor would. You and your mentor get feedback grounded in that code.

Repo, branch or folder links all work. Public repositories only.

src/app/api/upload/route.ts
export async function POST(request: Request) { const form = await request.formData(); const file = form.get("syllabus"); if (!(file instanceof File) || file.type !== "application/pdf") { return Response.json({ error: "Please upload a PDF" }, { status: 400 }); } const text = await extractText(file); const deadlines = await askAI( `List every deadline in this syllabus as JSON: ${text}`, ); return Response.json({ deadlines });}
Question 1 of 6/Explain the featureHard

What happens between picking a file and seeing the deadlines?

route.ts· lines 12–23

How a session works

  1. 1

    Paste a link

    The coach reads the README and file structure and splits the project into parts.

  2. 2

    Pick a part

    Choose the part you want to be asked about, the difficulty, and 5–8 questions.

  3. 3

    Defend it

    Every question points at real code. Vague answers get follow-ups; hints are there if you're stuck.

  4. 4

    Read the report

    Per-question feedback, a five-layer chart and what to learn next, ready for your mentor.

Questions climb five layers

Take an app that pulls deadlines out of an uploaded syllabus:

Difficulty sets how deep each layer goes

Easy
Explain what the code does and how data flows
Hard
Explain why it's built this way: trade-offs and error handling
Tricky
Counterfactuals, edge cases, change requests: what if this line went away?
  1. 1
    Explain the feature

    What happens between uploading the file and seeing the deadlines?

  2. 2
    Understand the code

    Why check the file type here? What happens if you remove the check?

  3. 3
    Understand decisions

    Why use AI to extract the dates? Which parts could plain code handle?

  4. 4
    Handle failure

    If the file has no dates, or the AI returns a broken format, what does the user see?

  5. 5
    Apply it

    To let users confirm dates before adding them to a calendar, what would you change?

You get evidence, not a score

Each question is rated clear, partial, misconception or unanswered, with your own words next to the code they refer to. The five-layer chart shows where your understanding is solid. Your mentor gets one small change to ask for: making it and explaining it is the strongest proof of understanding.

It gathers evidence of understanding. It never decides who cheated.

Understanding reportHard · 6
  • Clear3
  • Partial2
  • Misconception1
  • Unanswered0

Walks through the upload-to-parse flow confidently; less sure what happens when the AI returns a bad format.

For the mentor: next check

Ask the student to add a “wrong format, please re-upload” branch to the date parser, then explain why it goes there.