HF RL Explorer

SQL formatting produces incorrect output with reindent=True

SQL formatting produces incorrect output with reindent=True: a task in harness-adapters: Agentic coding environments (Harbor dataset). When using sqlparse.format() with reindent=True , the formatted SQL output is completely broken and produces unexpected results. The formatting appears to be…

The task

When using `sqlparse.format()` with `reindent=True`, the formatted SQL output is completely broken and produces unexpected results. The formatting appears to be processing tokens in reverse order and using incorrect method names.

Part of harness-hub/harness-adapters.