Skip to content

v0.0.43.2

Choose a tag to compare

@MitchellLeeZA MitchellLeeZA released this 23 Feb 13:51
· 3 commits to main since this release
677a300

Release v0.0.43.2

Validator version (default): v0.0.43.2
Date: February 2026


What's in this release

  • Snippet verification — Unicode (NFKC) normalization and fuzzy-match fallback so minor character differences no longer cause false snippet not verified rejections.
  • Documentation — Canonical list of miner and snippet rejection reasons and suggested dashboards (see miner_rejection_and_snippet_reasons.md).
  • Version — Default VERICORE_VALIDATOR_VERSION set to v0.0.43.2.

Changes (vs main)

Snippet validator (validator/snippet_validator.py)

  • Unicode normalization — normalize_text() now applies unicodedata.normalize("NFKC", text or "") first so quotes, accents, and compatibility variants compare consistently.
  • Fuzzy fallback — When the normalized snippet is not an exact substring of the normalized page:
    • For snippets of length ≥ 25, run fuzz.partial_ratio(snippet, page).
    • If ratio ≥ 0.94, treat as verified (character-level tolerance only; paraphrases still rejected).
  • Constants — FUZZY_VERIFY_THRESHOLD = 0.94, MIN_SNIPPET_LENGTH_FOR_FUZZY = 25.
  • Dependencies — fuzzywuzzy and python-Levenshtein (required: without it, partial_ratio uses a buggy pure-Python path that returns wrong low scores for short-vs-long snippet-vs-page comparison).

Documentation (documents/miner_rejection_and_snippet_reasons.md)

  • Miner-level status values and scores.
  • Full table of snippet_score_reason with scores and descriptions.
  • When and how rejection_reason is set (AI assessment).
  • Recommended validator/ops and miner-facing charts.

Config (shared/environment_variables.py)

  • VERICORE_VALIDATOR_VERSION default: v0.0.36 → v0.0.43.2.

Summary

Snippet verification is more robust to encoding and minor character differences; miner and snippet rejection reasons are documented for dashboards and tooling; default validator version is v0.0.43.2.