当前位置: 首页 > Skill >

Phy Citation Checker

Phy Citation Checker

Phy Citation Checker

使用 CrossRef、Semantic Scholar、OpenAlex 验证学术引用,检测 AI 幻觉引用、嵌合引用及可疑模式。

1.0.2 2026.11.15 123
获取Skill文件查看使用说明
作 者:苏景 许可证: 更新时间:2026.11.15
本文目录展开

check-citations

Verify academic citations against CrossRef, Semantic Scholar, and OpenAlex. Detects AI-hallucinated references, chimeric citations (real title + wrong authors), and suspicious patterns before submission.

When to Use

  • After writing or editing a .bib file with AI assistance
  • Before submitting a paper, thesis, or report
  • When reviewing AI-generated literature sections
  • As a CI/CD check in LaTeX manuscript pipelines
  • When auditing existing bibliographies for dead or fabricated references

Background

  • 6-55% of AI-generated citations are fabricated (varies by model/domain)
  • 100+ hallucinated references found in NeurIPS 2025 accepted papers
  • Universities increasingly treat fake citations as academic misconduct
  • Three hallucination types: fully fabricated, chimeric (real title + wrong authors), modified real (slightly altered metadata)

Usage

Quick Check (Single File)

python scripts/citation_checker.py references.bib

Check All .bib Files in a Directory

python scripts/citation_checker.py path/to/report/

JSON Output (CI/CD Pipelines)

python scripts/citation_checker.py references.bib --json

Verbose Mode (Debug API Responses)

python scripts/citation_checker.py references.bib --verbose

How It Works

Cascading Multi-Source Verification

Each citation is checked against three independent databases:

Source Coverage Strength
CrossRef 140M+ DOI-registered works Best for journal/conference papers with DOIs
Semantic Scholar 200M+ papers Best author disambiguation, arXiv coverage
OpenAlex 240M+ works Broadest coverage, fully open

Verification logic:

  • Found in 2+ sources with matching title → verified (high confidence)
  • Found in 1 source only → suspicious (manual check recommended)
  • Found in 0 sources → not_found (likely hallucinated)

Chimeric Detection

When a citation's title matches a real paper but the authors don't overlap at all, it's flagged as a possible chimeric hallucination — the most dangerous type because the title looks real on Google Scholar.

Red Flag Heuristics

  • Invalid DOI format (doesn't start with 10.xxxx/)
  • Suspiciously generic title patterns ("A Comprehensive Survey of...")
  • Future publication year
  • Missing author or year fields
  • Single-word author names (incomplete metadata)

Exit Codes

Code Meaning
0 All citations verified
1 One or more citations not found
2 Suspicious citations only (no hard failures)

Dependencies

pip install requests

No API keys required — uses free tiers of all three databases.

Accuracy (Tested)

Category Result Description
Known-good 9/10 (90%) Famous ML papers (Vaswani, Devlin, Brown, He, etc.)
Known-bad 10/10 (100%) Fabricated papers with plausible titles
Chimeric 5/5 (100%) Real titles with wrong authors
False positive rate 10% 1 miss: unpublished tech report without DOI
False negative rate 0% No fake paper was ever verified

The core guarantee: fake papers are never marked as real.

Limitations

  • Papers without DOI that have many derivatives (e.g., BERT without DOI) may not be found via title search alone — always include DOIs when available
  • Semantic Scholar free tier rate-limits at ~100 requests/5 minutes — batch verification is slower
  • Cannot verify papers behind paywalls or not indexed in any of the three databases
  • Book chapters, technical reports, and grey literature have lower coverage

Integration with LaTeX Workflows

Pre-commit Hook

#!/bin/bash
# .git/hooks/pre-commit
python scripts/citation_checker.py references.bib --json > /tmp/cite_check.json
NOT_FOUND=$(python3 -c "import json; d=json.load(open('/tmp/cite_check.json')); print(d['summary']['not_found'])")
if [ "$NOT_FOUND" -gt "0" ]; then
    echo "BLOCKED: $NOT_FOUND unfound citations. Run 'python scripts/citation_checker.py references.bib --verbose' to investigate."
    exit 1
fi

GitHub Actions

- name: Check citations
  run: |
    pip install requests
    python scripts/citation_checker.py references.bib --json > citation_report.json
    python -c "
    import json, sys
    r = json.load(open('citation_report.json'))
    if r['summary']['not_found'] > 0:
        print(f'FAIL: {r["summary"]["not_found"]} citations not found')
        sys.exit(1)
    print(f'PASS: {r["summary"]["verified"]} verified, {r["summary"]["suspicious"]} suspicious')
    "

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
Skill 文件
  • SKILL.md
    • check-citations
    • When to Use
    • Background
    • Usage
      • Quick Check (Single File)
      • Check All .bib Files in a Directory
      • JSON Output (CI/CD Pipelines)
      • Verbose Mode (Debug API Responses)
    • How It Works
      • Cascading Multi-Source Verification
      • Chimeric Detection
      • Red Flag Heuristics
    • Exit Codes
    • Dependencies
    • Accuracy (Tested)
    • Limitations
    • Integration with LaTeX Workflows
      • Pre-commit Hook
      • GitHub Actions
  • 项目或源文件

相关 Skill

更多
Semanticscholar Skill Semanticscholar Skill 用于在检索学术论文、查找引用、寻找作者或获取论文推荐时调用 Semantic Scholar API,触发条件为查询。
Nm Tome Papers Nm Tome Papers 在 arXiv、Semantic Scholar 和开放获取 PDF 中搜索学术文献。
Semantic Scholar Semantic Scholar 学术搜索(semanticscholar.org)。使用此技能处理任何学术搜索请求——搜索和读取数据。无论何时任务涉及学术搜索,请使用此技能。
academic-literature-review.zip academic-literature-review.zip 面向高校学习与科研的文献综述助手。给定主题,自动并发检索 arXiv、Semantic Scholar、OpenAlex、Crossref 四个开放学术库,按 TF-IDF 相关性排序过滤、标题去重;再用向量聚类把文献分成若干主题,自动生成主题标签;最后一键导出 BibTeX / Markdown 参考文献。脚本完成检索、去重、聚类与导出(纯标准库、零依赖),提示词负责合成结构化综述草稿,形成"检索→聚类→综述→参考文献"的完整工作流。
Beautiful Soup Academic Paper Parser Beautiful Soup Academic Paper Parser 使用BeautifulSoup4与lxml解析器从学术知识库中提取结构化引用数据。解析来自PubMed、arXiv和Semantic Scholar HTML的DOI元数据、作者隶属关系和参考文献列表。