HF RL Explorer

QR Code TTY printing fails with new ANSI formatting

QR Code TTY printing fails with new ANSI formatting: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). When using the print tty method of the QRCode class, the output formatting is incorrect. The method is supposed to print a QR code to a terminal using ANSI color…

The task

When using the `print_tty` method of the QRCode class, the output formatting is incorrect. The method is supposed to print a QR code to a terminal using ANSI color codes, but the current implementation produces incorrect output.

Part of keryszhan/harbor-swesmith-rl-artifacts.