I want to manipulate numeric values with different data corruption methods.
Let say I have a value 30.1, how do I do the insertion (any number might be inserted in any position, e.g., 230.1,304.1..etc), deletion (e.g., 3.1, 30..etc), substitution (randomly replace with a different number, e.g., 35.1), and transposition (randomly change position of two adjacent numbers, e.g., 31.0)?
Not sure if I searched in a completely wrong direction because I couldn't find any relevant answer to my question..