Code review.
Without the guesswork.

Share your code. Put feedback on the exact line. Turn a conversation into a clear next step.

Drag files or folders hereClick to select files from your computer
Start without files
TScalculate-pricing.ts2 open threads
38export function calculatePricing(input: PricingInput) {
39 const subtotal = input.items.reduce((sum, item) => {
40 return sum + item.price * item.quantity;
41 }, 0);
42
43 const discount = getDiscount(subtotal, input.customer);
44 const taxableAmount = subtotal - discount.amount;
45
46 const tax = calculateTax(taxableAmount, {
47 region: input.customer.region,
48 category: input.options?.category ?? "standard",
49 currency: input.currency,
50 });
51
52 return roundMoney(taxableAmount + tax.amount);
53}
Maya TanLines 43-44

Guard against discounts larger than the subtotal before this value reaches tax.

Review Issue
Arun LeeLines 48-49

Extract these tax options into a named object so the student can test them directly.

Fix Prompt

From code to clear feedback

Online code review without repository setup

Turn a project, code snippet, or assignment into one focused review. Share a Cote and discuss the exact lines that need attention—without asking the author to create a branch or pull request first.

For developers and code reviewers

Review prototypes, take-home exercises, support snippets, and small projects before they belong in a repository or pull request.

For educators and students

Give precise feedback on student assignments, group comments into review issues, and keep every revision connected to the original discussion.

One link, a complete review loop

How Cotes works

  1. 01
    Bring the code

    Upload files, paste a snippet, start blank, or import a public Git URL.

  2. 02
    Anchor the feedback

    Select the exact lines, start a comment thread, and keep discussion beside the code.

  3. 03
    Act on the review

    Resolve issues, compare versions, or package the context into an AI-ready fix prompt.