Skip to content

Commit

Permalink
refactor: nvm revertet back to timestamp_correctness_counts.values[0]
Browse files Browse the repository at this point in the history
  • Loading branch information
thangixd committed May 24, 2024
1 parent c0dbdec commit caa41ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracex_project/db_results/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def update_context_with_charts(self, context, trace_df: pd.DataFrame):
"most_frequent_category": relevance_counts.index[0],
"most_frequent_category_count": relevance_counts.values[0],
"most_frequent_timestamp_correctness": timestamp_correctness_counts.index[0],
"most_frequent_timestamp_correctness_count": trace_df["timestamp_correctness"].sum(),
"most_frequent_timestamp_correctness_count": timestamp_correctness_counts.values[0],
"average_timestamp_correctness": round(trace_df["correctness_confidence"].mean(), 2)
})

Expand Down

0 comments on commit caa41ab

Please sign in to comment.