Peter Foster 135e774f71 feat: Replace AI compound name detection with rule-based approach
Eliminates one Anthropic API call entirely by using pattern matching:

- Add 120+ known single-company names (Ernst & Young, M&S, law firms, etc.)
- Detect "/" separator as clear indicator of multiple companies
- Use company suffixes (Ltd, PLC) to identify when "&" means two companies
- Conservative approach: don't split ambiguous cases

Added 40 unit tests for compound name detection covering:
- Known single companies with & and "and"
- Slash-separated company names
- Ambiguous cases
- Edge cases (empty, null, short names)

Estimated savings: ~$0.01 per CV check, 100% elimination of this API call

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 20:08:28 +00:00
2026-01-19 12:37:00 +01:00
Description
CV verification platform built with .NET Blazor
18 MiB
Languages
C# 71.3%
HTML 23.5%
CSS 3.9%
Shell 1%
Dockerfile 0.2%