Getting Started
- Fork the repository
- Clone your fork:
- Create a branch:
Development Workflow
Running Tests
Running the CLI
Running the Web UI
Code Structure
| Directory | Purpose |
|---|---|
src/cli/ | CLI commands |
src/orchestrator/ | Pipeline execution |
src/benchmarks/ | Benchmark adapters |
src/providers/ | Provider integrations |
src/judges/ | LLM judge implementations |
src/types/ | TypeScript interfaces |
ui/ | Next.js web interface |
Contribution Types
Adding a Provider
See Extending MemoryBench for the full guide.- Create
src/providers/yourprovider/index.ts - Implement the
Providerinterface - Register in
src/providers/index.ts - Add config in
src/utils/config.ts - Submit PR with tests
Adding a Benchmark
- Create
src/benchmarks/yourbenchmark/index.ts - Implement the
Benchmarkinterface - Register in
src/benchmarks/index.ts - Document question types
- Submit PR with sample data
Bug Fixes
- Create an issue describing the bug
- Reference the issue in your PR
- Include test cases that reproduce the bug
Pull Request Guidelines
- Keep PRs focused on a single change
- Update documentation if needed
- Ensure all tests pass
- Follow existing code style