← Về thư mục
evaluation/s2sql_eval.py
- iter_jsonl · function · L20-L28 — def iter_jsonl(path: Path) -> Iterator[dict[str, Any]]
- rows_to_columnar · function · L31-L39 — def rows_to_columnar( rows: list[list[Any]], columns: list[str], ) -> dict[str, list[Any]]
- resolve_database · function · L42-L54 — def resolve_database( record: dict[str, Any], *, db_root: Path | None, db_template: str, ) -> Path
- evaluate_record · function · L57-L172 — def evaluate_record( record: dict[str, Any], *, db_root: Path | None, db_template: str, max_rows: int, timeout: float | None, strict: bool, ) -> dict[str, Any]
- parse_args · function · L175-L188 — def parse_args() -> argparse.Namespace
- main · function · L191-L215 — def main() -> None