Skip to content

Conversation

@shivasurya
Copy link
Owner

@shivasurya shivasurya commented Nov 5, 2025

Adds function extraction for diagnostic validation system.

  • Extract metadata from Python functions using tree-sitter
  • 90.8% test coverage

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

Implements Python function extraction using tree-sitter for diagnostic validation.

- Extract function metadata (FQN, source, line numbers, LOC)
- Support class methods, async functions, nested functions
- Skip common directories (__pycache__, venv, .git)
- 90.8% test coverage, all tests passing

🤖 Generated with Claude Code

Co-Authored-By: Claude <[email protected]>
Copy link
Owner Author

shivasurya commented Nov 5, 2025

@shivasurya shivasurya self-assigned this Nov 5, 2025
@shivasurya shivasurya added enhancement New feature or request go Pull requests that update go code labels Nov 5, 2025
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

❌ Patch coverage is 86.50794% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.64%. Comparing base (251176b) to head (0936c9b).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sourcecode-parser/diagnostic/extractor.go 86.50% 9 Missing and 8 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #349      +/-   ##
==========================================
+ Coverage   76.44%   76.64%   +0.20%     
==========================================
  Files          51       52       +1     
  Lines        6202     6328     +126     
==========================================
+ Hits         4741     4850     +109     
- Misses       1260     1269       +9     
- Partials      201      209       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shivasurya shivasurya marked this pull request as ready for review November 5, 2025 02:14
@safedep
Copy link

safedep bot commented Nov 5, 2025

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

Copy link
Owner Author

shivasurya commented Nov 6, 2025

Merge activity

  • Nov 6, 1:31 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Nov 6, 1:31 AM UTC: @shivasurya merged this pull request with Graphite.

@shivasurya shivasurya merged commit 20c8266 into main Nov 6, 2025
5 checks passed
@shivasurya shivasurya deleted the 11-04-feat_diagnostic_add_function_extraction_for_diagnostic_system branch November 6, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants