Skip to content

tree_sitter_accuracy_audit.py: fortran func_precision_pct tree-sitter blind spot with CPP macros #1717

Closed

Description

@squid-protocol

The tree-sitter-fortran ground truth parser completely fails on files that rely heavily on C Preprocessor directives (like #if ( EM_CORE == 1 ) in the WRF corpus), throwing errors and missing entire sections of code that contain valid functions. GitGalaxy is completely unaffected by the CPP noise and extracts these subroutines perfectly, resulting in false positive 'extra functions' reported by the audit.

Activity

  1. added
    bug
    testing
    on Aug 15, 2026
  2. added this to the v2.4.8 milestone on Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions