Skip to content

artifacts_by_year

src.models.artifacts_by_year

Artifacts by year schema.

Generated by generate_statistics.pyartifacts_by_year.yml.

YearCount

Bases: BaseModel

Artifact count for a single year with systems/security breakdown.

Source code in src/models/artifacts_by_year.py
11
12
13
14
15
16
17
18
19
class YearCount(BaseModel):
    """Artifact count for a single year with systems/security breakdown."""

    year: int = Field(description="Publication year.")
    count: int = Field(ge=0, description="Total artifacts for this year.")
    systems: int = Field(ge=0, description="Artifacts from systems conferences.")
    security: int = Field(ge=0, description="Artifacts from security conferences.")

    model_config = {"extra": "forbid"}