The Symbol metric counts tree-sitter definition nodes. 45% of cpp gold files are .h, and these are routed to the C parser rather than C++. With tree-sitter-languages==1.10.2, modern C++ headers do not parse cleanly, so the C++ Symbol denominator is derived from a degraded parse.
This affects anyone evaluating C++, and it makes cpp Symbol numbers not comparable with the other languages on the board.
The Symbol metric counts tree-sitter definition nodes. 45% of cpp gold files are
.h, and these are routed to the C parser rather than C++. Withtree-sitter-languages==1.10.2, modern C++ headers do not parse cleanly, so the C++ Symbol denominator is derived from a degraded parse.This affects anyone evaluating C++, and it makes cpp Symbol numbers not comparable with the other languages on the board.