anonymous_github
anonymous_github copied to clipboard
Custom anonymization output per search term
It would be useful to be able to customize the anonymization output (XXXX-[Line Number]
) per search term. The desired output should be set from the user interface when anonymizing a repo.
For example, if I want to replace two terms: Anonymous
and GitHub
, they currently get replaced with XXXX-1
and XXXX-2
, respectively. I would like to be able to set that Anonymous
should be replaced with XXX
, and GitHub
should be replaced with ABC
.
This would be useful because it would make the alignment of the repo and the paper easier. If I want to use the same anonymized terms in the repo and the paper, I currently need to use XXXX-[Line Number]
in both, which can be confusing and hard to read in the text of the paper. I would prefer something simpler, like ABC
and XYZ
in the text of the paper. Another disadvantage of the current XXXX-[Line Number]
replacement output is that it contains a hyphen, which can break source code as the hyphen is usually not a valid character in a variable name.
Thank you very much for considering this suggestion. Your tool is great and makes it easy to anonymize a repo.