Skip to content

Commit

Permalink
Efficient Hypothesis strategies (#1503)
Browse files Browse the repository at this point in the history
* Efficient Hypothesis strategies

Signed-off-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>

* update requirements files

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

---------

Signed-off-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>
Co-authored-by: cosmicBboy <niels.bantilan@gmail.com>
  • Loading branch information
Zac-HD and cosmicBboy committed Feb 22, 2024
1 parent e697eb2 commit 10cac40
Show file tree
Hide file tree
Showing 30 changed files with 66 additions and 72 deletions.
4 changes: 2 additions & 2 deletions ci/requirements-py3.10-pandas1.5.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpy70yg8q7
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp8izi47xd
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -131,7 +131,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.10-pandas1.5.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpgczc4rjv
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp1ggyilde
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -133,7 +133,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.10-pandas2.0.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpilab611j
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmplt9he3qc
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -131,7 +131,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.10-pandas2.0.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpltom4_pb
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp840q4v5e
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -133,7 +133,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py3.10-pandas2.2.0-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.2.0-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp1at2wtgu
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.2.0-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpbnd09elw
aiosignal==1.3.1
# via ray
alabaster==0.7.16
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py3.10-pandas2.2.0-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.2.0-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp5qzjsi3p
# uv pip compile requirements.in --output-file ci/requirements-py3.10-pandas2.2.0-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp6a8x6xyr
aiosignal==1.3.1
# via ray
alabaster==0.7.16
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.11-pandas1.5.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp_18_sps3
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp30c703g7
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -126,7 +126,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.11-pandas1.5.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpc36b0gdt
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpnjgayoz4
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -128,7 +128,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.11-pandas2.0.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpi91encxq
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpdz2l2iyy
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -126,7 +126,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.11-pandas2.0.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpnmt2mm_q
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp1h32ayh2
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -128,7 +128,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py3.11-pandas2.2.0-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.2.0-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpof7hb8qz
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.2.0-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp4cu5j3yw
aiosignal==1.3.1
# via ray
alabaster==0.7.16
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py3.11-pandas2.2.0-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.2.0-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpdw3wtbv2
# uv pip compile requirements.in --output-file ci/requirements-py3.11-pandas2.2.0-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpzj7t_4cd
aiosignal==1.3.1
# via ray
alabaster==0.7.16
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.8-pandas1.5.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmp4obdzteq
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpeeborlep
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -131,7 +131,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.8-pandas1.5.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpyy4a6_ds
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpc6qiidt5
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -133,7 +133,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.8-pandas2.0.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpi4gfgkam
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmplwynym0o
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -131,7 +131,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.8-pandas2.0.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmppcfpox9h
# uv pip compile requirements.in --output-file ci/requirements-py3.8-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmprvux9jtl
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -133,7 +133,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.9-pandas1.5.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpov4dt6l8
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas1.5.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpx2u7dpbu
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -131,7 +131,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.9-pandas1.5.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpla6r54b9
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas1.5.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpbt31ngqo
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -133,7 +133,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.9-pandas2.0.3-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpyl0omn94
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.0.3-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpjyv55_qw
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -131,7 +131,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
4 changes: 2 additions & 2 deletions ci/requirements-py3.9-pandas2.0.3-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpmq57l6k5
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.0.3-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpgbuiqgyb
aiosignal==1.3.1
# via ray
alabaster==0.7.13
Expand Down Expand Up @@ -133,7 +133,7 @@ grpcio==1.58.0
# via ray
h11==0.14.0
# via uvicorn
hypothesis==6.84.3
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py3.9-pandas2.2.0-pydantic1.10.11.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.2.0-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpn3xwqk_8
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.2.0-pydantic1.10.11.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpfseds5gs
aiosignal==1.3.1
# via ray
alabaster==0.7.16
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py3.9-pandas2.2.0-pydantic2.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.2.0-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpima_mjms
# uv pip compile requirements.in --output-file ci/requirements-py3.9-pandas2.2.0-pydantic2.3.0.txt --override /var/folders/5r/4t87zv7x32s7xv9fmnmbd8z80000gn/T/tmpy3_hyic6
aiosignal==1.3.1
# via ray
alabaster==0.7.16
Expand Down
2 changes: 1 addition & 1 deletion dev/requirements-3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ furo==2022.9.29
geopandas==0.14.0
h11==0.14.0
# via uvicorn
hypothesis==6.86.2
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
2 changes: 1 addition & 1 deletion dev/requirements-3.11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ furo==2022.9.29
geopandas==0.14.0
h11==0.14.0
# via uvicorn
hypothesis==6.86.2
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
2 changes: 1 addition & 1 deletion dev/requirements-3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ furo==2022.9.29
geopandas==0.13.2
h11==0.14.0
# via uvicorn
hypothesis==6.86.2
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
2 changes: 1 addition & 1 deletion dev/requirements-3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ furo==2022.9.29
geopandas==0.14.0
h11==0.14.0
# via uvicorn
hypothesis==6.86.2
hypothesis==6.98.9
identify==2.5.29
# via pre-commit
idna==3.4
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:

# pandera dependencies
- packaging >= 20.0
- hypothesis >= 5.41.1
- hypothesis >= 6.92.7
- numpy >= 1.19.0
- pandas
- scipy
Expand Down

0 comments on commit 10cac40

Please sign in to comment.