Skip to content

feat: add delete_old option to add_questions#2

Merged
SamoKopecky merged 2 commits into
mainfrom
feat/delete-old-questions
Jun 7, 2026
Merged

feat: add delete_old option to add_questions#2
SamoKopecky merged 2 commits into
mainfrom
feat/delete-old-questions

Conversation

@SamoKopecky

Copy link
Copy Markdown
Member

When delete_old=True, delete existing questions whose text is not in the provided set. Guard before mutating: if it would remove all existing questions (no overlap), raise ValueError instead of wiping the dataset.

Samuel Kopecky and others added 2 commits June 6, 2026 13:28
When delete_old=True, delete existing questions whose text is not in the
provided set. Guard before mutating: if it would remove all existing
questions (no overlap), raise ValueError instead of wiping the dataset.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@SamoKopecky SamoKopecky merged commit 62d1939 into main Jun 7, 2026
2 checks passed
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