You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codeflash/code_utils/config_consts.py
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,11 @@
35
35
REPAIR_UNMATCHED_PERCENTAGE_LIMIT=0.4# if the percentage of unmatched tests is greater than this, we won't fix it (lowering this value makes the repair more stricted)
36
36
MAX_REPAIRS_PER_TRACE=4# maximum number of repairs we will do for each function
37
37
38
+
# Adaptive optimization
39
+
# TODO (ali): make this configurable with effort arg once the PR is merged
40
+
ADAPTIVE_OPTIMIZATION_THRESHOLD=2# Max adaptive optimizations per single candidate tree (for example : optimize -> refine -> adaptive -> another adaptive).
41
+
MAX_ADAPTIVE_OPTIMIZATIONS_PER_TRACE=4# maximum number of adaptive optimizations we will do for each function (this can be 2 adaptive optimizations for 2 candidates for example)
0 commit comments