"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import BaseModel
from typing_extensions import TypedDict


class DABenchmarkEntryTypedDict(TypedDict):
    r"""A single Design Arena benchmark entry for a specific arena+category"""

    arena: str
    r"""Arena type (e.g. models, builders, agents)"""
    category: str
    r"""Category within the arena (e.g. website, gamedev, uicomponent)"""
    elo: float
    r"""ELO rating from head-to-head arena battles"""
    rank: int
    r"""Rank position within this arena+category among models available on OpenRouter (1 = highest ELO)"""
    win_rate: float
    r"""Win rate percentage in arena battles"""


class DABenchmarkEntry(BaseModel):
    r"""A single Design Arena benchmark entry for a specific arena+category"""

    arena: str
    r"""Arena type (e.g. models, builders, agents)"""

    category: str
    r"""Category within the arena (e.g. website, gamedev, uicomponent)"""

    elo: float
    r"""ELO rating from head-to-head arena battles"""

    rank: int
    r"""Rank position within this arena+category among models available on OpenRouter (1 = highest ELO)"""

    win_rate: float
    r"""Win rate percentage in arena battles"""
