Commit graph

8 commits

Author SHA1 Message Date
Research Assistant
4f52dd9001 test: update fixtures to {key}.md filename format (red phase) 2026-05-11 21:09:36 +08:00
Research Assistant
7e6abc2070 test: prefer repo source for OCR doctor fixtures 2026-05-08 17:47:45 +08:00
Research Assistant
7eeaebdd81 test(merge-gate): add upgrade migration and index path integrity tests
- test OCR state machine: isolate runtime (no ambient tokens), fix retry exhaustion and full cycle tests
- test migration: verify no-index flat note migration, legacy flag promotion including false overrides
- test migration: verify non-canonical filename migration via frontmatter title
- test migration: verify already-migrated workspace reconciliation from legacy records
- test asset_index: verify fulltext/deep-reading paths only advertised when files exist
2026-05-07 21:52:16 +08:00
Research Assistant
ebc4fdeb00 chore: rename PaperForge Lite -> PaperForge across 27 files 2026-04-28 01:25:51 +08:00
Research Assistant
67a52a898a fix: VaultStep.__init__ missing step_id and checker in super() call 2026-04-27 19:49:36 +08:00
Research Assistant
f54fe8a3e0 test(phase-12): update test imports for new worker module structure
- Update all pipeline.worker.scripts patches to paperforge.worker.*
- Fix test_base_views.py and test_base_preservation.py imports
- Update test_legacy_worker_compat.py for new module paths
- Fix OCR test patches to target correct module namespaces
2026-04-24 22:36:54 +08:00
Research Assistant
802d34bff6 test(08-deep-helper-deployment): add smoke tests and fixtures
- Add conftest.py with test_vault fixture for deterministic test vault
- Add test_smoke.py with 14 regression tests covering:
  - setup wizard pip install step
  - doctor importability and env name checks
  - ld_deep.py import from deployed location
  - prepare produces scaffold with figure-map and chart-type-map
  - queue shows ready papers with correct ocr_status
  - doc commands extractable and executable
  - metadata fields (first_author, journal) populated
  - BBT PDF path resolution
- Fix zotero_key quote stripping in scan_deep_reading_queue
2026-04-24 14:34:10 +08:00
Research Assistant
1704395d34 test(05-02): add fixture vault factory for smoke testing
- fixture_vault: creates complete vault structure with paperforge.json
- fixture_library_records: 3 minimal library-record .md files
- fixture_bbt_json: Better BibTeX JSON export in exports/
- fixture_with_pdf: vault with real temp PDF for PDF-resolver tests
- All use pathlib.Path, Windows-compatible
2026-04-23 18:46:13 +08:00