Thank you for your interest in contributing! We welcome contributions from the community.
-
Fork the Repository
- Click the "Fork" button at the top right of this repository
-
Clone Your Fork
git clone https://github.com/MiniMax-AI/MiniMax-Provider-Verifier.git cd MiniMax-Provider-Verifier -
Create a Branch
git checkout -b feature/your-feature-name
-
Make Your Changes
- Write clean, readable code
- Follow the existing code style
- Add tests if applicable
- Update documentation as needed
-
Test Your Changes
# Install dependencies uv sync # Run your tests python verify.py sample.jsonl --model "test-model" --base-url "https://api.example.com/v1"
-
Commit Your Changes
git add . git commit -m "Add: your descriptive commit message"
-
Push to Your Fork
git push origin feature/your-feature-name
-
Open a Pull Request
- Go to the original repository
- Click "New Pull Request"
- Select your fork and branch
- Describe your changes in detail
- Follow PEP 8 for Python code
- Use meaningful variable and function names
- Add docstrings for classes and functions
- Keep functions focused and concise
To add a new validator:
- Create a new file in the
validator/directory - Inherit from
BaseValidator - Implement the required methods
- Add your validator to
validator/__init__.py - Register it in
VALIDATOR_REGISTRYinverify.py - Update the README documentation
- Use the GitHub issue tracker
- Clearly describe the issue, including steps to reproduce
- Include relevant logs and error messages
- Specify your environment (OS, Python version, etc.)
Feel free to open an issue for questions or discussions.
Thank you for contributing! 🎉