mapbox / mapbox/pixelmatch

Can you please explain what threshold means?

Open
#155 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
7k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

Hi!

Thank for your nice utility! Can you please explain what threshold means ? Is it like 10% of difference ignored when it is 0.1, and 100% when it is set to 1 ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names only the threshold concept and asks whether 0.1 and 1 represent percentage differences. No file or test is mentioned. Clarify the threshold definition and these examples in the project's documentation, then verify the explanation against pixelmatch's behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.