qsv stats --infer-boolean should support user-configurable boolean patterns to avoid English-centric false…
qsv stats --infer-boolean should support user-configurable boolean patterns to avoid English-centric false…: a task in LegoFlow-SWE (Harbor dataset). The --infer-boolean option in qsv stats uses a hardcoded heuristic: when a column has cardinality 2 and the first characters of its two distinct…
The task
The `--infer-boolean` option in `qsv stats` uses a hardcoded heuristic: when a column has cardinality 2 and the **first characters** of its two distinct values match one of three pairs (`0`/`1`, `t`/`f`, `y`/`n`), the column is inferred as boolean.
Part of Lego-X/LegoFlow-SWE.