Skip to content

skill: tell the generator not to reuse demographic variable names (#47) - #50

Merged
jstet merged 1 commit into
mainfrom
issue-47-prompt-strengthen
Sep 25, 2026
Merged

jstet merged 1 commit into
mainfrom
issue-47-prompt-strengthen

Conversation

@jstet

@jstet jstet commented Sep 25, 2026

Copy link
Copy Markdown
Member

Defensive follow-up to #49: the dedup strips generated questions that land on a demographic's name, but the prompt only told the model to avoid the topic. Add an explicit "don't reuse the names either" clause with the concrete failure mode (sanitize would leave age + age2 both with the German birth-date label) and a couple of rename hints (birthyear, age_group, years_active).

The dedup stays as the safety net — the prompt nudges, the code guarantees.

Verified: npm run test:unit (91 pass), npm run test:e2e (45 pass), npm run check, npm run lint.

Defensive follow-up to #49: the dedup strips generated questions that
land on a demographic's name, but the prompt only told the model to
avoid the topic. Add an explicit 'don't reuse the names either' clause
with the concrete failure mode (sanitize would leave 'age' + 'age2'
both with the German birth-date label) and a couple of rename hints
('birthyear', 'age_group', 'years_active').

The dedup stays as the safety net — the prompt nudges, the code
guarantees.
@jstet
jstet merged commit 91e4704 into main Sep 25, 2026
1 check passed
@jstet
jstet deleted the issue-47-prompt-strengthen branch September 25, 2026 12:58
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