Azure AI Search hybrid queries combine full-text and vector search using Reciprocal Rank Fusion (RRF). The @search.score field reflects this fusion, often appearing small due to RRF’s reciprocal rank weighting. This score cannot be directly compared across queries because it depends on the relative ranking within each query’s result set. Practical guidance includes using ranking order instead of absolute scores and understanding when semantic ranking alters the relevance signal.
Azure AI Search / Hybrid Search / Reciprocal Rank Fusion / RRF / Vector Search / Full-Text Search / Semantic Ranking / Relevance Scoring
Limit input size and number types when decoding untrusted model JSON to prevent resource exhaustion and malformed numbers. Use Python json with bounded input and custom parse_int, parse_float, and parse_constant hooks.
json / python / security / dos-protection / parsing
A reliable JSON parsing strategy that caps input size and uses parse_int, parse_float, and parse_constant to control number decoding and reject non-standard constants before they become resource drains.
json / python / security / parsing / parse_int / parse_float / parse_constant / DoS protection
additionalProperties only sees properties in the same subschema, so allOf extension fails to reject unknown keys. Use unevaluatedProperties in draft 2019-09 or later to recognize nested subschema properties without redeclaring them.
JSON Schema / allOf / additionalProperties / unevaluatedProperties / draft 2019-09 / schema extension / validation / object schema
Python's json module silently emits NaN and Infinity tokens that violate RFC 7159, breaking strict external parsers. Setting allow_nan=False and parse_constant enforces compliance on both serializer and deserializer sides.
json / python / rfc-7159 / nan / infinity / allow_nan / parse_constant / interoperability
Python's json.loads silently keeps only the last value when a JSON object contains duplicate keys, discarding earlier ones without warning. The object_pairs_hook parameter intercepts the full ordered list of key-value pairs before dict construction, enabling explicit duplicate detection at parse time.
json / object_pairs_hook / duplicate-keys / LLM-output / python / parsing / validation
A Pipeline chains preprocessing and estimation so that fit statistics come only from training folds. This prevents leakage during cross-validation and keeps training and inference transformations consistent.
scikit-learn / pipeline / data-leakage / cross-validation / preprocessing
Timestamps in ASR provide temporal data for spoken words or segments. Configuring pipelines for word-level timestamps enhances transcription utility for tasks like meeting notes.
ASR / timestamps / speech recognition / Hugging Face / transformers / NLP / audio processing
Fix the evaluation set, metrics, aggregation rules, and comparison rules before running experiments so results stay comparable and per-subset failures are not hidden by one aggregate number.
evaluation / model comparison / reproducibility / metrics / aggregation / scikit-learn / huggingface-evaluate / experiment design
Learn to use EvaluationSuites to identify specific performance gaps across diverse tasks instead of relying on a single aggregate score.
model-evaluation / risk-management / huggingface-evaluate / multi-task-learning / ai-safety