651346e6d36fcd7c3bece2187aea9dfd498136cf,tests/test_cgpm.py,,test_unknown_stattype,#,305

Before Change


            for x in xrange(5):
                for y in xrange(5):
                    countries = ["US", "Russia", "China", "Bulgaria"]
                    country = countries[bdb._np_prng.randint(0, len(countries))]
                    mass = bdb._np_prng.normal(1000, 50)
                    bdb.sql_execute("""
                        INSERT INTO satellites_ucs
                            (country_of_operator, launch_mass, class_of_orbit,

After Change


            SELECT COUNT(*) FROM satellites_ucs
        """).next()[0]
        for rowid in xrange(n_rows):
            bdb.sql_execute("""
                UPDATE satellites_ucs
                    SET relaunches = (SELECT apogee + perigee)
                    WHERE _rowid_ = ?
            """, (rowid+1,))
        // Nobody will ever create a QUAGGA statistical type!
        with pytest.raises(BQLError):
            // No such statistical type at the moment.
            bdb.execute("""
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: probcomp/bayeslite
Commit Name: 651346e6d36fcd7c3bece2187aea9dfd498136cf
Time: 2016-07-21
Author: fsaad@mit.edu
File Name: tests/test_cgpm.py
Class Name:
Method Name: test_unknown_stattype


Project Name: probcomp/bayeslite
Commit Name: 4ce85896fa6abe2fb18f3e704b575238c2f40f56
Time: 2015-06-04
Author: riastradh+probcomp@csail.mit.edu
File Name: src/crosscat.py
Class Name: CrosscatMetamodel
Method Name: _crosscat_data


Project Name: probcomp/bayeslite
Commit Name: 68a7d5553fa4cef09e0159ac5e100a6424172386
Time: 2015-09-24
Author: gremio@acm.org
File Name: src/metamodels/crosscat.py
Class Name: CrosscatMetamodel
Method Name: create_generator