Statistics shrinked label examples and minimum percentage of labels
See original GitHub issueThank you so much for your hard work on fast-check
! I’ve only recently started to experiment with property based testing, and fast-check
is so well-written and well-documented and an absolute joy to work with!
I saw John Hughes’ talk Building on developers’ intuitions and got very excited about the new shrinked label examples and minimum percentage of labels features in QuickCheck. Do you think it would be possible to add these features to this great library?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:23 (10 by maintainers)
Top Results From Across the Web
The New Nutrition Facts Label Examples of Different ... - FDA
Total Fat 1.5g. Saturated Fat 0g. Trans Fat 0g. Polyunsaturated Fat 0.5g. Monounsaturated Fat 0.5g. Cholesterol 0mg. Sodium 160mg. Fluoride 0mg.
Read more >How To Read Food and Beverage Labels
Reading food labels can help you make smart food choices. Learn how to read and understand the product date, ingredient list, and Nutrition ......
Read more >100% Control of Data Labels in Power BI - YouTube
For example, when you only want a label for the highest and lowest point in a chart or when you want to add...
Read more >Food Product Labeling Basics - La Dept. of Health
Food packaging labels are meant to be more than just ... label that meets regulations is simple and requires only a small ......
Read more >Nutrition Facts Format Examples
Percent Daily Values are based on a 2,000- calorie diet. Beef, ground, 90% lean / 10% fat, raw. Nutrition Facts. Serving Size 4...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot for those great references, I will have a deeper look into the approach in order to see how I can bring it into fast-check.
It is good to know, that fast-check already has limited support for labelled inputs.
fc.statistics
is able to show the user how many generated values are generated for each label:Running code on Runkit: https://runkit.com/dubzzz/5cabc890d332880012e2dcfa
With this code I got:
I’ll come back to you asap 😉 Thanks a lot for the references
So as far as I can tell, I’d have to run the property (via fc.assert) and then re-run the property (via fc.statistics). But this won’t reflect the actual test distribution (the one used initially in fc.assert) right?