add compression rate

This commit is contained in:
Bogumił Kamiński 2022-11-10 13:10:39 +01:00
parent 35d24ed302
commit 77f4ed89d8

View File

@ -18,6 +18,8 @@ using CodecBzip2
compressed = read("puzzles.csv.bz2")
plain = transcode(Bzip2Decompressor, compressed)
length(plain) / length(compressed)
open("puzzles.csv", "w") do io
println(io, "PuzzleId,FEN,Moves,Rating,RatingDeviation," *
"Popularity,NbPlays,Themes,GameUrl")