"""Default paths for full repo layout or unpacked participant kit."""

from __future__ import annotations

from pathlib import Path


def workshop_root() -> Path:
    return Path(__file__).resolve().parent.parent


def default_persona_prompts() -> Path:
    return workshop_root() / "exercises" / "prompts"


def default_screenshots_dir() -> Path:
    root = workshop_root()
    kit = root / "screenshots"
    if kit.is_dir():
        return kit
    return root / "mock-shop-builder" / "public" / "screenshots"


def default_scenarios_dir() -> Path:
    root = workshop_root()
    kit = root / "scenarios"
    if kit.is_dir():
        return kit
    return root / "mock-shop-builder" / "public" / "scenarios"


def default_train_labels() -> Path:
    root = workshop_root()
    kit = root / "data" / "public" / "synthetic_shoppers_train.csv"
    if kit.is_file():
        return kit
    return root / "mock-shop-builder" / "data" / "public" / "synthetic_shoppers_train.csv"
