HF RL Explorer

StripWhitespaceFilter removes first token instead of trailing whitespace

StripWhitespaceFilter removes first token instead of trailing whitespace: a task in harness-adapters: Agentic coding environments (Harbor dataset). When using sqlparse formatting with whitespace stripping, the filter incorrectly removes the first token from SQL statements instead of properly…

The task

When using sqlparse formatting with whitespace stripping, the filter incorrectly removes the first token from SQL statements instead of properly handling trailing whitespace. This causes SQL queries to be malformed and lose their initial keywords or identifiers.

Part of harness-hub/harness-adapters.