Skip to content

Conversation

@BruinGrowly
Copy link
Owner

  • Add harmonizer/semantic_naming.py: Engine for suggesting function names based on LJWP coordinates
  • Add demo_semantic_naming.py: Comprehensive demonstrations of semantic naming applications

Features:
✅ Suggest function names from semantic coordinates using cosine similarity ✅ Detect name/implementation mismatches automatically ✅ Generate function skeletons from semantic intent ✅ Recommend semantic-aware refactorings

Applications for Harmonizer:

  1. Better refactoring suggestions (prescriptive, not just diagnostic)
  2. Function name generation from execution analysis
  3. Semantic-aware code splitting recommendations
  4. Automated code review with actionable suggestions

Technical approach:

  • Maps 40+ common verbs to LJWP coordinates
  • Uses cosine similarity for semantic matching
  • Generates explanations for suggestions
  • Ready to expand with more vocabulary

This transforms Harmonizer from detection-only to detection + prescription.

- Add harmonizer/semantic_naming.py: Engine for suggesting function names based on LJWP coordinates
- Add demo_semantic_naming.py: Comprehensive demonstrations of semantic naming applications

Features:
✅ Suggest function names from semantic coordinates using cosine similarity
✅ Detect name/implementation mismatches automatically
✅ Generate function skeletons from semantic intent
✅ Recommend semantic-aware refactorings

Applications for Harmonizer:
1. Better refactoring suggestions (prescriptive, not just diagnostic)
2. Function name generation from execution analysis
3. Semantic-aware code splitting recommendations
4. Automated code review with actionable suggestions

Technical approach:
- Maps 40+ common verbs to LJWP coordinates
- Uses cosine similarity for semantic matching
- Generates explanations for suggestions
- Ready to expand with more vocabulary

This transforms Harmonizer from detection-only to detection + prescription.
@BruinGrowly BruinGrowly merged commit e12545f into main Nov 5, 2025
4 of 14 checks passed
@BruinGrowly BruinGrowly deleted the claude/check-code-011CUp2Hr6Bt5FhZChxFkL2W branch November 5, 2025 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants