Viewing v4.0.0rc6 · release candidate · v3 stable / main · v4 preview / next

PORTABLE SCORING WORKFLOWS

The data. The rules. The whole package.

StatPacks bundle a scoring workflow into an inspectable archive: metadata, schema sections, optional datasets, and a runner. Keep the configuration with the work it describes.

Package

Bundle adapter sections and metadata with the data and runner needed for the workflow.

Inspect

List the package contents and validate its structure before adopting or sharing a model.

Reproduce

Render the adapter or run the included workflow using StatLine's own SDK. The website's sample packs are checked against direct Python and Gateway output.

Open a real StatPack.

eba.players

11 files · 103 dataset rows · 8 schema sections.

Download StatPack
PACKAGE CONTENTS
dataset/EBA_Elevate302/eba_players_gp3_plus.csv
metadata.yaml
runner.py
schema/sections/buckets.yaml
schema/sections/dimensions.yaml
schema/sections/efficiency.yaml
schema/sections/filters.yaml
schema/sections/metrics.yaml
schema/sections/score_profiles.yaml
schema/sections/sniff.yaml
schema/sections/weights.yaml

eba.teams

10 files · 24 dataset rows · 7 schema sections.

Download StatPack
PACKAGE CONTENTS
dataset/EBA_Elevate302/eba_s1_teams.csv
metadata.yaml
runner.py
schema/sections/buckets.yaml
schema/sections/dimensions.yaml
schema/sections/filters.yaml
schema/sections/metrics.yaml
schema/sections/score_profiles.yaml
schema/sections/sniff.yaml
schema/sections/weights.yaml
STANDARD STATPACK RUNNER
from pathlib import Path

from statline.sdk import run_statpack

raise SystemExit(run_statpack(Path(__file__).resolve().parent))