Skip to content

Commit 1054802

Browse files
saitcakmakmeta-codesync[bot]
authored andcommitted
Replace em-dash with ASCII in UtilityProgressionPlot subtitle (#4997)
Summary: Pull Request resolved: #4997 The UtilityProgressionPlot subtitle for MOO experiments contained a literal em-dash (U+2014), which cannot be encoded in latin-1. When GAIN's daemon scheduler finalizes a multi-objective experiment and saves the analysis card to MySQL, MySQLdb encodes strings using latin-1 and raises UnicodeEncodeError, causing the experiment to be marked as FAILED despite all trials succeeding. Replace the em-dash with " -- " to stay within the latin-1 character set. Reviewed By: bernardbeckerman Differential Revision: D95828166 fbshipit-source-id: 190a0da7d049d5cdf08930fe57b276e836e3e2e0
1 parent da3318e commit 1054802

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ax/analysis/plotly/utility_progression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def compute(
151151
subtitle = (
152152
"Shows the hypervolume of the Pareto frontier achieved so far across "
153153
f"completed trials. {_TRACE_INDEX_EXPLANATION} The y-axis shows "
154-
"cumulative best hypervolumeonly improvements, so flat "
154+
"cumulative best hypervolume -- only improvements, so flat "
155155
"segments indicate trials that didn't improve the frontier. "
156156
"Hypervolume measures the volume of objective space dominated by the "
157157
f"Pareto frontier. "

0 commit comments

Comments
 (0)