Commit graph

4 commits

Author SHA1 Message Date
Research Assistant
a3270dc791 fix: add creators/extra to load_export_rows row dict, fix journal key lookup for first_author/journal/IF in library-records; add first_author, journal, impact_factor columns to Base views; fix PDF storage/ subdirectory resolution 2026-04-27 20:25:35 +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
72cbdc3250 test(11-01): add test_path_normalization.py with 25 test methods
- TestBBTPathNormalization: 8 tests covering absolute Windows, storage: prefix,
  bare relative, Chinese chars, spaces, backslash normalization, empty path,
  absolute non-storage
- TestMainPdfIdentification: 6 tests covering title=PDF primary, largest file
  fallback, first PDF fallback, no PDFs, single PDF, mixed PDF/non-PDF
- TestWikilinkGeneration: 6 tests covering basic wikilink, junction resolution,
  forward slashes, Chinese filename, empty path, nonexistent file
- TestLoadExportRowsIntegration: 5 tests using fixture JSON files
- Fixtures: bbt_export_absolute.json, bbt_export_storage.json,
  bbt_export_mixed.json
2026-04-24 20:30:32 +08:00