def METHOD_NAME():
    import platform
    import sys
    import distro
    system = platform.system()
    if system == "Windows":
        version = sys.getwindowsversion()  # type: ignore[attr-defined]
        return {
            "os": "windows",
            "windows_version_build": version.build,
            "windows_version_major": version.major,
            "windows_version_minor": version.minor,
            "windows_version_service_pack": version.service_pack,
        }
    if system == "Darwin":
        return {"os": "mac", "mac_version": platform.mac_ver()[0]}
    if system == "Linux":
        return {
            "os": "linux",
            "linux_distro": distro.id(),
            "linux_distro_like": distro.like(),
            "linux_distro_version": distro.version(),
        }
    # We don't collect data for any other system.
    raise NotImplementedError