mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat: extend evals chart to show runs up to $60
- Updated cost filter threshold from $50 to $60 - Updated exclusion note text to reflect new threshold
This commit is contained in:
parent
7cd6520302
commit
561ae81e2d
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ type PlotProps = {
|
|||
type LabelPosition = "top" | "bottom" | "left" | "right"
|
||||
|
||||
export const Plot = ({ tableData }: PlotProps) => {
|
||||
const chartData = useMemo(() => tableData.filter(({ cost }) => cost < 50), [tableData])
|
||||
const chartData = useMemo(() => tableData.filter(({ cost }) => cost < 60), [tableData])
|
||||
|
||||
const chartConfig = useMemo(
|
||||
() => chartData.reduce((acc, run) => ({ ...acc, [run.label]: run }), {} as ChartConfig),
|
||||
|
|
@ -235,7 +235,7 @@ export const Plot = ({ tableData }: PlotProps) => {
|
|||
</ScatterChart>
|
||||
</ChartContainer>
|
||||
<div className="py-4 text-xs opacity-50">
|
||||
(Note: Models with a cost of $50 or more are excluded from the scatter plot.)
|
||||
(Note: Models with a cost of $60 or more are excluded from the scatter plot.)
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue