The GitHub iOS app dispatches workflows with numeric inputs serialized
as doubles ("1.0"/"50.0") even when the receiving field is declared
`type: number` for an integer. GitHub accepts the float and threads it
into the run, so the workflow triggers, but the evals CLI's
`parsePositiveInteger` (regex /^[0-9]+$/) then rejects the value and
the job fails immediately.
Strip a single trailing `.0` from `EVAL_TRIALS` and `EVAL_CONCURRENCY`
in the dispatch shell before forwarding them to the eval CLI. Integers
and non-zero decimals are passed through unchanged, so behaviour for
the web UI / API callers is identical.
The GitHub iOS app dispatches workflows with numeric inputs serialized as doubles ("1.0"/"50.0") even when the receiving field is declared
type: numberfor an integer. GitHub accepts the float and threads it into the run, so the workflow triggers, but the evals CLI'sparsePositiveInteger(regex /^[0-9]+$/) then rejects the value and the job fails immediately.Strip a single trailing
.0fromEVAL_TRIALSandEVAL_CONCURRENCYin the dispatch shell before forwarding them to the eval CLI. Integers and non-zero decimals are passed through unchanged, so behaviour for the web UI / API callers is identical.Summary by cubic
Strip a trailing
.0fromEVAL_TRIALSandEVAL_CONCURRENCYin the manual-evals workflow so the evals CLI accepts integer inputs. Prevents job failures when the GitHub iOS app sends numeric inputs as doubles (e.g., "1.0", "50.0").Written for commit c6c1d73. Summary will update on new commits. Review in cubic