汇总 AI 引用日志,按轮次筛选,用「轮次、回答编号、URL」去重,再按主机名计数。同一 URL 跨回答、跨轮次仍各计一次。
利益披露:月榜数据来自作者团队自建工具,监测对象是团队自有品牌。CSV 为演示数据。
用六行 CSV 跑通计数
保存为 citations.csv。第 9 轮有重复项,第 10 轮再次引用同一 URL,第 11 轮含子域名和非法 URL,第 12 轮在统计范围外。回答编号在同轮内须唯一。
round_id,answer_id,url
9,a,https://docs.example.com/a
9,a,https://docs.example.com/a
10,a,https://docs.example.com/a
11,b,https://m.docs.example.com/a
11,b,not-a-url
12,c,https://docs.example.com/a
保存为 monthly.py,运行 python3 monthly.py citations.csv。每个主机名输出引用条数和出现轮数,归并时对轮次求并集。
import csv
import sys
from collections import Counter, defaultdict
from urllib.parse import urlsplit
def read_citations(path):
citations, invalid = set(), 0
with open(path, encoding="utf-8-sig", newline="") as csv_file:
for row in csv.DictReader(csv_file):
try:
round_id = int(row.get("round_id") or "")
if round_id not in {9, 10, 11}:
continue
answer_id = (row.get("answer_id") or "").strip()
url = (row.get("url") or "").strip()
parsed = urlsplit(url)
host = parsed.hostname
if not answer_id or not host or parsed.scheme not in {"http", "https"}:
raise ValueError("invalid citation")
except ValueError:
invalid += 1
continue
citations.add((round_id, answer_id, url, host))
return citations, invalid
def print_hosts(citations, aliases):
counts, rounds = Counter(), defaultdict(set)
for round_id, _, _, host in citations:
host = aliases.get(host, host)
counts[host] += 1
rounds[host].add(round_id)
for host in sorted(counts, key=lambda name: (-counts[name], name)):
print(host, counts[host], len(rounds[host]))
citations, invalid = read_citations(sys.argv[1])
print("不合格行:", invalid)
print("主机名原值")
print_hosts(citations, {})
print("显式归并")
print_hosts(citations, {"m.docs.example.com": "docs.example.com"})
预期输出如下。原值合计 2 + 1,归并后仍是 3 条。
不合格行: 1
主机名原值
docs.example.com 2 2
m.docs.example.com 1 1
显式归并
docs.example.com 3 3
urlsplit().hostname 提取小写主机名。URL 去重只去首尾空白,保留查询参数、末尾斜杠和 www.。月报记录去重规则和归并映射,便于复跑。
这一期的规模和口径
| 轮次 | 第 9 轮 | 第 10 轮 | 第 11 轮 | 合计 |
|---|---|---|---|---|
| 引用条数 | 4,555 | 4,372 | 4,276 | 13,203 |
2026 年 9 月引用源月榜脱敏后为 13,203 条引用、2,225 个域名。
- 题集:45 道中文 GEO 题,北京时间 9 月 1 日至 18 日问三轮。
- 引擎:实跑 11 个,9 个进入自定的可靠区间。ChatGPT、Kimi 未达门槛,其引用仍计入。
- 计数:同一回答内同 URL 计一次,主机名保留子域。
- 快照:北京时间 9 月 29 日 16:08,发布前剔除 25 个域名、42 条引用。
为什么按轮次编号合并?
按编号筛第 9、10、11 轮,跨月的一轮能完整计入,补跑仍归原轮。补跑会改写记录,复算要用同一快照。第 11 轮 ChatGPT 和 Kimi 基本没跑起来,比较各轮条数要带上这个缺口。
按域名原值计数,会低估什么?
按原值,blog.csdn.net 的 357 条与 m.blog.csdn.net 分组,因此前者低估平台合计。同一快照和解析规则下,原值榜可复跑。需要平台合计时,用显式映射另出一张归并表。
头部和长尾怎么看?
9 月三轮合并后,第 1 名占 4.66%,前 10 占 24.9%,前 100 占 63.8%。
| 位次 | 条数 | 域名 | 平台 |
|---|---|---|---|
| 1 | 615 | baijiahao.baidu.com | 百家号 |
| 2 | 404 | iesdouyin.com | 抖音分享页 |
| 3 | 357 | blog.csdn.net | CSDN 博客 |
| 4 | 352 | cnblogs.com | 博客园 |
| 5 | 345 | ithome.com | IT之家 |
356 个域名三轮均出现,占域名数 16.0%,贡献引用数的 77.5%。前 100 名中有 99 个三轮均出现,另有 1,313 个域名三轮合计只被引一次。可结合「出现轮数」和引擎缺口读表。
两期口径不同,能比什么?
8 月第 5 轮同题,共 4,636 条引用。8 月只有一轮,Gemini 跑了 28/45。9 月合并三轮,ChatGPT 和 Kimi 有缺口。
| 比较项 | 怎么用 | 原因 |
|---|---|---|
| 前 10 合计占比 30.4% → 24.9% | 可并列展示 | 三轮合并会纳入各轮长尾,轮次与引擎缺口不同,无法单独判断头部变化 |
| 位次 | 能比,只当两次观测的差 | cnblogs.com 从第 1 到第 4;baijiahao.baidu.com 从第 4 到第 1 |
| 名单重合 | 能比 | 前 10 重合 6 个,前 100 重合 68 个 |
以上是两次观测差异。判断趋势需要数期同口径数据。截至 2026-11-28,引用源月榜发布到第 1 期。
边界
这些次数描述单一题集的引用分布。换题集或引擎配置后,按新样本重新计算。
文字由 AI 辅助创作、作者审校发布。
