citeformer 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/bump.md +6 -2
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/release.md +2 -2
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/contract-invariant/SKILL.md +6 -6
- {citeformer-0.3.0 → citeformer-0.3.2}/.github/ISSUE_TEMPLATE/bug_report.yml +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/.github/ISSUE_TEMPLATE/config.yml +1 -1
- citeformer-0.3.2/.github/dependabot.yml +23 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.github/workflows/ci.yml +19 -10
- {citeformer-0.3.0 → citeformer-0.3.2}/.github/workflows/release.yml +6 -6
- {citeformer-0.3.0 → citeformer-0.3.2}/AUTHORS.md +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/CHANGELOG.md +96 -1
- citeformer-0.3.2/CITATION.cff +25 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/CLAUDE.md +18 -12
- {citeformer-0.3.0 → citeformer-0.3.2}/CODE_OF_CONDUCT.md +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/CONTRIBUTING.md +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/LICENSE +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/PKG-INFO +66 -65
- {citeformer-0.3.0 → citeformer-0.3.2}/README.md +61 -60
- {citeformer-0.3.0 → citeformer-0.3.2}/SECURITY.md +4 -4
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/guarantees.md +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/index.md +2 -2
- {citeformer-0.3.0 → citeformer-0.3.2}/pyproject.toml +3 -3
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/_version.py +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_apa_7.yml +2 -2
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_chicago_author_date.yml +2 -2
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_ieee.yml +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_mla_9.yml +2 -2
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_nature.yml +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_vancouver.yml +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite.py +1 -1
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl.py +13 -11
- {citeformer-0.3.0 → citeformer-0.3.2}/uv.lock +1410 -896
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/agents/contract-reviewer.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/contract-check.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/release-check.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/launch.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/add-citation-format/SKILL.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/grammar-shape/SKILL.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/piggyback-first/SKILL.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/release-bump/SKILL.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.env.example +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.github/FUNDING.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.github/pull_request_template.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.gitignore +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.pre-commit-config.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/.readthedocs.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/AGENTS.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/Makefile +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/PREPRINT.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/README.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/_common.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/adversarial.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/alce_subset.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/calibration_data.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/demo.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/fetch_fixtures.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/alce-20260424T015354Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/cover-annotated.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/fabrication-structural-vs-empirical.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/multiprompt-summary.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/nli_calibration_DeBERTa-v3-large-mnli-fever-anli-ling-wanli.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/nli_calibration_nli-deberta-v3-base.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/premise-comparison.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/sweep-summary.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-flow.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-multi.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-render.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-verify.png +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/multiprompt-20260423T234641Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/multiprompt-20260424T020138Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/nli_calibration_DeBERTa-v3-large-mnli-fever-anli-ling-wanli.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/nli_calibration_nli-deberta-v3-base.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T212115Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T214616Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T215333Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T215926Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T223040Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T223421Z.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/fixtures/ai_papers.json +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/generate_cover.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/multiprompt_sweep.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/plot.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/sweep.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/threshold_calibration.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/conf.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/001-gbnf-over-lark.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/002-inline-markers-stay-numeric.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/003-bundle-five-csl-styles.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/004-citeproc-rewrite.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/005-metadata-deps-in-main-install.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/006-vllm-excluded-from-all-extra.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/007-required-policy-progression-gap.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/008-generation-result-schema-v2.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/009-bounded-content-required.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/010-verification-report-schema-v3.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/011-configurable-marker-styles.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/012-generation-result-schema-v3.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/013-citation-rich-attribution.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/014-async-surface.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/015-defer-bedrock-vertex.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/016-defer-fine-grain-windowing.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/017-defer-cost-tables.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/index.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/development/dev-setup.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/development/releasing.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/getting-started.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/api.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/architecture.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/contracts.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/index.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/spec/v0.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/docs/verification.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/01_quickstart_mock.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/02_rag_with_hf_and_verify.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/03_standalone_rendering.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/04_fetch_and_render.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/05_streaming.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/06_langchain_rag.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/07_llamaindex_rag.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/08_literature_review.ipynb +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/09_bibtex_source.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/examples/README.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/README.md +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/app.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/deploy.sh +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/requirements.txt +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/anthropic.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/base.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/fireworks.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/gemini.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/hf.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/llamacpp.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/mistral.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/mock.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/openai.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/openrouter.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/together.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/vllm.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/citeformer.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/cli/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/cli/app.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/core.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/csl.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/grammar/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/grammar/builder.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/integrations/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/integrations/langchain.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/integrations/llamaindex.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/arxiv.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/bibtex.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/cache.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/crossref.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/pdf.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/url.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/zotero.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/prompts.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/py.typed +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/csl.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/_base.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/apa.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/chicago.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/ieee.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/mla.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/nature.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/vancouver.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/styles.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/coverage.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/entailment.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/existence.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/nli.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/report.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/sentences.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/verifier.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/__init__.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_api_backends_live.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_env_connectivity.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_hf_backend.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_integrations_real_libs.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_llamacpp_backend.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_schemas/test_generation_result_canonical_snapshot.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_schemas/test_verification_report_canonical_snapshot.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_schemas.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_verify_nli.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_vllm_backend.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_extract_url_returns_metadata_and_content.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_arxiv_returns_csl_json_with_abstract.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_arxiv_strips_version_suffix.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_crossref_accepts_url_and_prefixed_forms.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_crossref_returns_csl_json.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_source_from_arxiv_puts_abstract_in_content.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_source_from_doi_builds_source.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_source_from_url_builds_source.yaml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_alce_metrics.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_api_backends.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_async_surface.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_backend_conformance.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_backends_mock.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_bibtex_zotero.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_citeformer.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_cli.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_core.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_validation.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_dedupe.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_fireworks_together_backends.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_formatters.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_formatters_edge_cases.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_fuzz.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_gemini_mistral_backends.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_auto_snapshot.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_quotes_only_snapshot.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_required_custom_bound_snapshot.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_required_snapshot.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_required_unbounded_snapshot.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_scales_cite_id_with_n_sources.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_integrations.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_marker_styles.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_metadata_cache.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_metadata_fetchers.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_metadata_pdf.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_nli_chunking.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_openrouter_backend.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_pdf_grobid.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_prompts.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_apa_7.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_chicago_author_date.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_ieee.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_mla_9.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_nature.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_vancouver.yml +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_styles.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_streaming.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_verify.py +0 -0
- {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_version.py +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Bump version in _version.py and move [Unreleased] → [X.Y.Z] in CHANGELOG. Stops before commit.
|
|
2
|
+
description: Bump version in _version.py + CITATION.cff and move [Unreleased] → [X.Y.Z] in CHANGELOG. Stops before commit.
|
|
3
3
|
argument-hint: "[patch|minor|major]"
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -14,7 +14,11 @@ Bump the citeformer version. Usage: `/bump patch` (or `minor`, or `major`).
|
|
|
14
14
|
5. Rename the `## [Unreleased]` section to `## [X.Y.Z] — YYYY-MM-DD` using today's date (UTC).
|
|
15
15
|
6. Insert a new empty `## [Unreleased]` section above it.
|
|
16
16
|
7. Update the compare link at the bottom: `[Unreleased]: .../compare/vX.Y.Z...HEAD` and add `[X.Y.Z]: .../releases/tag/vX.Y.Z`.
|
|
17
|
-
8.
|
|
17
|
+
8. Update `CITATION.cff` at repo root:
|
|
18
|
+
- Replace the `version: ...` line with `version: X.Y.Z`.
|
|
19
|
+
- Replace the `date-released: ...` line with `date-released: YYYY-MM-DD` (same UTC date as CHANGELOG).
|
|
20
|
+
- Don't touch any other field. Validate with `cffconvert --validate -i CITATION.cff` if available; if not, just sanity-check that the file is still valid YAML.
|
|
21
|
+
9. Print a summary: old version, new version, dated entries, and the three files touched (`_version.py`, `CHANGELOG.md`, `CITATION.cff`).
|
|
18
22
|
|
|
19
23
|
## Stop before committing
|
|
20
24
|
|
|
@@ -8,8 +8,8 @@ End-to-end release flow for citeformer. Usage: `/release minor` (opens a PR) or
|
|
|
8
8
|
## Steps
|
|
9
9
|
|
|
10
10
|
1. **Preflight** — run `/release-check` and confirm green. If anything fails, stop.
|
|
11
|
-
2. **Bump** — invoke `/bump <type>` to update `_version.py` + `CHANGELOG.md`.
|
|
12
|
-
3. **Commit** — stage `src/citeformer/_version.py` + `CHANGELOG.md`, commit with message `release: vX.Y.Z`.
|
|
11
|
+
2. **Bump** — invoke `/bump <type>` to update `_version.py` + `CHANGELOG.md` + `CITATION.cff`.
|
|
12
|
+
3. **Commit** — stage `src/citeformer/_version.py` + `CHANGELOG.md` + `CITATION.cff`, commit with message `release: vX.Y.Z`.
|
|
13
13
|
4. **Tag** — create `vX.Y.Z` annotated tag locally.
|
|
14
14
|
5. **Push**:
|
|
15
15
|
- **Default (no flag)**: open a branch `release/vX.Y.Z`, push it, open a PR via `gh pr create` titled `release: vX.Y.Z` with the new changelog section as the body. Human review + merge required before the tag hits main. Tag lands when someone pushes it after merge.
|
|
@@ -12,7 +12,7 @@ Three files carry §10 contracts. Edits require a ceremony, not a silent commit.
|
|
|
12
12
|
Changes the grammar shape (`cite-id` rule) or the semantics of a policy (`required` / `quotes_only` / `auto`).
|
|
13
13
|
|
|
14
14
|
**Ceremony:**
|
|
15
|
-
1. Regenerate `tests/unit/test_grammar_builder.py` snapshots via `pytest --regen
|
|
15
|
+
1. Regenerate `tests/unit/test_grammar_builder.py` snapshots via `pytest --force-regen tests/unit/test_grammar_builder.py`.
|
|
16
16
|
2. Classify the change:
|
|
17
17
|
- Adding a new policy → **minor** bump.
|
|
18
18
|
- Changing an existing policy's semantics → **major** bump.
|
|
@@ -22,10 +22,10 @@ Changes the grammar shape (`cite-id` rule) or the semantics of a policy (`requir
|
|
|
22
22
|
|
|
23
23
|
## §10.2 — `src/citeformer/core.py` (`Source.metadata` type) + `src/citeformer/render/csl.py`
|
|
24
24
|
|
|
25
|
-
Changes the expected CSL-JSON shape that `Source.metadata` must conform to (and that
|
|
25
|
+
Changes the expected CSL-JSON shape that `Source.metadata` must conform to (and that the home-grown formatters in `src/citeformer/render/formatters/` consume — see ADR-004).
|
|
26
26
|
|
|
27
27
|
**Ceremony:**
|
|
28
|
-
1. Regenerate `tests/unit/
|
|
28
|
+
1. Regenerate the CSL rendering snapshots: `tests/unit/test_render_csl.py` (4 core CSL types × 6 styles) and `tests/unit/test_csl_suite.py` (50-case fixture × 6 formatters = 300 snapshots) via `pytest --force-regen tests/unit/test_render_csl.py tests/unit/test_csl_suite.py`; check `tests/unit/test_render_styles.py` (name registry + classification) still passes.
|
|
29
29
|
2. Classify:
|
|
30
30
|
- Passing through a new optional CSL field → **minor**.
|
|
31
31
|
- Renaming / removing a field we read → **major**.
|
|
@@ -33,11 +33,11 @@ Changes the expected CSL-JSON shape that `Source.metadata` must conform to (and
|
|
|
33
33
|
|
|
34
34
|
## §10.3 — `GenerationResult` + `VerificationReport`
|
|
35
35
|
|
|
36
|
-
Pydantic models
|
|
36
|
+
Pydantic models carrying `schema_version` (currently `3`). Any shape change bumps `schema_version` AND requires PR-description callout.
|
|
37
37
|
|
|
38
38
|
**Ceremony:**
|
|
39
|
-
1. Bump `schema_version` on the owning model (
|
|
40
|
-
2. Update `tests/integration/
|
|
39
|
+
1. Bump `schema_version` on the owning model (3 → 4, etc.).
|
|
40
|
+
2. Update the canonical-instance snapshots in `tests/integration/test_schemas.py` (covers both models; regen via `pytest --force-regen tests/integration/test_schemas.py`).
|
|
41
41
|
3. Document migration path in CHANGELOG if the change is breaking.
|
|
42
42
|
4. CHANGELOG + PR template as above.
|
|
43
43
|
|
|
@@ -8,7 +8,7 @@ body:
|
|
|
8
8
|
value: |
|
|
9
9
|
Thanks for filing! A reproducible example goes a long way — if you can hand over a 20-line script that triggers the issue, we can usually have a fix out within a patch release.
|
|
10
10
|
|
|
11
|
-
**For security issues, please do NOT file here.** Email <
|
|
11
|
+
**For security issues, please do NOT file here.** Email <albisburdige@protonmail.com> per [SECURITY.md](../SECURITY.md).
|
|
12
12
|
- type: input
|
|
13
13
|
id: version
|
|
14
14
|
attributes:
|
|
@@ -5,4 +5,4 @@ contact_links:
|
|
|
5
5
|
about: Please ask usage questions in Discussions rather than opening an issue.
|
|
6
6
|
- name: Security disclosure
|
|
7
7
|
url: https://github.com/random-walks/citeformer/blob/main/SECURITY.md
|
|
8
|
-
about: Please do NOT open a public issue for security reports. Email
|
|
8
|
+
about: Please do NOT open a public issue for security reports. Email albisburdige@protonmail.com instead.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
# Python dependencies (pyproject.toml + uv.lock)
|
|
4
|
+
- package-ecosystem: "uv"
|
|
5
|
+
directory: "/"
|
|
6
|
+
schedule:
|
|
7
|
+
interval: "monthly"
|
|
8
|
+
groups:
|
|
9
|
+
python-minor-patch:
|
|
10
|
+
update-types:
|
|
11
|
+
- "minor"
|
|
12
|
+
- "patch"
|
|
13
|
+
|
|
14
|
+
# GitHub Actions used by .github/workflows/
|
|
15
|
+
- package-ecosystem: "github-actions"
|
|
16
|
+
directory: "/"
|
|
17
|
+
schedule:
|
|
18
|
+
interval: "monthly"
|
|
19
|
+
groups:
|
|
20
|
+
actions-minor-patch:
|
|
21
|
+
update-types:
|
|
22
|
+
- "minor"
|
|
23
|
+
- "patch"
|
|
@@ -22,8 +22,8 @@ jobs:
|
|
|
22
22
|
name: lint + type
|
|
23
23
|
runs-on: ubuntu-latest
|
|
24
24
|
steps:
|
|
25
|
-
- uses: actions/checkout@
|
|
26
|
-
- uses: astral-sh/setup-uv@
|
|
25
|
+
- uses: actions/checkout@v7
|
|
26
|
+
- uses: astral-sh/setup-uv@v10.4.2
|
|
27
27
|
with:
|
|
28
28
|
enable-cache: true
|
|
29
29
|
# Include uv.lock so deps-locked reruns hit cache precisely.
|
|
@@ -50,8 +50,8 @@ jobs:
|
|
|
50
50
|
python: "3.12"
|
|
51
51
|
runs-on: ${{ matrix.os }}
|
|
52
52
|
steps:
|
|
53
|
-
- uses: actions/checkout@
|
|
54
|
-
- uses: astral-sh/setup-uv@
|
|
53
|
+
- uses: actions/checkout@v7
|
|
54
|
+
- uses: astral-sh/setup-uv@v10.4.2
|
|
55
55
|
with:
|
|
56
56
|
enable-cache: true
|
|
57
57
|
cache-dependency-glob: "pyproject.toml\nuv.lock"
|
|
@@ -76,25 +76,34 @@ jobs:
|
|
|
76
76
|
# `--locked` asserts `uv.lock` is in sync with `pyproject.toml`
|
|
77
77
|
# — a config-drift safety net that also lets the resolver skip
|
|
78
78
|
# work on every run.
|
|
79
|
+
#
|
|
80
|
+
# llama-cpp-python ships sdist-only, so it compiles from source on
|
|
81
|
+
# macOS. The macOS runner image now carries Homebrew OpenSSL 4. The
|
|
82
|
+
# vendored cpp-httplib (llama.cpp's HTTPS model-download client)
|
|
83
|
+
# doesn't compile against it, so OpenSSL is turned off for that
|
|
84
|
+
# build. citeformer only loads local GGUF files and never uses
|
|
85
|
+
# llama.cpp's HTTPS downloader.
|
|
86
|
+
env:
|
|
87
|
+
CMAKE_ARGS: ${{ runner.os == 'macOS' && '-DLLAMA_OPENSSL=OFF' || '' }}
|
|
79
88
|
run: uv sync --locked --extra dev --extra all --python ${{ matrix.python }}
|
|
80
89
|
|
|
81
90
|
- name: pytest
|
|
82
91
|
run: uv run pytest --cov=citeformer --cov-report=xml --cov-report=term
|
|
83
92
|
- name: Upload coverage
|
|
84
93
|
if: matrix.os == 'ubuntu-latest' && matrix.python == '3.12'
|
|
85
|
-
uses: codecov/codecov-action@
|
|
94
|
+
uses: codecov/codecov-action@v7
|
|
86
95
|
with:
|
|
87
96
|
files: coverage.xml
|
|
88
|
-
|
|
89
|
-
|
|
97
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
98
|
+
fail_ci_if_error: true
|
|
90
99
|
|
|
91
100
|
docs:
|
|
92
101
|
name: docs build
|
|
93
102
|
needs: lint
|
|
94
103
|
runs-on: ubuntu-latest
|
|
95
104
|
steps:
|
|
96
|
-
- uses: actions/checkout@
|
|
97
|
-
- uses: astral-sh/setup-uv@
|
|
105
|
+
- uses: actions/checkout@v7
|
|
106
|
+
- uses: astral-sh/setup-uv@v10.4.2
|
|
98
107
|
with:
|
|
99
108
|
enable-cache: true
|
|
100
109
|
cache-dependency-glob: "pyproject.toml\nuv.lock"
|
|
@@ -103,7 +112,7 @@ jobs:
|
|
|
103
112
|
- name: Build Sphinx docs
|
|
104
113
|
run: uv run sphinx-build -W --keep-going -b html docs docs/_build/html
|
|
105
114
|
- name: Upload built docs
|
|
106
|
-
uses: actions/upload-artifact@
|
|
115
|
+
uses: actions/upload-artifact@v7
|
|
107
116
|
with:
|
|
108
117
|
name: docs-html
|
|
109
118
|
path: docs/_build/html/
|
|
@@ -12,8 +12,8 @@ jobs:
|
|
|
12
12
|
name: Build sdist + wheel
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
16
|
-
- uses: astral-sh/setup-uv@
|
|
15
|
+
- uses: actions/checkout@v7
|
|
16
|
+
- uses: astral-sh/setup-uv@v10.4.2
|
|
17
17
|
with:
|
|
18
18
|
python-version: "3.12"
|
|
19
19
|
- name: Build
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
- name: List distributions
|
|
22
22
|
run: ls -lah dist/
|
|
23
23
|
- name: Upload artifacts
|
|
24
|
-
uses: actions/upload-artifact@
|
|
24
|
+
uses: actions/upload-artifact@v7
|
|
25
25
|
with:
|
|
26
26
|
name: dist
|
|
27
27
|
path: dist/
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
permissions:
|
|
37
37
|
id-token: write
|
|
38
38
|
steps:
|
|
39
|
-
- uses: actions/download-artifact@
|
|
39
|
+
- uses: actions/download-artifact@v8
|
|
40
40
|
with:
|
|
41
41
|
name: dist
|
|
42
42
|
path: dist/
|
|
@@ -50,8 +50,8 @@ jobs:
|
|
|
50
50
|
permissions:
|
|
51
51
|
contents: write
|
|
52
52
|
steps:
|
|
53
|
-
- uses: actions/checkout@
|
|
54
|
-
- uses: actions/download-artifact@
|
|
53
|
+
- uses: actions/checkout@v7
|
|
54
|
+
- uses: actions/download-artifact@v8
|
|
55
55
|
with:
|
|
56
56
|
name: dist
|
|
57
57
|
path: dist/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
citeformer was authored by:
|
|
4
4
|
|
|
5
|
-
- **[Blaise Albis-Burdige](https://
|
|
5
|
+
- **[Blaise Albis-Burdige](https://blaiseoss.com)** ([@blaiseab](https://github.com/blaiseab)) — design, implementation, benchmarks, docs.
|
|
6
6
|
|
|
7
7
|
Contributors welcome — open a PR and add your name here. See [CONTRIBUTING.md](CONTRIBUTING.md) for the dev loop.
|
|
8
8
|
|
|
@@ -6,6 +6,99 @@ Versioning policy: **patch bumps are cheap**. See [docs/development/releasing.md
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.3.2] — 2026-12-06
|
|
10
|
+
|
|
11
|
+
Patch release. Ships the security dependency refresh (core `pypdf`
|
|
12
|
+
floor raised to `>=6.21.4`, see below) that landed on main after 0.3.1,
|
|
13
|
+
plus the README / PyPI page corrections and the LICENSE re-attribution.
|
|
14
|
+
No public API or §10 contract changes.
|
|
15
|
+
|
|
16
|
+
### Changed — docs and metadata accuracy pass
|
|
17
|
+
|
|
18
|
+
- README Status box said "v0.1.0 … Seven backends"; it now lists the
|
|
19
|
+
ten shipped backends and no longer hard-codes a version.
|
|
20
|
+
- Removed the "Try the live demo" link: the hosted HF Space returns
|
|
21
|
+
401. The README now points at the `hf-space/` app, which runs
|
|
22
|
+
locally.
|
|
23
|
+
- Multi-prompt evidence row said 24 runs; the current sweep is 40
|
|
24
|
+
(4 prompts × 2 models × 5 seeds), matching `benchmarks/README.md`.
|
|
25
|
+
The Examples section now says nine examples, not eight.
|
|
26
|
+
- The API quickstart no longer says "both API backends are live-tested";
|
|
27
|
+
OpenAI and Anthropic are, the rest use fake-client coverage.
|
|
28
|
+
- Dropped "bulletproof" from the tagline, the PyPI summary and the
|
|
29
|
+
README docs index, and
|
|
30
|
+
removed unsourced statistics ("wrong 14–95% of the time", "3–13% of
|
|
31
|
+
cited URLs", "~50 NeurIPS papers") from the README and docs index.
|
|
32
|
+
- `docs/guarantees.md`: "All seven backends" → ten.
|
|
33
|
+
- `SECURITY.md` supported-versions table: 0.1.x → 0.3.x.
|
|
34
|
+
- Install block leads with `uv add`; `pip install` still works.
|
|
35
|
+
- Author website in README, `AUTHORS.md` and `CITATION.cff` is now
|
|
36
|
+
`https://blaiseoss.com`.
|
|
37
|
+
|
|
38
|
+
### Changed — license attribution
|
|
39
|
+
|
|
40
|
+
- `LICENSE` copyright now reads Blaise Albis-Burdige (previously
|
|
41
|
+
Ubik, Inc., which has dissolved). No change to the license terms
|
|
42
|
+
(Apache-2.0). The sdist on PyPI picks this up from 0.3.2.
|
|
43
|
+
- Package author email and the security / conduct contact
|
|
44
|
+
(`pyproject.toml`, `CITATION.cff`, `SECURITY.md`,
|
|
45
|
+
`CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, issue templates) moved to
|
|
46
|
+
`albisburdige@protonmail.com`.
|
|
47
|
+
|
|
48
|
+
### Security — dependency refresh
|
|
49
|
+
|
|
50
|
+
- Raised the core `pypdf` floor from `>=5` to `>=6.21.4`. Older pypdf
|
|
51
|
+
releases carry critical/high advisories in the PDF parser, and
|
|
52
|
+
`Source.from_pdf` hands user-supplied PDFs to it on the default
|
|
53
|
+
install path. `pypdf` 7.x is allowed. citeformer only uses
|
|
54
|
+
`PdfReader`, `metadata`, `pages` and `extract_text`, which 7.0 did
|
|
55
|
+
not change.
|
|
56
|
+
- Refreshed `uv.lock` for transitive and extras-only packages with
|
|
57
|
+
critical/high advisories: pillow 13.0.0, certifi 2026.11.20,
|
|
58
|
+
anyio 4.16.0, pyjwt, jupyter-server, jupyterlab/notebook,
|
|
59
|
+
sentence-transformers, transformers, aiohttp, cryptography, mcp,
|
|
60
|
+
starlette, tornado, urllib3, virtualenv, lxml / lxml-html-clean, and
|
|
61
|
+
others. No other floors changed.
|
|
62
|
+
- The `vllm` extra stays at 0.19.1 in the lock. Moving to a fixed vllm
|
|
63
|
+
(>=0.32) also moves torch, xgrammar, mistralai (2 -> 3) and mcp
|
|
64
|
+
(1 -> 2) across every extra, so it needs its own change.
|
|
65
|
+
|
|
66
|
+
## [0.3.1] — 2026-04-27
|
|
67
|
+
|
|
68
|
+
### Fixed — PyPI page rendering
|
|
69
|
+
|
|
70
|
+
Cover image and ~30 inline links in the README pointed at relative
|
|
71
|
+
paths (e.g. `benchmarks/findings/figures/cover-annotated.png`,
|
|
72
|
+
`docs/reference/architecture.md`, `examples/01_quickstart_mock.py`).
|
|
73
|
+
PyPI does not rewrite relative paths in long-description markdown, so
|
|
74
|
+
the cover image returned 404 on the project page and every relative
|
|
75
|
+
link was a dead click. All image srcs are now absolute
|
|
76
|
+
`raw.githubusercontent.com` URLs; code/test/script links point to
|
|
77
|
+
`github.com/.../blob/main/...`; doc content already mirrored on Read
|
|
78
|
+
the Docs (architecture, contracts, ADRs) points to
|
|
79
|
+
`citeformer.readthedocs.io/en/stable/...` with anchors verified
|
|
80
|
+
against rendered HTML.
|
|
81
|
+
|
|
82
|
+
### Added — CITATION.cff
|
|
83
|
+
|
|
84
|
+
New `CITATION.cff` at repo root (CFF schema 1.2.0). Validates with
|
|
85
|
+
`cffconvert --validate`. Enables GitHub's "Cite this repository"
|
|
86
|
+
widget and BibTeX/APA exports — appropriate for an academic-shaped
|
|
87
|
+
library that ships a `PREPRINT.md`. The `/bump` slash-command is
|
|
88
|
+
extended to keep `version` + `date-released` in `CITATION.cff` in
|
|
89
|
+
lockstep with `_version.py` + `CHANGELOG.md`, so the three
|
|
90
|
+
release-stamped files cannot drift via the slash-command path.
|
|
91
|
+
|
|
92
|
+
### Changed — codecov upload reliability
|
|
93
|
+
|
|
94
|
+
`.github/workflows/ci.yml`: bump `codecov/codecov-action` v4 → v5
|
|
95
|
+
(per codecov's current recommendation), require `CODECOV_TOKEN`
|
|
96
|
+
(now set as a repo secret), drop the `continue-on-error: true`
|
|
97
|
+
masking, and flip `fail_ci_if_error` to `true`. Coverage upload
|
|
98
|
+
failures are now visible instead of silently swallowed; the
|
|
99
|
+
codecov badge flips from "unknown" to a percentage on the next
|
|
100
|
+
clean run.
|
|
101
|
+
|
|
9
102
|
## [0.3.0] — 2026-04-25
|
|
10
103
|
|
|
11
104
|
### Added — async surface, ADRs 014-017
|
|
@@ -1209,5 +1302,7 @@ the guarantee on a real (tiny) model — ``gpt2`` via MPS/CPU.
|
|
|
1209
1302
|
- §10.2 CSL metadata: not yet implemented (lands in P3).
|
|
1210
1303
|
- §10.3 output schemas: not yet implemented (lands in P1).
|
|
1211
1304
|
|
|
1212
|
-
[Unreleased]: https://github.com/random-walks/citeformer/compare/v0.3.
|
|
1305
|
+
[Unreleased]: https://github.com/random-walks/citeformer/compare/v0.3.2...HEAD
|
|
1306
|
+
[0.3.2]: https://github.com/random-walks/citeformer/releases/tag/v0.3.2
|
|
1307
|
+
[0.3.1]: https://github.com/random-walks/citeformer/releases/tag/v0.3.1
|
|
1213
1308
|
[0.3.0]: https://github.com/random-walks/citeformer/releases/tag/v0.3.0
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use citeformer in academic work, please cite it."
|
|
3
|
+
title: "citeformer: structurally unforgeable citations from language models"
|
|
4
|
+
abstract: >-
|
|
5
|
+
A Python library that makes citation fabrication structurally impossible
|
|
6
|
+
at the logit level via grammar-constrained decoding, with deterministic
|
|
7
|
+
CSL bibliography rendering and NLI-based claim verification.
|
|
8
|
+
type: software
|
|
9
|
+
authors:
|
|
10
|
+
- family-names: Albis-Burdige
|
|
11
|
+
given-names: Blaise
|
|
12
|
+
email: albisburdige@protonmail.com
|
|
13
|
+
website: https://blaiseoss.com
|
|
14
|
+
license: Apache-2.0
|
|
15
|
+
repository-code: "https://github.com/random-walks/citeformer"
|
|
16
|
+
url: "https://citeformer.readthedocs.io"
|
|
17
|
+
version: 0.3.2
|
|
18
|
+
date-released: 2026-12-06
|
|
19
|
+
keywords:
|
|
20
|
+
- large-language-models
|
|
21
|
+
- retrieval-augmented-generation
|
|
22
|
+
- constrained-decoding
|
|
23
|
+
- citation-verification
|
|
24
|
+
- structured-output
|
|
25
|
+
- hallucination-mitigation
|
|
@@ -11,8 +11,8 @@ One-screen brief for Claude Code working in this repo. Canonical wider guide is
|
|
|
11
11
|
Three §10 contracts (full detail: [`docs/reference/contracts.md`](docs/reference/contracts.md)). Touching any is a deliberate ceremony.
|
|
12
12
|
|
|
13
13
|
1. **§10.1 — Citation marker grammar.** `cite-id ::= "[" <digits> "]"` (GBNF) + `required` / `quotes_only` / `auto` policies. Lives in `src/citeformer/grammar/`. Changing the marker shape or policy semantics = **major** bump.
|
|
14
|
-
2. **§10.2 — `Source.metadata` CSL-JSON shape.** The shape consumed by the home-grown render layer (and still CSL-JSON compliant for external tooling). Additive fields = minor; renames or removals = major. Regression
|
|
15
|
-
3. **§10.3 — Output schemas.** `GenerationResult` + `VerificationReport` pydantic models carry `schema_version
|
|
14
|
+
2. **§10.2 — `Source.metadata` CSL-JSON shape.** The shape consumed by the home-grown render layer (and still CSL-JSON compliant for external tooling). Additive fields = minor; renames or removals = major. Regression snapshots in `tests/unit/test_render_csl.py` (4 core CSL types × 6 styles) and `tests/unit/test_csl_suite.py` (50-case fixture × 6 formatters = 300 snapshots).
|
|
15
|
+
3. **§10.3 — Output schemas.** `GenerationResult` + `VerificationReport` pydantic models carry `schema_version` (currently `3`, pinned by `tests/integration/test_schemas.py`). Any shape change bumps `schema_version`.
|
|
16
16
|
|
|
17
17
|
Before editing `src/citeformer/grammar/`, `src/citeformer/core.py`, or `src/citeformer/verify/report.py` — run `/contract-check` on your diff.
|
|
18
18
|
|
|
@@ -65,22 +65,28 @@ make release-check # preflight for tag push
|
|
|
65
65
|
|
|
66
66
|
## Phase status
|
|
67
67
|
|
|
68
|
-
v0.1
|
|
69
|
-
`
|
|
70
|
-
|
|
68
|
+
Current release: **v0.3.1** (PyPI, 2026-04-27; see
|
|
69
|
+
`src/citeformer/_version.py` and `CHANGELOG.md`). Work happens on `main`
|
|
70
|
+
via short-lived feature branches. Phase breakdown in
|
|
71
71
|
[`docs/reference/architecture.md`](docs/reference/architecture.md).
|
|
72
72
|
|
|
73
73
|
- **P0–P6** — scaffolding through NLI verification. ✅
|
|
74
74
|
- **Polish** — REQUIRED progression fix (ADR-009), CLI, examples as
|
|
75
75
|
living reports. ✅
|
|
76
|
-
- **Expansion** — marker shapes (ADR-011),
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Zotero), threshold calibration, multi-prompt + ALCE benchmarks,
|
|
76
|
+
- **Expansion** — marker shapes (ADR-011), backends, metadata adapters
|
|
77
|
+
(DOI / arXiv / PDF via pypdf or GROBID / URL / BibTeX / Zotero),
|
|
78
|
+
threshold calibration, multi-prompt + ALCE benchmarks,
|
|
80
79
|
literature-review notebook, HF Space demo. ✅
|
|
81
|
-
- **P7** — v0.1.0 PyPI release. ✅
|
|
82
|
-
- **
|
|
83
|
-
|
|
80
|
+
- **P7** — v0.1.0 PyPI release (2026-04-24). ✅
|
|
81
|
+
- **v0.2.0** — Gemini + Mistral backends, richer PDF extraction, ALCE
|
|
82
|
+
harness. ✅
|
|
83
|
+
- **v0.3.0** — async surface end-to-end (ADRs 014–017), OpenRouter +
|
|
84
|
+
Fireworks + Together backends (ten backends total), token-usage on
|
|
85
|
+
results. ✅
|
|
86
|
+
- **v0.3.1** — PyPI page link fixes, `CITATION.cff`, codecov upload
|
|
87
|
+
reliability. ✅
|
|
88
|
+
- **Next** — scope TBD. Candidates: full-ALCE reproducibility, streaming
|
|
89
|
+
refinements, per-chunk NLI during generation.
|
|
84
90
|
|
|
85
91
|
## Versioning policy
|
|
86
92
|
|
|
@@ -36,7 +36,7 @@ This Code of Conduct applies within all community spaces, and also applies when
|
|
|
36
36
|
|
|
37
37
|
## Enforcement
|
|
38
38
|
|
|
39
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the maintainer at **<
|
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the maintainer at **<albisburdige@protonmail.com>**. All complaints will be reviewed and investigated promptly and fairly.
|
|
40
40
|
|
|
41
41
|
All maintainers are obligated to respect the privacy and security of the reporter of any incident.
|
|
42
42
|
|
|
@@ -61,4 +61,4 @@ For security issues, follow the disclosure process in [SECURITY.md](SECURITY.md)
|
|
|
61
61
|
|
|
62
62
|
## Code of conduct
|
|
63
63
|
|
|
64
|
-
This project follows the [Contributor Covenant](CODE_OF_CONDUCT.md). Be kind. Assume good faith. If someone's being uncivil, email <
|
|
64
|
+
This project follows the [Contributor Covenant](CODE_OF_CONDUCT.md). Be kind. Assume good faith. If someone's being uncivil, email <albisburdige@protonmail.com>; we'll handle it.
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2026 Blaise Albis-Burdige
|
|
189
|
+
Copyright 2023-2026 Blaise Albis-Burdige
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|