Skip to content

Commit a1ad1c6

Browse files
jcasimirclaude
andcommitted
Add gitignore for zlibrary data and include Plurimath analysis script
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bef7b56 commit a1ad1c6

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@
4242

4343
# Aspose license file
4444
/scripts/Aspose.Words.lic
45+
46+
# Z-Library scraping data
47+
/data/zlibrary-*
48+
/script/zlibrary_*
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
require "json"
2+
3+
data = JSON.parse(File.read("data/plurimath-failing-expressions.json"))
4+
5+
# Group by element signature
6+
by_elements = data.group_by { |d| d["elements"].join(", ") }
7+
puts "#{data.count} unique patterns in #{by_elements.count} element groups:\n"
8+
9+
by_elements.each do |elements, items|
10+
puts "Elements: #{elements}"
11+
puts " Count: #{items.count}"
12+
items.first(3).each do |item|
13+
puts " #{item['file']}: [#{item['text']}]"
14+
end
15+
puts
16+
end

0 commit comments

Comments
 (0)