Fix failing flake8 E226 check

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
Yuan Tang 2024-12-31 23:49:56 -05:00
parent a6c206ea66
commit cc3181e887
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ def application_evaluation_page():
# Display current row results using separate containers
progress_text_container.write(
f"Expand to see current processed result ({i+1}/{len(rows)})"
f"Expand to see current processed result ({i + 1} / {len(rows)})"
)
results_container.json(
score_res.to_json(),

View file

@ -232,7 +232,7 @@ def run_evaluation_3():
output_res[scoring_fn].append(eval_res.scores[scoring_fn].score_rows[0])
progress_text_container.write(
f"Expand to see current processed result ({i+1}/{len(rows)})"
f"Expand to see current processed result ({i + 1} / {len(rows)})"
)
results_container.json(eval_res, expanded=2)

View file

@ -53,7 +53,7 @@ def trace_protocol(cls: Type[T]) -> Type[T]:
combined_args = {}
for i, arg in enumerate(args):
param_name = (
param_names[i] if i < len(param_names) else f"position_{i+1}"
param_names[i] if i < len(param_names) else f"position_{i + 1}"
)
combined_args[param_name] = serialize_value(arg)
for k, v in kwargs.items():