spcl/serverless-benchmarks

Sanitize input on Python benchmarks

開放

#118 建立於 2023年2月20日

 (18 則留言) (2 個反應) (0 位負責人)Python (99 個分叉)auto 404
buggood first issue

倉庫指標

星標
 (196 顆星)
PR 合併指標
 (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.

貢獻者指南