compass-kb-validation 4.2.0__tar.gz → 4.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {compass_kb_validation-4.2.0/compass_kb_validation.egg-info → compass_kb_validation-4.2.1}/PKG-INFO +1 -1
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/__init__.py +1 -1
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/remediation.py +15 -5
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/__init__.py +40 -17
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/fidelity_view.py +4 -2
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1/compass_kb_validation.egg-info}/PKG-INFO +1 -1
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass_kb_validation.egg-info/SOURCES.txt +1 -0
- compass_kb_validation-4.2.1/tests/test_v421_report.py +41 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/LICENSE +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/README.md +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/__main__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/alias.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/ask.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/baseline.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/benchmark.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/check_catalog.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/chunk_coherence.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/chunk_eval.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/chunk_integrity.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/chunk_ref.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/citation.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/cli.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/config/__init__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/config_lint.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/content_fidelity.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/content_inspect.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/corpus.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/corpus_health.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/cross_index.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/diagnostics.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/diff.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/drift.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/embedding_drift.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/eval_enrich.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/eval_interop.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/evidence.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/findings.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/grounding.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/grounding_diff.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/grounding_rollup.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/gt_lint.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/health.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/incremental.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/init_wizard.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/lineage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/live_dashboard.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/manifest.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/mcp_server.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/metadata_checks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/models/__init__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/notifications.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/pdf_support.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/pipeline/__init__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/profiler.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/provenance.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/__init__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/embedding.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/extractor.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/graph.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/snapshot.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/source.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/storage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/vectorstore.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/quality_gate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/readiness.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/_report_css.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/_report_js.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/analysis.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/audit.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/export.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/grounding_report.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/shell.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/retrieval_analysis.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/simulate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/snapshot_doctor.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/structure_checks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/text_match.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/text_probes.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/trend_tracker.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/triage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/utils/__init__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/__init__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/api_upload.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/base.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/base_sparql.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/cross_stage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/graphdb_metadata.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/metadata_checks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/neptune_metadata.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/redis_chunks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/registry.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/retrieval_quality.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/s3_storage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass_kb_validation.egg-info/dependency_links.txt +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass_kb_validation.egg-info/entry_points.txt +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass_kb_validation.egg-info/requires.txt +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass_kb_validation.egg-info/top_level.txt +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/discover_and_validate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/ingestion_validation/__init__.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/profile_kb.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/pyproject.toml +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/run_validation.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/setup.cfg +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_alias.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_alias_disambiguation.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_alias_temporal.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_alt_adapters.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_analysis_report.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_api_upload.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_ask.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_baseline.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_benchmark.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_calibrate_truth.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_check_catalog.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_chunk_eval.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_chunk_integrity.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_chunk_structure_checks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_citation.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_citation_levels.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_cli.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_cli_commands.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_compat_shim.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_config.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_config_lint.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_content_fidelity.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_content_inspect.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_corpus.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_corpus_health.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_coverage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_coverage_and_drift_config.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_cross_stage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_diagnostics.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_diff.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_discover_cli.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_discovery_parallel.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_drift.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_embedding_contract.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_embedding_drift.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_eval_enrich.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_eval_interop.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_evidence.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_fidelity_precision.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_gate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_graph_transport.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_graph_validators.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_grounding.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_grounding_report.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_grounding_rollup.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_health.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_incremental.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_init_wizard.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_lineage.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_manifest.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_mcp.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_measurement_fixes.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_metadata_checks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_migration.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_models.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_multi_index.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_neptune_bugfixes.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_neptune_bugfixes2.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_notifications.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_pipeline.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_profiler.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_providers.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_quality_gate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_readiness.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_redis_chunks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_registry.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_remediation.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_report_store_section.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_reporting.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_requirements_config.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_retrieval_assertions.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_retrieval_fields.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_retrieval_quality.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_review_hardening.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_run_cli.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_simulate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_source_exclusions.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_source_verification.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_sources.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_storage_validator.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_structure_checks.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_tooling_420.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_trends.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_universal_concerns.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_utils.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_v402_fixes.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_v410_any_pipeline.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_v410_gate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_v410_portability.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_v420_gate.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_v420_report_truth.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_v4_defect_fixes.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_vector_fastpath.py +0 -0
- {compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_vectorstore_filters.py +0 -0
|
@@ -57,7 +57,12 @@ _HINTS: list[tuple[str, str]] = [
|
|
|
57
57
|
(r"near-duplicate|no exact duplicate|repeated boilerplate|header|footer",
|
|
58
58
|
"Duplicate / boilerplate chunks: identical vectors or repeated disclaimer/header-footer text bloat the "
|
|
59
59
|
"index and skew retrieval. De-duplicate at ingestion and strip boilerplate before chunking."),
|
|
60
|
-
(r"chunk
|
|
60
|
+
(r"chunk boundaries",
|
|
61
|
+
"A sentence is cut across two chunks on the same page, so each half is retrieved without the "
|
|
62
|
+
"other. Under layout chunking this is usually one paragraph returned as two blocks by the "
|
|
63
|
+
"extractor, or a merge step that split it; under fixed-size chunking it is by design and only "
|
|
64
|
+
"reported. Read the named chunk pairs."),
|
|
65
|
+
(r"chunk size|overlap|ordering|positional|section|page|coherence|structure check",
|
|
61
66
|
"Chunk structure is off: the chunker's size/overlap/boundaries differ from config, or chunks were "
|
|
62
67
|
"written out of order / with gaps. Tune the chunking step's size and overlap parameters."),
|
|
63
68
|
(r"fidelity|full coverage|coverage of source|table/figure",
|
|
@@ -133,10 +138,15 @@ _HINTS: list[tuple[str, str]] = [
|
|
|
133
138
|
"Stored vectors were embedded with a different model than the one declared/serving: retrieval is "
|
|
134
139
|
"silently wrong. Re-embed the corpus with the declared model, or correct the declared model."),
|
|
135
140
|
(r"exact-term retrieval|keyword-index completeness|findable lexically",
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
141
|
+
"A lexical probe: a term from the document was searched for as text, with no filter and no "
|
|
142
|
+
"similarity threshold involved. Either the text field is not indexed for full-text search, or the "
|
|
143
|
+
"term is common across similar documents and the right chunk does not rank in the top results. "
|
|
144
|
+
"Confirm the field is indexed; a term common to many documents is not a defect."),
|
|
145
|
+
(r"boundary-spanning|paraphrase",
|
|
146
|
+
"A lexical probe: words from the chunk were searched for as text, with no filter and no similarity "
|
|
147
|
+
"threshold involved. Either the text field is not indexed for full-text search, or the words are "
|
|
148
|
+
"common across similar documents and other chunks rank first. Confirm the field is indexed; vector "
|
|
149
|
+
"retrieval is measured by the Recall and MRR checks, not by this probe."),
|
|
140
150
|
(r"negative retrieval|off-topic",
|
|
141
151
|
"An off-topic query still scored high: embeddings may be too generic, or the corpus is dense with "
|
|
142
152
|
"similar/boilerplate content so unrelated queries still match. Strip boilerplate and consider a "
|
|
@@ -534,14 +534,28 @@ def _aggregate(cases: list[dict], hide_skipped: bool = True,
|
|
|
534
534
|
cp["total"] += fid["compared"]
|
|
535
535
|
cp["passed"] += fid["compared"] - fid["lost"]
|
|
536
536
|
cp["fidelity"] = fid["compared"]
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
537
|
+
# Two items, because they gate differently: a pipeline drop fails `readiness`
|
|
538
|
+
# (fidelity_pipeline_drop); extractor gaps, unattributed loss and structure findings are
|
|
539
|
+
# advisory. One item for both would state one gating rule for documents that differ.
|
|
540
|
+
by_tier = fid.get("by_tier") or {}
|
|
541
|
+
groups = [("pipeline", _FIDELITY_LABEL + ": pipeline drops", "readiness",
|
|
542
|
+
by_tier.get("pipeline", []))]
|
|
543
|
+
rest = [e for k in ("unattributed", "extractor", "other") for e in by_tier.get(k, [])]
|
|
544
|
+
groups.append(("rest", _FIDELITY_LABEL + ": other findings", "warn", rest))
|
|
545
|
+
for key, label, severity, rows in groups:
|
|
546
|
+
if not rows:
|
|
547
|
+
continue
|
|
548
|
+
first = rows[0]
|
|
549
|
+
names = [e[0] for e in rows]
|
|
550
|
+
offenders[label] = {
|
|
551
|
+
"label": label, "docs": len(rows), "evaluated": fid["compared"],
|
|
552
|
+
"severity": severity, "step": "Content Fidelity", "kind": "fidelity",
|
|
553
|
+
"detail": first[2], "examples": names[:_EXAMPLE_DOCS], "doc_names": names,
|
|
554
|
+
"identical": [],
|
|
555
|
+
"tiers": ({"pipeline": len(rows)} if key == "pipeline" else
|
|
556
|
+
{k: v for k, v in (fid.get("tiers") or {}).items() if k != "pipeline"}),
|
|
557
|
+
"example": {"doc": first[0], "detail": first[2], "page": first[1],
|
|
558
|
+
"anchor": first[3]}}
|
|
545
559
|
cat_rows = [{"name": n, "desc": d, **cat[n]} for n, d in _CAT_ORDER if cat[n]["total"]]
|
|
546
560
|
# Worst-first, so the summary leads with what to fix. Ties break on name for a report
|
|
547
561
|
# that is byte-identical across runs of the same data.
|
|
@@ -1519,13 +1533,20 @@ def _offender_item(o: dict, run: dict, offenders: dict) -> dict:
|
|
|
1519
1533
|
if o.get("kind") == "fidelity":
|
|
1520
1534
|
tiers = o.get("tiers") or {}
|
|
1521
1535
|
if tiers.get("pipeline"):
|
|
1522
|
-
cause = (f"The pipeline lost
|
|
1523
|
-
"
|
|
1524
|
-
elif tiers.get("unattributed"):
|
|
1525
|
-
cause = ("Source text is absent from the stored chunks. Without the extractor's own output "
|
|
1526
|
-
"(eval.snapshot) the loss cannot be placed on the extractor or the pipeline.")
|
|
1536
|
+
cause = (f"The pipeline lost text the extractor produced ({tiers['pipeline']} document(s)): "
|
|
1537
|
+
"a named loss after extraction.")
|
|
1527
1538
|
else:
|
|
1528
|
-
|
|
1539
|
+
parts = []
|
|
1540
|
+
if tiers.get("unattributed"):
|
|
1541
|
+
parts.append(f"{tiers['unattributed']} with source text absent from the store and no "
|
|
1542
|
+
"extractor output (eval.snapshot) to place the loss")
|
|
1543
|
+
if tiers.get("extractor"):
|
|
1544
|
+
parts.append(f"{tiers['extractor']} with source text the extractor did not produce, "
|
|
1545
|
+
"while the store holds all it did (check the source text layer first)")
|
|
1546
|
+
if tiers.get("other"):
|
|
1547
|
+
parts.append(f"{tiers['other']} with no text lost: structure or numbers findings, "
|
|
1548
|
+
"such as a caption stored away from its figure")
|
|
1549
|
+
cause = "; ".join(parts).capitalize() + "." if parts else cause
|
|
1529
1550
|
fix = "Open the Content Fidelity section: its rows lead with pipeline drops of body text."
|
|
1530
1551
|
owner = "ingestion"
|
|
1531
1552
|
elif _LEXICAL.search(label):
|
|
@@ -1626,16 +1647,18 @@ def _action_items(agg: dict, run: dict | None = None) -> list[dict]:
|
|
|
1626
1647
|
items.append(_offender_item(o, run, offenders))
|
|
1627
1648
|
for it in items:
|
|
1628
1649
|
share = it["docs"] / max(it["evaluated"], 1)
|
|
1629
|
-
if it["severity"] in ("hard", "not_checked"):
|
|
1650
|
+
if it["severity"] in ("hard", "not_checked", "readiness"):
|
|
1630
1651
|
it["prio"], it["prio_cls"] = "HIGH", "bad"
|
|
1631
1652
|
elif share >= 0.3:
|
|
1632
1653
|
it["prio"], it["prio_cls"] = "MEDIUM", "warn"
|
|
1633
1654
|
else:
|
|
1634
1655
|
it["prio"], it["prio_cls"] = "LOW", "ok"
|
|
1635
1656
|
it["gates"] = {"hard": "gates the run",
|
|
1636
|
-
"not_checked": "not checked: caps the verdict at AT RISK"
|
|
1657
|
+
"not_checked": "not checked: caps the verdict at AT RISK",
|
|
1658
|
+
"readiness": "gates readiness (fidelity_pipeline_drop); discover's exit "
|
|
1659
|
+
"code is unchanged"}.get(
|
|
1637
1660
|
it["severity"], "advisory: does not gate")
|
|
1638
|
-
order = {"not_checked": 0, "hard": 1}
|
|
1661
|
+
order = {"not_checked": 0, "hard": 1, "readiness": 1}
|
|
1639
1662
|
return sorted(items, key=lambda it: (order.get(it["severity"], 2),
|
|
1640
1663
|
-it["docs"] / max(it["evaluated"], 1), -it["docs"], it["title"]))
|
|
1641
1664
|
|
|
@@ -393,13 +393,15 @@ def preservation(report: Optional[dict]) -> Optional[dict]:
|
|
|
393
393
|
examples.append((file_name(r), first.get("page") if first else None,
|
|
394
394
|
_cut(first.get("text", ""), 120) if first else summary_text(r), anchor(r)))
|
|
395
395
|
tiers: dict[str, int] = {}
|
|
396
|
-
|
|
396
|
+
by_tier: dict[str, list] = {}
|
|
397
|
+
for r, example in zip(lost_rows, examples):
|
|
397
398
|
tier = _tier(r)
|
|
398
399
|
key = ("pipeline" if tier == _TIER_PIPELINE else "unattributed" if tier == _TIER_UNATTRIBUTED
|
|
399
400
|
else "extractor" if tier == _TIER_EXTRACTOR else "other")
|
|
400
401
|
tiers[key] = tiers.get(key, 0) + 1
|
|
402
|
+
by_tier.setdefault(key, []).append(example)
|
|
401
403
|
return {"compared": compared, "lost": min(len(lost_rows), compared), "examples": examples,
|
|
402
|
-
"tiers": tiers, "names": [file_name(r) for r in lost_rows]}
|
|
404
|
+
"tiers": tiers, "names": [file_name(r) for r in lost_rows], "by_tier": by_tier}
|
|
403
405
|
|
|
404
406
|
|
|
405
407
|
def result_for(report: Optional[dict], document_id: str, name: str = "") -> Optional[dict]:
|
|
@@ -189,6 +189,7 @@ tests/test_v410_gate.py
|
|
|
189
189
|
tests/test_v410_portability.py
|
|
190
190
|
tests/test_v420_gate.py
|
|
191
191
|
tests/test_v420_report_truth.py
|
|
192
|
+
tests/test_v421_report.py
|
|
192
193
|
tests/test_v4_defect_fixes.py
|
|
193
194
|
tests/test_vector_fastpath.py
|
|
194
195
|
tests/test_vectorstore_filters.py
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""4.2.1: the Action Plan states each fidelity finding's real gating rule, and per-check hints
|
|
2
|
+
match the 4.2.0 checks (lexical probes, sentence splits)."""
|
|
3
|
+
import compass.report as report_mod
|
|
4
|
+
from compass.remediation import hint_for
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def _fid(verdict, attribution, gates):
|
|
8
|
+
return {"document": f"d-{verdict}", "file_name": f"{verdict.lower()}.pdf", "verdict": verdict,
|
|
9
|
+
"reason": verdict, "missing_passages": [
|
|
10
|
+
{"page": 1, "text": f"text for {verdict}", "size": 40, "attribution": attribution,
|
|
11
|
+
"region": "body", "gates": gates}]}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
FIDELITY = {"compared": 4, "documents": 4, "content_loss": 1, "extractor_gap": 1,
|
|
15
|
+
"results": [_fid("CONTENT_LOSS", "PIPELINE_DROP", True),
|
|
16
|
+
_fid("EXTRACTOR_GAP", "EXTRACTOR_MISS", False),
|
|
17
|
+
{"document": "d-ok", "verdict": "CONTENT_OK", "missing_passages": []},
|
|
18
|
+
{"document": "d-ok2", "verdict": "CONTENT_OK", "missing_passages": []}]}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def test_pipeline_drops_and_other_fidelity_findings_are_separate_items_with_their_own_gate():
|
|
22
|
+
agg = report_mod._aggregate([], fidelity=FIDELITY)
|
|
23
|
+
items = {it["title"]: it for it in report_mod._action_items(agg, {})}
|
|
24
|
+
drop = next(v for k, v in items.items() if k.endswith("pipeline drops"))
|
|
25
|
+
rest = next(v for k, v in items.items() if k.endswith("other findings"))
|
|
26
|
+
assert drop["gates"].startswith("gates readiness") and drop["prio"] == "HIGH"
|
|
27
|
+
assert rest["gates"] == "advisory: does not gate"
|
|
28
|
+
assert drop["docs"] == 1 and rest["docs"] == 1
|
|
29
|
+
assert "after extraction" in drop["cause"] and "source text layer" in rest["cause"]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def test_lexical_probe_hints_offer_no_filter_or_threshold_cause():
|
|
33
|
+
for label in ("Boundary-spanning retrieval", "Paraphrase robustness", "Exact-term retrieval"):
|
|
34
|
+
hint = hint_for(label) or ""
|
|
35
|
+
assert hint.startswith("A lexical probe") and "no filter and no" in hint
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def test_the_sentence_split_hint_gives_no_size_or_overlap_advice():
|
|
39
|
+
hint = hint_for("Chunk boundaries clean") or ""
|
|
40
|
+
assert "sentence is cut across two chunks" in hint
|
|
41
|
+
assert "size and overlap" not in hint
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/providers/vectorstore.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/report/grounding_report.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/api_upload.py
RENAMED
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/base_sparql.py
RENAMED
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/cross_stage.py
RENAMED
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/graphdb_metadata.py
RENAMED
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/metadata_checks.py
RENAMED
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/neptune_metadata.py
RENAMED
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/redis_chunks.py
RENAMED
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/retrieval_quality.py
RENAMED
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/compass/validators/s3_storage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/ingestion_validation/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_alias_disambiguation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_chunk_structure_checks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_coverage_and_drift_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_discovery_parallel.py
RENAMED
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_embedding_contract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_fidelity_precision.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_report_store_section.py
RENAMED
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_requirements_config.py
RENAMED
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_retrieval_assertions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_source_verification.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_universal_concerns.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{compass_kb_validation-4.2.0 → compass_kb_validation-4.2.1}/tests/test_vectorstore_filters.py
RENAMED
|
File without changes
|