Skip to content

Commit 53580cc

Browse files
committed
Merge branch 'develop' into req-placements
2 parents 50533c6 + ddcd6f5 commit 53580cc

28 files changed

+80
-70957
lines changed

gen_rec_prog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
from comb_spec_searcher import *
66
from permuta import *
77
from tilescopethree import *
8-
from tilescopethree.strategies import one_by_one_verification
8+
from tilescopethree.strategies import one_by_one_verified
99
from tilescopethree.strategy_packs import point_placements_db
1010
from tilings import *
1111

1212
pack = point_placements_db
13-
pack.ver_strats = [one_by_one_verification]
13+
pack.ver_strats = [one_by_one_verified]
1414

1515
if len(sys.argv) > 1:
1616
inp = sys.argv[1]

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,21 @@ def read(fname):
1919
packages=find_packages(),
2020
long_description=read("README.md"),
2121
install_requires=[
22-
'permuta==1.2.1',
23-
'comb_spec_searcher==0.2.2',
22+
'permuta==1.3.0',
23+
'comb_spec_searcher==0.3.0',
2424
'logzero==1.5.0',
2525
'tilings==1.0.1',
26-
'sympy==1.4',
26+
'sympy==1.5.1',
2727
],
2828
dependency_links = [
2929
'https://github.com/PermutaTriangle/Tilings/tarball/develop#egg=tilings-1.0.1',
3030
],
3131
setup_requires=['pytest-runner==5.1'],
3232
tests_require=[
33-
'pytest==5.1.1',
34-
'pytest-cov==2.7.1',
33+
'pytest==5.3.3',
34+
'pytest-cov==2.8.1',
3535
'pytest-pep8==1.0.6',
3636
'pytest-isort==0.3.1',
37+
'pytest-timeout==1.3.4',
3738
],
3839
)

tests/test_tilescope.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from comb_spec_searcher import ProofTree
55
from tilescopethree import TileScopeTHREE
66
from tilescopethree.strategy_packs_v2 import (
7-
point_placements, point_placements_fusion,
8-
point_placements_fusion_with_interleaving,
7+
all_the_strategies_database_verified, point_placements,
8+
point_placements_fusion, point_placements_fusion_with_interleaving,
99
row_and_col_placements_fusion_with_interleaving_fusion)
1010

1111

@@ -14,6 +14,12 @@ def test_132():
1414
searcher = TileScopeTHREE('132', point_placements)
1515
t = searcher.auto_search(smallest=True)
1616
assert isinstance(t, ProofTree)
17+
18+
19+
@pytest.mark.xfail(reason='Generating function finding not implemented')
20+
def test_132_genf():
21+
searcher = TileScopeTHREE('132', point_placements)
22+
t = searcher.auto_search(smallest=True)
1723
gf = sympy.series(t.get_genf(), n=15)
1824
x = sympy.Symbol('x')
1925
assert ([gf.coeff(x, n) for n in range(13)] ==
@@ -22,6 +28,13 @@ def test_132():
2228

2329
@pytest.mark.timeout(20)
2430
def test_123():
31+
searcher = TileScopeTHREE('123', all_the_strategies_database_verified)
32+
t = searcher.auto_search(smallest=True)
33+
assert isinstance(t, ProofTree)
34+
35+
36+
@pytest.mark.timeout(20)
37+
def test_123_with_db():
2538
searcher = TileScopeTHREE('123', point_placements_fusion)
2639
t = searcher.auto_search(smallest=True)
2740
assert isinstance(t, ProofTree)

tilescopethree/strategies/verification_strategies/012_depth_4_database.txt

Lines changed: 0 additions & 222 deletions
This file was deleted.

tilescopethree/strategies/verification_strategies/012_depth_4_database_symmetry.txt

Lines changed: 0 additions & 444 deletions
This file was deleted.

tilescopethree/strategies/verification_strategies/012_depth_4_database_twisted.txt

Lines changed: 0 additions & 684 deletions
This file was deleted.

tilescopethree/strategies/verification_strategies/012_depth_5_database.txt

Lines changed: 0 additions & 2453 deletions
This file was deleted.

tilescopethree/strategies/verification_strategies/012_depth_5_database_symmetry.txt

Lines changed: 0 additions & 4906 deletions
This file was deleted.

tilescopethree/strategies/verification_strategies/012_depth_5_database_twisted.txt

Lines changed: 0 additions & 9326 deletions
This file was deleted.

tilescopethree/strategies/verification_strategies/1302_depth_5_database.txt

Lines changed: 0 additions & 10115 deletions
This file was deleted.

0 commit comments

Comments
 (0)