Documentation
¶
Overview ¶
Package programsheet narrows a partner program's benchmark sheets (GET /v1/programs/{program}/benchmarks) to one model and/or one SoC. The `melange program benchmarks` command and the get_program_benchmarks MCP tool share it, so both answer a filter the same way.
Filtering works on the raw response: objects keep their key order and every value its exact bytes. The generated client decodes metric values as float32, so a decode/re-encode round trip through it would rewrite numbers such as 0.463; this package never does that.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply returns body narrowed by f, or body itself when f is empty.
- Model keeps only that model in "models".
- SoC keeps only that SoC in "targets" and, in each model, only that SoC's result; models with no result on it are dropped.
"metrics" and the other top-level fields pass through unchanged. A model or SoC the page does not list is an error naming the ones it does.