738a5bf63e8d9d9b97ba8b5a577fcd9685b0be71,tests/test_bql.py,,test_trivial_commands,#,712

Before Change


        with pytest.raises(bayeslite.BQLError):
            bdb.execute("infer explicit predict agee with confidence 0.9"
                " from p")
        bdb.execute("""
            create population pe for t0(
                guess(*),
                age numerical,
                rank numerical
            )
        """)
        bdb.execute("create generator pe_cc for pe using crosscat()")
        with pytest.raises(bayeslite.BQLError):
            // No models to analyze.
            bdb.execute("analyze pe_cc for 1 iteration wait")

After Change


        with pytest.raises(bayeslite.BQLError):
            bdb.execute("infer explicit predict agee with confidence 0.9"
                " from p")
        guess.bayesdb_guess_population(bdb, "pe", "t0",
            overrides={
                "age": "numerical",
                "rank": "numerical",
            })
        bdb.execute("create generator pe_cc for pe using crosscat()")
        with pytest.raises(bayeslite.BQLError):
            // No models to analyze.
            bdb.execute("analyze pe_cc for 1 iteration wait")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: probcomp/bayeslite
Commit Name: 738a5bf63e8d9d9b97ba8b5a577fcd9685b0be71
Time: 2016-06-27
Author: riastradh+probcomp@csail.mit.edu
File Name: tests/test_bql.py
Class Name:
Method Name: test_trivial_commands


Project Name: probcomp/bayeslite
Commit Name: 78ab4dead73a4d06b275ffb6923402b8a3b8bef5
Time: 2016-06-27
Author: riastradh+probcomp@csail.mit.edu
File Name: tests/test_bql.py
Class Name:
Method Name: test_createtab


Project Name: probcomp/bayeslite
Commit Name: 78ab4dead73a4d06b275ffb6923402b8a3b8bef5
Time: 2016-06-27
Author: riastradh+probcomp@csail.mit.edu
File Name: tests/test_bql.py
Class Name:
Method Name: test_create_table_ifnotexists_as_simulate