lllin000_PaperForge/tests/fixtures
LLLin000 49f84a1aad feat(#31): OpenAICompatibleProvider uses openai SDK with requests fallback
Rewrite embedding provider to use openai.OpenAI client instead of
raw requests.post. Old code preserved in requests_fallback.py,
selectable via VECTOR_DB_PROVIDER_TYPE env/setting.

Changes:
- paperforge/embedding/providers/openai_compatible.py: rewrite to SDK
- paperforge/embedding/providers/requests_fallback.py: NEW old impl
- paperforge/embedding/_config.py: add get_provider_type()
- tests/test_openai_compatible.py: 6 new tests (encode, timeout,
  provider_type switch, no-key error, custom base url)

feat(#33): E2E test fixtures — 3 synthetic PDFs + expected outputs

3 synthetic papers generated with PyMuPDF, each 3 pages:
- paper_a: The Effect of Machine Learning on Clinical Outcomes
- paper_b: A Randomized Trial of Remimazolam vs Propofol (with tables)
- paper_c: Deep Learning for Medical Image Segmentation (with figures)

Changes:
- tests/fixtures/papers/: 3 PDFs
- tests/fixtures/expected_outputs/: expected blocks + body units
- tests/conftest.py: e2e_fixture_dir + synthetic_paper_paths fixtures

feat(#26): sqlite-vec schema — vec0 virtual tables + build_state

Schema version bumped 4→5. Adds:
- 3 vec0 virtual tables: vec_fulltext, vec_body, vec_objects (1536-dim)
- 3 companion metadata tables: vec_*_meta (paper_id, chunk_index, text)
- build_state table (key/value/updated_at)
- ensure_vec_extension() in db.py for extension loading

Changes:
- paperforge/memory/schema.py: schema v5, new tables in ensure_schema()
- paperforge/memory/db.py: ensure_vec_extension() helper
- tests/test_vector_schema.py: 5 new tests (tables, virtual, idempotent, v5)
2026-07-09 17:15:19 +08:00
..
expected_outputs feat(#31): OpenAICompatibleProvider uses openai SDK with requests fallback 2026-07-09 17:15:19 +08:00
ocr_reading_order test: add OCR reading-order fixture inventory 2026-05-31 23:52:55 +08:00
ocr_real_papers feat: layout-category truth audit complete 2026-07-04 21:26:15 +08:00
ocr_synthetic test: make OCR real-paper regressions reproducible 2026-06-08 12:13:11 +08:00
ocr_vnext_real_papers fix(ocr): unblock pairing framework merge 2026-07-03 22:50:15 +08:00
papers feat(#31): OpenAICompatibleProvider uses openai SDK with requests fallback 2026-07-09 17:15:19 +08:00
bbt_export_absolute.json test(11-01): add test_path_normalization.py with 25 test methods 2026-04-24 20:30:32 +08:00
bbt_export_mixed.json test(11-01): add test_path_normalization.py with 25 test methods 2026-04-24 20:30:32 +08:00
bbt_export_storage.json test(11-01): add test_path_normalization.py with 25 test methods 2026-04-24 20:30:32 +08:00
blank.pdf feat(02-03): implement ocr_doctor() with L1-L4 diagnostics 2026-04-23 12:58:54 +08:00
ocr_vnext_cutover_manifest.json fix(ocr): clean up cutover manifest notes per review 2026-07-03 17:09:34 +08:00