Contributing Guide
Thank you for contributing to our open-source developer tooling ecosystem! We welcome contributions across bug fixes, performance improvements, documentation, and new features.
Repositories
- LLM Context Forge (Python): github.com/dhruv-atomic-mui21/llm-context-forge
- LLM Context Forge (TypeScript): github.com/dhruv-atomic-mui21/llm-context-forge-js
- Velox GTM (Python): github.com/dhruv-atomic-mui21/velox
Local Development Setup
1. LLM Context Forge (Python)
git clone https://github.com/dhruv-atomic-mui21/llm-context-forge.git
cd llm-context-forge/llm-context-forge-py
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in editable mode with development dependencies
pip install --upgrade pip
pip install -e ".[dev]"
# Run full test suite
pytest -v
2. Velox GTM (Python)
git clone https://github.com/dhruv-atomic-mui21/velox.git
cd velox
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install with development dependencies
pip install --upgrade pip
pip install -e ".[dev]"
# Run offline mock test suite
pytest -v
3. LLM Context Forge (TypeScript)
git clone https://github.com/dhruv-atomic-mui21/llm-context-forge-js.git
cd llm-context-forge-js
npm install
npm test
Testing & Quality Assurance
Before submitting any Pull Request, ensure all automated tests and quality checks pass locally:
LLM Context Forge Checks
# 1. Zero hardcoded prices assertion
python -c "from llm_context_forge.pricing_provider import BundledYAMLPricingProvider; assert len(BundledYAMLPricingProvider().fetch()) >= 15"
# 2. Run complete test suite (unit, integration, benchmarks)
pytest -v --tb=short
Velox GTM Checks
# 1. Run offline test harness
pytest -v --tb=short
# 2. Verify demo command executes with 0 exit code
python -c "from velox_gtm.main import demo; assert demo() is None"
Cross-Language Parity (LLM Context Forge)
When proposing a new chunking algorithm, model registry update, or tokenizer optimization for LLM Context Forge:
- Maintain Behavioral Parity: Behavior must remain 100% equivalent across Python and TypeScript.
- Shared Test Vectors: Test vectors reside in
tests/fixtures/as JSON matrices. Both implementations must produce identical token slices and chunk boundaries for identical inputs. - If implementing in only one language, open a tracking issue in the corresponding repository with the test vector JSON.
Submitting Pull Requests
- Fork the target repository and create a descriptive feature branch (
git checkout -b feat/vision-token-sizing). - Implement your changes along with dedicated unit tests in
tests/. - Ensure test coverage does not regress.
- Follow Conventional Commits for all commit messages (
feat:,fix:,docs:,perf:). - Open a Pull Request referencing any relevant tracking issues.