Repository navigation
Improve agent documentation #3435
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
Open
ethanglaser
wants to merge
8
commits into
uxlfoundation:main
Choose a base branch
from
ethanglaser:dev/eglaser-agent-rules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1ab0ac8
DOC: add review-derived rules to AGENTS.md and wire up Copilot instru…
ethanglaser eb68d90
DOC: trim root AGENTS.md to what an agent can act on
ethanglaser edd9748
DOC: ask for short, plain comments in root AGENTS.md
ethanglaser 808fc47
apply further reductions from copilot suggestions
ethanglaser fbb2adc
Merge branch 'uxlfoundation:main' into dev/eglaser-agent-rules
ethanglaser 5a5a6d0
Address Copilot review of agent docs
ethanglaser 15ca9e6
drop copilot instructions, consolidate to AGENTS.md
ethanglaser 8265016
address review
ethanglaser File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Copilot instructions - Extension for scikit-learn | ||
|
|
||
| `AGENTS.md` is the canonical repository guidance. Before reviewing or editing a file, read the root `AGENTS.md` and every applicable directory-level `AGENTS.md`. | ||
|
|
||
| For example work, also read `examples/AGENTS.md`. | ||
|
|
||
| Also follow the matching `.github/instructions/*.instructions.md` files. They provide additive, Copilot-specific guidance selected by `applyTo`; do not duplicate or override `AGENTS.md` policy here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,13 @@ | ||
| # General Repository Instructions - Intel Extension for scikit-learn | ||
|
|
||
| ## Repository Overview | ||
|
|
||
| Extension for scikit-learn accelerates scikit-learn up to 100X using oneDAL (varies by algorithm and data). Zero code changes required for existing sklearn applications. | ||
| --- | ||
| applyTo: "**" | ||
| --- | ||
|
|
||
| **Architecture**: 4-layer system (sklearnex ⇒ {daal4py, onedal} → oneDAL C++) | ||
| **Platforms**: Linux, Windows; CPU (x86_64, ARM), GPU (Intel via SYCL) | ||
|
|
||
| **Version Requirements**: | ||
| For current supported versions, always refer to: | ||
| - `setup.py` - Python version classifiers | ||
| - `requirements-test.txt` - scikit-learn and runtime dependencies | ||
| - `dependencies-dev` - Build dependencies | ||
|
|
||
| ## Quick Build and Test | ||
| # General Repository Instructions - Intel Extension for scikit-learn | ||
|
|
||
| ```bash | ||
| export DALROOT=/path/to/onedal | ||
| python setup.py develop | ||
| pytest --verbose sklearnex | ||
| ``` | ||
| Read [../../AGENTS.md](../../AGENTS.md). It is the canonical guide for architecture, version floors, build and test commands, review rules, and directory guides. | ||
|
|
||
| ## For GitHub Copilot | ||
| Use `setup.py`, `requirements-test.txt`, and `dependencies-dev` as the source of truth for supported versions and dependencies. | ||
|
|
||
| See [AGENTS.md](../AGENTS.md) for comprehensive information including: | ||
| - Detailed architecture and layer interactions | ||
| - Algorithm support and GPU compatibility | ||
| - Performance patterns and optimization strategies | ||
| - Development setup and environment configuration | ||
| - Testing strategy and validation approaches | ||
| Read the nearest `AGENTS.md` for subsystem-specific guidance. | ||
|
|
||
| ## Related Instructions | ||
| - `build-config.instructions.md` - Build system and environment setup | ||
| - `sklearnex.instructions.md` - Primary sklearn interface | ||
| - `daal4py.instructions.md` - Direct oneDAL bindings | ||
| - `onedal.instructions.md` - Low-level C++ bindings | ||
| - `src.instructions.md` - Core C++/Cython implementation | ||
| - `tests.instructions.md` - Testing infrastructure | ||
| More specific `.github/instructions/*.instructions.md` files are additive Copilot guidance selected by `applyTo`; they do not override `AGENTS.md`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.