Cursor + GitHub Copilot into a survey. Another writes Grok Build. A third just writes Copilot. A spreadsheet can count all three strings without complaint. The hard part is deciding which products they refer to, which answers need review, and how many people belong in the denominator.Shattered’s 12-step write-in audit tackles that problem with a local Python matcher. The useful idea is to give each product a stable ID, keep a record of how each name was matched, and leave uncertain answers visible instead of forcing them into a bucket. That matters for a developer survey, but it also matters when an IT team turns free-text software requests or support tickets into an adoption dashboard.
What the Stack Overflow numbers actually compare
In Stack Overflow’s 2025 Developer Survey, 67.9% was GitHub Copilot’s result on an out-of-the-box agents, copilots and assistants question answered by 8,323 people. 17.9% was Cursor’s result on a development-environments question answered by 26,143 people. Those percentages describe different questions and different groups of respondents. Dividing one by the other does not tell you how much more widely one product was used.
Stack Overflow’s 2026 survey offers a cleaner comparison. Among 12,255 respondents to the same question about coding agents or assistants used in the past year, 7,196 (58.7%) reported using GitHub Copilot and 3,127 (25.5%) reported using Cursor. That tells you which tool more respondents selected on that question. It is not a market-share estimate, and it does not tell you how many used both. The same 2026 survey reports Cursor at 14.9% on its separate development-environments question—another reminder that what you ask changes what the number means.
Cursor’s new name belongs in the audit trail
Grok’s November 30, 2026 announcement says Cursor became the Grok Build desktop app. The company says the core IDE experience, agent sessions and third-party model support continue. Starting December 7, 2026, it says users should replace @Cursor with @Build in integrations such as Slack, GitHub, Linear and Jira; command-line and API automations that call agent are expected to keep working as written.
For a desktop-tool survey spanning the change, map Cursor and Grok Build to one ID and retain the alias that matched. That keeps the usage series from splitting at the rename while letting you track which name people actually wrote. Don’t extend that rule blindly to older terminal logs: the announcement also describes a Grok Build terminal product, so a historical Grok Build mention is not automatically evidence of Cursor desktop use. Use the question wording and collection date to decide what belongs together.
A 12-step write-in audit on Windows
This compact version uses Python 3.12, PowerShell and RapidFuzz. You need a UTF-8 CSV with a respondent ID and a free-text column. Once the package is installed, the audit runs locally without an API key. It makes one deliberate change to Shattered’s matching policy: bare Copilot goes to review rather than being counted as GitHub Copilot with a warning. Set that policy before looking at the results.
- Create a virtual environment. From a new project folder, run the following with Python 3.12 available as
python. Calling the environment’s interpreter directly avoids having to activate a PowerShell script or change execution policy.
Code:python --version python -m venv .venv .\.venv\Scripts\python.exe -m pip install rapidfuzz==3.14.6 - Make a small test CSV. Save the example below as
writeins.csv. The blank, placeholder and ambiguous entries are there to test three different outcomes.
Code:respondent_id,ai_tools_writein 1,Cursor + GitHub Copilot 2,"Cursor, Cursor AI" 3,Microsoft Copilot 4,Copilot 5,database cursor 6,n/a 7, 8,Grok Build 9,Githb Copilot - Choose stable product IDs. Keep GitHub Copilot and Microsoft Copilot separate. Map the old and new Cursor desktop labels to
cursorfor this question. - Split lists before stripping punctuation. Otherwise
Cursor + GitHub Copilotloses the separator that marks two tools. Protectn/abefore splitting on slashes. - Normalize both input and aliases. Apply Unicode normalization, case folding and whitespace cleanup to both sides.
- Match the whole cleaned mention first. That keeps
database cursorfrom matching just because it contains the wordcursor. Be explicit about known non-product phrases. - Make fuzzy matching conservative. Compare the best score for each competing product, not just the top two aliases overall. Two aliases for the same product can otherwise hide a close rival. Treat 85 as a starting threshold, not a confidence percentage: RapidFuzz’s
ratiomeasures string similarity. - Deduplicate by respondent and tool. Merge repeated IDs, and count
Cursor, Cursor AIonce for Cursor. - Count the denominator separately. This example uses unique respondents with any nonblank write-in, including
n/aand unresolved answers. If your survey treatsn/aas missing, change and disclose that rule rather than silently dropping those respondents.
Save this implementation of steps 3–9 as audit.py:
import csv
import re
import sys
import unicodedata
from collections import Counter, defaultdict
from rapidfuzz import fuzz
ALIASES = {
"cursor": ("cursor", "cursor ai", "cursor ide", "grok build", "grokbuild"),
"github_copilot": ("github copilot", "gh copilot", "github copilot chat"),
"microsoft_copilot": ("microsoft copilot", "m365 copilot", "copilot studio"),
"ambiguous": ("copilot", "copilot chat"),
}
BLOCKED = {"database cursor", "sql cursor", "mouse cursor"}
PLACEHOLDERS = {"", "none", "no", "na", "not applicable"}
SPLIT = re.compile(r"[,;/+&|]|\b(?:and|plus)\b", re.IGNORECASE)
def normalize(text):
text = unicodedata.normalize("NFKC", text).casefold()
return " ".join(re.sub(r"[^\w\s]", " ", text).split())
def mentions(raw):
raw = unicodedata.normalize("NFKC", raw)
raw = re.sub(r"\bn\s*/\s*a\b", " none ", raw, flags=re.IGNORECASE)
for part in SPLIT.split(raw):
cleaned = normalize(part)
if cleaned not in PLACEHOLDERS:
yield cleaned
def match(text, exact):
if text in BLOCKED:
return None, "blocked", None
if text in exact:
tool = exact[text]
if tool == "ambiguous":
return None, "ambiguous", text
return tool, "exact", text
if len(text) < 6:
return None, "unmatched", None
best = {}
for alias, tool in exact.items():
score = fuzz.ratio(text, alias)
if tool not in best or score > best[tool][0]:
best[tool] = (score, alias)
ranked = sorted(best, key=lambda tool: best[tool][0], reverse=True)
winner = ranked[0]
score, alias = best[winner]
if score < 85:
return None, "unmatched", None
if winner == "ambiguous" or score - best[ranked[1]][0] < 3:
return None, "ambiguous", alias
return winner, "fuzzy", alias
def audit(path, column):
exact = {}
for tool, aliases in ALIASES.items():
for name in aliases:
alias = normalize(name)
if alias in exact and exact[alias]!= tool:
raise SystemExit(f"Alias belongs to two tools: {alias!r}")
exact[alias] = tool
answered = set()
tools = defaultdict(set)
alias_hits = defaultdict(set)
review = defaultdict(set)
with open(path, encoding="utf-8-sig", newline="") as file:
rows = csv.DictReader(file)
headers = rows.fieldnames or []
if "respondent_id" not in headers or column not in headers:
raise SystemExit(f"Required columns not found. CSV headers: {headers!r}")
for row in rows:
raw = (row.get(column) or "").strip()
if not raw:
continue
respondent = (row.get("respondent_id") or "").strip()
if not respondent:
raise SystemExit(f"Missing respondent ID near line {rows.line_num}")
answered.add(respondent)
for text in mentions(raw):
tool, method, alias = match(text, exact)
if tool:
tools[respondent].add(tool)
alias_hits[tool, method, alias].add(respondent)
else:
review[method, text].add(respondent)
counts = Counter(tool for names in tools.values() for tool in names)
print(f"Respondents with nonblank write-ins: {len(answered)}")
for tool, count in counts.most_common():
print(f"{tool}: {count} ({count / len(answered):.1%})")
for key, people in sorted(alias_hits.items()):
print(f"Alias {key}: {len(people)} respondent(s)")
for key, people in sorted(review.items(), key=lambda item: -len(item[1])):
print(f"Review {key}: {len(people)} respondent(s)")
if __name__ == "__main__":
if len(sys.argv)!= 3:
raise SystemExit("Usage: python audit.py FILE.csv WRITEIN_COLUMN")
audit(sys.argv[1], sys.argv[2])
- Run the fixture and inspect the review output. The expected denominator is 8, with 3 Cursor respondents, 2 GitHub Copilot respondents and 1 Microsoft Copilot respondent. Bare
Copilotshould appear as ambiguous anddatabase cursoras blocked. The two Cursor spellings on row 2 should appear in the alias breakdown but contribute only one person to the Cursor total. Alias counts aren’t additive.
.\.venv\Scripts\python.exe audit.py writeins.csv ai_tools_writein - Turn the fixture into a regression test. Save those expected results alongside the fixture and check them after every rule change. Add cases for a repeated respondent ID, a short word such as
pilot, and any collision found in a real export. If an import fails, confirm the package was installed with the same interpreter used to run the script. For a DLL-load error, RapidFuzz’s Windows installation notes point to the Visual C++ redistributable as a likely cause. - Run the real export twice. Verify the actual header and inspect a few cells first: a structured multi-select field is not necessarily the raw write-in field. Run once with the baseline rules, review the most frequent unresolved strings in context, then rerun with any approved alias changes. This example accepts a UTF-8 byte-order mark and prints the parsed headers if a column is missing. If it shows one giant header rather than several, check whether the export uses a delimiter other than a comma.
Publish the counting rules with the percentages
Shattered’s larger synthetic demo reported that two reviewed typo aliases moved Cursor from 436 to 456 out of 1,272 write-in respondents, or 34.3% to 35.8%, without changing a single raw answer. Those are the publisher’s reported results from invented data, not independently reproduced results or evidence of developer adoption. They illustrate why an alias change belongs in the methodology, not just in a code commit.
For a real report, publish the question, collection dates, denominator rule, alias registry version and treatment of unresolved names. If bare Copilot comes up often, show how much the GitHub Copilot result would change if those unresolved respondents were assigned to it, without counting people already matched to GitHub Copilot twice. And if tool percentages add up to more than 100%, say why: one person can use both products. The audit succeeds when another analyst can reproduce the count and see exactly which judgment calls changed it.
Correction (December 1, 2026): Step 1 originally read python -m venv.venv, missing the space before the environment folder name, which fails because Python looks for a module named venv.venv. It now reads python -m venv .venv.
References
- Cursor vs Copilot Write-Ins: 12 Steps, 65 Min - shattered.io shattered.io · 2026-12-02T01:57:47+00:00
- AI | 2025 Stack Overflow Developer Survey survey.stackoverflow.co
- venv — Creation of virtual environments — Python 3.12.16 documentation docs.python.org