File size: 605 Bytes
6c930b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from typing import Annotated

from pydantic import BaseModel, ConfigDict, Field


class DisplayToml(BaseModel):
    model_config = ConfigDict(extra="allow", frozen=True)

    version: Annotated[str, Field(..., description="The version of the results.")]
    benchmarks_order: Annotated[
        list[str],
        Field(
            default_factory=lambda: [
                "vsi_bench",
                "mmsi_bench",
                "mindcube_tiny",
                "viewspatial",
                "site",
            ],
            description="The predefined order of the benchmarks.",
        ),
    ]