Image comparing tests for ImageExport
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- fsharp
- Domain
- data-visualization, testing-qa
Research direction
Start by locating Plotly.NET.Export and the existing image export tests. Read how exported base64 images are decoded, then determine how a reference image can be compared pixel by pixel with an average deviation threshold. Done means image export tests accept equivalent encodings while detecting meaningful visual differences.
Written by the indexing model from the issue text.
Description
There's Plotly.NET.Export which exports images, for example, into base64. However testing it on exact matches doesn't work well, after all, there are multiple ways the same image can be encoded with jpg or png.
So the idea here is to convert it to an image and compare pixel by pixel against a model one. If the deviation on average isn't big, then the test is considered to pass.
- Dominant language
- F#
- Stars
- 860
- Forks
- 99
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plotly/Plotly.NET
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
plotly/Plotly.NET#498 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
plotly/Plotly.NET#495 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
plotly/Plotly.NET#494 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
plotly/Plotly.NET#492 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
plotly/Plotly.NET#485 · 1 comment ·
All issues in plotly/Plotly.NET
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pydata/pydata-sphinx-theme#2503 ·
-
bug triage_needed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
P3 size: 1 task
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
🦾 ai-candidate
Difficulty 2/5 1-3 hours Newbie friendliness 88/100