From 1d3a442bde57e89337aa43b0df5093438d00da8c Mon Sep 17 00:00:00 2001 From: Joe Esquibel Date: Wed, 26 Aug 2026 18:32:40 -0400 Subject: [PATCH] chore: regenerate typescript tree-sitter accuracy baseline CI's tree-sitter-accuracy-audit correctly caught the ground-truth drift this fix causes: real_functions 2913 -> 2915 (tree-sitter now sees the 2 abstract method signatures it was blind to before), found_functions/args_exact_match both improved, extra_functions dropped 3 -> 1 (the 2 this PR fixes; the remaining 1, `catch` in vscode/async.ts, is a separate, already-known, unrelated shape -- see the tri-comparison ledger's typescript/function/existence/agree[tree_sitter]_vs[ctags,gitgalaxy] entry). `--regenerate` refuses to write if any metric regressed -- it didn't, this run is a pure improvement. Summary table in language_standards.py refreshed to match (99.6%->99.9% found_functions, 99.9%->100.0% args_exact_match). Co-Authored-By: Claude Sonnet 5 --- gitgalaxy/standards/language_standards.py | 2 +- tests/tree_sitter_accuracy_baseline_typescript.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gitgalaxy/standards/language_standards.py b/gitgalaxy/standards/language_standards.py index 4cc49cd19..ff4b67fb4 100644 --- a/gitgalaxy/standards/language_standards.py +++ b/gitgalaxy/standards/language_standards.py @@ -63,7 +63,7 @@ | Solidity | 100.0% | 94.3% | 100.0% | 100.0% | | Swift | 100.0% | 99.2% | 100.0% | 100.0% | | Tcl | 98.6% | 99.3% | N/A | N/A | -| Typescript | 99.6% | 99.9% | 100.0% | 100.0% | +| Typescript | 99.9% | 100.0% | 100.0% | 100.0% | | Zig | 100.0% | 100.0% | 100.0% | 100.0% | """ diff --git a/tests/tree_sitter_accuracy_baseline_typescript.json b/tests/tree_sitter_accuracy_baseline_typescript.json index 0988e8025..b039e54c0 100644 --- a/tests/tree_sitter_accuracy_baseline_typescript.json +++ b/tests/tree_sitter_accuracy_baseline_typescript.json @@ -1,12 +1,12 @@ { - "args_comparable": 2902, - "args_exact_match": 2870, + "args_comparable": 2912, + "args_exact_match": 2879, "corpus_path": "language-crucible/data/typescript", "extra_classes": 0, - "extra_functions": 3, + "extra_functions": 1, "files_scanned": 23, "found_classes": 842, - "found_functions": 2902, + "found_functions": 2912, "real_classes": 842, - "real_functions": 2913 + "real_functions": 2915 }