Same logic but accept configurable divisors and words. VARIANT 3: Multiple Rules (Extensible) Accept an arbitrary list of (divisor, word) rules and apply all matching rules. Rules should be applied in ...
The benchmark tests LLMs on their ability to play Fizzbuzz correctly. This is the system prompt: You are playing FizzBuzz with the following rules: If a number is divisible by {fizz_num}, say 'fizz' ...