Skip to content
Permalink
Browse files

Initial commit

  • Loading branch information...
leomtz committed Jun 5, 2019
1 parent a8739ae commit befb733d492883a39755df3f251d10f68b16102e
Showing with 5,992 additions and 13 deletions.
  1. +3 −0 .gitignore
  2. +59 −13 README.md
  3. BIN data/apmo_editions.xlsx
  4. BIN data/apmo_reports.xlsx
  5. +3,214 −0 data/clean-2019.ipynb
  6. BIN data/data_clean/scoretable-2016-clean.xlsx
  7. BIN data/data_clean/scoretable-2017-clean.xlsx
  8. BIN data/data_clean/scoretable-2018-clean.xlsx
  9. BIN data/data_clean/scoretable-2019-clean.xlsx
  10. +1 −0 data/reports/apmo_2019_info.json
  11. +375 −0 data/reports/by_country_2019.html
  12. +416 −0 data/reports/by_country_ranked_2019.html
  13. BIN data/reports/histogram 2019.png
  14. BIN data/reports/histogram2019.png
  15. BIN data/reports/histogram_p1_2019.png
  16. BIN data/reports/histogram_p2_2019.png
  17. BIN data/reports/histogram_p3_2019.png
  18. BIN data/reports/histogram_p4_2019.png
  19. BIN data/reports/histogram_p5_2019.png
  20. +358 −0 data/reports/score_awards_2019.csv
  21. BIN data/results_pre2016/apmo2005_res.pdf
  22. BIN data/results_pre2016/apmo2006_res.pdf
  23. BIN data/results_pre2016/apmo2007_res.pdf
  24. BIN data/results_pre2016/apmo2008_res.pdf
  25. BIN data/results_pre2016/apmo2009_res.pdf
  26. BIN data/results_pre2016/apmo2010_res.pdf
  27. BIN data/results_pre2016/apmo2011_res.pdf
  28. BIN data/results_pre2016/apmo2012_res.pdf
  29. BIN data/results_pre2016/apmo2013_res.pdf
  30. BIN data/results_pre2016/apmo2014_res.pdf
  31. BIN data/results_pre2016/apmo2015_res.pdf
  32. BIN data/scoretable-2019-clean.xlsx
  33. +3 −0 dev_commands.md
  34. +10 −0 scripts/download.py
  35. BIN static/apmologo.gif
  36. BIN static/bg.jpeg
  37. +1 −0 static/data/apmo_2019_info.json
  38. +375 −0 static/data/by_country_2019.html
  39. +416 −0 static/data/by_country_ranked_2019.html
  40. BIN static/data/histogram 2019.png
  41. BIN static/data/histogram2019.png
  42. BIN static/data/histogram_p1_2019.png
  43. BIN static/data/histogram_p2_2019.png
  44. BIN static/data/histogram_p3_2019.png
  45. BIN static/data/histogram_p4_2019.png
  46. BIN static/data/histogram_p5_2019.png
  47. +358 −0 static/data/score_awards_2019.csv
  48. BIN static/problems/apmo1989_prb.pdf
  49. BIN static/problems/apmo1990_prb.pdf
  50. BIN static/problems/apmo1991_prb.pdf
  51. BIN static/problems/apmo1992_prb.pdf
  52. BIN static/problems/apmo1993_prb.pdf
  53. BIN static/problems/apmo1994_prb.pdf
  54. BIN static/problems/apmo1995_prb.pdf
  55. BIN static/problems/apmo1996_prb.pdf
  56. BIN static/problems/apmo1997_prb.pdf
  57. BIN static/problems/apmo1998_prb.pdf
  58. BIN static/problems/apmo1999_prb.pdf
  59. BIN static/problems/apmo2000_prb.pdf
  60. BIN static/problems/apmo2001_prb.pdf
  61. BIN static/problems/apmo2002_prb.pdf
  62. BIN static/problems/apmo2003_prb.pdf
  63. BIN static/problems/apmo2004_prb.pdf
  64. BIN static/problems/apmo2005_prb.pdf
  65. BIN static/problems/apmo2006_prb.pdf
  66. BIN static/problems/apmo2007_prb.pdf
  67. BIN static/problems/apmo2008_prb.pdf
  68. BIN static/problems/apmo2009_prb.pdf
  69. BIN static/problems/apmo2010_prb.pdf
  70. BIN static/problems/apmo2011_prb.pdf
  71. BIN static/problems/apmo2012_prb.pdf
  72. BIN static/problems/apmo2013_prb.pdf
  73. BIN static/problems/apmo2014_prb.pdf
  74. BIN static/problems/apmo2015_prb.pdf
  75. BIN static/problems/apmo2016_prb.pdf
  76. BIN static/problems/apmo2017_prb.pdf
  77. BIN static/problems/apmo2018_prb.pdf
  78. BIN static/regulations/apmo-reg-2016.pdf
  79. BIN static/regulations/apmo-reg-2017.pdf
  80. BIN static/regulations/apmo-reg-2018.pdf
  81. BIN static/regulations/apmo-reg-2019.pdf
  82. BIN static/solutions/apmo2005_sol.pdf
  83. BIN static/solutions/apmo2006_sol.pdf
  84. BIN static/solutions/apmo2007_sol.pdf
  85. BIN static/solutions/apmo2008_sol.pdf
  86. BIN static/solutions/apmo2009_sol.pdf
  87. BIN static/solutions/apmo2010_sol.pdf
  88. BIN static/solutions/apmo2011_sol.pdf
  89. BIN static/solutions/apmo2012_sol.pdf
  90. BIN static/solutions/apmo2013_sol.pdf
  91. BIN static/solutions/apmo2014_sol.pdf
  92. BIN static/solutions/apmo2015_sol.pdf
  93. BIN static/solutions/apmo2016_sol.pdf
  94. BIN static/solutions/apmo2017_sol.pdf
  95. BIN static/solutions/apmo2018_sol.pdf
  96. +45 −0 static/style.css
  97. +63 −0 templates/body.html
  98. +36 −0 templates/countries.html
  99. +17 −0 templates/landing.html
  100. +21 −0 templates/problems.html
  101. +35 −0 templates/regulations.html
  102. +20 −0 templates/results.html
  103. +36 −0 templates/timeline.html
  104. +78 −0 templates/year_report.html
  105. +52 −0 webpage.py
