def verify_config(verbose=True):
    """Check for common or costly errors in experiment configuration.
    """
    ok = True
    config = get_config()
    if not config.ready:
        config.load()
    # Check base_payment is correct
    try:
        base_pay = config.get("base_payment")
    except KeyError:
        log("✗ No value for base_pay.", delay=0, chevrons=False, verbose=verbose)
    else:
        dollarFormat = "{:.2f}".format(base_pay)

        if base_pay <= 0:
            log(
                "✗ base_payment must be positive value in config.txt.",
                delay=0,
                chevrons=False,
                verbose=verbose,
            )
            ok = False

        if float(dollarFormat) != float(base_pay):
            log(
                "✗ base_payment must be in [dollars].[cents] format in config.txt. Try changing "
                "{0} to {1}.".format(base_pay, dollarFormat),
                delay=0,
                chevrons=False,
                verbose=verbose,
            )
            ok = False

    return ok