Skip to content

Conversation

@IsmaelMartinez
Copy link
Owner

  • Delete 6 unused files never imported anywhere in the codebase:
    TaskClassifier.js (deprecated wrapper), EnhancedTaskClassifier.js (Node.js
    classifier with API support), ClassificationUtils.js, EnvironmentalUtils.js,
    DataStructure.js, DataStructureBrowser.js
  • Import TIERS from constants.js in ModelSelector.js instead of redefining it
  • BrowserTaskClassifier: merge identical preprocessText/normalizeKeyword into
    normalizeText, unify generateBigrams/generateTrigrams into generateNgrams,
    consolidate normalizePredictions/normalizeSubcategoryPredictions into shared
    normalizeScores method
  • EnvironmentalImpactCalculator: replace duplicate threshold checks with
    data-driven SCORE_TIERS lookup, remove unused singleton export

All 91 tests pass, build succeeds.

https://claude.ai/code/session_01QB4fvdE7X9NZsnfn74xet4

- Delete 6 unused files never imported anywhere in the codebase:
  TaskClassifier.js (deprecated wrapper), EnhancedTaskClassifier.js (Node.js
  classifier with API support), ClassificationUtils.js, EnvironmentalUtils.js,
  DataStructure.js, DataStructureBrowser.js
- Import TIERS from constants.js in ModelSelector.js instead of redefining it
- BrowserTaskClassifier: merge identical preprocessText/normalizeKeyword into
  normalizeText, unify generateBigrams/generateTrigrams into generateNgrams,
  consolidate normalizePredictions/normalizeSubcategoryPredictions into shared
  normalizeScores method
- EnvironmentalImpactCalculator: replace duplicate threshold checks with
  data-driven SCORE_TIERS lookup, remove unused singleton export

All 91 tests pass, build succeeds.

https://claude.ai/code/session_01QB4fvdE7X9NZsnfn74xet4
@IsmaelMartinez IsmaelMartinez merged commit 7fae458 into main Feb 12, 2026
1 check passed
@IsmaelMartinez IsmaelMartinez deleted the claude/analyze-repo-improvements-Lrtss branch February 12, 2026 21:03
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.

2 participants