Skip to content

Commit 84af39e

Browse files
Merge pull request #1290 from thomas-daniels/aixchess-0.1.1
Bump aixchess to 0.1.1
2 parents 38a17b4 + 99691ac commit 84af39e

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

extensions/aixchess/description.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,39 @@
11
extension:
22
name: aixchess
33
description: Efficiently query large chess game collections
4-
version: 0.1.0
4+
version: 0.1.1
55
language: C++
66
build: cmake
77
license: GPL-3.0
8-
excluded_platforms: "windows_amd64_mingw;wasm_mvp;wasm_eh;wasm_threads"
8+
excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads"
99
opt_in_platforms: "windows_arm64;"
1010
requires_toolchains: rust
1111
maintainers:
1212
- thomas-daniels
1313

1414
repo:
1515
github: thomas-daniels/aix
16-
ref: d668f7ac4a1e62625adade526ee6d9e3387c123f
16+
ref: f565c29a3dd51c219c4bc9013ad90596ec83df69
1717

1818
docs:
19+
hello_world: |
20+
-- Count en passant moves played in Lichess games from January 2013
21+
22+
WITH lichess_2013_01 AS (
23+
FROM 'hf://datasets/thomasd1/aix-lichess-database/low_compression/aix_lichess_2013-01_low.parquet'
24+
),
25+
en_passant_move_count AS (
26+
SELECT
27+
SUM(
28+
move_details(movedata).filter(lambda m: m.is_en_passant).length()
29+
) AS nb_ep_moves
30+
FROM lichess_2013_01
31+
)
32+
33+
FROM en_passant_move_count;
34+
35+
-- Result: 3496
36+
1937
extended_description: |
2038
Aix enables efficient storage and querying of large chess game collections.
2139
A game's moves are encoded in a binary representation, and this extension

0 commit comments

Comments
 (0)