LxYxvv commited on
Commit
7cdd988
·
1 Parent(s): 0f2ae60

add Balkan MO 2025

Browse files
Balkan_MO/download_script/download.py CHANGED
@@ -69,7 +69,8 @@ def main():
69
  "en-2012-BMO-problems": "https://artofproblemsolving.com/downloads/printable_post_collections/4084.pdf",
70
  "en-2022-BMO": "https://cdn.b3web.xyz/web/cms/optimizedBMO_2022_Problems_Solutions.pdf1652174033.pdf",
71
  "en-2023-BMO": "https://drive.google.com/uc?id=1lpcx_M-JLVLFMtZjFRngsAACtuSMPyfI&export=download",
72
- "en-2024-BMO": "https://bmo2024.org/wp-content/uploads/2024/05/BOM_englishSolutions.pdf"
 
73
  }
74
 
75
  for title, url in tqdm(urls.items(), desc="Downloading "):
 
69
  "en-2012-BMO-problems": "https://artofproblemsolving.com/downloads/printable_post_collections/4084.pdf",
70
  "en-2022-BMO": "https://cdn.b3web.xyz/web/cms/optimizedBMO_2022_Problems_Solutions.pdf1652174033.pdf",
71
  "en-2023-BMO": "https://drive.google.com/uc?id=1lpcx_M-JLVLFMtZjFRngsAACtuSMPyfI&export=download",
72
+ "en-2024-BMO": "https://bmo2024.org/wp-content/uploads/2024/05/BOM_englishSolutions.pdf",
73
+ "en-2025-BMO": "https://bmo2025.pmf.unsa.ba/wp-content/uploads/2025/05/Problems%20-%20Solutions.pdf"
74
  }
75
 
76
  for title, url in tqdm(urls.items(), desc="Downloading "):
Balkan_MO/md/en-2025-BMO-type1.md ADDED
The diff for this file is too large to render. See raw diff
 
Balkan_MO/raw/en-2025-BMO-type1.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5acf20e241ca77145d78214798f8cf734606fc140fff08a69d4e357856200c87
3
+ size 312118
Balkan_MO/segment_script/{segment_type1 .py → segment_type1.py} RENAMED
@@ -25,7 +25,7 @@ def analyze(text: str) -> Tuple[List, int]:
25
  Tuple[List, int]: A tuple containing the tags and problem number.
26
  """
27
  problem_pattern = re.compile(r'(?:\n|# |## 2020 BMO\, |## BMO 2021 - )Problem\s+(\d+)(.)?', re.IGNORECASE)
28
- solution_pattern = re.compile(r'(?:\n|# )Solution(?:\s+(\d+)|\.|\n|\:)', re.IGNORECASE)
29
 
30
  tags = []
31
  tags.extend([(x, problem_tag) for x in problem_pattern.finditer(text)])
 
25
  Tuple[List, int]: A tuple containing the tags and problem number.
26
  """
27
  problem_pattern = re.compile(r'(?:\n|# |## 2020 BMO\, |## BMO 2021 - )Problem\s+(\d+)(.)?', re.IGNORECASE)
28
+ solution_pattern = re.compile(r'(?:\n|# )Solution(?:\s+(\d+)|\.|\n|\:|\s\s)', re.IGNORECASE)
29
 
30
  tags = []
31
  tags.extend([(x, problem_tag) for x in problem_pattern.finditer(text)])
Balkan_MO/segmented/en-2025-BMO-type1.jsonl ADDED
The diff for this file is too large to render. See raw diff