llmsql-benchmark icon indicating copy to clipboard operation
llmsql-benchmark copied to clipboard

A Text2SQL benchmark for evaluation of Large Language Models

Results llmsql-benchmark issues
Sort by recently updated
recently updated
newest added

## Problem Pre-commit hooks exist (`.pre-commit-config.yaml`) but CI only runs pytest. As a result `main` currently fails `ruff check llmsql`: - `llmsql/_cli/llmsql_cli.py:1` — I001 unsorted imports - `llmsql/inference/inference_api.py:155` — B905...

ci
maintenance

## Problem `tests/inference/tests/integration/test_inference_transformers_real_limit.py::test_real_inference_limit` (added in #92) is meant to run on CPU. On a machine with a visible CUDA GPU, the model is loaded with `device_map="auto"`, so it lands on...

bug
tests

## Problem `tests/conftest.py` does `import llmsql.inference.inference_vllm` at module level, which imports `vllm`. Contributors without a GPU / without the multi-GB `vllm` extra can't run *any* test (collection fails with `ModuleNotFoundError:...

good first issue
tests

## Problem All inference backends (`inference_transformers`, `inference_vllm`, `inference_api`, `inference_function`) call `overwrite_jsonl(output_file)` at start, even though results are appended to the file batch by batch. If a full run (~80k questions,...

enhancement
inference

## Problem `llmsql/utils/evaluation_utils.py::connect_sqlite` opens `sqlite_tables.db` with a regular read-write connection, and `execute_sql` runs up to 10 model-extracted statements per sample without any guard. - `find_sql()` only requires the candidate to...

bug
security
evaluation

## Problem `evaluate()` always writes a JSON report, and when `save_report` is not given it uses a random name in the current directory (`evaluation_results_.json`). Every call from a notebook, test...

enhancement
good first issue
evaluation

## Problem `inference_api` sends all requests concurrently but has no error handling: 1. **No retries.** A single HTTP 429 / 5xx or timeout raises out of `asyncio.as_completed` and aborts the...

bug
inference

## Problem `evaluate()` computes accuracy as `matches / len(outputs)`, i.e. over whatever predictions are in the file, not over the benchmark: - A file with 1,000 answers out of 80,330...

bug
evaluation

## Problem `find_sql()` (`llmsql/utils/regex_extractor.py`) has two extraction bugs: 1. **It keeps the *first* 10 candidates** (`results[:limit]`). Every word starting with `SELECT` starts a candidate, so a model that explains or...

bug
evaluation

The remote has ~30 branches, most already merged (e.g. `12-configure-precommit-hooks` … `83-add-tests-with-real-evaluations`). Some contain unmerged work that needs a decision: - `35-feature-add-separated-limit-flag`: adds `--limit` to evaluation, not merged. - `LORA`...

maintenance