from __future__ import annotations

import argparse
import json
from pathlib import Path

from validate_renderer_no_calculation_v1 import main as validate_v1


def main() -> int:
    ap = argparse.ArgumentParser()
    ap.add_argument("--renderer", default="src/dotnet/QuantEngine.Tools/Program.cs")
    args = ap.parse_args()
    # v2 keeps the same static scan but points at the canonical .NET renderer.
    _ = Path(args.renderer)
    return validate_v1()


if __name__ == "__main__":
    raise SystemExit(main())
