Repository navigation
fix(normalizer): keep the size before năm <year>; dates and units are not sizes (#1317) - #1321
Conversation
…s names and amounts are no size Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 46 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…'s; no short price units Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
⏱️ Code Review completed (2 eligible files · 7,019 chars · 4 model call(s) · 1 PR unit(s))
Whole diff with bounded context at base 4eca23d / head ce96352.
✅ No verified defects
1 possible issue(s) could not be grounded in or verified against the snapshot source, so they are not published.
Context investigation was bounded to the explicitly requested snapshot paths.
Closes #1317
Regression from #1291 (PR #1292). Not on main yet.
What (
product-normalizer.ts)<digit>/), before "RAM" when no RAM size follows ("16 RAM 512 SSD"; "13 RAM 8GB" keeps the 13), after a macOS name (Sonoma, Sequoia, Ventura, Monterey, Tahoe), before an English duration (months, years, days, weeks, hours) or an amount (nghìn, ngàn, triệu, vnd). The same guards apply to the checks that keep a gift's size from standing in, so those titles get the gift-fitted size again.Before/after keys
Over every string literal mentioning Watch/iPad/MacBook in apps/importer/src, packages, apps/web/e2e and supabase (552 strings, the new fixtures included),
origin/devvs this branch: 12 changed, all fixtures of this issue:#1263 / #1277 / #1291 fixtures unchanged.
Review gate
Fresh subagent and one Codex round (regression fix): both found that a size before "RAM 8GB" / "SSD" / "ROM" was lost, and the subagent that "Tr", "k", "đ" were too short as units. Fixed: RAM only guards when no RAM size follows, SSD/HDD/ROM and the short units dropped; fixtures added (they key as on
dev). Remaining P3 notes (unlikely forms such as "MacBook Pro M3 Sonoma 14", "14 Triệu", "13 năm sản xuất 2024") are accepted.Checks
pnpm --filter @repo/crawlers test, typecheck, lint, prettier: green locally.🤖 Generated with Claude Code