Skip to content

Commit

Permalink
fix: resolve issue introduced in #337
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantios committed Oct 24, 2024
1 parent 71cb584 commit b84bc74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/valory/skills/decision_maker_abci/behaviours/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def _write_benchmark_results(
self,
prediction_response: PredictionResponse,
bet_amount: Optional[float] = None,
liquidity_info: Optional[LiquidityInfo] = INIT_LIQUIDITY_INFO,
liquidity_info: LiquidityInfo = INIT_LIQUIDITY_INFO,
) -> None:
"""Write the results to the benchmarking file."""
add_headers = False
Expand Down Expand Up @@ -675,10 +675,10 @@ def _write_benchmark_results(
prediction_response.p_no,
prediction_response.confidence,
bet_amount,
liquidity_info.l0_start if liquidity_info is not None else 0,
liquidity_info.l1_start if liquidity_info is not None else 0,
liquidity_info.l0_end if liquidity_info is not None else 0,
liquidity_info.l1_end if liquidity_info is not None else 0,
liquidity_info.l0_start,
liquidity_info.l1_start,
liquidity_info.l0_end,
liquidity_info.l1_end,
)
results_text = tuple(str(res) for res in results)
row = ",".join(results_text) + NEW_LINE
Expand Down

0 comments on commit b84bc74

Please sign in to comment.