Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d026bbc

Browse files
yifengloulangfun authors
authored andcommittedMar 23, 2025·
Fix wrong output path of summary.html
PiperOrigin-RevId: 739532029
1 parent 77d42c5 commit d026bbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎langfun/core/eval/v2/progress_tracking.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414
"""Tracking evaluation run progress."""
1515

16+
import os
1617
import langfun.core as lf
1718
from langfun.core.eval.v2 import example as example_lib
1819
from langfun.core.eval.v2 import experiment as experiment_lib
@@ -95,7 +96,7 @@ def on_run_start(
9596
for i, leaf in enumerate(root.leaf_nodes)
9697
}
9798
summary_link = Experiment.link(
98-
runner.current_run.output_path_for(root, 'summary.html')
99+
os.path.join(runner.current_run.output_root, 'summary.html')
99100
)
100101
lf.console.write(f'Summary: {summary_link}.', color='green')
101102

0 commit comments

Comments
 (0)
Please sign in to comment.