Repository navigation
promptinj: split AltayDuel cases into schema files; name-only adapter credit - #91
Merged
Merged
Conversation
… credit tr_altayduel_testcases.json held its 5 cases in one aggregate document with its own field names, so none of them matched promptinj_testcase.schema.json. They are now tr_altayduel/cases/TC-0451 to TC-0455, one file per case with the schema's field names and category values; the original TR-ALTAYDUEL-00N id is kept in source_id, and prompts, glosses, expectations, severities, sources and notes are unchanged. A README records the contributor, the CC BY 4.0 source attribution and the format changes. In tr_altaysec_turkish_llm_injection, adapted_by and the README's "Adapted by" row credit Enes Deniz by name only, per the repository's attribution rule. The source creator and copyright notice are left as the CC BY 4.0 source requires. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 tasks done
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1. AltayDuel cases now follow the dataset schema
tr_altayduel_testcases.json(5 cases, contributed by @fevziegeyurtsevenler in #8) was a single aggregate document with its own field names. None of its cases matchedpromptinj_testcase.schema.json, and the dataset README asks for one file per case. They are nowtr_altayduel/cases/TC-0451.jsontoTC-0455.json:idbecametestcase_id(TC-0451 to TC-0455, the next free IDs); the originalTR-ALTAYDUEL-00Nis kept insource_id.categoryuses the schema's values;dsgai_mappingis a list;expected_behavior_secure/_vulnerableandseverity_if_bypassedare renamedexpected_secure/expected_vulnerableandseverity.tr_altayduel/README.mdrecords the contributor, the CC BY 4.0 source attribution and these format changes. The dataset README's suite table points at the new folder.2. Name-only adapter credit
In
tr_altaysec_turkish_llm_injection/(contributed by @3nesdeniz in #11),provenance.adapted_byin all 300 cases and the README's "Adapted by" row now readEnes Denizinstead ofEnes Deniz / AltaySec. This follows the repository rule that contributors are credited by name only (as in @3nesdeniz's later #46, which credits "Enes Deniz").Deliberately left unchanged:
Fevzi Ege Yurtsevenler / AltaySec). The source dataset's LICENSE gives that copyright notice, and CC BY 4.0 requires keeping it along with the creator credit the licensor asks for. The same applies to the source dataset titles and Hugging Face identifiers.Verification
Run with #89's checks against this branch:
promptinj_dataextraction_testcases: 0 errors, 0 warnings. The "no schema" warning for the aggregate file is gone.tr_turkish_conversation_prompt_injection_pairs/validate.pypasses. It cross-checks IDs and prompt similarity against the other collections.Checklist
🤖 Generated with Claude Code