This is the code repository for the paper TokDrift: When LLM Speaks in Subwords but Code Speaks in Grammar. TokDrift is a framework designed to apply semantic-preserving rewrite rules and measure ...