We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ae0160 commit bc7543eCopy full SHA for bc7543e
src/hypofuzz/hy.py
@@ -399,6 +399,13 @@ def _json_description(self) -> Report:
399
ls for _, ls in self.pool.interesting_examples.values()
400
]
401
del report["since new cov"]
402
+
403
+ if self.ninputs >= 10 and "" == report["note"]:
404
+ singletons = self.pool.singletons
405
+ doubletons = self.pool.doubletons
406
+ offset = singletons * (singletons-1) / 2 if 0 == doubletons else singletons * singletons / (2 * doubletons)
407
+ offset = int(offset) + 1
408
+ report["est. branches"] = report["branches"] + offset
409
return report
410
411
@property
0 commit comments