Beispieldaten entpersonalisiert: generische Staedte statt Gladbeck & Co.

Platzhalter und Doku-Beispiele nannten durchgehend den Wohnort des
Entwicklers (Gladbeck, Bottrop, Gelsenkirchen, Essen), dessen Vorwahl
(02043), PLZ und Strasse. Ersetzt durch Berlin/Hamburg/Muenchen sowie eine
zum Beispielort passende Vorwahl (030). Betrifft die Platzhalter fuer
Telefon/Ort (Vorlagen), die Staedte-Eingabe (Jobsuche), das Adressbeispiel
in den LLM-Notizen, die OpenAPI-Beispiele und zwei Code-Kommentare.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-14 11:14:06 +02:00
co-authored by Claude Opus 4.8
parent 5ce835ff3a
commit e462fa18ad
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ function firmaSlug(s) {
// when the shorter one's hyphen tokens are a leading prefix of the longer one's.
// The prefix rule collapses "short name" vs "full legal name" spellings of one
// firm — e.g. "it-problemloeser" vs "it-problemloeser-verwaltungs-und-handels",
// or "stadtwerke-essen" vs "stadtwerke-essen-netz". To avoid merging distinct
// or "stadtwerke-berlin" vs "stadtwerke-berlin-netz". To avoid merging distinct
// firms that merely share a first word ("meyer-it" vs "meyer-logistik"), a pure
// prefix match requires the shorter slug to carry at least two tokens; a
// single-token slug only matches an identical one.
+2 -2
View File
@@ -1543,8 +1543,8 @@ const LET_W = LET_R - LET.mx; // 165
// The letter shares the résumé's accent (see lib/design.js), so cover letter and
// CV keep reading as one deliberately designed set whatever the user picks.
// Extract just the town from a possibly-full address ("Feldstraße 76, 45968
// Gladbeck" / "45968 Gladbeck" / "Gladbeck" → "Gladbeck").
// Extract just the town from a possibly-full address ("Musterstraße 5, 10115
// Berlin" / "10115 Berlin" / "Berlin" → "Berlin").
function cityName(header) {
let s = header.ort || header.adresse || '';
const parts = String(s).split(',').map((p) => p.trim()).filter(Boolean);
+3 -3
View File
@@ -443,7 +443,7 @@ function buildOpenApiSpec(baseUrl = '') {
content: {
'application/json': {
schema: { $ref: '#/components/schemas/Settings' },
example: { name: 'Max Mustermann', ort: 'Gladbeck' },
example: { name: 'Max Mustermann', ort: 'Berlin' },
},
},
},
@@ -890,8 +890,8 @@ function buildOpenApiSpec(baseUrl = '') {
adresse: { type: 'string', example: 'Musterstraße 1, 12345 Musterstadt' },
kundennummer: { type: 'string', description: 'Kundennummer beim Jobcenter' },
email: { type: 'string', example: 'max@example.com' },
telefon: { type: 'string', example: '02043 123456' },
ort: { type: 'string', example: 'Gladbeck' },
telefon: { type: 'string', example: '030 12345678' },
ort: { type: 'string', example: 'Berlin' },
webseite: { type: 'string', example: 'example.com' },
geburtsdatum: { type: 'string', example: '01.01.1990' },
},