<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_compare_version():
 """ Get the version comparison info. Returns: (tuple) state (int):
 -1 for lower version, 0 for same version, 1 for higher version than latest. response (str):
 The response string. """


    state, latest_version = compare_latest_version()
    if state < 0:
        return -1, "A new version of Modis is available (v{})".format(latest_version)
    elif state == 0:
        return 0, "You are running the latest version of Modis (v{})".format(version)
    else:
        return 1, "You are running a preview version of Modis (v{} pre-release)".format(version)