flowchart TD

    %% Entry points (blue)
    classDef entry fill:#4dabf7,stroke:#1971c2,color:#fff

    subgraph CLI
        pyqual__cli__init["init"]
        pyqual__cli__run["run"]
        pyqual__cli__gates["gates"]
        pyqual__cli__status["status"]
    end

    subgraph Core
        pyqual__pipeline__Pipeline__run["run"]
        pyqual__pipeline__Pipeline__check_gates["check_gates"]
        pyqual__pipeline__Pipeline___run_iteration["_run_iteration"]
        pyqual__pipeline__Pipeline___should_run_stage["_should_run_stage"]
        pyqual__pipeline__Pipeline___execute_stage["_execute_stage"]
        pyqual__pipeline__Pipeline___ensure_pyqual_dir["_ensure_pyqual_dir"]
        pyqual__config__GateConfig__from_dict["from_dict"]
        pyqual__config__PyqualConfig__load["load"]
        pyqual__config__PyqualConfig___parse["_parse"]
        pyqual__config__PyqualConfig__default_yaml["default_yaml"]
        pyqual__gates__GateResult____str__["__str__"]
        pyqual__gates__Gate__check["check"]
        pyqual__gates__GateSet__check_all["check_all"]
        pyqual__gates__GateSet__all_passed["all_passed"]
        pyqual__gates__GateSet___collect_metrics["_collect_metrics"]
        ...["+3 more"]
    end

    class pyqual__cli__init,pyqual__cli__run,pyqual__cli__gates,pyqual__cli__status,pyqual__pipeline__Pipeline__run,pyqual__pipeline__Pipeline__check_gates,pyqual__pipeline__Pipeline___run_iteration,pyqual__pipeline__Pipeline___should_run_stage,pyqual__pipeline__Pipeline___execute_stage,pyqual__pipeline__Pipeline___ensure_pyqual_dir entry
