9c21881484d19c27bff613398cee9e6b076b6800,arviz/stats/diagnostics.py,,ess,#,65

Before Change


    }

    if method not in methods:
        raise TypeError(
            "ess method {} not found. Valid methods are:\n{}".format(method, "\n    ".join(methods))
        )
    ess_func = methods[method]

    if (method == "quantile") and prob is None:
        raise TypeError("Quantile (prob) information needs to be defined.")

After Change


    }

    if method not in methods:
        raise TypeError(f"ess method {method} not found. Valid methods are:\n{", ".join(methods)}")
    ess_func = methods[method]

    if (method == "quantile") and prob is None:
        raise TypeError("Quantile (prob) information needs to be defined.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: arviz-devs/arviz
Commit Name: 9c21881484d19c27bff613398cee9e6b076b6800
Time: 2020-11-06
Author: aloctavodia@gmail.com
File Name: arviz/stats/diagnostics.py
Class Name:
Method Name: ess


Project Name: arviz-devs/arviz
Commit Name: 9c21881484d19c27bff613398cee9e6b076b6800
Time: 2020-11-06
Author: aloctavodia@gmail.com
File Name: arviz/stats/diagnostics.py
Class Name:
Method Name: rhat


Project Name: pantsbuild/pants
Commit Name: e8ccd90f029a17d1822c37ebe259d77243fe2e67
Time: 2019-03-05
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/engine/selectors.py
Class Name: Get
Method Name: __new__