SynapseML
AGENTS.md5.2k starsChanged 2 months agoMITView on GitHub
Use this file for repository-wide rules. Human contributors should start with CONTRIBUTING.md. 1. Resolve the target branch (the PR base, not merely the checked-out feature branch), then use the branch context skill. 2. Read versions from build.sbt and environment.yml. Do not copy version numbers into this shared guide. 3. Use the narrowest relevant repository skill: Scala changes, local setup, and code review. 4. For requests to make one or more issues or PRs "5/5", "200% ready", or merge-ready, use the…
- Reads credentials
Trending
Quiet since June.about the whole repository
Who's talking about microsoft/SynapseML
- lightgbm-org/LightGBM“[docs] fix broken SynapseML link”GitHub · Oct 24, 2021 · 1 reactions
- PyTorchKR/landscape“[Add] SynapseML (microsoft/SynapseML)”GitHub · Jun 2, 2026
- lightgbm-org/LightGBM“Org change: work tracking”GitHub · Mar 8, 2026
- clearlydefined/curated-data“Update declared license for maven:synapseutils_2.12 1.5.0”GitHub · Dec 20, 2025
- lqdev/luisquintanilla.me“Add to read later: SynapseML v1.0.0”GitHub · Nov 24, 2025
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub (22 times).
On GitHub · 22
- Oct 24, 2021[docs] fix broken SynapseML link — lightgbm-org/LightGBM1 reaction · 5 comments
- Jun 2, 2026[Add] SynapseML (microsoft/SynapseML) — PyTorchKR/landscape0 reactions
- Mar 8, 2026Org change: work tracking — lightgbm-org/LightGBM0 reactions · 3 comments
- Dec 20, 2025Update declared license for maven:synapseutils_2.12 1.5.0 — clearlydefined/curated-data0 reactions · 1 comment
- Nov 24, 2025Add to read later: SynapseML v1.0.0 — lqdev/luisquintanilla.me0 reactions
17 more on GitHub
- Nov 24, 2025[Read Later] — lqdev/luisquintanilla.me0 reactions · 1 comment
- Feb 5, 2025SynapseML update to 1.0.8 — sb-ai-lab/SLAMA0 reactions
- May 1, 2024[RFC] remove HDFS support? — lightgbm-org/LightGBM0 reactions · 4 comments
- Aug 23, 2023[docs] fix broken links — lightgbm-org/LightGBM0 reactions · 1 comment
- May 24, 2023Add GPT based code review CI — Azure/PSRule.Rules.Azure0 reactions · 2 comments
- Sep 5, 2022feat: support SparkML model -- FPM — dotnet/spark0 reactions · 3 comments
- Aug 18, 2022scala lightGBM classifier and regressor[WIP] — intel/ipex-llm0 reactions · 5 comments
- Jul 15, 2022mmlspark関連のWarningが出る — gho9o9/SynapseHandsOn0 reactions
- Jun 14, 2022[training] lightgbm train auc is low after synapseml 0.9.5 — meta-soul/MetaSpore0 reactions
- Jun 8, 2022use new getNativeModel method in get_surrogate_booster_pyspark to simplify erroranalysis code — microsoft/responsible-ai-toolbox0 reactions · 6 comments
- Jun 7, 2022Disk spaces in images — Azure/AzureML-Containers0 reactions
- May 5, 2022part 2: add pyspark support to tree surrogate model in error analysis — microsoft/responsible-ai-toolbox0 reactions · 16 comments
- Apr 28, 2022mmlspark -> SynapseML — rstudio/spark.rstudio.com0 reactions
- Apr 26, 2022mmlspark -> SynapseML — sparklyr/sparklyr0 reactions · 1 comment
- Feb 14, 2022Fixing .replace is not a function — mhamilton723/github-actions-issue-to-work-item0 reactions
- Oct 21, 2021[synapseML] Missing results for query "SynapseML" — algolia/docsearch-configs0 reactions · 5 comments
- Sep 28, 2021Loading model in pyspark fails — jelmerk/hnswlib0 reactions · 5 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- code-reviewSkill
- scala-codeSkill
- synapseml-branchesSkill
- synapseml-external-contributor-reviewSkill
- synapseml-local-setupSkill
- synapseml-pr-loopSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
23 rules. About 1 is common, 12 are distinctive, and 10 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 3
Use this file for repository-wide rules.
- Very specific: line 11
Read versions from build.sbt and environment.yml.
- Distinctive: line 14
Use the narrowest relevant repository skill: Scala changes, local setup, and code review.
- Very specific: line 24
Never edit target/; generated files are overwritten.
- Very specific: line 25
Never commit or print credentials, keys, connection strings, or .env files.
- Distinctive: line 26
Do not add RDD-based implementations.
- Distinctive: line 28
Do not rebase or force-push shared port branches.
- Very specific: line 29
Do not add a hand-written __init__.py merely to re-export generated classes.
- Distinctive: line 31
Keep existing public JVM signatures and serialized parameter shapes unless a breaking change is explicitly approved.
- Very specific: line 34
Ask before changing pipeline.yaml, workflows under .github/workflows/, release tooling, or dependency pins.
- Distinctive: line 45
Use the branch context skill for the active target list.
- Distinctive: line 52
keep the branch side only for version-driven differences.
- Very specific: line 79
All modules depend on core.
- Distinctive: line 109
Use the smallest command that proves the change, then expand when the affected surface requires it.
- Distinctive: line 127
Add positive, negative, schema, persistence, and end-to-end coverage where the behavior warrants it.
- Common: line 132
Do not turn a skip into a pass by embedding a secret.
- Very specific: line 137
Use a conventional title: feat:, fix:, test:, docs:, ci:, or chore:.
- Very specific: line 142
Write review artifacts directly to reviews/pr-<pr_number>/ and pass that output directory explicitly to review tools.
- Very specific: line 145
Before the PR number exists, keep drafts in the session workspace.
- Very specific: line 151
Treat GitHub Actions as fast checks and pipeline.yaml as the full build.
- Distinctive: line 153
Do not equate green checks with correctness: compare before/after failures, inspect skipped tests, and verify the requested behavior …
- Distinctive: line 160
Add only durable, repository-wide guidance that changes an agent's decision.
- Distinctive: line 161
Prefer a link to the source of truth over copied commands, versions, or long examples.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SynapseML agent guide
Use this file for repository-wide rules. Human contributors should start with CONTRIBUTING.md.
Start here
- Resolve the target branch (the PR base, not merely the checked-out feature branch), then use the branch context skill.
- Read versions from build.sbt and environment.yml. Do not copy version numbers into this shared guide.
- Use the narrowest relevant repository skill: Scala changes, local setup, and code review.
- For requests to make one or more issues or PRs "5/5", "200% ready", or merge-ready, use the SynapseML PR loop.
Non-negotiable rules
- Never edit
target/; generated files are overwritten. - Never commit or print credentials, keys, connection strings, or
.envfiles. - Do not add RDD-based implementations. Use DataFrame/Dataset APIs so code works with Spark Connect and managed Spark modes.
- Do not rebase or force-push shared port branches.
- Do not add a hand-written
__init__.pymerely to re-export generated classes; a stale__all__can hide public APIs. - Keep existing public JVM signatures and serialized parameter shapes unless a breaking change is explicitly approved.
Ask before changing pipeline.yaml, workflows under
.github/workflows/, release tooling, or dependency
pins. These changes affect every branch and require CI evidence.
Branch model
| Branch | Use it for |
master | Ordinary features, fixes, and repository-wide changes |
spark<version> port branches | Differences required specifically by that Spark port |
Use the branch context skill for
the active target list. Historical remote refs are not active merely because
git branch -r lists them. Unqualified branch work covers only active targets.
Land cross-version changes on master; port branches receive them by merging
master. When resolving a port-branch merge:
- keep the branch side only for version-driven differences;
- take the
masterside for ordinary fixes; - combine both when each changed the same file for a different reason.
Reachability is not proof that a sync preserved content. Compare the merge base,
master, and the port branch for every conflicted file, and verify that
master additions remain present.
AGENTS.md and CONTRIBUTING.md must stay identical across
branches, so neither may name a Spark, Scala, Java, or Python version, or a path
containing one. Put branch-only facts in the
branch context skill. Every other
document — README.md, the website, and module docs — is free to be
branch- and version-specific, because nothing requires those to match across
branches.
Repository map
| Module | Path | Purpose |
| Core | core/ | SparkML foundations, IO, codegen, AutoML, causal and exploratory tools |
| Cognitive | cognitive/ | Azure AI and OpenAI service stages |
| LightGBM | lightgbm/ | Distributed classifier, regressor, and ranker |
| Vowpal Wabbit | vw/ | VW integration |
| Deep learning | deep-learning/ | ONNX Runtime inference |
| OpenCV | opencv/ | Image transformations |
All modules depend on core; deep-learning also depends on opencv.
Each module follows src/main/scala, optional hand-written
src/main/python, and src/test/{scala,python}. Follow nearby code before
introducing a new pattern.
Scala-first API and code generation
Public SparkML behavior belongs in Scala. Classes mixing in
Wrappable
generate Python wrappers under
target/scala-*/generated/src/python/synapse/ml/.
For a new or changed stage, verify:
- companion object extends
DefaultParamsReadable[Stage]; - class accepts
uid: Stringand has a random-UID no-arg constructor; Wrappableis present when a Python wrapper is required;SynapseMLLoggingis mixed in,logClass(...)is called, andfit/transformis logged;copy(extra)preserves parameters, normally throughdefaultCopy(extra);transformSchemamatches runtime output;- save/load and generated wrapper behavior are tested.
Hand-written Python may extend a generated _ClassName wrapper when JVM
delegation needs a Python convenience method. Do not move core behavior into
Python.
Validation
Use the smallest command that proves the change, then expand when the affected surface requires it. Run SBT with the JDK selected by the local setup skill, not the machine default.
sbt <module>/compile
sbt <module>/Test/compile
sbt "<module>/testOnly fully.qualified.Suite"
sbt <module>/scalastyle <module>/Test/scalastyle
sbt codegen
black --check --extend-exclude 'docs/' .Black is pinned in pyproject.toml; use that version.
Scala tests extend
TestBase.
Add positive, negative, schema, persistence, and end-to-end coverage where the
behavior warrants it. A helper-only test is not proof that the public
transformer path works.
Tests that require Azure credentials should skip when credentials are absent. Do not turn a skip into a pass by embedding a secret. Inspect service tests before running them because some create or delete cloud resources.
Pull requests and CI
- Use a conventional title:
feat:,fix:,test:,docs:,ci:, orchore:. - Target
masterunless the change exists only for a port branch. - Resolve active and suppressed review findings; document why any finding is invalid.
- Write review artifacts directly to
reviews/pr-<pr_number>/and pass that output directory explicitly to review tools. Preserve attempt/round/model filenames, the reviewed commit SHA, and resolution evidence for debugging. Before the PR number exists, keep drafts in the session workspace; their first committed location must be the numbered PR directory, not a flat or task-named folder underreviews/. - Trigger Azure validation with
/azp runwhere supported. Branch-specific exceptions are documented in the branch context skill. - Treat GitHub Actions as fast checks and pipeline.yaml as the full build.
- Do not equate green checks with correctness: compare before/after failures, inspect skipped tests, and verify the requested behavior directly.
- Rebase feature PRs onto the latest target before final validation. Merge
masterinto shared port branches instead of rebasing them.
Keep this file useful
Add only durable, repository-wide guidance that changes an agent's decision. Prefer a link to the source of truth over copied commands, versions, or long examples. Put implementation detail beside the code, contributor process in CONTRIBUTING.md, and branch-specific facts in the branch context skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