@@ -1,3 +1,6 @@
# Do not share the personal information of students!
data/sent_by_country/*

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
@@ -1,15 +1,61 @@
<h1> Website for the Asian Pacific Mathematics Olympiad </h1>
# Website for the Asian Pacific Mathematics Olympiad

<p>The Asian Pacific Mathematics Olympiad (APMO) is a mathematical competition for countries in the Pacific-Rim Region.</p>
![APMO LOGO](/static/apmologo.gif "Logo Title Text 1")

The Asian Pacific Mathematics Olympiad (APMO) is a mathematical competition for countries in the Pacific-Rim Region.

<p> The APMO started in 1989. It has the following aims:</p>
<div class="d-flex">
<ul class="list-group list-aims mx-auto justify-content-center">
<li class='list-group-item'> Discovering, encouraging and challenging mathematically gifted high-school students.</li>
<li class='list-group-item'> Fostering friendly international relations and cooperation between students and teachers throughout the region.</li>
<li class='list-group-item'> Creating opportunities for the exchange of information on school syllabi and practice.</li>
<li class='list-group-item'> Encouraging and supporting the mathematical involvement with Olympiad type activities in the participating countries and other countries of the region.</li>
</ul>
</div>

<p> The website is hosted at http://www.nekomath.com. This is the GitHub repository to contribute to the website. </p>
The APMO started in 1989. It has the following aims:

- Discovering, encouraging and challenging mathematically gifted high-school students.
- Fostering friendly international relations and cooperation between students and teachers throughout the region.
- Creating opportunities for the exchange of information on school syllabi and practice.
- Encouraging and supporting the mathematical involvement with Olympiad type activities in the participating countries and other countries of the region.

The website is hosted at http://www.apmo-official.org. This is the GitHub repository to manage and contribute to the website.

## How the website works

The website is served with a combination of the following technologies:

- Flask for routing - http://flask.pocoo.org/
- Jinja2 for templating - http://jinja.pocoo.org/
- Booststrap for visual appearance - https://getbootstrap.com/
- MathJax for beautiful mathematics - https://www.mathjax.org/
- Anaconda (pandas, seaborn) for data analysis and report creation - https://www.anaconda.com/

If you want to run a local version for development, my strong recommendation is that you get Anaconda and replace the Boostrap and MathJax CDNs with local intallations.

## How to contribute

You can contribute to the project in several ways. We need help with the following:

- Transform old result files (in PDF) to the more data-friendly .csv format
- Explore the data that we have and get new insights
- Help with the general maintenance of the website (typos, corrections, etc)

## The Web Development part

- The Flask

## The Data part

For each year:

- Scores by person (best)
- Report of medals
- Report by countries
- Report of problems

For each country

- Number of medals per year
- Scores by person

Problems

- Problem statements
- Problem solutions

## Licencing

As of now,
Binary file not shown.
BIN +5.04 KB data/apmo_reports.xlsx
Binary file not shown.

0 comments on commit befb733

Please sign in to comment.
You can’t perform that action at this time.