Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ refactoring: Implemented the type tracer for Awkward-Dask. #1110

Merged
merged 28 commits into from
Oct 12, 2021
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
193244f
Starting to implement the type tracer for Awkward-Dask.
jpivarski Oct 5, 2021
4038daf
Actually testing it.
jpivarski Oct 6, 2021
a01183d
It predicts Forms and Types.
jpivarski Oct 6, 2021
ef01e3b
Convenience methods for making typetracers.
jpivarski Oct 6, 2021
50a1541
TypeTracer.instance().
jpivarski Oct 6, 2021
f37e674
TypeTracerArray.__getitem__(slice).
jpivarski Oct 6, 2021
8be8060
Black.
jpivarski Oct 6, 2021
532c75c
Through RecordArray.
jpivarski Oct 6, 2021
de7dc1e
Through BitMaskedArray.
jpivarski Oct 6, 2021
c73523f
Added checks throughout 0896.
jpivarski Oct 6, 2021
6ef2093
Rename test-data.yml to kernel-test-data.yml.
jpivarski Oct 7, 2021
c419456
Instrumented tests from #959.
jpivarski Oct 7, 2021
f262f5a
Instrumented tests from #1031.
jpivarski Oct 7, 2021
1e2a835
numpy.broadcast_shapes is too new.
jpivarski Oct 7, 2021
7b2d8e0
Through 0011_v2-listarray in the v2 tests.
jpivarski Oct 7, 2021
8db04a3
Python 2.7 needs Ellipsis to be spelled out.
jpivarski Oct 8, 2021
1087079
Through 0020_v2-support-unsigned-indexes in the v2 tests.
jpivarski Oct 8, 2021
5203305
Through 0023_v2-regular-array in the v2 tests.
jpivarski Oct 8, 2021
b0d88c0
Through all slicing in the v2 tests; next is 0070_v2-argmin-and-argmax.
jpivarski Oct 8, 2021
bbc753c
Through test_0070_v2-argmin-and-argmax.py in the v2 tests; ak.to_list…
jpivarski Oct 11, 2021
6a1130c
First use of 'fill' (had to split into 'fill_zero', 'fill_other').
jpivarski Oct 11, 2021
d3652ab
Through 0111_v2-jagged-and-masked-getitem in the v2 tests; added npli…
jpivarski Oct 11, 2021
a7d76c9
Through 0115_v2-generic-reducer-operation in the v2 tests.
jpivarski Oct 11, 2021
dd9bd1a
Through 1059_v2-localindex in the v2 tests.
jpivarski Oct 11, 2021
7fa7ef7
Added typetracer to all v2 tests (where possible).
jpivarski Oct 11, 2021
93c2954
Fixed pre-commit.
jpivarski Oct 11, 2021
6acab6f
Fixed merge.
jpivarski Oct 11, 2021
2b6173f
Fixed merge.
jpivarski Oct 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename test-data.yml to kernel-test-data.yml.
jpivarski committed Oct 7, 2021

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit 6ef20934f3107d4229cb81e7d2824c1b237a5e9f
4 changes: 2 additions & 2 deletions dev/generate-tests.py
Original file line number Diff line number Diff line change
@@ -185,7 +185,7 @@ def readspec():
loadfile = yaml.safe_load(specfile)
indspec = loadfile["kernels"]
data = yaml.safe_load(
open(os.path.join(CURRENT_DIR, "..", "test-data.yml"), "r")
open(os.path.join(CURRENT_DIR, "..", "kernel-test-data.yml"), "r")
)["tests"]
for spec in indspec:
if "def " in spec["definition"]:
@@ -704,7 +704,7 @@ class Error(ctypes.Structure):

def genunittests():
print("Generating Unit Tests")
datayml = open(os.path.join(CURRENT_DIR, "..", "test-data.yml"), "r")
datayml = open(os.path.join(CURRENT_DIR, "..", "kernel-test-data.yml"), "r")
data = yaml.safe_load(datayml)["unit-tests"]
for function in data:
num = 0
File renamed without changes.