codebench_import
Import benchmark results from CSV or JSON into the codebugs tracker. Validates finite numeric metrics and rejects duplicate row/metric pairs.
Instructions
Import benchmark results from CSV or JSON.
CSV convention: first column is the row label, remaining columns are metric names with finite numeric values.
JSON convention: array of objects, first key is the row label, rest are metric keys with finite numeric values.
Each (row label, metric) pair may appear only once per import, and NaN/Infinity are refused: a non-finite measurement is not one.
Args:
benchmark: Benchmark name (e.g. "search-perf")
csv_data: CSV string (header + data rows). Provide csv_data OR json_data.
json_data: JSON array string. Provide csv_data OR json_data.
date: Run date (default: today, ISO format YYYY-MM-DD)
tags: Optional tags (e.g. ["nightly", "v2.1"])
meta: Optional metadata (e.g. {"git_sha": "abc123", "ci_url": "..."})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| meta | No | ||
| tags | No | ||
| csv_data | No | ||
| benchmark | Yes | ||
| json_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||