Skip to content

Commit 67d2268

Browse files
committed
refactor: removed dupicalte check
1 parent d0a2c5f commit 67d2268

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/rai_bench/rai_bench/results_processing/visualise/tool_calling_agent_display.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,6 @@ def display_detailed_task_analysis(
156156
st.warning(f"No tasks of type {selected_type} found.")
157157
return
158158

159-
if tasks_df.empty:
160-
st.warning(f"No task details available for type: {selected_type}")
161-
return
162-
163159
task_stats = (
164160
tasks_df.groupby("task_prompt") # type: ignore
165161
.agg({"score": "mean", "total_time": "mean"})
@@ -373,7 +369,7 @@ def render_task_performance_tab(bench_results: BenchmarkResults):
373369
model_results, "prompt_detail"
374370
)
375371
selected_prompt_detail = st.selectbox(
376-
"Select prompt decriptivness",
372+
"Select prompt decriptiveness",
377373
["All"] + prompt_detail_values,
378374
key="prompt_detail_select",
379375
)

0 commit comments

Comments
 (0)