arango-entity-resolution 3.10.1__tar.gz → 3.10.2__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.
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/.gitignore +7 -1
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/CHANGELOG.md +32 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/PKG-INFO +13 -7
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/README.md +2 -2
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/pyproject.toml +17 -4
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/configurable_pipeline.py +0 -1
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/batch_similarity_service.py +1 -1
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/onnx_model_exporter.py +2 -2
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/similarity/weighted_field_similarity.py +6 -4
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/constants.py +16 -27
- arango_entity_resolution-3.10.2/tests/test_dependency_licenses.py +141 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_docs_conformance.py +54 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_weighted_field_similarity.py +16 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/LICENSE +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/SECURITY.md +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/canonical_hub/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/canonical_hub/arango_vector_provider.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/canonical_hub/resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/cli.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/config/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/config/er_config.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/address_pipeline.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/async_pipeline.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/collective_resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/entity_resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/incremental_maintainer.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/incremental_resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/core/orchestrator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/data/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/data/data_manager.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/demo/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/demo/demo_manager.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/enrichments/README.md +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/enrichments/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/enrichments/acronym_handler.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/enrichments/context_resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/enrichments/relationship_sweeper.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/enrichments/type_constraints.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/etl/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/etl/arangoimport.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/etl/canonical_resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/etl/normalizers.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/etl/provenance.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/learning/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/learning/em_estimator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/learning/fellegi_sunter_scorer.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/learning/field_profiler.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/learning/model_parameter_estimator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/learning/threshold_selection.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/connection.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/contracts.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/demo.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/normalization.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/resources/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/resources/collections.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/server.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/tools/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/tools/advisor.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/tools/cluster.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/tools/entity.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/mcp/tools/pipeline.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/migrations/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/migrations/registry.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/migrations/runner.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/py.typed +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/reasoning/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/reasoning/feedback.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/reasoning/graph_rag.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/reasoning/llm_verifier.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/ab_evaluation_harness.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/ab_evaluation_runner.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/address_er_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/base_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/blocking_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/bulk_blocking_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/cluster_export_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/cluster_metrics.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/cluster_repair_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/aql_graph.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/base.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/gae_connection.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/gae_wcc.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/python_dfs.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/python_sparse.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_backends/python_union_find.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/clustering_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/cross_collection_matching_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/curation_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/embedding_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/evaluation_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/fabric_arango_vector_provider_wp13.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/fabric_canonical_hub_resolver_wp13.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/feedback_application_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/golden_record_persistence_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/golden_record_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/node2vec_embedding_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/onnx_embedding_backend.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_activation_evidence_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_benchmark_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_compare_report_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_profile_registry.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_quality_benchmark_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_quality_gate_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_quality_policy_calibration_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_quality_policy_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/runtime_telemetry_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/similarity_edge_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/similarity_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/tuple_embedding_serializer.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/services/wcc_clustering_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/similarity/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/similarity/ann_adapter.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/similarity/geospatial_validator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/similarity/graph_context.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/base_strategy.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/bm25_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/collect_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/geographic_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/graph_embedding_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/graph_traversal_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/hybrid_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/lsh_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/shard_parallel_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/strategies/vector_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/app.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/auth.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/models/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/models/schemas.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/clusters.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/collections.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/config.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/curation.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/export.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/golden.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/metrics.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/pipeline.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/profile.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/resolve.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/review.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/ui/routes/ws.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/__init__.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/algorithms.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/aql_builders.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/config.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/config_utils.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/database.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/graph_utils.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/logging.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/pipeline_utils.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/validation.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/validation_utils.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/utils/view_utils.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/conftest.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/enrichments/test_components.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/fabric_canonical_hub_precision_wp13.json +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/security/test_aql_injection.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/security/test_mcp_sse_auth.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/security/test_ui_auth.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/security/test_ui_export_paths.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ab_evaluation_harness.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ab_evaluation_runner.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_active_learning_config_wiring.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_address_er_service_arangoimport_redaction.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_address_er_service_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_address_pipeline.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_algorithms_comprehensive.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ann_adapter.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ann_adapter_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ann_adapter_vector_index.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_aql_builders_filter_builder.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_arangoimport_helper.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_async_pipeline_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_auto_backend_selection.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_binary_u_from_comparisons.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_blocking_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_blocking_service_legacy_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_blocking_strategies.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_bm25_chunked_blocking_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_bm25_fields_fallback.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_bulk_blocking_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_calibrate_runtime_quality_policy_cli.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_canonical_hub_public_api.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_canonical_hub_shared_checks.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_canonical_resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_canonical_resolver_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_categorical_em.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_categorical_u_from_random_pairs.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_check_scorecard.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_cli.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_cluster_export_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_cluster_repair_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_cluster_repair_service_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_cluster_validation_oversize_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_clustering_backends.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_clustering_backends_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_clustering_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_collective_resolver.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_collective_resolver_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_comparison_band_selection.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_computed_fields.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_config.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_config_utils.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_configurable_pipeline_blocking_fields.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_configurable_pipeline_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_cross_collection_matching_service_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_cross_collection_matching_service_validation.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_curation_audit_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_curation_routes_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_curation_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_curation_service_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_data_manager_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_database_manager_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_device_resolution.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_em_estimator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_em_gamma_domain.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_embedding_service_identifier_validation.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_embedding_service_multi_resolution.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_entity_resolver_pipeline_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_er_config.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_estimator_sampling_determinism.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_evaluation_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_evaluation_service_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_fabric_canonical_hub_wp13.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_feedback.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_feedback_application_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_feedback_application_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_fellegi_sunter_scorer.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_field_profiler.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_field_profiler_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_field_weight_learning_gate.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_gae_clustering.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_gae_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_geographic_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_geospatial_validator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_golden_record_override_survival_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_golden_record_persistence_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_golden_record_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_graph_context_similarity.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_graph_context_similarity_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_graph_embedding_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_graph_embedding_blocking_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_graph_rag.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_hybrid_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_hybrid_blocking_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_incremental_maintainer.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_incremental_maintainer_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_llm_healthcheck.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_llm_provider_config.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_llm_verifier.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_llm_verifier_cost_accounting.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_lsh_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_matching_quality_gate.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_mcp_cascade_unresolved_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_mcp_normalization.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_mcp_tools.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_measure_llm_band.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_migrations.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_migrations_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_model_parameter_estimator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_model_parameter_estimator_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_node2vec_embedding_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_node2vec_embedding_service_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_normalizers.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_onnx_embedding_backend.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_onnx_encode_and_export.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_orchestrator.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_pipeline_statistics_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_pipeline_utils.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_profile_route_integration.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_published_results_conformance.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_activation_evidence_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_benchmark_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_compare_report_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_profile_registry.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_quality_benchmark_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_quality_gate_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_quality_policy_calibration_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_quality_policy_ci.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_runtime_quality_policy_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_scan_secrets.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_shard_parallel_blocking.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_similarity_edge_service_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_similarity_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_similarity_service_legacy_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_similarity_service_resilient.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_test_environment_safety.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_threshold_selection.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_top3_features.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_tuple_embedding_serializer.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ui_core_additions.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ui_routes.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_ui_schemas.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_upstream_markers.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_validation.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_validation_utils_full.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_vector_blocking_strategy_unit.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_view_utils_full.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_view_utils_validation.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_wcc_clustering_service.py +0 -0
- {arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_wiring_conformance.py +0 -0
|
@@ -143,7 +143,13 @@ COVERAGE_SUMMARY.txt
|
|
|
143
143
|
detailed_coverage_analysis_*.json
|
|
144
144
|
|
|
145
145
|
# Local Claude Code harness config (per-user, not project-shared)
|
|
146
|
-
.claude
|
|
146
|
+
.claude/*
|
|
147
|
+
# Skills are source and meant to be shared -- but only ones reviewed for private
|
|
148
|
+
# content (absolute paths, internal endpoints) are un-ignored, one at a time.
|
|
149
|
+
!.claude/skills/
|
|
150
|
+
.claude/skills/*
|
|
151
|
+
!.claude/skills/pr-review/
|
|
152
|
+
!.claude/skills/code-quality-review/
|
|
147
153
|
# .cursor/ is per-user, except the estate-wide rules that are reviewed and tracked.
|
|
148
154
|
# (A directory pattern like `.cursor/` cannot be re-included from, hence `/*`.)
|
|
149
155
|
.cursor/*
|
|
@@ -7,6 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.10.2] - 2026-12-01
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **No GPL code in a default install.** This package is Apache-2.0, but two of
|
|
15
|
+
its required dependencies were GPL: `fuzzywuzzy` (GPLv2), which nothing
|
|
16
|
+
imported, and `python-Levenshtein` (GPL-2.0-or-later), which supplied the one
|
|
17
|
+
`distance` call behind `WeightedFieldSimilarity(algorithm="levenshtein")`.
|
|
18
|
+
Both are removed. The edit distance now comes from `rapidfuzz` (MIT), which
|
|
19
|
+
gives identical results (checked on 20,005 string pairs, including accented
|
|
20
|
+
and CJK text), so no score changes. If you imported `Levenshtein` or
|
|
21
|
+
`fuzzywuzzy` yourself through this package, add them to your own requirements.
|
|
22
|
+
- Dependencies that were imported but never declared are now declared:
|
|
23
|
+
`requests` and `urllib3` (required); `pydantic` in `[ui]`; `transformers` in
|
|
24
|
+
`[onnx]`. A new `[onnx-export]` extra installs `optimum[onnxruntime]` and
|
|
25
|
+
`onnx`, which `onnx_model_exporter` needs and no extra provided.
|
|
26
|
+
- `python-dotenv` and `rich` are no longer required: nothing imports them.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- `entity_resolution.__version__` and `arango-er --version` reported `3.8.0`
|
|
31
|
+
in every release since 3.8.0: they read `VERSION_INFO`, a second copy of the
|
|
32
|
+
version that the release checklist never moved. It is now derived from
|
|
33
|
+
`__version__`, and a test checks the version the package and CLI report.
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- `tests/test_dependency_licenses.py` fails if anything a user installs (the
|
|
38
|
+
required dependencies, or a runtime extra, followed transitively) carries a
|
|
39
|
+
GPL or AGPL licence, or if `src/` imports a third-party package that no
|
|
40
|
+
dependency list declares.
|
|
41
|
+
|
|
10
42
|
## [3.10.1] - 2026-11-19
|
|
11
43
|
|
|
12
44
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: arango-entity-resolution
|
|
3
|
-
Version: 3.10.
|
|
3
|
+
Version: 3.10.2
|
|
4
4
|
Summary: A production-ready entity resolution system for ArangoDB using record blocking, graph algorithms, and AI.
|
|
5
5
|
Project-URL: Homepage, https://github.com/arango-solutions-org/arango-entity-resolution
|
|
6
6
|
Project-URL: Documentation, https://github.com/arango-solutions-org/arango-entity-resolution#readme
|
|
@@ -19,16 +19,15 @@ Classifier: Topic :: Database
|
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
20
|
Requires-Python: >=3.10
|
|
21
21
|
Requires-Dist: click>=8.1.7
|
|
22
|
-
Requires-Dist: fuzzywuzzy>=0.18.0
|
|
23
22
|
Requires-Dist: jellyfish>=1.0.3
|
|
24
23
|
Requires-Dist: numpy>=1.24.4
|
|
25
24
|
Requires-Dist: pandas>=2.1.4
|
|
26
25
|
Requires-Dist: python-arango>=8.0.0
|
|
27
|
-
Requires-Dist: python-dotenv>=1.0.0
|
|
28
|
-
Requires-Dist: python-levenshtein>=0.23.0
|
|
29
26
|
Requires-Dist: pyyaml>=6.0
|
|
30
|
-
Requires-Dist:
|
|
27
|
+
Requires-Dist: rapidfuzz>=3.0.0
|
|
28
|
+
Requires-Dist: requests>=2.28.0
|
|
31
29
|
Requires-Dist: scikit-learn>=1.3.2
|
|
30
|
+
Requires-Dist: urllib3>=1.26.0
|
|
32
31
|
Provides-Extra: dev
|
|
33
32
|
Requires-Dist: black>=23.11.0; extra == 'dev'
|
|
34
33
|
Requires-Dist: flake8>=6.1.0; extra == 'dev'
|
|
@@ -42,6 +41,12 @@ Requires-Dist: sentence-transformers>=2.2.0; extra == 'ml'
|
|
|
42
41
|
Requires-Dist: torch>=2.0.0; extra == 'ml'
|
|
43
42
|
Provides-Extra: onnx
|
|
44
43
|
Requires-Dist: onnxruntime>=1.16.0; extra == 'onnx'
|
|
44
|
+
Requires-Dist: transformers>=4.30.0; extra == 'onnx'
|
|
45
|
+
Provides-Extra: onnx-export
|
|
46
|
+
Requires-Dist: onnx>=1.14.0; extra == 'onnx-export'
|
|
47
|
+
Requires-Dist: onnxruntime>=1.16.0; extra == 'onnx-export'
|
|
48
|
+
Requires-Dist: optimum[onnxruntime]>=1.16.0; extra == 'onnx-export'
|
|
49
|
+
Requires-Dist: transformers>=4.30.0; extra == 'onnx-export'
|
|
45
50
|
Provides-Extra: sparse
|
|
46
51
|
Requires-Dist: scipy>=1.11.0; extra == 'sparse'
|
|
47
52
|
Provides-Extra: test
|
|
@@ -50,15 +55,16 @@ Requires-Dist: pytest-mock>=3.0.0; extra == 'test'
|
|
|
50
55
|
Requires-Dist: pytest>=7.4.3; extra == 'test'
|
|
51
56
|
Provides-Extra: ui
|
|
52
57
|
Requires-Dist: fastapi>=0.115; extra == 'ui'
|
|
58
|
+
Requires-Dist: pydantic>=2.0; extra == 'ui'
|
|
53
59
|
Requires-Dist: uvicorn[standard]>=0.34; extra == 'ui'
|
|
54
60
|
Requires-Dist: websockets>=14.0; extra == 'ui'
|
|
55
61
|
Description-Content-Type: text/markdown
|
|
56
62
|
|
|
57
63
|
# ArangoDB Entity Resolution
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
An entity resolution library for ArangoDB that identifies and links records referring to the same real-world entity across multiple data sources, using record blocking, field-level and probabilistic scoring, graph clustering, and optional LLM verification. Matching quality and speed are measured on public benchmarks up to 66,879 records; see [Benchmark Results](#benchmark-results) and the [scale limits](docs/BENCHMARKS.md#scale-limits).
|
|
60
66
|
|
|
61
|
-
**Version 3.10.
|
|
67
|
+
**Version 3.10.2** | [Changelog](CHANGELOG.md) | [PyPI](https://pypi.org/project/arango-entity-resolution/)
|
|
62
68
|
|
|
63
69
|
## Installation
|
|
64
70
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# ArangoDB Entity Resolution
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An entity resolution library for ArangoDB that identifies and links records referring to the same real-world entity across multiple data sources, using record blocking, field-level and probabilistic scoring, graph clustering, and optional LLM verification. Matching quality and speed are measured on public benchmarks up to 66,879 records; see [Benchmark Results](#benchmark-results) and the [scale limits](docs/BENCHMARKS.md#scale-limits).
|
|
4
4
|
|
|
5
|
-
**Version 3.10.
|
|
5
|
+
**Version 3.10.2** | [Changelog](CHANGELOG.md) | [PyPI](https://pypi.org/project/arango-entity-resolution/)
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -23,18 +23,21 @@ classifiers = [
|
|
|
23
23
|
"Topic :: Database",
|
|
24
24
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
25
25
|
]
|
|
26
|
+
# Every required dependency must carry a permissive licence: this package is
|
|
27
|
+
# Apache-2.0, and a GPL requirement would reach every user who installs it.
|
|
28
|
+
# tests/test_dependency_licenses.py enforces that, and that every third-party
|
|
29
|
+
# import under src/ is declared here or in an extra.
|
|
26
30
|
dependencies = [
|
|
27
31
|
"python-arango>=8.0.0",
|
|
28
32
|
"pandas>=2.1.4",
|
|
29
33
|
"numpy>=1.24.4",
|
|
30
|
-
"
|
|
34
|
+
"rapidfuzz>=3.0.0",
|
|
31
35
|
"jellyfish>=1.0.3",
|
|
32
|
-
"fuzzywuzzy>=0.18.0",
|
|
33
36
|
"scikit-learn>=1.3.2",
|
|
34
|
-
"python-dotenv>=1.0.0",
|
|
35
37
|
"click>=8.1.7",
|
|
36
|
-
"rich>=13.7.0",
|
|
37
38
|
"PyYAML>=6.0",
|
|
39
|
+
"requests>=2.28.0",
|
|
40
|
+
"urllib3>=1.26.0",
|
|
38
41
|
]
|
|
39
42
|
|
|
40
43
|
[project.optional-dependencies]
|
|
@@ -44,6 +47,15 @@ ml = [
|
|
|
44
47
|
]
|
|
45
48
|
onnx = [
|
|
46
49
|
"onnxruntime>=1.16.0",
|
|
50
|
+
"transformers>=4.30.0",
|
|
51
|
+
]
|
|
52
|
+
# Exporting a sentence-transformers model to ONNX (onnx_model_exporter); the
|
|
53
|
+
# [onnx] extra alone is enough to run an exported model.
|
|
54
|
+
onnx-export = [
|
|
55
|
+
"onnxruntime>=1.16.0",
|
|
56
|
+
"transformers>=4.30.0",
|
|
57
|
+
"optimum[onnxruntime]>=1.16.0",
|
|
58
|
+
"onnx>=1.14.0",
|
|
47
59
|
]
|
|
48
60
|
sparse = [
|
|
49
61
|
"scipy>=1.11.0",
|
|
@@ -64,6 +76,7 @@ test = [
|
|
|
64
76
|
]
|
|
65
77
|
ui = [
|
|
66
78
|
"fastapi>=0.115",
|
|
79
|
+
"pydantic>=2.0",
|
|
67
80
|
"uvicorn[standard]>=0.34",
|
|
68
81
|
"websockets>=14.0",
|
|
69
82
|
]
|
|
@@ -33,7 +33,7 @@ class BatchSimilarityService:
|
|
|
33
33
|
|
|
34
34
|
Supported algorithms:
|
|
35
35
|
- jaro_winkler: Best for names and addresses (jellyfish)
|
|
36
|
-
- levenshtein: Edit distance (
|
|
36
|
+
- levenshtein: Edit distance (rapidfuzz)
|
|
37
37
|
- jaccard: Set-based similarity
|
|
38
38
|
- custom: Provide your own callable
|
|
39
39
|
|
|
@@ -7,7 +7,7 @@ for faster CPU inference.
|
|
|
7
7
|
|
|
8
8
|
Requires ``optimum`` and ``onnx``::
|
|
9
9
|
|
|
10
|
-
pip install
|
|
10
|
+
pip install 'arango-entity-resolution[onnx-export]'
|
|
11
11
|
|
|
12
12
|
Example::
|
|
13
13
|
|
|
@@ -62,7 +62,7 @@ def export_model(
|
|
|
62
62
|
except ImportError as exc:
|
|
63
63
|
raise ImportError(
|
|
64
64
|
"optimum[onnxruntime] is required for ONNX model export. "
|
|
65
|
-
"Install with: pip install
|
|
65
|
+
"Install with: pip install 'arango-entity-resolution[onnx-export]'"
|
|
66
66
|
) from exc
|
|
67
67
|
|
|
68
68
|
from transformers import AutoTokenizer
|
|
@@ -17,8 +17,10 @@ try:
|
|
|
17
17
|
except ImportError:
|
|
18
18
|
JELLYFISH_AVAILABLE = False
|
|
19
19
|
|
|
20
|
+
# rapidfuzz (MIT), not python-Levenshtein (GPL-2.0-or-later), which this
|
|
21
|
+
# Apache-2.0 package used to require. The distances are identical.
|
|
20
22
|
try:
|
|
21
|
-
import Levenshtein
|
|
23
|
+
from rapidfuzz.distance import Levenshtein
|
|
22
24
|
LEVENSHTEIN_AVAILABLE = True
|
|
23
25
|
except ImportError:
|
|
24
26
|
LEVENSHTEIN_AVAILABLE = False
|
|
@@ -98,7 +100,7 @@ class WeightedFieldSimilarity:
|
|
|
98
100
|
Weights will be normalized to sum to 1.0 if normalize=True.
|
|
99
101
|
algorithm: Similarity algorithm to use:
|
|
100
102
|
- "jaro_winkler" (default, best for names, requires jellyfish)
|
|
101
|
-
- "levenshtein" (edit distance, requires
|
|
103
|
+
- "levenshtein" (edit distance, requires rapidfuzz)
|
|
102
104
|
- "jaccard" (set-based similarity, built-in)
|
|
103
105
|
- Custom callable: (str1, str2) -> float (0.0-1.0)
|
|
104
106
|
normalize: Whether to normalize weights to sum to 1.0. Default True.
|
|
@@ -622,8 +624,8 @@ class WeightedFieldSimilarity:
|
|
|
622
624
|
elif algorithm == "levenshtein":
|
|
623
625
|
if not LEVENSHTEIN_AVAILABLE:
|
|
624
626
|
raise ImportError(
|
|
625
|
-
"
|
|
626
|
-
"Install with: pip install
|
|
627
|
+
"rapidfuzz library required for levenshtein algorithm. "
|
|
628
|
+
"Install with: pip install rapidfuzz"
|
|
627
629
|
)
|
|
628
630
|
# Normalize to 0-1 range
|
|
629
631
|
return lambda s1, s2: 1.0 - (Levenshtein.distance(s1, s2) / max(len(s1), len(s2), 1))
|
|
@@ -284,37 +284,26 @@ INDUSTRY_CONSTANTS = {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
#
|
|
288
|
-
#
|
|
289
|
-
#
|
|
290
|
-
#
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
#
|
|
294
|
-
#
|
|
295
|
-
#
|
|
296
|
-
|
|
297
|
-
# - All services extracted from customer projects
|
|
298
|
-
# See VERSION_HISTORY.md for detailed version timeline
|
|
287
|
+
# Single source of version truth — hatchling reads this via regex in pyproject.toml.
|
|
288
|
+
# To release a new version: bump this string (scripts/check_version_consistency.py
|
|
289
|
+
# lists the documents that must agree), then create a GitHub Release. The
|
|
290
|
+
# publish.yml workflow will build and upload to PyPI automatically.
|
|
291
|
+
__version__ = "3.10.2"
|
|
292
|
+
|
|
293
|
+
# Derived, never hand-edited. It used to be a second copy, which stayed at 3.8.0
|
|
294
|
+
# through the 3.9.0, 3.10.0 and 3.10.1 releases, so `entity_resolution.__version__`
|
|
295
|
+
# and `arango-er --version` reported 3.8.0 while PyPI served 3.10.1.
|
|
296
|
+
_major, _minor, _patch = __version__.split("-", 1)[0].split(".")
|
|
299
297
|
VERSION_INFO = {
|
|
300
|
-
'major':
|
|
301
|
-
'minor':
|
|
302
|
-
'patch':
|
|
303
|
-
'release': ''
|
|
298
|
+
'major': int(_major),
|
|
299
|
+
'minor': int(_minor),
|
|
300
|
+
'patch': int(_patch),
|
|
301
|
+
'release': __version__.split("-", 1)[1] if "-" in __version__ else '',
|
|
304
302
|
}
|
|
305
303
|
|
|
306
|
-
# Single source of version truth — hatchling reads this via regex in pyproject.toml.
|
|
307
|
-
# To release a new version: bump VERSION_INFO above AND this string, then create a
|
|
308
|
-
# GitHub Release. The publish.yml workflow will build and upload to PyPI automatically.
|
|
309
|
-
__version__ = "3.10.1"
|
|
310
|
-
|
|
311
304
|
def get_version_string() -> str:
|
|
312
|
-
"""
|
|
313
|
-
|
|
314
|
-
version = f"{v['major']}.{v['minor']}.{v['patch']}"
|
|
315
|
-
if v['release']:
|
|
316
|
-
version = f"{version}-{v['release']}"
|
|
317
|
-
return version
|
|
305
|
+
"""The package version, as declared by ``__version__``."""
|
|
306
|
+
return __version__
|
|
318
307
|
|
|
319
308
|
def get_database_url(host: str = None, port: int = None) -> str:
|
|
320
309
|
"""Get formatted database URL"""
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"""What this package makes its users install must be licensed compatibly with it.
|
|
2
|
+
|
|
3
|
+
The package is Apache-2.0, yet until 3.10.2 two of its *required* dependencies
|
|
4
|
+
were GPL: ``fuzzywuzzy`` (GPLv2, imported nowhere) and ``python-Levenshtein``
|
|
5
|
+
(GPL-2.0-or-later, used for one ``distance`` call). Every ``pip install`` pulled
|
|
6
|
+
them in, and no gate looked. The second check exists because the same audit
|
|
7
|
+
found six third-party packages imported under ``src/`` but declared nowhere,
|
|
8
|
+
reaching users only by accident of someone else's dependency tree.
|
|
9
|
+
|
|
10
|
+
Both checks read the declarations in ``pyproject.toml`` and the metadata of
|
|
11
|
+
whatever is installed, so they cover what CI installs (``.[test,ml,llm,mcp,ui]``);
|
|
12
|
+
an extra that is not installed is checked wherever it is.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import ast
|
|
18
|
+
import re
|
|
19
|
+
import sys
|
|
20
|
+
from importlib import metadata
|
|
21
|
+
from pathlib import Path
|
|
22
|
+
|
|
23
|
+
import pytest
|
|
24
|
+
from packaging.requirements import Requirement
|
|
25
|
+
from packaging.utils import canonicalize_name
|
|
26
|
+
|
|
27
|
+
tomllib = pytest.importorskip("tomllib") # Python 3.11+; 3.10 runs skip
|
|
28
|
+
|
|
29
|
+
REPO_ROOT = Path(__file__).resolve().parent.parent
|
|
30
|
+
PROJECT = tomllib.loads((REPO_ROOT / "pyproject.toml").read_text(encoding="utf-8"))["project"]
|
|
31
|
+
|
|
32
|
+
# Extras a user installs to run the library. test and dev are for working on it.
|
|
33
|
+
RUNTIME_EXTRAS = sorted(set(PROJECT.get("optional-dependencies", {})) - {"test", "dev"})
|
|
34
|
+
|
|
35
|
+
# GPL and AGPL, but not LGPL, whose linking exception covers use as a library.
|
|
36
|
+
_COPYLEFT = re.compile(r"(?<![L\w])A?GPL|GNU (?:Affero )?General Public", re.I)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def _requirements(groups) -> list:
|
|
40
|
+
reqs = []
|
|
41
|
+
for group in groups:
|
|
42
|
+
lines = PROJECT["dependencies"] if group is None else PROJECT["optional-dependencies"][group]
|
|
43
|
+
reqs += [Requirement(line) for line in lines]
|
|
44
|
+
return reqs
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _licence(dist: metadata.Distribution) -> str:
|
|
48
|
+
meta = dist.metadata
|
|
49
|
+
expression = meta.get("License-Expression")
|
|
50
|
+
if expression:
|
|
51
|
+
return expression
|
|
52
|
+
classifiers = [c.split("::")[-1].strip() for c in meta.get_all("Classifier") or [] if c.startswith("License ::")]
|
|
53
|
+
if classifiers:
|
|
54
|
+
return "; ".join(classifiers)
|
|
55
|
+
# Some packages paste the whole licence text here; its first line names it.
|
|
56
|
+
return (meta.get("License") or "").strip().splitlines()[0][:200] if meta.get("License") else ""
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _installed_closure(roots: list) -> dict:
|
|
60
|
+
"""Every installed distribution reachable from ``roots``: name -> (licence, path)."""
|
|
61
|
+
seen: dict = {}
|
|
62
|
+
stack = [(req, (str(req.name),)) for req in roots]
|
|
63
|
+
while stack:
|
|
64
|
+
req, path = stack.pop()
|
|
65
|
+
if req.marker is not None and not req.marker.evaluate({"extra": ""}):
|
|
66
|
+
continue
|
|
67
|
+
name = canonicalize_name(req.name)
|
|
68
|
+
if name in seen:
|
|
69
|
+
continue
|
|
70
|
+
try:
|
|
71
|
+
dist = metadata.distribution(req.name)
|
|
72
|
+
except metadata.PackageNotFoundError:
|
|
73
|
+
continue # an extra or platform this environment did not install
|
|
74
|
+
seen[name] = (_licence(dist), " -> ".join(path))
|
|
75
|
+
for line in dist.requires or []:
|
|
76
|
+
child = Requirement(line)
|
|
77
|
+
if req.extras and child.marker is not None:
|
|
78
|
+
# Follow the extras the parent asked for, e.g. uvicorn[standard].
|
|
79
|
+
if any(child.marker.evaluate({"extra": e}) for e in req.extras):
|
|
80
|
+
child.marker = None
|
|
81
|
+
stack.append((child, path + (child.name,)))
|
|
82
|
+
return seen
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def test_licence_classifier_tells_gpl_from_lgpl_and_permissive() -> None:
|
|
86
|
+
assert _COPYLEFT.search("GPL-2.0-or-later")
|
|
87
|
+
assert _COPYLEFT.search("GNU General Public License v2 (GPLv2)")
|
|
88
|
+
assert _COPYLEFT.search("AGPL-3.0-only")
|
|
89
|
+
assert not _COPYLEFT.search("LGPL-3.0-or-later")
|
|
90
|
+
assert not _COPYLEFT.search("GNU Lesser General Public License v3 (LGPLv3)")
|
|
91
|
+
assert not _COPYLEFT.search("MIT AND (Apache-2.0 OR BSD-2-Clause)")
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def test_required_dependencies_are_all_installed() -> None:
|
|
95
|
+
# Otherwise the closure below would silently check less than it claims.
|
|
96
|
+
missing = []
|
|
97
|
+
for req in _requirements([None]):
|
|
98
|
+
try:
|
|
99
|
+
metadata.distribution(req.name)
|
|
100
|
+
except metadata.PackageNotFoundError:
|
|
101
|
+
missing.append(req.name)
|
|
102
|
+
assert not missing, f"required dependencies not installed: {missing}"
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
@pytest.mark.parametrize("group", [None, *RUNTIME_EXTRAS], ids=lambda g: g or "required")
|
|
106
|
+
def test_no_gpl_licence_in_what_users_install(group) -> None:
|
|
107
|
+
closure = _installed_closure(_requirements([group]))
|
|
108
|
+
flagged = {name: f"{lic} (via {path})" for name, (lic, path) in closure.items() if _COPYLEFT.search(lic)}
|
|
109
|
+
assert not flagged, f"GPL-licensed packages in {group or 'the required dependencies'}: {flagged}"
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def _third_party_imports() -> dict:
|
|
113
|
+
"""Top-level module -> first file importing it, across src/ (guarded imports included)."""
|
|
114
|
+
local = {"entity_resolution", "__future__"}
|
|
115
|
+
found: dict = {}
|
|
116
|
+
for path in sorted((REPO_ROOT / "src" / "entity_resolution").rglob("*.py")):
|
|
117
|
+
for node in ast.walk(ast.parse(path.read_text(encoding="utf-8"))):
|
|
118
|
+
if isinstance(node, ast.Import):
|
|
119
|
+
names = [alias.name for alias in node.names]
|
|
120
|
+
elif isinstance(node, ast.ImportFrom) and node.level == 0 and node.module:
|
|
121
|
+
names = [node.module]
|
|
122
|
+
else:
|
|
123
|
+
continue
|
|
124
|
+
for name in names:
|
|
125
|
+
top = name.split(".")[0]
|
|
126
|
+
if top not in local and top not in sys.stdlib_module_names:
|
|
127
|
+
found.setdefault(top, str(path.relative_to(REPO_ROOT)))
|
|
128
|
+
return found
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
def test_every_third_party_import_in_src_is_declared() -> None:
|
|
132
|
+
declared = {canonicalize_name(r.name) for r in _requirements([None, *PROJECT["optional-dependencies"]])}
|
|
133
|
+
providers = metadata.packages_distributions()
|
|
134
|
+
undeclared = {}
|
|
135
|
+
for module, where in _third_party_imports().items():
|
|
136
|
+
# An installed module maps to the distributions providing it; one that is
|
|
137
|
+
# not installed here is assumed to share its distribution's name.
|
|
138
|
+
dists = {canonicalize_name(d) for d in providers.get(module, [module])}
|
|
139
|
+
if not dists & declared:
|
|
140
|
+
undeclared[module] = where
|
|
141
|
+
assert not undeclared, f"imported under src/ but declared in no dependency list: {undeclared}"
|
{arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/tests/test_docs_conformance.py
RENAMED
|
@@ -98,6 +98,45 @@ def _readme_section(start: str, end: str) -> str:
|
|
|
98
98
|
return README.split(start, 1)[1].split(end, 1)[0]
|
|
99
99
|
|
|
100
100
|
|
|
101
|
+
def _readme_python_result_paths() -> list:
|
|
102
|
+
"""Every ``results[...][...]`` lookup in the README's Python quick start."""
|
|
103
|
+
section = _readme_section("### Python", "### MCP Server")
|
|
104
|
+
code = "".join(re.findall(r"```python\n(.*?)```", section, re.S))
|
|
105
|
+
return [
|
|
106
|
+
tuple(re.findall(r"\[['\"]([A-Za-z_]+)['\"]\]", chain))
|
|
107
|
+
for chain in re.findall(r"results((?:\[['\"][A-Za-z_]+['\"]\])+)", code)
|
|
108
|
+
]
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def test_readme_python_quickstart_reads_keys_a_real_run_returns() -> None:
|
|
112
|
+
"""The quick start printed results['blocking']['candidates_found'] until
|
|
113
|
+
a7a16b1, a key run() has never returned, so the first thing a reader ran
|
|
114
|
+
raised KeyError. The docstring was no guide either: it still lists a
|
|
115
|
+
'blocks_found' key that run() does not produce. So this runs the real
|
|
116
|
+
pipeline, on the README's own config, against the strict database fake
|
|
117
|
+
(the wire is the only thing faked) and looks each documented key up."""
|
|
118
|
+
from test_wiring_conformance import FakeDatabase
|
|
119
|
+
|
|
120
|
+
from entity_resolution import ConfigurableERPipeline
|
|
121
|
+
|
|
122
|
+
paths = _readme_python_result_paths()
|
|
123
|
+
assert paths, "the README Python quick start should read at least one result key"
|
|
124
|
+
|
|
125
|
+
full = [b for b in _YAML_BLOCKS if "entity_type:" in b and "clustering:" in b]
|
|
126
|
+
assert full, "the README should carry a full pipeline config to run"
|
|
127
|
+
config = ERPipelineConfig.from_dict(yaml.safe_load(full[0]))
|
|
128
|
+
results = ConfigurableERPipeline(db=FakeDatabase(), config=config).run()
|
|
129
|
+
|
|
130
|
+
for path in paths:
|
|
131
|
+
node = results
|
|
132
|
+
for key in path:
|
|
133
|
+
assert isinstance(node, dict) and key in node, (
|
|
134
|
+
f"README reads results{''.join(f'[{k!r}]' for k in path)}, "
|
|
135
|
+
f"but run() returns no {key!r} there"
|
|
136
|
+
)
|
|
137
|
+
node = node[key]
|
|
138
|
+
|
|
139
|
+
|
|
101
140
|
def _registered_mcp_tools() -> set:
|
|
102
141
|
pytest.importorskip("mcp")
|
|
103
142
|
from entity_resolution.mcp import server
|
|
@@ -222,6 +261,21 @@ def test_version_is_consistent_everywhere_it_is_stated() -> None:
|
|
|
222
261
|
assert len(set(versions.values())) == 1, versions
|
|
223
262
|
|
|
224
263
|
|
|
264
|
+
def test_runtime_version_reports_the_declared_version() -> None:
|
|
265
|
+
# The gate above reads the __version__ *string*; what users see came from a
|
|
266
|
+
# second copy (VERSION_INFO) that stayed at 3.8.0 for three releases. Ask
|
|
267
|
+
# the running objects instead: the package attribute and the CLI.
|
|
268
|
+
from click.testing import CliRunner
|
|
269
|
+
|
|
270
|
+
import entity_resolution
|
|
271
|
+
from entity_resolution.cli import main
|
|
272
|
+
from entity_resolution.utils import constants
|
|
273
|
+
|
|
274
|
+
assert entity_resolution.__version__ == constants.__version__
|
|
275
|
+
out = CliRunner().invoke(main, ["--version"]).output
|
|
276
|
+
assert constants.__version__ in out.split(), out
|
|
277
|
+
|
|
278
|
+
|
|
225
279
|
def test_committed_openapi_matches_the_app() -> None:
|
|
226
280
|
# CI's ui-contract job enforces this too, but it failed on every run for
|
|
227
281
|
# weeks over a stale version string and a check that is always red is not
|
|
@@ -578,3 +578,19 @@ def test_compute_and_compute_detailed_agree(handle_nulls, doc1, doc2):
|
|
|
578
578
|
handle_nulls=handle_nulls,
|
|
579
579
|
)
|
|
580
580
|
assert sim.compute_detailed(doc1, doc2)["overall_score"] == sim.compute(doc1, doc2)
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
@pytest.mark.parametrize(
|
|
584
|
+
"a, b, expected",
|
|
585
|
+
[
|
|
586
|
+
("kitten", "sitting", 1 - 3 / 7), # the textbook three edits
|
|
587
|
+
("Müller", "Muller", 1 - 1 / 6), # one edit per code point, not per byte
|
|
588
|
+
("acme", "acme", 1.0),
|
|
589
|
+
("abc", "xyz", 0.0),
|
|
590
|
+
],
|
|
591
|
+
)
|
|
592
|
+
def test_levenshtein_algorithm_scores_normalised_edit_distance(a, b, expected):
|
|
593
|
+
"""No test exercised algorithm='levenshtein' when it moved from the GPL
|
|
594
|
+
python-Levenshtein package to rapidfuzz in 3.10.2; this pins its scores."""
|
|
595
|
+
similarity = WeightedFieldSimilarity(field_weights={'name': 1.0}, algorithm='levenshtein')
|
|
596
|
+
assert similarity.compute({'name': a}, {'name': b}) == pytest.approx(expected, abs=1e-4)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arango_entity_resolution-3.10.1 → arango_entity_resolution-3.10.2}/src/entity_resolution/cli.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|