Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-jsonschema/jsonschema
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.26.0
Choose a base ref
...
head repository: python-jsonschema/jsonschema
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 7, 2026

  1. docs: Fix misleading comment in relevance function

    The comment in the relevance() function incorrectly suggested that -len(error.path) prefers 'deeper' errors. In reality, this logic
    prioritizes errors with shorter paths (higher up in the instance).
    
    Updated the comment to accurately reflect that shorter paths are preferred for general validation errors, which aligns with the actual code behavior and official documentation for best_match.
    
    Closes #1325
    Padmashree06 authored Jan 7, 2026
    Configuration menu
    Copy the full SHA
    de9483f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from Padmashree06/Padmashree06-fix-comment

    docs: Fix misleading comment in relevance function
    Padmashree06 authored Jan 7, 2026
    Configuration menu
    Copy the full SHA
    1a1844e View commit details
    Browse the repository at this point in the history
  3. Shortend the comment

    Padmashree06 authored Jan 7, 2026
    Configuration menu
    Copy the full SHA
    0e5655c View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2026

  1. Merge pull request #1444 from Padmashree06/main

    docs: Fix misleading comment in relevance function
    Julian authored Jan 8, 2026
    Configuration menu
    Copy the full SHA
    79ae4a9 View commit details
    Browse the repository at this point in the history
Loading