▚ sandboxmax

AI Code Revision Comparator

Pre-loaded with a classic vibe-coding trap: the original function and an AI refactor that looks cleaner and shorter — but silently dropped the missing-price guard (NaN totals incoming) and swapped || for ??, changing how a quantity of 0 is billed. The diff makes both regressions impossible to miss.

runs 100% in your browser — configs & code stay private

  1. 1Paste both versionsOriginal on the left, modified on the right — both panels stay fully editable.
  2. 2Read the highlightsGreen lines were added, red lines removed, amber lines changed — with the exact characters emphasized.
  3. 3Go semantic for JSONComparing JSON? Flip on Semantic mode to sort keys first, so reordering stops counting as a difference.
lines 0 / 0deviations 0+0−0~0

More diff tools

Is it safe to paste sensitive data into the AI Code Revision Comparator?

Yes. The AI Code Revision Comparator runs 100% client-side inside your browser thread — nothing you paste is uploaded, logged, or transmitted. SandboxMax is a static site with no backend server, no cookies, and no trackers: open your browser's network panel while you work and you'll see zero requests leave the tab.