INNER CODE UNIT · Python

missing

teaql/teaql-agent-kit · tools/teaql_workspace.py:31

    missing = sorted(set(LANGUAGES) - set(runtimes))
    extra = sorted(set(runtimes) - set(LANGUAGES))
    if missing or extra:
        raise ValueError(f"runtime keys mismatch: missing={missing}, extra={extra}")
    return data


def git_value(repo: Path, *args: str) -> str | None:
    result = subprocess.run(
        ["git", "-C", str(repo), *args], text=True, capture_output=True, check=False
    )
    return result.stdout.strip() if result.returncode == 0 else None


def resolve(config_path: Path, data: dict) -> dict:
    source = data["runtimeSource"]
    rows = {}
    errors = []

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…