We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8ee2f commit 48a5c47Copy full SHA for 48a5c47
dpgen2/exploration/report/report_trust_levels_max.py
@@ -41,7 +41,9 @@ def converged(
41
converged bool
42
If the exploration is converged.
43
"""
44
- return self.accurate_ratio() >= self.conv_accuracy
+ accurate_ratio = self.accurate_ratio()
45
+ assert isinstance(accurate_ratio, float)
46
+ return accurate_ratio >= self.conv_accuracy
47
48
def get_candidate_ids(
49
self,
0 commit comments