-
Notifications
You must be signed in to change notification settings - Fork 463
adding AGENTS.md #3232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
adding AGENTS.md #3232
Conversation
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds AGENTS.md documentation files across the TorchMetrics codebase to provide AI agents with structured guidelines for working with the project. The documentation covers installation, development environment setup, testing patterns, and contribution guidelines.
- Adds comprehensive project-level documentation in the root AGENTS.md file
- Creates domain-specific documentation for functional metrics, utilities, tests, and examples
- Establishes standardized patterns for AI agents working with TorchMetrics codebase
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
AGENTS.md | Root-level documentation covering installation, development setup, testing, and contribution guidelines |
src/torchmetrics/functional/AGENTS.md | Guidelines for functional metrics implementation and usage patterns |
src/torchmetrics/utilities/AGENTS.md | Documentation for plotting utilities and matplotlib integration |
tests/AGENTS.md | Testing principles and patterns for metric validation |
examples/AGENTS.md | Guidelines for running and formatting example scripts |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
for more information, see https://pre-commit.ci
…metrics into add/agents.md
for more information, see https://pre-commit.ci
@Borda what is the purpose of having so many agents files? |
it supposed to help agents with navigation and correct usage, but maybe let's keep only these in the top folders? |
…metrics into add/agents.md
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds AGENTS.md documentation files across multiple directories in the TorchMetrics project to provide guidance for AI agents working with the codebase. The files contain structured information about development practices, testing patterns, and usage guidelines.
- Introduces standardized documentation for AI agents across the project structure
- Provides domain-specific guidance for different parts of the codebase
- Establishes consistent patterns for testing, development, and contribution workflows
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
AGENTS.md | Root-level guide covering installation, development environment, and contribution guidelines |
.devcontainer/AGENTS.md | Instructions for using the development container setup |
docs/AGENTS.md | Documentation build process and style guidelines |
examples/AGENTS.md | Usage patterns for example scripts and demonstrations |
requirements/AGENTS.md | Package requirements and extras configuration |
src/torchmetrics/functional/AGENTS.md | Guidelines for functional metrics implementation |
src/torchmetrics/utilities/AGENTS.md | Plotting utilities documentation and usage patterns |
tests/AGENTS.md | Testing principles and patterns for metric validation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
for more information, see https://pre-commit.ci
@lantiga, what do you think? |
What does this PR do?
some generated for agents?
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃
📚 Documentation preview 📚: https://torchmetrics--3232.org.readthedocs.build/en/3232/