Contributing to Evalchemy
January 18, 2025 ยท View on GitHub
Welcome to the Evalchemy project! We value your contributions and are excited to have you collaborate with us. This document outlines the guidelines for contributing to ensure a smooth and productive process.
TLDR;
Get setup with
conda create -n evalchemy python=3.10
conda activate evalchemy
make install
Refer to the instructions on how to add an evaluation benchmark
Add tested eval metrics against publicly reported numbers in reproduced_benchmarks.md.
Add eval name to the list in README.md
Table of Contents
Setting Up the Project
conda create -n evalchemy python=3.10
conda activate evalchemy
make install
This will create a virtual environment and install the dependencies, and pre-commit hooks.
How to Contribute
- Fork the Repository: Start by forking the repository to your GitHub account.
- Clone Your Fork: Clone your fork to your local machine using:
git clone https://github.com/<username>/evalchemy.git - Create an Issue: Before starting any work, create an issue in the repository to discuss your proposed changes or enhancements. This helps maintainers guide your contributions effectively.
- Create a Branch: Create a feature branch for your changes:
git checkout -b feature/your-feature-name - Make Changes: Implement your changes following the guidelines.
- Report reproduced evaluation metrics: Ensure your changes work as expected by testing against publicly reported numbers. Add this information to reproduced_benchmarks.md.
- Commit Your Changes: Write clear and concise commit messages:
git commit -m "added new benchmark" - Push Your Changes: Push your branch to your fork:
git push origin feature/your-benchmark-name - Submit a Pull Request: Open a pull request (PR) to the main repository.
Issue Reporting
When reporting an issue, include:
- A clear and descriptive title.
- Steps to reproduce the issue.
- Expected behavior vs. actual behavior.
- Screenshots or logs, if applicable.
- Environment details (e.g., OS, Python version).
Pull Request Guidelines
- Reference related issues in your PR description (e.g., "Closes #42").
- Ensure your PR has descriptive and concise commits.
- Keep your PR focused on a single change to make reviews easier.
- Ensure your changes are rebased on the latest
mainbranch:git fetch upstream git rebase upstream/main - Address any feedback from maintainers promptly.
Thank you for contributing to Evalchemy! Your support and collaboration make this project better for everyone. ๐