THUgewu commited on
Commit
3d201f0
·
verified ·
1 Parent(s): 76b53b7

Add TsFile (converted from qwqqwqqwq121/Wordle-MCM-Dataset)

Browse files
Files changed (2) hide show
  1. README.md +82 -0
  2. wordle_mcm_dataset.tsfile +0 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - time-series-forecasting
5
+ tags:
6
+ - tsfile
7
+ - timeseries
8
+ - time-series
9
+ - wordle
10
+ - lstm
11
+ - deep-learning
12
+ - format:tsfile
13
+ pretty_name: Wordle Player Performance Dataset
14
+ configs:
15
+ - config_name: default
16
+ data_files:
17
+ - split: train
18
+ path: wordle_mcm_dataset.tsfile
19
+ ---
20
+
21
+ # Wordle Player Performance Dataset (TsFile)
22
+
23
+ Apache TsFile version of [`qwqqwqqwq121/Wordle-MCM-Dataset`](https://huggingface.co/datasets/qwqqwqqwq121/Wordle-MCM-Dataset).
24
+
25
+ ## Overview
26
+
27
+ Daily player-performance statistics for the New York Times Wordle game during
28
+ 2022 (based on the 2023 MCM Problem C data). Each row is one daily contest:
29
+ the target word, the number of reported players (total and hard mode), the
30
+ distribution of solving attempts (Try_1..Try_6 and Try_7_plus), the average
31
+ attempt count (Mean_Tries), and two word-shape features (vowels,
32
+ unique_chars). The source dataset was built to train Bi-LSTM models that
33
+ predict the players' mean number of tries.
34
+
35
+ - **Coverage:** 359 daily contests, 2022-01-07 .. 2022-12-31.
36
+ - **Columns:** Date, Contest_number, Word, Total_Reported, Hard_Mode, Try_1-6,
37
+ Try_7_plus, Mean_Tries, vowels, unique_chars.
38
+
39
+ ## Schema (TsFile structure)
40
+
41
+ - **Time** (INT64, milliseconds) — daily contest date at midnight; unique per
42
+ row, so no TAG columns are needed.
43
+ - **Contest_number, Total_Reported, Hard_Mode, Try_1..Try_6, Try_7_plus,
44
+ vowels, unique_chars** (FIELD, INT64)
45
+ - **Word** (FIELD, STRING) — the daily target word.
46
+ - **Mean_Tries** (FIELD, DOUBLE).
47
+
48
+ The source `Date` string is represented losslessly as `Time` (UTC-naive
49
+ midnight); all other columns are kept unchanged.
50
+
51
+ ## Usage
52
+
53
+ Install the Apache TsFile Python SDK (`pip install tsfile`) and read a converted file:
54
+
55
+ ```python
56
+ from pathlib import Path
57
+ from tsfile import TsFileReader
58
+
59
+ path = Path("wordle_mcm_dataset.tsfile")
60
+ with TsFileReader(str(path)) as reader:
61
+ schemas = reader.get_all_table_schemas()
62
+ print("tables:", list(schemas))
63
+ table_name = next(iter(schemas))
64
+ table = schemas[table_name]
65
+ columns = [column.get_column_name() for column in table.get_columns()]
66
+ print("columns:", columns)
67
+ field_names = [
68
+ column.get_column_name()
69
+ for column in table.get_columns()
70
+ if column.get_column_name() not in {"Time", "time"}
71
+ ]
72
+ if field_names:
73
+ with reader.query_table(table_name, field_names[:3], batch_size=1024) as result:
74
+ batch = result.read_arrow_batch()
75
+ if batch is not None:
76
+ print(batch.to_pandas().head())
77
+ ```
78
+
79
+ ## Source & license
80
+
81
+ - Original dataset: <https://huggingface.co/datasets/qwqqwqqwq121/Wordle-MCM-Dataset>
82
+ - License: MIT
wordle_mcm_dataset.tsfile ADDED
Binary file (9.96 kB). View file