GoalScope — encrypt (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
<code>↵ def encrypt(s):↵ """Encrypts a string by rotating the alphabet."""↵ result = []↵ for char in s:↵ if char.isalpha():↵ start = ord('A') if char.isupper() else ord('a')↵ offset = (ord(char) - start + 1) % 26 result.append(chr(start + offset))↵ else:↵ result.append(char)↵ return ''.join(result)↵ </code>