=========================================================================== FAILURES ===========================================================================
_________________________________________________ TestCorpusManifest.test_load_project_corpus_has_six_reports __________________________________________________
test\test_corpus_manifest.py:118: in test_load_project_corpus_has_six_reports
assert len(manifest) == 6, (
E AssertionError: Project ingest/corpus.json should list 6 reports, got 16
E assert 16 == 6
E + where 16 = len([{'chunks_path': WindowsPath('C:/Users/ADMIN/Desktop/semantic_toolkit/ORAT/ingest/parse/icar-2024-25/chunks.jsonl'), 'has_chunks': True, 'has_pdf': True, 'id': 'icar-2024-25', ...}, {'chunks_path': WindowsPath('C:/Users/ADMIN/Desktop/semantic_toolkit/ORAT/ingest/parse/iari-2024/chunks.jsonl'), 'has_chunks': True, 'has_pdf': True, 'id': 'iari-2024', ...}, {'chunks_path': WindowsPath('C:/Users/ADMIN/Desktop/semantic_toolkit/ORAT/ingest/parse/nbpgr-2023/chunks.jsonl'), 'has_chunks': False, 'has_pdf': True, 'id': 'nbpgr-2023', ...}, {'chunks_path': WindowsPath('C:/Users/ADMIN/Desktop/semantic_toolkit/ORAT/ingest/parse/nrri-2024/chunks.jsonl'), 'has_chunks': True, 'has_pdf': True, 'id': 'nrri-2024', ...}, {'chunks_path': WindowsPath('C:/Users/ADMIN/Desktop/semantic_toolkit/ORAT/ingest/parse/nrri-2017-18/chunks.jsonl'), 'has_chunks': False, 'has_pdf': True, 'id': 'nrri-2017-18', ...}, {'chunks_path': WindowsPath('C:/Users/ADMIN/Desktop/semantic_toolkit/ORAT/ingest/parse/iiwbr-2024/chunks.jsonl'), 'has_chunks': True, 'has_pdf': True, 'id': 'iiwbr-2024', ...}, ...])
_______________________________________ TestInstitutionRegistry.test_load_project_registry_includes_corpus_institutions ________________________________________
test\test_institution_registry.py:131: in test_load_project_registry_includes_corpus_institutions
assert abbrevs == {
E AssertionError: All corpus institutions should resolve in registry, got {'ctcri', 'iior', 'iiwbr', 'cpcri', 'iari', 'icar', 'iimr', 'iivr', 'nbpgr', 'iirr', 'nrri', 'sbi'}
E assert {'cpcri', 'ct..., 'iior', ...} == {'iari', 'ica...iwbr', 'nrri'}
E
E Extra items in the left set:
E 'ctcri'
E 'iior'
E 'cpcri'
E 'iivr'
E 'nbpgr'...
E
E ...Full output truncated (17 lines hidden), use '-vv' to show
======================================================================= warnings summary =======================================================================
<frozen importlib._bootstrap>:488
<frozen importlib._bootstrap>:488
<frozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyPacked has no __module__ attribute
<frozen importlib._bootstrap>:488
<frozen importlib._bootstrap>:488
<frozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyObject has no __module__ attribute
<frozen importlib._bootstrap>:488
<frozen importlib._bootstrap>:488: DeprecationWarning: builtin type swigvarlink has no __module__ attribute
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================================================================== short test summary info ====================================================================
FAILED test/test_corpus_manifest.py::TestCorpusManifest::test_load_project_corpus_has_six_reports - AssertionError: Project ingest/corpus.json should list 6 reports, got 16
FAILED test/test_institution_registry.py::TestInstitutionRegistry::test_load_project_registry_includes_corpus_institutions - AssertionError: All corpus institutions should resolve in registry, got {'ctcri', 'iior', 'iiwbr', 'cpcri', 'iari', 'icar', 'iimr', 'iivr', 'nbpgr', 'iirr',...
==================================================== 2 failed, 166 passed, 5 warnings in 334.63s (0:05:34) =====================================================
sys:1: DeprecationWarning: builtin type swigvarlink has no __module__ attribute
Environment
Python: 3.12
OS: Windows 10
Run :
pytestwith branchpmr202606output message