← Files Investment BankingARCHIVED FILE

skills/dcf-model-builder/scripts/skill_core.py

701 Bytes · Oct 2, 2026 · 00:27 UTC

↓ Download file

#!/usr/bin/env python3
"""Public shim for the deterministic DCF engine.

The implementation lives in `skill_core_runtime` so normal skill invocation
loads the script map instead of engine internals. Debuggers and tests can still
import this module directly.
"""

from __future__ import annotations

import sys
from pathlib import Path

SCRIPT_DIR = Path(__file__).resolve().parent
if str(SCRIPT_DIR) not in sys.path:
    sys.path.insert(0, str(SCRIPT_DIR))

from runtime_loader import load_runtime_module

_runtime = load_runtime_module("skill_core_runtime")

__all__ = [name for name in dir(_runtime) if not name.startswith("_")]
globals().update({name: getattr(_runtime, name) for name in __all__})

SHA-256: edbed9ef4882216b81063fc67092e0e3782c756bc0977bd2e34c5c90a5767d48