mirror of
https://github.com/flakestorm/flakestorm.git
synced 2026-04-25 00:36:54 +02:00
Enhance mutation capabilities by adding three new types: encoding_attacks, context_manipulation, and length_extremes. Update configuration and documentation to reflect the addition of these types, including their weights and descriptions. Revise README.md, API_SPECIFICATION.md, CONFIGURATION_GUIDE.md, and other relevant documents to provide comprehensive coverage of the new mutation strategies and their applications. Ensure all tests are updated to validate the new mutation types.
This commit is contained in:
parent
859566ee59
commit
844134920a
13 changed files with 595 additions and 58 deletions
|
|
@ -89,10 +89,13 @@ mutations:
|
|||
|
||||
# Types of mutations to apply
|
||||
types:
|
||||
- paraphrase # Semantically equivalent rewrites
|
||||
- noise # Typos and spelling errors
|
||||
- tone_shift # Aggressive/impatient phrasing
|
||||
- prompt_injection # Adversarial attack attempts
|
||||
- paraphrase # Semantically equivalent rewrites
|
||||
- noise # Typos and spelling errors
|
||||
- tone_shift # Aggressive/impatient phrasing
|
||||
- prompt_injection # Adversarial attack attempts
|
||||
- encoding_attacks # Encoded inputs (Base64, Unicode, URL)
|
||||
- context_manipulation # Adding/removing/reordering context
|
||||
- length_extremes # Empty, minimal, or very long inputs
|
||||
|
||||
# Weights for scoring (higher = harder test, more points for passing)
|
||||
weights:
|
||||
|
|
@ -100,6 +103,9 @@ mutations:
|
|||
noise: 0.8
|
||||
tone_shift: 0.9
|
||||
prompt_injection: 1.5
|
||||
encoding_attacks: 1.3
|
||||
context_manipulation: 1.1
|
||||
length_extremes: 1.2
|
||||
|
||||
# Golden Prompts
|
||||
# Your "ideal" user inputs that the agent should handle correctly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue