spcl/serverless-benchmarks

Sanitize input on Python benchmarks

开放

#118 创建于 2023年2月20日

 (18 条评论) (2 个反应) (0 位负责人)Python (99 个派生)auto 404
buggood first issue

仓库指标

星标
 (196 个星标)
PR 合并指标
 (平均合并 2天 9小时) (30 天内合并 6 个 PR)

描述

All Python benchmarks require JSON as input. However, we never verify that the provided input matches expectations. When users invoke benchmarks incorrectly, they should receive a helpful notification. Right now, they usually receive a Python exception where a variable loaded from JSON ends up being None.

All benchmarks should verify that the input values are provided in the JSON and are of correct type, and return a clear error message upon a failure.

贡献者指南