Skip to content

Refactor/introduce evaluator pattern and refactor base llm#10

Merged
oshorefueled merged 3 commits intoTRocket-Labs:mainfrom
oluwatooki-GA:refactor/introduce-evaluator-pattern-and-refactor-base-llm
Nov 14, 2025
Merged

Refactor/introduce evaluator pattern and refactor base llm#10
oshorefueled merged 3 commits intoTRocket-Labs:mainfrom
oluwatooki-GA:refactor/introduce-evaluator-pattern-and-refactor-base-llm

Conversation

@oluwatooki-GA
Copy link
Contributor

This PR introduces the evaluator pattern to VectorLint, establishing a flexible architecture for supporting multiple evaluation strategies. This refactor extracts the existing LLM-based evaluation logic into a clean, extensible pattern while maintaining full backward compatibility.

oluwatooki-GA and others added 3 commits November 14, 2025 13:25
- Add Evaluator interface defining contract for all evaluators
- Create EvaluatorRegistry with factory pattern for evaluator creation
- Implement BaseLLMEvaluator wrapping existing evaluation logic
- Add 'evaluator' field to prompt metadata schema (optional, defaults to 'base-llm')
- Update main orchestrator to route prompts through evaluator registry
- Maintain full backward compatibility with existing prompts

This establishes the foundation for multiple evaluation strategies without
modifying core orchestration logic. Existing prompts continue to work
unchanged using BaseLLMEvaluator.
- Remove verbose JSDoc blocks from evaluator files
- Keep only inline comments for complex logic
- Maintain clean, readable code without over-documentation
- Params and descriptions belong in spec docs, not source code
@oshorefueled oshorefueled merged commit b883c8c into TRocket-Labs:main Nov 14, 2025
oshorefueled added a commit that referenced this pull request Feb 11, 2026
- Resolved conflict in directive-loader.ts by prioritizing simple_zeroconfig
  - Added fix field instruction from main as item #10
oshorefueled added a commit that referenced this pull request Mar 2, 2026
…r-pattern-and-refactor-base-llm

Refactor/introduce evaluator pattern and refactor base llm
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