Skip to content

fix: street name generator#344

Merged
hanneshapke merged 1 commit intomainfrom
fix/street-name-generator
Apr 24, 2026
Merged

fix: street name generator#344
hanneshapke merged 1 commit intomainfrom
fix/street-name-generator

Conversation

@hanneshapke
Copy link
Copy Markdown
Collaborator

Summary

  • StreetGenerator no longer prepends a random building number to its output; it now returns just the street name (e.g. Pine Road) so replacements align with the STREET entity type.
  • Updated the corresponding unit test to assert the result is non-empty and does not start with a digit.

Test plan

  • go test ./pii/generators/

🤖 Generated with Claude Code

Remove leading building number from StreetGenerator output so the
generator produces a street name only, matching the source entity type.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hanneshapke hanneshapke changed the title fix: Street name generator fix: street name generator Apr 24, 2026
@hanneshapke hanneshapke merged commit 0a78494 into main Apr 24, 2026
7 of 8 checks passed
@hanneshapke hanneshapke deleted the fix/street-name-generator branch April 24, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant