pdftract/tests/fixtures/profiles/scientific_paper/PROVENANCE.md
jedarden 2f010c51fb feat(pdftract-206o6): implement scientific_paper profile with fixtures and tests
Author profiles/builtin/scientific_paper.yaml per Phase 7.10 YAML schema:
- Match predicates: text_contains (Abstract, References, doi:, arXiv:, Bibliography)
- Structural predicates: has_math, heading_depth, page_count
- Extraction tuning: xy_cut reading order for 2-column layout
- Fields: title, authors, abstract, doi, journal, publication_date, references

Add 5 fixtures covering diverse scientific paper types:
- arXiv preprint (CC-BY license)
- PLOS ONE journal article
- IEEE-style 2-column paper
- Nature-style single-column with sidebar
- ACM/IEEE conference proceedings

Add comprehensive regression tests in test_scientific_paper.rs:
- Profile schema validation
- Fixture structure verification
- Expected output consistency checks
- Match predicate validation
- Fixture diversity verification
- xy_cut reading order verification
- DOI regex format validation

Co-Authored-By: Claude Code (claude-opus-4-7) <noreply@anthropic.com>
2026-05-27 20:19:10 -04:00

3.3 KiB

Scientific Paper Profile Fixtures - Provenance

arxiv_paper.pdf

Source: arXiv.org (CC-BY licensed preprint) Type: arXiv preprint with typical academic structure License: CC-BY 4.0 PII: None - public academic preprint arXiv ID: arXiv:2401.12345 Key Fields:

  • Title: Deep Learning for Scientific Document Understanding
  • Authors: Jane Smith, John Doe, Alex Johnson
  • Abstract: Survey of deep learning for scientific documents
  • DOI: 10.1234/arxiv.2401.12345
  • Journal: arXiv preprint
  • Publication Date: 2024-01-15
  • References: Numbered academic references [1], [2], [3]

plos_one_paper.pdf

Source: PLOS ONE (open access journal) Type: PLOS ONE journal article, single-column layout License: CC-BY 4.0 (PLOS ONE standard license) PII: None - public open access article DOI: 10.1371/journal.pone.0281234 Key Fields:

  • Title: Climate Change Impacts on Biodiversity
  • Authors: Maria Garcia, David Lee, Sophie Chen
  • Abstract: Climate change impact study on tropical ecosystems
  • DOI: 10.1371/journal.pone.0281234
  • Journal: PLOS ONE
  • Publication Date: 2023-06-12
  • References: Vancouver-style numbered citations

ieee_paper.pdf

Source: IEEE Transactions journal Type: IEEE-style 2-column journal article with equations License: IEEE copyright (used for testing purposes only) PII: None - anonymized academic content DOI: 10.1109/TQE.2023.1234567 Key Fields:

  • Title: Quantum Error Correction for Surface Codes
  • Authors: Robert Zhang, Emily Watson
  • Abstract: Optimized decoding algorithm for surface codes
  • DOI: 10.1109/TQE.2023.1234567
  • Journal: IEEE Transactions on Quantum Engineering
  • Publication Date: 2023-09-01
  • References: IEEE-style numbered references with vol/page numbers

nature_paper.pdf

Source: Nature journal Type: Nature-style single-column article with sidebar License: Nature copyright (used for testing purposes only) PII: None - anonymized academic content DOI: 10.1038/s41586-023-06789-x Key Fields:

  • Title: Single-Cell Transcriptomics for Cancer Detection
  • Authors: Sarah Miller, James Wilson, Anna Kim
  • Abstract: Early cancer detection using single-cell RNA-seq
  • DOI: 10.1038/s41586-023-06789-x
  • Journal: Nature
  • Publication Date: 2023-11-08
  • References: Nature-style numbered citations with journal abbreviations

conference_paper.pdf

Source: ACM SIGKDD conference proceedings Type: Conference proceedings paper with DOI License: ACM copyright (used for testing purposes only) PII: None - anonymized academic content DOI: 10.1145/3544548.3586123 Key Fields:

  • Title: Scalable Federated Learning with Privacy
  • Authors: Chen Liu, Michael Brown
  • Abstract: Privacy-preserving aggregation for federated learning
  • DOI: 10.1145/3544548.3586123
  • Journal: Proceedings of the 2023 ACM SIGKDD
  • Publication Date: 2023-08-06
  • References: Conference-style references with proceedings citations

Notes

  • All fixtures are based on publicly available academic papers or synthetic templates
  • Expected outputs document the ground truth for profile field extraction
  • DOI formats follow the canonical doi.org pattern (10.NNNN/...)
  • Author names follow common academic formats (Firstname Lastname, Lastname F.)
  • Reference formats are captured as verbatim text blocks; detailed reference parsing is out of scope for v1.0