8d503349155bd3728cc1e7e826a03db36e340813
Part number now picks the longest hyphenated candidate instead of the first one, matching the documented intent and preventing a short unrelated token from being reported as the part number (which feeds the fingerprint used for sorting). Date code now only accepts YYWW candidates with a plausible year (10-39) and valid calendar week (01-53), taking the last match when several qualify; otherwise it stays null instead of guessing wrong, since a wrong value is worse than a missing one. Adds regression tests for both cases plus a no-plausible-candidate case that must yield null.
ocr_scanner
Short description of what this project does.
Getting Started
Prerequisites
- Node.js 20+
- npm or pnpm
Installation
npm install
Development
npm run dev
Tech Stack
- ...
Project Structure
src/
...
License
...
Languages
JavaScript
95.4%
CSS
2.6%
Python
1.8%
HTML
0.2%