Skip to content
Secure Private AI for Enterprises and Developers - amazee.ai

Contributing

Thank you for your interest in contributing to AI AutoEvals!

This module is maintained by Dimitris Spachos.

  1. Clone the repository
  2. Install dependencies with Composer
  3. Set up a local Drupal development environment
  4. Enable the module and its dependencies

This project follows Drupal coding standards. Please ensure your code:

  • Follows Drupal Coding Standards
  • Includes proper PHPDoc comments
  • Uses strict types (declare(strict_types=1))
  • Has no PHPCS errors

Run coding standards checks:

Terminal window
./vendor/bin/phpcs --standard=Drupal modules/custom/ai_autoevals
./vendor/bin/phpcs --standard=DrupalPractice modules/custom/ai_autoevals

Run tests to ensure your changes work correctly:

Terminal window
# Run all tests
./vendor/bin/phpunit -c core/modules/simpletest/phpunit.xml modules/custom/ai_autoevals/tests
# Run specific test suite
./vendor/bin/phpunit -c core/modules/simpletest/phpunit.xml modules/custom/ai_autoevals/tests/src/Unit
./vendor/bin/phpunit -c core/modules/simpletest/phpunit.xml modules/custom/ai_autoevals/tests/src/Kernel
  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add/update tests as needed
  5. Ensure all tests pass
  6. Submit a pull request
  • Keep PRs focused on a single feature or fix
  • Write descriptive commit messages
  • Update documentation as needed
  • Reference any related issues

When reporting issues, please include:

  • Drupal version
  • AI module version
  • PHP version
  • Steps to reproduce
  • Expected vs actual behavior
  • Any error messages

Feature requests are welcome! Please:

  • Check existing issues first
  • Describe the use case clearly
  • Explain how the feature would work

For questions, use the Drupal.org issue queue or contact the maintainers.

By contributing, you agree that your contributions will be licensed under the GPL-2.0-or-later license.