tercul-backend/internal/jobs/linguistics
google-labs-jules[bot] 777f6fa965 Chore: Clean up lint warnings and improve code quality
This commit addresses numerous linting errors and improves overall code quality.

- Fixed dozens of 'errcheck' violations by adding error handling and logging for ignored errors, particularly in analytics goroutines and test setup.
- Resolved 'ineffassign' and 'staticcheck' warnings by refactoring variable scopes and suppressing intentional-but-flagged test patterns.
- Removed dead code identified by the 'unused' linter, including helper functions and mock services.
- Refactored test suites to fix inheritance issues, consolidating GraphQL integration tests and correcting test setup logic.
- Corrected invalid logging calls that were causing type check failures.

The codebase now passes 'make lint-test' cleanly.
2025-10-07 13:14:01 +00:00
..
.keep I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapter_govader_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapter_govader.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapter_lingua_test.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
adapter_lingua.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
adapter_tfidf.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
adapters.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
analysis_cache.go Chore: Clean up lint warnings and improve code quality 2025-10-07 13:14:01 +00:00
analysis_repository_test.go feat: Implement trending works feature 2025-09-07 20:40:35 +00:00
analysis_repository.go feat: Complete large-scale refactor and prepare for production 2025-10-07 11:09:37 +00:00
analyzer.go Chore: Clean up lint warnings and improve code quality 2025-10-07 13:14:01 +00:00
factory_test.go feat: Implement critical features and fix build 2025-10-05 18:29:18 +00:00
factory.go feat: Implement critical features and fix build 2025-10-05 18:29:18 +00:00
keyword_extractor_test.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
keyword_extractor.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
language_detector_test.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
language_detector.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
lemmatizer_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
lemmatizer.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
phonetic_encoder_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
phonetic_encoder.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
poetic_analyzer_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
poetic_analyzer.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
ports.go Refactor: In-progress refactoring to fix build. 2025-09-05 15:11:30 +00:00
pos_tagger_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
pos_tagger.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
registry.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
sync_job.go feat: Complete large-scale refactor and prepare for production 2025-10-07 11:09:37 +00:00
text_analyzer_test.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
text_analyzer.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
text_utils_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
text_utils.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
tokenizer_test.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
tokenizer.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
types.go I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
work_analysis_service.go feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00