studium 0.10.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of studium might be problematic. Click here for more details.

Files changed (882) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1982 -0
  3. data/bin/ask_exam_question +7 -0
  4. data/bin/check_description_of_these_lectures +7 -0
  5. data/bin/curriculum_module_displayer +7 -0
  6. data/bin/d10 +7 -0
  7. data/bin/d100 +7 -0
  8. data/bin/d15 +7 -0
  9. data/bin/d20 +7 -0
  10. data/bin/d25 +7 -0
  11. data/bin/d3 +7 -0
  12. data/bin/d30 +7 -0
  13. data/bin/d5 +7 -0
  14. data/bin/determine_curricula +7 -0
  15. data/bin/exam_registration_at +7 -0
  16. data/bin/exam_statistics +7 -0
  17. data/bin/exams_per_month +9 -0
  18. data/bin/finished_exams_at_this_university +7 -0
  19. data/bin/flashcards +7 -0
  20. data/bin/mandatory_continuous_assessment +7 -0
  21. data/bin/mandatory_upcoming_courses +7 -0
  22. data/bin/n_exam_questions_already_answered +16 -0
  23. data/bin/nquestions +7 -0
  24. data/bin/nsolved +7 -0
  25. data/bin/open_last_exam_question_asked_file +7 -0
  26. data/bin/passed_pr/303/274fungsimmanente_courses +7 -0
  27. data/bin/return_n_ects_from_this_file +7 -0
  28. data/bin/show_lectures_on_the_commandline +7 -0
  29. data/bin/show_themes +7 -0
  30. data/bin/solved +9 -0
  31. data/bin/solved_ects +7 -0
  32. data/bin/studienkennzahl +7 -0
  33. data/bin/studium +7 -0
  34. data/bin/studium_skeleton +7 -0
  35. data/bin/ufind +7 -0
  36. data/bin/upcoming_exams +7 -0
  37. data/bin/week_parser +7 -0
  38. data/doc/ECTS_CONSIDERATIONS.md +81 -0
  39. data/doc/HOW_TO_ADAPT_THIS_PROJECT.md +43 -0
  40. data/doc/HOW_TO_DETERMINE_WHICH_PART_IS_THE_QUESTION_AND_WHICH_PART_IS_THE_ANSWER.md +47 -0
  41. data/doc/README.gen +1965 -0
  42. data/doc/TODO_FOR_STUDIUM_GEM.md +113 -0
  43. data/doc/deprecated_components.md +24 -0
  44. data/doc/documentation_for_the_file_lecture_information.md +294 -0
  45. data/doc/elegant_colours.md +20 -0
  46. data/img/STUDIES.png +0 -0
  47. data/lib/studium.rb +5 -0
  48. data/lib/studium/autoinclude.rb +7 -0
  49. data/lib/studium/base/base.rb +84 -0
  50. data/lib/studium/base/cliner.rb +58 -0
  51. data/lib/studium/base/colours.rb +307 -0
  52. data/lib/studium/base/commandline_arguments.rb +64 -0
  53. data/lib/studium/base/constants.rb +34 -0
  54. data/lib/studium/base/curriculum.rb +329 -0
  55. data/lib/studium/base/directory_to_the_exam_topics.rb +23 -0
  56. data/lib/studium/base/editor.rb +28 -0
  57. data/lib/studium/base/encoding.rb +36 -0
  58. data/lib/studium/base/esystem.rb +23 -0
  59. data/lib/studium/base/minimal_prototype.rb +66 -0
  60. data/lib/studium/base/misc.rb +854 -0
  61. data/lib/studium/base/mode.rb +92 -0
  62. data/lib/studium/base/obtain.rb +145 -0
  63. data/lib/studium/base/opnn.rb +46 -0
  64. data/lib/studium/base/prototype.rb +92 -0
  65. data/lib/studium/base/readlines.rb +55 -0
  66. data/lib/studium/base/replace.rb +110 -0
  67. data/lib/studium/base/reset.rb +77 -0
  68. data/lib/studium/base/run.rb +17 -0
  69. data/lib/studium/base/src_dir_at_home.rb +20 -0
  70. data/lib/studium/base/time.rb +634 -0
  71. data/lib/studium/base/unicode.rb +95 -0
  72. data/lib/studium/base/word_wrap.rb +58 -0
  73. data/lib/studium/boku/README.md +4 -0
  74. data/lib/studium/boku/boku_biotechnology_all_master_lectures.rb +142 -0
  75. data/lib/studium/boku/boku_/303/266ffnungszeiten.rb +29 -0
  76. data/lib/studium/boku/show_three_pillars_of_these_lectures.rb +96 -0
  77. data/lib/studium/boku/three_pillars.rb +232 -0
  78. data/lib/studium/check_and_sanitize/README.md +11 -0
  79. data/lib/studium/check_and_sanitize/check_curriculum_for_correct_separation_of_bachelor_and_master.rb +149 -0
  80. data/lib/studium/check_and_sanitize/check_for_all_exam_topics_being_registered.rb +107 -0
  81. data/lib/studium/check_and_sanitize/check_for_existing_description_of_this_lecture.rb +197 -0
  82. data/lib/studium/check_and_sanitize/check_the_lecture_information_file.rb +171 -0
  83. data/lib/studium/check_and_sanitize/missing_priority_entry.rb +44 -0
  84. data/lib/studium/check_and_sanitize/sanitize_this_string_containing_the_lva_dates.rb +79 -0
  85. data/lib/studium/colours/colours.rb +570 -0
  86. data/lib/studium/colours/sfancy.rb +40 -0
  87. data/lib/studium/colours/sfile.rb +35 -0
  88. data/lib/studium/colours/simp.rb +38 -0
  89. data/lib/studium/colours/use_this_colour_for_exam_questions_and_exam_answers.rb +76 -0
  90. data/lib/studium/commandline/commandline.rb +25 -0
  91. data/lib/studium/commandline/constants.rb +16 -0
  92. data/lib/studium/commandline/help.rb +152 -0
  93. data/lib/studium/commandline/initialize.rb +27 -0
  94. data/lib/studium/commandline/menu.rb +760 -0
  95. data/lib/studium/commandline/misc.rb +707 -0
  96. data/lib/studium/commandline/reset.rb +24 -0
  97. data/lib/studium/commandline/run.rb +20 -0
  98. data/lib/studium/constants/boku_wien.rb +52 -0
  99. data/lib/studium/constants/constants.rb +25 -0
  100. data/lib/studium/constants/delay.rb +28 -0
  101. data/lib/studium/constants/editor.rb +28 -0
  102. data/lib/studium/constants/exam_topics.rb +183 -0
  103. data/lib/studium/constants/file_constants.rb +875 -0
  104. data/lib/studium/constants/image_constants.rb +216 -0
  105. data/lib/studium/constants/last_question_asked.rb +38 -0
  106. data/lib/studium/constants/lecture_types_that_are_mandatory_continuous_assessment.rb +47 -0
  107. data/lib/studium/constants/misc.rb +163 -0
  108. data/lib/studium/constants/namespace.rb +14 -0
  109. data/lib/studium/constants/newline.rb +14 -0
  110. data/lib/studium/constants/regexes.rb +35 -0
  111. data/lib/studium/constants/return_file_for_this_curriculum.rb +411 -0
  112. data/lib/studium/constants/roebe.rb +173 -0
  113. data/lib/studium/constants/time.rb +52 -0
  114. data/lib/studium/constants/tu_wien.rb +39 -0
  115. data/lib/studium/constants/uni_wien.rb +24 -0
  116. data/lib/studium/constants/unicode.rb +27 -0
  117. data/lib/studium/constants/week.rb +138 -0
  118. data/lib/studium/constants/www_constants.rb +23 -0
  119. data/lib/studium/curricula/curriculum.rb +199 -0
  120. data/lib/studium/curricula/curriculum_as_string.rb +279 -0
  121. data/lib/studium/curricula/curriculum_module_displayer/constants.rb +38 -0
  122. data/lib/studium/curricula/curriculum_module_displayer/curriculum_module_displayer.rb +417 -0
  123. data/lib/studium/curricula/curriculum_module_displayer/initialize.rb +25 -0
  124. data/lib/studium/curricula/curriculum_module_displayer/menu.rb +45 -0
  125. data/lib/studium/curricula/curriculum_module_displayer/reset.rb +77 -0
  126. data/lib/studium/curricula/curriculum_module_displayer/run.rb +20 -0
  127. data/lib/studium/curricula/curriculum_module_displayer/set_use_this_curriculum.rb +93 -0
  128. data/lib/studium/curricula/curriculum_module_displayer/show_and_report.rb +190 -0
  129. data/lib/studium/curricula/determine_curricula/constants.rb +16 -0
  130. data/lib/studium/curricula/determine_curricula/determine_curricula.rb +36 -0
  131. data/lib/studium/curricula/determine_curricula/help.rb +39 -0
  132. data/lib/studium/curricula/determine_curricula/initialize.rb +48 -0
  133. data/lib/studium/curricula/determine_curricula/menu.rb +138 -0
  134. data/lib/studium/curricula/determine_curricula/misc.rb +402 -0
  135. data/lib/studium/curricula/determine_curricula/report.rb +131 -0
  136. data/lib/studium/curricula/determine_curricula/reset.rb +62 -0
  137. data/lib/studium/curricula/determine_curricula/run.rb +19 -0
  138. data/lib/studium/curricula/determine_elective_courses_in_this_curriculum.rb +112 -0
  139. data/lib/studium/curricula/display_bachelor_curricula.rb +89 -0
  140. data/lib/studium/curricula/mitteilungsbl/303/244tter.rb +336 -0
  141. data/lib/studium/curricula/modules/display_on_the_commandline.rb +316 -0
  142. data/lib/studium/curricula/modules/return_n_ects_in_this_module.rb +74 -0
  143. data/lib/studium/curricula/n_percent_solved_in_this_curriculum.rb +75 -0
  144. data/lib/studium/curricula/random_curriculum_creator.rb +171 -0
  145. data/lib/studium/curricula/show_lectures_of_this_curriculum.rb +114 -0
  146. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/constants.rb +16 -0
  147. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/initialize.rb +27 -0
  148. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/menu.rb +35 -0
  149. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/misc.rb +242 -0
  150. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/report.rb +140 -0
  151. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/reset.rb +67 -0
  152. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/show_lectures_of_this_curriculum_id.rb +37 -0
  153. data/lib/studium/curricula/show_solved_percentage_among_the_registered_curricula.rb +87 -0
  154. data/lib/studium/ects/boku_ects_splitter.rb +127 -0
  155. data/lib/studium/ects/ects_parser.rb +179 -0
  156. data/lib/studium/ects/ects_per_university.rb +140 -0
  157. data/lib/studium/ects/ects_scanner.rb +141 -0
  158. data/lib/studium/ects/ects_to_university_parser.rb +148 -0
  159. data/lib/studium/ects/erledigt.rb +131 -0
  160. data/lib/studium/ects/last_entry_is_curriculum.rb +147 -0
  161. data/lib/studium/ects/n_ects_in_these_lectures.rb +185 -0
  162. data/lib/studium/ects/n_ects_points_in_mandatory_presence_courses.rb +50 -0
  163. data/lib/studium/ects/noch_zu_absolvieren.rb +172 -0
  164. data/lib/studium/ects/return_n_ects_from_this_file.rb +58 -0
  165. data/lib/studium/ects/return_n_ects_from_this_url.rb +202 -0
  166. data/lib/studium/ects/search_for_n_ects.rb +540 -0
  167. data/lib/studium/ects/show_completed_ects_in_all_curricula.rb +210 -0
  168. data/lib/studium/ects/show_passed_credits_per_curriculum.rb +254 -0
  169. data/lib/studium/ects/simple_total_ects_points.rb +143 -0
  170. data/lib/studium/ects/solved_ects/constants.rb +24 -0
  171. data/lib/studium/ects/solved_ects/reset.rb +54 -0
  172. data/lib/studium/ects/solved_ects/solved_ects.rb +325 -0
  173. data/lib/studium/ects/solved_ects_per_university/reset.rb +25 -0
  174. data/lib/studium/ects/solved_ects_per_university/solved_ects_per_university.rb +106 -0
  175. data/lib/studium/ects/still_missing.rb +133 -0
  176. data/lib/studium/ects/sum_of_ects.rb +150 -0
  177. data/lib/studium/encoding/encoding.rb +150 -0
  178. data/lib/studium/exam_topics/RNAi_siRNA_and_miRNA +79 -0
  179. data/lib/studium/exam_topics/abfall_als_ressource +86 -0
  180. data/lib/studium/exam_topics/advanced_biochemistry +762 -0
  181. data/lib/studium/exam_topics/advanced_biotechnology +192 -0
  182. data/lib/studium/exam_topics/advanced_cellbiology +25 -0
  183. data/lib/studium/exam_topics/advanced_chemistry +453 -0
  184. data/lib/studium/exam_topics/advanced_microbiology +44 -0
  185. data/lib/studium/exam_topics/advanced_topics_in_plant_sciences +51 -0
  186. data/lib/studium/exam_topics/advanced_virology +52 -0
  187. data/lib/studium/exam_topics/ageing +101 -0
  188. data/lib/studium/exam_topics/agrar_ecology +61 -0
  189. data/lib/studium/exam_topics/agrarmarkt +70 -0
  190. data/lib/studium/exam_topics/agrarphysik +35 -0
  191. data/lib/studium/exam_topics/alcohols +29 -0
  192. data/lib/studium/exam_topics/algorithms +49 -0
  193. data/lib/studium/exam_topics/allergie +73 -0
  194. data/lib/studium/exam_topics/allgemeine_genetik +1006 -0
  195. data/lib/studium/exam_topics/allgemeine_mikrobiologie +855 -0
  196. data/lib/studium/exam_topics/aminoacids +417 -0
  197. data/lib/studium/exam_topics/analytische_chemie_1 +131 -0
  198. data/lib/studium/exam_topics/analytische_chemie_2 +31 -0
  199. data/lib/studium/exam_topics/anatomie +248 -0
  200. data/lib/studium/exam_topics/anorganische_chemie +289 -0
  201. data/lib/studium/exam_topics/anthropologie +115 -0
  202. data/lib/studium/exam_topics/antibodies_and_antigens +747 -0
  203. data/lib/studium/exam_topics/apoptosis +35 -0
  204. data/lib/studium/exam_topics/archaea +41 -0
  205. data/lib/studium/exam_topics/architecture +8 -0
  206. data/lib/studium/exam_topics/artificial_intelligence +81 -0
  207. data/lib/studium/exam_topics/audio +10 -0
  208. data/lib/studium/exam_topics/bacteriophages +224 -0
  209. data/lib/studium/exam_topics/basic_biochemistry +1008 -0
  210. data/lib/studium/exam_topics/basic_biotechnology +1011 -0
  211. data/lib/studium/exam_topics/basic_chemistry +1007 -0
  212. data/lib/studium/exam_topics/basic_virology +955 -0
  213. data/lib/studium/exam_topics/bauwesen +6 -0
  214. data/lib/studium/exam_topics/betriebssysteme +125 -0
  215. data/lib/studium/exam_topics/betriebswirtschaftslehre +29 -0
  216. data/lib/studium/exam_topics/bioanalytik_und_biosensoren +381 -0
  217. data/lib/studium/exam_topics/biochips +78 -0
  218. data/lib/studium/exam_topics/bioelektrochemie +56 -0
  219. data/lib/studium/exam_topics/biofilms +22 -0
  220. data/lib/studium/exam_topics/bioinformatics +475 -0
  221. data/lib/studium/exam_topics/biological_therapeutics +152 -0
  222. data/lib/studium/exam_topics/biologie +134 -0
  223. data/lib/studium/exam_topics/biomarkers +106 -0
  224. data/lib/studium/exam_topics/biomaterials +46 -0
  225. data/lib/studium/exam_topics/biomembranes +6 -0
  226. data/lib/studium/exam_topics/bionik +65 -0
  227. data/lib/studium/exam_topics/biophysik +34 -0
  228. data/lib/studium/exam_topics/biopolymers +10 -0
  229. data/lib/studium/exam_topics/bioprozesstechnik +139 -0
  230. data/lib/studium/exam_topics/bioressourcenmanagement +78 -0
  231. data/lib/studium/exam_topics/bodenkunde +345 -0
  232. data/lib/studium/exam_topics/bodenmikrobiologie +40 -0
  233. data/lib/studium/exam_topics/cancerbiology +441 -0
  234. data/lib/studium/exam_topics/cell_cultures +154 -0
  235. data/lib/studium/exam_topics/cellbiology +962 -0
  236. data/lib/studium/exam_topics/cellular_transport_and_protein_secretion +27 -0
  237. data/lib/studium/exam_topics/chemische_technologie_anorganischer_stoffe +208 -0
  238. data/lib/studium/exam_topics/chemisches_labor +59 -0
  239. data/lib/studium/exam_topics/chemotaxis_and_motility_in_prokaryotes +74 -0
  240. data/lib/studium/exam_topics/citric_acid_cycle +70 -0
  241. data/lib/studium/exam_topics/clinical_microbiology +486 -0
  242. data/lib/studium/exam_topics/computer_graphics +5 -0
  243. data/lib/studium/exam_topics/computer_science +269 -0
  244. data/lib/studium/exam_topics/crispr +25 -0
  245. data/lib/studium/exam_topics/cyanobacteria +37 -0
  246. data/lib/studium/exam_topics/cytogenetics_and_chromosome_biology +506 -0
  247. data/lib/studium/exam_topics/databases_and_sql +105 -0
  248. data/lib/studium/exam_topics/dna_mutation_and_dna_repair +33 -0
  249. data/lib/studium/exam_topics/dna_replication +53 -0
  250. data/lib/studium/exam_topics/ecogenetics +27 -0
  251. data/lib/studium/exam_topics/ecological_agriculture +12 -0
  252. data/lib/studium/exam_topics/ecology +313 -0
  253. data/lib/studium/exam_topics/economy +210 -0
  254. data/lib/studium/exam_topics/elektronenmikroskopie +353 -0
  255. data/lib/studium/exam_topics/elektrophorese +88 -0
  256. data/lib/studium/exam_topics/elektrotechnik +8 -0
  257. data/lib/studium/exam_topics/elisa +54 -0
  258. data/lib/studium/exam_topics/embryologie_und_entwicklung +541 -0
  259. data/lib/studium/exam_topics/endospores_and_spores +92 -0
  260. data/lib/studium/exam_topics/enzymes_and_cofactors +327 -0
  261. data/lib/studium/exam_topics/epigenetik +177 -0
  262. data/lib/studium/exam_topics/ethik +125 -0
  263. data/lib/studium/exam_topics/evolution_and_evolutionary_genetics +323 -0
  264. data/lib/studium/exam_topics/excel +7 -0
  265. data/lib/studium/exam_topics/fish +19 -0
  266. data/lib/studium/exam_topics/fluorescence_microscopy +7 -0
  267. data/lib/studium/exam_topics/food_microbiology_and_food_biotechnology +17 -0
  268. data/lib/studium/exam_topics/forensik +11 -0
  269. data/lib/studium/exam_topics/forstwirtschaft +52 -0
  270. data/lib/studium/exam_topics/fortgeschrittene_genetik +429 -0
  271. data/lib/studium/exam_topics/fortgeschrittene_gentechnik +189 -0
  272. data/lib/studium/exam_topics/fortgeschrittene_physik +6 -0
  273. data/lib/studium/exam_topics/fungi +78 -0
  274. data/lib/studium/exam_topics/genetische_krankheiten +150 -0
  275. data/lib/studium/exam_topics/genexpression +1008 -0
  276. data/lib/studium/exam_topics/genomics_and_metagenomics +205 -0
  277. data/lib/studium/exam_topics/gentechnik_und_praktische_biochemie +863 -0
  278. data/lib/studium/exam_topics/geochemistry +66 -0
  279. data/lib/studium/exam_topics/geography +5 -0
  280. data/lib/studium/exam_topics/geologie_und_mineralogie +610 -0
  281. data/lib/studium/exam_topics/geschichte +94 -0
  282. data/lib/studium/exam_topics/gluconeogenesis +34 -0
  283. data/lib/studium/exam_topics/glycolysis +95 -0
  284. data/lib/studium/exam_topics/glykomik +42 -0
  285. data/lib/studium/exam_topics/glyoxylatzyklus +23 -0
  286. data/lib/studium/exam_topics/grassland_cultivation +32 -0
  287. data/lib/studium/exam_topics/hormone +122 -0
  288. data/lib/studium/exam_topics/html +7 -0
  289. data/lib/studium/exam_topics/human_ecology +8 -0
  290. data/lib/studium/exam_topics/hygiene +191 -0
  291. data/lib/studium/exam_topics/imaging_and_microscopy +224 -0
  292. data/lib/studium/exam_topics/immunanalytik +88 -0
  293. data/lib/studium/exam_topics/immunologie +888 -0
  294. data/lib/studium/exam_topics/informatik +95 -0
  295. data/lib/studium/exam_topics/innate_immunity +20 -0
  296. data/lib/studium/exam_topics/insekten +30 -0
  297. data/lib/studium/exam_topics/insulin_and_diabetes +55 -0
  298. data/lib/studium/exam_topics/java +440 -0
  299. data/lib/studium/exam_topics/javascript +10 -0
  300. data/lib/studium/exam_topics/klima +6 -0
  301. data/lib/studium/exam_topics/landtechnik +27 -0
  302. data/lib/studium/exam_topics/lebensmittel +206 -0
  303. data/lib/studium/exam_topics/lebensmitteltechnologie +16 -0
  304. data/lib/studium/exam_topics/linux +5 -0
  305. data/lib/studium/exam_topics/lipids +95 -0
  306. data/lib/studium/exam_topics/macroeconomics +39 -0
  307. data/lib/studium/exam_topics/mathematics +175 -0
  308. data/lib/studium/exam_topics/medizin_und_biomedizinische_technik +250 -0
  309. data/lib/studium/exam_topics/medizinische_chemie_und_pharmazie +397 -0
  310. data/lib/studium/exam_topics/messtechnik_und_regeltechnik +104 -0
  311. data/lib/studium/exam_topics/metabolismus +433 -0
  312. data/lib/studium/exam_topics/microbial_ecology +35 -0
  313. data/lib/studium/exam_topics/mikrobielle_lebensgemeinschaften +34 -0
  314. data/lib/studium/exam_topics/mikrobielle_physiologie +153 -0
  315. data/lib/studium/exam_topics/mixed +289 -0
  316. data/lib/studium/exam_topics/molecular_biology_of_plants +235 -0
  317. data/lib/studium/exam_topics/molekulare_medizin +129 -0
  318. data/lib/studium/exam_topics/nanotechnologie +303 -0
  319. data/lib/studium/exam_topics/nature_conservation_and_biodiversity +165 -0
  320. data/lib/studium/exam_topics/naturstoffe +9 -0
  321. data/lib/studium/exam_topics/netzwerke +32 -0
  322. data/lib/studium/exam_topics/neurobiology +266 -0
  323. data/lib/studium/exam_topics/nucleotide_sequencing +30 -0
  324. data/lib/studium/exam_topics/object_oriented_modeling +14 -0
  325. data/lib/studium/exam_topics/obstbau +234 -0
  326. data/lib/studium/exam_topics/organische_chemie +1007 -0
  327. data/lib/studium/exam_topics/organische_chemie_2 +72 -0
  328. data/lib/studium/exam_topics/paleobiology +33 -0
  329. data/lib/studium/exam_topics/parasitic_diseases_and_molecular_infection_biology +335 -0
  330. data/lib/studium/exam_topics/patent_law +55 -0
  331. data/lib/studium/exam_topics/pathologie +713 -0
  332. data/lib/studium/exam_topics/pcr +133 -0
  333. data/lib/studium/exam_topics/peroxisomes_glycosomes_and_lysosomes +54 -0
  334. data/lib/studium/exam_topics/pflanzenanatomie +240 -0
  335. data/lib/studium/exam_topics/pflanzenbau +24 -0
  336. data/lib/studium/exam_topics/pflanzenschutz +35 -0
  337. data/lib/studium/exam_topics/pflanzenwissenschaften +1009 -0
  338. data/lib/studium/exam_topics/pharmaceutical_biotechnology +250 -0
  339. data/lib/studium/exam_topics/physik +338 -0
  340. data/lib/studium/exam_topics/physikalische_chemie +85 -0
  341. data/lib/studium/exam_topics/physiology_and_histology +485 -0
  342. data/lib/studium/exam_topics/phytochemie +33 -0
  343. data/lib/studium/exam_topics/plant_biotechnology +127 -0
  344. data/lib/studium/exam_topics/plant_breeding +64 -0
  345. data/lib/studium/exam_topics/plant_development +50 -0
  346. data/lib/studium/exam_topics/populationsgenetik +136 -0
  347. data/lib/studium/exam_topics/posttranslationale_modifikation_von_proteinen +186 -0
  348. data/lib/studium/exam_topics/projektmanagement +218 -0
  349. data/lib/studium/exam_topics/prokaryote_genetics +470 -0
  350. data/lib/studium/exam_topics/proteomik +38 -0
  351. data/lib/studium/exam_topics/prozesstechnik +95 -0
  352. data/lib/studium/exam_topics/psychologie +9 -0
  353. data/lib/studium/exam_topics/python +350 -0
  354. data/lib/studium/exam_topics/quality_management +241 -0
  355. data/lib/studium/exam_topics/rechtsgrundlagen +115 -0
  356. data/lib/studium/exam_topics/research_topics_in_immunobiology +42 -0
  357. data/lib/studium/exam_topics/rna_and_dna +362 -0
  358. data/lib/studium/exam_topics/rna_seq +11 -0
  359. data/lib/studium/exam_topics/ruby +131 -0
  360. data/lib/studium/exam_topics/ruby_on_rails +62 -0
  361. data/lib/studium/exam_topics/scientific_writing_and_publishing +38 -0
  362. data/lib/studium/exam_topics/semisynthese_von_proteinen_und_nukleotiden +120 -0
  363. data/lib/studium/exam_topics/sexualbiologie +59 -0
  364. data/lib/studium/exam_topics/signal_transduction_and_laser_systems +136 -0
  365. data/lib/studium/exam_topics/splicing_exons_and_introns +57 -0
  366. data/lib/studium/exam_topics/statistik +202 -0
  367. data/lib/studium/exam_topics/stemcells +87 -0
  368. data/lib/studium/exam_topics/structural_bioinformatics +54 -0
  369. data/lib/studium/exam_topics/strukturbiologie +319 -0
  370. data/lib/studium/exam_topics/system_biology_and_synthetic_biology +87 -0
  371. data/lib/studium/exam_topics/systematische_zoologie +430 -0
  372. data/lib/studium/exam_topics/technical_ecology +144 -0
  373. data/lib/studium/exam_topics/technische_chemie +194 -0
  374. data/lib/studium/exam_topics/technische_grundlagen_der_informatik +22 -0
  375. data/lib/studium/exam_topics/technische_mikrobiologie +403 -0
  376. data/lib/studium/exam_topics/technisches_zeichnen +5 -0
  377. data/lib/studium/exam_topics/the_bacterial_cell_wall +86 -0
  378. data/lib/studium/exam_topics/the_c_plus_plus_programming_language +488 -0
  379. data/lib/studium/exam_topics/the_c_programming_language +128 -0
  380. data/lib/studium/exam_topics/the_cellcycle +65 -0
  381. data/lib/studium/exam_topics/the_european_union +119 -0
  382. data/lib/studium/exam_topics/the_interferon_system +32 -0
  383. data/lib/studium/exam_topics/the_microbiome +163 -0
  384. data/lib/studium/exam_topics/the_universe +6 -0
  385. data/lib/studium/exam_topics/theoretische_chemie +5 -0
  386. data/lib/studium/exam_topics/theoretische_informatik +157 -0
  387. data/lib/studium/exam_topics/tierzucht +94 -0
  388. data/lib/studium/exam_topics/toxikologie +403 -0
  389. data/lib/studium/exam_topics/transcription +26 -0
  390. data/lib/studium/exam_topics/translation_ribosomes_and_translational_control +138 -0
  391. data/lib/studium/exam_topics/umweltbiotechnologie +58 -0
  392. data/lib/studium/exam_topics/umweltchemie +233 -0
  393. data/lib/studium/exam_topics/urbanism_and_traffic +19 -0
  394. data/lib/studium/exam_topics/vaccines_and_vaccination +234 -0
  395. data/lib/studium/exam_topics/vectors_and_gene_therapy +237 -0
  396. data/lib/studium/exam_topics/verfahrenstechnik +32 -0
  397. data/lib/studium/exam_topics/veterinary_medicine +10 -0
  398. data/lib/studium/exam_topics/vitamine +19 -0
  399. data/lib/studium/exam_topics/wasserkunde +141 -0
  400. data/lib/studium/exam_topics/weinbau +59 -0
  401. data/lib/studium/exam_topics/wissenschaft +17 -0
  402. data/lib/studium/exam_topics/yeast +97 -0
  403. data/lib/studium/exam_topics/zoologie +329 -0
  404. data/lib/studium/exams/afterburn.rb +264 -0
  405. data/lib/studium/exams/ask_exam_from_the_upcoming_exams_pool.rb +158 -0
  406. data/lib/studium/exams/ask_exam_question/answer.rb +106 -0
  407. data/lib/studium/exams/ask_exam_question/ask_exam_question.rb +135 -0
  408. data/lib/studium/exams/ask_exam_question/constants.rb +74 -0
  409. data/lib/studium/exams/ask_exam_question/delay.rb +101 -0
  410. data/lib/studium/exams/ask_exam_question/help.rb +72 -0
  411. data/lib/studium/exams/ask_exam_question/initialize.rb +70 -0
  412. data/lib/studium/exams/ask_exam_question/menu.rb +382 -0
  413. data/lib/studium/exams/ask_exam_question/misc.rb +938 -0
  414. data/lib/studium/exams/ask_exam_question/question.rb +77 -0
  415. data/lib/studium/exams/ask_exam_question/reset.rb +103 -0
  416. data/lib/studium/exams/ask_exam_question/run.rb +49 -0
  417. data/lib/studium/exams/ask_exam_topic_question.rb +120 -0
  418. data/lib/studium/exams/ask_question_from_alias.rb +151 -0
  419. data/lib/studium/exams/ask_question_from_any_of_the_still_missing_lectures.rb +133 -0
  420. data/lib/studium/exams/ask_question_from_grouped_themes.rb +141 -0
  421. data/lib/studium/exams/ask_question_from_last_topic.rb +93 -0
  422. data/lib/studium/exams/ask_random_question.rb +190 -0
  423. data/lib/studium/exams/autoinclude.rb +7 -0
  424. data/lib/studium/exams/class.rb +127 -0
  425. data/lib/studium/exams/csv/create_csv_passed_exams_file.rb +225 -0
  426. data/lib/studium/exams/cycle.rb +283 -0
  427. data/lib/studium/exams/dataset.rb +90 -0
  428. data/lib/studium/exams/exam_registration_at/constants.rb +49 -0
  429. data/lib/studium/exams/exam_registration_at/exam_registration_at.rb +254 -0
  430. data/lib/studium/exams/exam_registration_at/help.rb +46 -0
  431. data/lib/studium/exams/exam_registration_at/menu.rb +81 -0
  432. data/lib/studium/exams/exam_registration_at/report.rb +108 -0
  433. data/lib/studium/exams/exam_registration_at/reset.rb +49 -0
  434. data/lib/studium/exams/exam_statistics_from_this_file/exam_statistics_from_this_file.rb +127 -0
  435. data/lib/studium/exams/exam_topics.rb +202 -0
  436. data/lib/studium/exams/exams.rb +18 -0
  437. data/lib/studium/exams/exams_per_month/colours.rb +81 -0
  438. data/lib/studium/exams/exams_per_month/constants.rb +69 -0
  439. data/lib/studium/exams/exams_per_month/dataset.rb +64 -0
  440. data/lib/studium/exams/exams_per_month/exams_per_month.rb +291 -0
  441. data/lib/studium/exams/exams_per_month/help.rb +72 -0
  442. data/lib/studium/exams/exams_per_month/initialize.rb +39 -0
  443. data/lib/studium/exams/exams_per_month/menu.rb +258 -0
  444. data/lib/studium/exams/exams_per_month/open.rb +139 -0
  445. data/lib/studium/exams/exams_per_month/requires.rb +8 -0
  446. data/lib/studium/exams/exams_per_month/reset.rb +115 -0
  447. data/lib/studium/exams/exams_per_month/run.rb +18 -0
  448. data/lib/studium/exams/exams_per_month/sanitize.rb +129 -0
  449. data/lib/studium/exams/exams_per_month/show_and_report.rb +1281 -0
  450. data/lib/studium/exams/exams_this_week.rb +179 -0
  451. data/lib/studium/exams/fix_exam_dates.rb +129 -0
  452. data/lib/studium/exams/last_exams/last_exams.rb +381 -0
  453. data/lib/studium/exams/lectures_without_exam_entry.rb +145 -0
  454. data/lib/studium/exams/mandatory_continuous_assessment/compare.rb +144 -0
  455. data/lib/studium/exams/mandatory_continuous_assessment/constants.rb +18 -0
  456. data/lib/studium/exams/mandatory_continuous_assessment/help.rb +92 -0
  457. data/lib/studium/exams/mandatory_continuous_assessment/initialize.rb +46 -0
  458. data/lib/studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb +1115 -0
  459. data/lib/studium/exams/mandatory_continuous_assessment/menu.rb +114 -0
  460. data/lib/studium/exams/mandatory_continuous_assessment/misc.rb +61 -0
  461. data/lib/studium/exams/mandatory_continuous_assessment/reset.rb +85 -0
  462. data/lib/studium/exams/mandatory_continuous_assessment/run.rb +33 -0
  463. data/lib/studium/exams/mandatory_continuous_assessment/set_title_of_the_curriculum.rb +181 -0
  464. data/lib/studium/exams/mandatory_continuous_assessment/show_and_report.rb +147 -0
  465. data/lib/studium/exams/move_the_last_exam_question_to_the_top_of_the_file/move_the_last_exam_question_to_the_top_of_the_file.rb +119 -0
  466. data/lib/studium/exams/n_exams_in_these_topics.rb +408 -0
  467. data/lib/studium/exams/new_questions_per_year.rb +153 -0
  468. data/lib/studium/exams/next_exam.rb +111 -0
  469. data/lib/studium/exams/next_exams.rb +385 -0
  470. data/lib/studium/exams/open_exam_associated_url.rb +158 -0
  471. data/lib/studium/exams/open_last_exam_question_asked_file/constants.rb +20 -0
  472. data/lib/studium/exams/open_last_exam_question_asked_file/initialize.rb +29 -0
  473. data/lib/studium/exams/open_last_exam_question_asked_file/open_last_exam_question_asked_file.rb +112 -0
  474. data/lib/studium/exams/passed_exams/passed_exams.rb +46 -0
  475. data/lib/studium/exams/pruefung.rb +288 -0
  476. data/lib/studium/exams/push_solved_questions_on_top.rb +188 -0
  477. data/lib/studium/exams/question_answer/question_answer.rb +842 -0
  478. data/lib/studium/exams/questions_solved_from_day_to_day.rb +353 -0
  479. data/lib/studium/exams/repeat_last_question.rb +78 -0
  480. data/lib/studium/exams/show_all_passed_exams_of_this_university.rb +260 -0
  481. data/lib/studium/exams/show_backlog_of_exams.rb +125 -0
  482. data/lib/studium/exams/show_next_exams_for.rb +141 -0
  483. data/lib/studium/exams/show_themes/constants.rb +33 -0
  484. data/lib/studium/exams/show_themes/menu.rb +61 -0
  485. data/lib/studium/exams/show_themes/misc.rb +536 -0
  486. data/lib/studium/exams/show_themes/reset.rb +64 -0
  487. data/lib/studium/exams/show_themes/show_themes.rb +27 -0
  488. data/lib/studium/exams/show_upcoming_exams/consider_autogenerating_exam_aliases.rb +170 -0
  489. data/lib/studium/exams/show_upcoming_exams/constants.rb +82 -0
  490. data/lib/studium/exams/show_upcoming_exams/help.rb +33 -0
  491. data/lib/studium/exams/show_upcoming_exams/initialize.rb +71 -0
  492. data/lib/studium/exams/show_upcoming_exams/menu.rb +53 -0
  493. data/lib/studium/exams/show_upcoming_exams/report.rb +195 -0
  494. data/lib/studium/exams/show_upcoming_exams/reset.rb +38 -0
  495. data/lib/studium/exams/show_upcoming_exams/run.rb +20 -0
  496. data/lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb +494 -0
  497. data/lib/studium/exams/solve_all_questions_from_this_topic.rb +122 -0
  498. data/lib/studium/exams/solved/constants.rb +37 -0
  499. data/lib/studium/exams/solved/help.rb +23 -0
  500. data/lib/studium/exams/solved/menu.rb +35 -0
  501. data/lib/studium/exams/solved/reset.rb +30 -0
  502. data/lib/studium/exams/solved/solved.rb +306 -0
  503. data/lib/studium/exams/steop.rb +99 -0
  504. data/lib/studium/exams/unsolve_all_questions_from_this_topic.rb +170 -0
  505. data/lib/studium/exams/upcoming_exams/constants.rb +20 -0
  506. data/lib/studium/exams/upcoming_exams/help.rb +38 -0
  507. data/lib/studium/exams/upcoming_exams/initialize.rb +27 -0
  508. data/lib/studium/exams/upcoming_exams/menu.rb +79 -0
  509. data/lib/studium/exams/upcoming_exams/misc.rb +360 -0
  510. data/lib/studium/exams/upcoming_exams/reset.rb +37 -0
  511. data/lib/studium/exams/upcoming_exams/run.rb +25 -0
  512. data/lib/studium/exams/upcoming_exams/upcoming_exams.rb +32 -0
  513. data/lib/studium/exams/upcoming_exams_at_the_boku/constants.rb +23 -0
  514. data/lib/studium/exams/upcoming_exams_at_the_boku/html.rb +64 -0
  515. data/lib/studium/exams/upcoming_exams_at_the_boku/upcoming_exams_at_the_boku.rb +194 -0
  516. data/lib/studium/exams/upcoming_exams_dataset.rb +251 -0
  517. data/lib/studium/exams/upload_exam_topics.rb +357 -0
  518. data/lib/studium/flashcards/flashcards.rb +95 -0
  519. data/lib/studium/graphviz/README.md +4 -0
  520. data/lib/studium/graphviz/bachelor_vector_based_strategies.dot +160 -0
  521. data/lib/studium/graphviz/master_vector_based_strategies.dot +46 -0
  522. data/lib/studium/gui/gtk2/constants.rb +52 -0
  523. data/lib/studium/gui/gtk2/exam_card.rb +199 -0
  524. data/lib/studium/gui/gtk2/flip_card.rb +8 -0
  525. data/lib/studium/gui/gtk2/frame.rb +319 -0
  526. data/lib/studium/gui/gtk2/main_box.rb +188 -0
  527. data/lib/studium/gui/gtk2/misc.rb +99 -0
  528. data/lib/studium/gui/gtk2/module_methods.rb +58 -0
  529. data/lib/studium/gui/gtk2/require_gtk_files.rb +25 -0
  530. data/lib/studium/gui/gtk2/run.rb +47 -0
  531. data/lib/studium/gui/gtk2/show_curriculum_entries.rb +186 -0
  532. data/lib/studium/gui/gtk2/simple_widget_question_answer.rb +185 -0
  533. data/lib/studium/gui/gtk2/vbox.rb +748 -0
  534. data/lib/studium/gui/gtk3/README.md +1 -0
  535. data/lib/studium/gui/gtk3/studium_panel.rb +54 -0
  536. data/lib/studium/lectures/show_lectures_on_the_commandline/constants.rb +22 -0
  537. data/lib/studium/lectures/show_lectures_on_the_commandline/determine.rb +630 -0
  538. data/lib/studium/lectures/show_lectures_on_the_commandline/help.rb +44 -0
  539. data/lib/studium/lectures/show_lectures_on_the_commandline/html.rb +599 -0
  540. data/lib/studium/lectures/show_lectures_on_the_commandline/initialize.rb +53 -0
  541. data/lib/studium/lectures/show_lectures_on_the_commandline/konsole.rb +32 -0
  542. data/lib/studium/lectures/show_lectures_on_the_commandline/menu.rb +466 -0
  543. data/lib/studium/lectures/show_lectures_on_the_commandline/misc.rb +598 -0
  544. data/lib/studium/lectures/show_lectures_on_the_commandline/reset.rb +120 -0
  545. data/lib/studium/lectures/show_lectures_on_the_commandline/run.rb +44 -0
  546. data/lib/studium/lectures/show_lectures_on_the_commandline/show.rb +106 -0
  547. data/lib/studium/lectures/show_lectures_on_the_commandline/show_lectures_on_the_commandline.rb +491 -0
  548. data/lib/studium/lectures/show_lectures_on_the_commandline/sorted_individual_curricula.rb +117 -0
  549. data/lib/studium/logging/README.md +2 -0
  550. data/lib/studium/logging/ensure_that_the_log_directory_exists.rb +47 -0
  551. data/lib/studium/logging/html_log_directory.rb +35 -0
  552. data/lib/studium/logging/log_directory.rb +100 -0
  553. data/lib/studium/logging/store_last_question_asked_into_file.rb +138 -0
  554. data/lib/studium/misc/return_remote_homepage_of_this_lecture.rb +8661 -0
  555. data/lib/studium/misc/return_remote_moodle_link_of_this_lecture.rb +1343 -0
  556. data/lib/studium/parsers/README.md +2 -0
  557. data/lib/studium/parsers/custom_exam_results_parser.rb +208 -0
  558. data/lib/studium/parsers/parse_lva_dates.rb +190 -0
  559. data/lib/studium/pdf/README.md +2 -0
  560. data/lib/studium/pdf/create_pdf_file_for_this_exam_topic.rb +277 -0
  561. data/lib/studium/project/project.rb +80 -0
  562. data/lib/studium/requires/common_popular_requires.rb +37 -0
  563. data/lib/studium/requires/commonly_used_requires.rb +13 -0
  564. data/lib/studium/requires/require_class_exams_solved.rb +7 -0
  565. data/lib/studium/requires/require_ects_scripts.rb +25 -0
  566. data/lib/studium/requires/require_encoding.rb +7 -0
  567. data/lib/studium/requires/require_the_exam_scripts.rb +37 -0
  568. data/lib/studium/requires/require_the_studium_constants.rb +14 -0
  569. data/lib/studium/requires/require_the_studium_project.rb +47 -0
  570. data/lib/studium/requires/require_the_utility_scripts.rb +26 -0
  571. data/lib/studium/requires/require_toplevel_methods.rb +26 -0
  572. data/lib/studium/requires/require_upcoming_exams.rb +7 -0
  573. data/lib/studium/requires/require_yaml.rb +7 -0
  574. data/lib/studium/requires/with_GUI.rb +12 -0
  575. data/lib/studium/requires/www_mode.rb +17 -0
  576. data/lib/studium/sinatra/app.rb +225 -0
  577. data/lib/studium/sinatra/misc.rb +111 -0
  578. data/lib/studium/statistics/README.md +4 -0
  579. data/lib/studium/statistics/best_exam_months.rb +81 -0
  580. data/lib/studium/statistics/curriculum_comparer.rb +344 -0
  581. data/lib/studium/statistics/determine_exam_statistics_from_this_file.rb +140 -0
  582. data/lib/studium/statistics/max_stats.rb +171 -0
  583. data/lib/studium/statistics/report_how_many_ects_points_per_curriculum_were_completed.rb +172 -0
  584. data/lib/studium/statistics/report_how_many_exam_questions_were_answered.rb +478 -0
  585. data/lib/studium/statistics/show_exam_statistics.rb +60 -0
  586. data/lib/studium/statistics/top_stats.rb +122 -0
  587. data/lib/studium/steop/README.md +4 -0
  588. data/lib/studium/steop/show_all_steop_lectures.rb +101 -0
  589. data/lib/studium/steop/steop_lectures_in_this_curriculum.rb +291 -0
  590. data/lib/studium/steop/steop_lva_dates.rb +102 -0
  591. data/lib/studium/toplevel_methods/all_passed_exams.rb +35 -0
  592. data/lib/studium/toplevel_methods/already_solved_this_lecture.rb +98 -0
  593. data/lib/studium/toplevel_methods/available_curricula.rb +71 -0
  594. data/lib/studium/toplevel_methods/available_topics.rb +145 -0
  595. data/lib/studium/toplevel_methods/average_grade.rb +141 -0
  596. data/lib/studium/toplevel_methods/calculate_pr/303/274fungsimmanente_lectures_from_this_file.rb +55 -0
  597. data/lib/studium/toplevel_methods/cd.rb +25 -0
  598. data/lib/studium/toplevel_methods/cd_stud.rb +134 -0
  599. data/lib/studium/toplevel_methods/copy_the_last_backup_of_file_lecture_information.rb +27 -0
  600. data/lib/studium/toplevel_methods/determine_local_directory_of_this_lecture.rb +72 -0
  601. data/lib/studium/toplevel_methods/does_this_course_require_mandatory_presence.rb +44 -0
  602. data/lib/studium/toplevel_methods/download.rb +157 -0
  603. data/lib/studium/toplevel_methods/e.rb +16 -0
  604. data/lib/studium/toplevel_methods/ects_from_lectures.rb +251 -0
  605. data/lib/studium/toplevel_methods/editor.rb +64 -0
  606. data/lib/studium/toplevel_methods/esystem.rb +22 -0
  607. data/lib/studium/toplevel_methods/exams_dataset.rb +45 -0
  608. data/lib/studium/toplevel_methods/filter_away_invalid_questions.rb +77 -0
  609. data/lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb +2771 -0
  610. data/lib/studium/toplevel_methods/from_curriculum_id_to_university.rb +47 -0
  611. data/lib/studium/toplevel_methods/frozen.rb +32 -0
  612. data/lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb +136 -0
  613. data/lib/studium/toplevel_methods/has_a_bachelor_or_master_curriculum.rb +84 -0
  614. data/lib/studium/toplevel_methods/has_this_lecture_been_already_passed_but_the_id_was_changed_lateron.rb +41 -0
  615. data/lib/studium/toplevel_methods/has_this_module_been_completed.rb +206 -0
  616. data/lib/studium/toplevel_methods/install_the_project_on_the_given_hostsystem.rb +32 -0
  617. data/lib/studium/toplevel_methods/is_on_roebe.rb +26 -0
  618. data/lib/studium/toplevel_methods/is_this_exam_topic_included.rb +46 -0
  619. data/lib/studium/toplevel_methods/is_this_homepage_registered.rb +31 -0
  620. data/lib/studium/toplevel_methods/is_this_lecture_a_practical_course.rb +100 -0
  621. data/lib/studium/toplevel_methods/is_this_lecture_part_of_the_vector_curriculum.rb +110 -0
  622. data/lib/studium/toplevel_methods/is_this_lecture_registered_in_upcoming_exams.rb +43 -0
  623. data/lib/studium/toplevel_methods/lecture_information.rb +101 -0
  624. data/lib/studium/toplevel_methods/lectures_without_attribution_to_any_curriculum.rb +42 -0
  625. data/lib/studium/toplevel_methods/lva_numbers.rb +339 -0
  626. data/lib/studium/toplevel_methods/main_dataset.rb +73 -0
  627. data/lib/studium/toplevel_methods/map_curriculum_number_to_curriculum_name.rb +97 -0
  628. data/lib/studium/toplevel_methods/methods_related_to_curricula.rb +47 -0
  629. data/lib/studium/toplevel_methods/methods_related_to_files.rb +197 -0
  630. data/lib/studium/toplevel_methods/mkdir.rb +25 -0
  631. data/lib/studium/toplevel_methods/n_questions_available.rb +128 -0
  632. data/lib/studium/toplevel_methods/n_topics_available.rb +63 -0
  633. data/lib/studium/toplevel_methods/name_of_this_curriculum.rb +38 -0
  634. data/lib/studium/toplevel_methods/names_of_all_solved_exams.rb +71 -0
  635. data/lib/studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb +70 -0
  636. data/lib/studium/toplevel_methods/opnn.rb +25 -0
  637. data/lib/studium/toplevel_methods/passed_this_exam_on.rb +105 -0
  638. data/lib/studium/toplevel_methods/pristine.rb +69 -0
  639. data/lib/studium/toplevel_methods/read_dataset_from_a_curriculum_file.rb +133 -0
  640. data/lib/studium/toplevel_methods/read_delay_between_questions_from_file.rb +34 -0
  641. data/lib/studium/toplevel_methods/regexes.rb +90 -0
  642. data/lib/studium/toplevel_methods/registered_for_this_exam.rb +62 -0
  643. data/lib/studium/toplevel_methods/remote_url.rb +57 -0
  644. data/lib/studium/toplevel_methods/remove_comments.rb +26 -0
  645. data/lib/studium/toplevel_methods/remove_exam_topics_that_were_already_answered.rb +27 -0
  646. data/lib/studium/toplevel_methods/remove_tags.rb +26 -0
  647. data/lib/studium/toplevel_methods/report.rb +143 -0
  648. data/lib/studium/toplevel_methods/report_all_lectures_matching_this_lecture_type.rb +45 -0
  649. data/lib/studium/toplevel_methods/report_attributed_lectures_to_universities.rb +30 -0
  650. data/lib/studium/toplevel_methods/report_n_ects_per_university.rb +63 -0
  651. data/lib/studium/toplevel_methods/report_n_entries_in_the_file_lecture_information.rb +36 -0
  652. data/lib/studium/toplevel_methods/report_nquestions_of.rb +96 -0
  653. data/lib/studium/toplevel_methods/report_solved_topics.rb +56 -0
  654. data/lib/studium/toplevel_methods/return_all_exams_on_this_day.rb +66 -0
  655. data/lib/studium/toplevel_methods/return_curriculum_of_this_lva_number.rb +82 -0
  656. data/lib/studium/toplevel_methods/return_dataset_for_this_exam_topic.rb +41 -0
  657. data/lib/studium/toplevel_methods/return_dataset_from_this_curriculum_file.rb +150 -0
  658. data/lib/studium/toplevel_methods/return_directory_for.rb +66 -0
  659. data/lib/studium/toplevel_methods/return_div_timetable_of_upcoming_exams.rb +489 -0
  660. data/lib/studium/toplevel_methods/return_ects_from_this_lecture_stored_in_the_file_lecture_information.rb +197 -0
  661. data/lib/studium/toplevel_methods/return_hash_of_already_solved_lectures.rb +41 -0
  662. data/lib/studium/toplevel_methods/return_local_path_of_this_pwdstud.rb +59 -0
  663. data/lib/studium/toplevel_methods/return_lva_number_of_this_lecture.rb +72 -0
  664. data/lib/studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb +75 -0
  665. data/lib/studium/toplevel_methods/return_n_questions_were_answered_for_this_topic.rb +37 -0
  666. data/lib/studium/toplevel_methods/return_proper_university_image.rb +80 -0
  667. data/lib/studium/toplevel_methods/return_question_answer_string_from_this_topic.rb +56 -0
  668. data/lib/studium/toplevel_methods/return_sanitized_dataset_from_the_file_lecture_information.rb +126 -0
  669. data/lib/studium/toplevel_methods/return_theme_of_the_next_upcoming_exam.rb +38 -0
  670. data/lib/studium/toplevel_methods/return_this_curriculum_as_a_string.rb +26 -0
  671. data/lib/studium/toplevel_methods/return_title_from_this_curriculum_file.rb +91 -0
  672. data/lib/studium/toplevel_methods/rinstall2.rb +34 -0
  673. data/lib/studium/toplevel_methods/rti_conflict.rb +29 -0
  674. data/lib/studium/toplevel_methods/runmode.rb +86 -0
  675. data/lib/studium/toplevel_methods/sanitize_this_theme_topic.rb +128 -0
  676. data/lib/studium/toplevel_methods/sanitized_dataset_from_file_passed_exams_per_month.rb +52 -0
  677. data/lib/studium/toplevel_methods/save_all_registered_upcoming_exams.rb +62 -0
  678. data/lib/studium/toplevel_methods/save_file.rb +81 -0
  679. data/lib/studium/toplevel_methods/save_this_delay_between_questions_and_answers.rb +43 -0
  680. data/lib/studium/toplevel_methods/set_last_file_for_exam_questions.rb +64 -0
  681. data/lib/studium/toplevel_methods/set_this_cd_alias_to.rb +86 -0
  682. data/lib/studium/toplevel_methods/show_passed_ects_in_the_individual_bachelor_and_master_curricula.rb +81 -0
  683. data/lib/studium/toplevel_methods/show_passed_exams_having_this_grade.rb +27 -0
  684. data/lib/studium/toplevel_methods/spacer.rb +18 -0
  685. data/lib/studium/toplevel_methods/time.rb +220 -0
  686. data/lib/studium/toplevel_methods/total_ects_points_passed.rb +72 -0
  687. data/lib/studium/toplevel_methods/try_to_guess_the_most_likely_lva_id.rb +57 -0
  688. data/lib/studium/toplevel_methods/try_to_return_the_expanded_name_of_this_lecture.rb +63 -0
  689. data/lib/studium/toplevel_methods/unfinished.rb +51 -0
  690. data/lib/studium/toplevel_methods/url.rb +74 -0
  691. data/lib/studium/toplevel_methods/verbose_truth.rb +21 -0
  692. data/lib/studium/toplevel_methods/when_was_this_lecture_passed.rb +53 -0
  693. data/lib/studium/toplevel_methods/yes_or_no_ja_oder_nein.rb +33 -0
  694. data/lib/studium/tu_vienna/README.md +6 -0
  695. data/lib/studium/tu_vienna/tu_ferien.rb +38 -0
  696. data/lib/studium/tu_vienna/tu_/303/266ffnungszeiten.rb +29 -0
  697. data/lib/studium/utility_scripts/attribute_lecture_to_curriculum/attribute_boku_lecture_to_curriculum.rb +389 -0
  698. data/lib/studium/utility_scripts/attribute_lecture_to_curriculum/attribute_lecture_to_curriculum.rb +236 -0
  699. data/lib/studium/utility_scripts/attribute_lectures_to_university/attribute_lectures_to_university.rb +385 -0
  700. data/lib/studium/utility_scripts/audio_stats.rb +176 -0
  701. data/lib/studium/utility_scripts/auto_stud/auto_stud.rb +253 -0
  702. data/lib/studium/utility_scripts/auto_stud/constants.rb +23 -0
  703. data/lib/studium/utility_scripts/auto_stud/initialize.rb +23 -0
  704. data/lib/studium/utility_scripts/auto_stud/misc.rb +18 -0
  705. data/lib/studium/utility_scripts/autopurge_this_lecture_date.rb +101 -0
  706. data/lib/studium/utility_scripts/calendar/README.md +2 -0
  707. data/lib/studium/utility_scripts/calendar/calendar.rb +244 -0
  708. data/lib/studium/utility_scripts/calendar/misc.rb +35 -0
  709. data/lib/studium/utility_scripts/check_description_of_these_lectures.rb +224 -0
  710. data/lib/studium/utility_scripts/clean_up_lecture_date.rb +151 -0
  711. data/lib/studium/utility_scripts/current_lectures_belonging_to_both_bachelor_and_master_curriculum.rb +113 -0
  712. data/lib/studium/utility_scripts/currently_participating_in_these_lectures.rb +104 -0
  713. data/lib/studium/utility_scripts/display_lecture_url.rb +117 -0
  714. data/lib/studium/utility_scripts/expand_time_range.rb +422 -0
  715. data/lib/studium/utility_scripts/find_duplicate_lectures.rb +121 -0
  716. data/lib/studium/utility_scripts/finished_exams_at_this_university.rb +94 -0
  717. data/lib/studium/utility_scripts/foreign_language_percentage/constants.rb +28 -0
  718. data/lib/studium/utility_scripts/foreign_language_percentage/foreign_language_percentage.rb +142 -0
  719. data/lib/studium/utility_scripts/foreign_language_percentage/help.rb +29 -0
  720. data/lib/studium/utility_scripts/foreign_language_percentage/initialize.rb +25 -0
  721. data/lib/studium/utility_scripts/foreign_language_percentage/menu.rb +141 -0
  722. data/lib/studium/utility_scripts/foreign_language_percentage/report.rb +62 -0
  723. data/lib/studium/utility_scripts/foreign_language_percentage/reset.rb +57 -0
  724. data/lib/studium/utility_scripts/foreign_language_percentage/run.rb +19 -0
  725. data/lib/studium/utility_scripts/generate_spreadsheet.rb +349 -0
  726. data/lib/studium/utility_scripts/holidays.rb +143 -0
  727. data/lib/studium/utility_scripts/lecture_downloader.rb +115 -0
  728. data/lib/studium/utility_scripts/lectures_attributed_to_universities.rb +344 -0
  729. data/lib/studium/utility_scripts/lva_nummer.rb +440 -0
  730. data/lib/studium/utility_scripts/mandatory_lectures_in_this_month.rb +321 -0
  731. data/lib/studium/utility_scripts/name_of_this_lva_id.rb +110 -0
  732. data/lib/studium/utility_scripts/new_stud.rb +332 -0
  733. data/lib/studium/utility_scripts/next_week.rb +111 -0
  734. data/lib/studium/utility_scripts/passed_ects_per_year.rb +172 -0
  735. data/lib/studium/utility_scripts/passed_pr/303/274fungsimmanente_courses/passed_pr/303/274fungsimmanente_courses.rb +181 -0
  736. data/lib/studium/utility_scripts/prepare_individual_curriculum.rb +182 -0
  737. data/lib/studium/utility_scripts/priority.rb +126 -0
  738. data/lib/studium/utility_scripts/priority_points.rb +263 -0
  739. data/lib/studium/utility_scripts/publish_my_exams.rb +174 -0
  740. data/lib/studium/utility_scripts/regexes/README.md +2 -0
  741. data/lib/studium/utility_scripts/regexes/generate_regex.rb +278 -0
  742. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_available_moodle_links.rb +54 -0
  743. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_registered_lectures.rb +48 -0
  744. data/lib/studium/utility_scripts/report_outdated_timetable_entries.rb +148 -0
  745. data/lib/studium/utility_scripts/report_total_amount_of_questions_and_answers_for.rb +120 -0
  746. data/lib/studium/utility_scripts/report_whether_this_lecture_is_registered_in_the_file_lecture_information.rb +125 -0
  747. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/individual_resolve_practical_courses_date_conflicts.rb +257 -0
  748. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/resolve_practical_courses_date_conflicts.rb +273 -0
  749. data/lib/studium/utility_scripts/scrape_remote_university_url.rb +146 -0
  750. data/lib/studium/utility_scripts/semester_schedule_creator/semester_container.rb +142 -0
  751. data/lib/studium/utility_scripts/semester_schedule_creator/semester_schedule_creator.rb +381 -0
  752. data/lib/studium/utility_scripts/semesterplaner.rb +289 -0
  753. data/lib/studium/utility_scripts/show_all_lectures.rb +403 -0
  754. data/lib/studium/utility_scripts/show_all_passed_master_lectures.rb +127 -0
  755. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/constants.rb +56 -0
  756. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/do_report_the_upcoming_exams.rb +60 -0
  757. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/help.rb +49 -0
  758. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/initialize.rb +28 -0
  759. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/menu.rb +54 -0
  760. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/misc.rb +214 -0
  761. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/report.rb +118 -0
  762. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/reset.rb +80 -0
  763. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/run.rb +22 -0
  764. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/show_conflicting_lva_lectures.rb +651 -0
  765. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/constants.rb +28 -0
  766. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/menu.rb +62 -0
  767. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/reset.rb +36 -0
  768. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/run.rb +35 -0
  769. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/show_descriptions_of_lectures_belonging_to_this_module.rb +145 -0
  770. data/lib/studium/utility_scripts/show_lecturers/show_lecturers.rb +145 -0
  771. data/lib/studium/utility_scripts/show_lectures/constants.rb +16 -0
  772. data/lib/studium/utility_scripts/show_lectures/help.rb +34 -0
  773. data/lib/studium/utility_scripts/show_lectures/initialize.rb +23 -0
  774. data/lib/studium/utility_scripts/show_lectures/menu.rb +106 -0
  775. data/lib/studium/utility_scripts/show_lectures/misc.rb +582 -0
  776. data/lib/studium/utility_scripts/show_lectures/reset.rb +92 -0
  777. data/lib/studium/utility_scripts/show_lectures/run.rb +27 -0
  778. data/lib/studium/utility_scripts/show_lectures/show_lectures.rb +48 -0
  779. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_language.rb +129 -0
  780. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_theme.rb +100 -0
  781. data/lib/studium/utility_scripts/show_lectures_on_this_day.rb +154 -0
  782. data/lib/studium/utility_scripts/show_lva_dates_of_this_lecture.rb +177 -0
  783. data/lib/studium/utility_scripts/show_outdated_lva_dates.rb +218 -0
  784. data/lib/studium/utility_scripts/show_solved_english_lectures.rb +139 -0
  785. data/lib/studium/utility_scripts/show_the_associated_lectures_for_the_individual_curriculum.rb +285 -0
  786. data/lib/studium/utility_scripts/studienkennzahl.rb +109 -0
  787. data/lib/studium/utility_scripts/studium_skeleton.rb +220 -0
  788. data/lib/studium/utility_scripts/stundenplan.rb +603 -0
  789. data/lib/studium/utility_scripts/sync_studium_relevant_entries_one_level_downwards.rb +221 -0
  790. data/lib/studium/utility_scripts/ufind.rb +101 -0
  791. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/constants.rb +31 -0
  792. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/run.rb +20 -0
  793. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/upcoming_mandatory_presence_courses.rb +179 -0
  794. data/lib/studium/utility_scripts/vorbesprechungen.rb +293 -0
  795. data/lib/studium/utility_scripts/week_parser/constants.rb +28 -0
  796. data/lib/studium/utility_scripts/week_parser/help.rb +32 -0
  797. data/lib/studium/utility_scripts/week_parser/menu.rb +56 -0
  798. data/lib/studium/utility_scripts/week_parser/misc.rb +51 -0
  799. data/lib/studium/utility_scripts/week_parser/reset.rb +55 -0
  800. data/lib/studium/utility_scripts/week_parser/run.rb +18 -0
  801. data/lib/studium/utility_scripts/week_parser/show.rb +242 -0
  802. data/lib/studium/utility_scripts/week_parser/week_parser.rb +362 -0
  803. data/lib/studium/utility_scripts/weekday_parser.rb +159 -0
  804. data/lib/studium/utility_scripts/weekly_schedule.rb +209 -0
  805. data/lib/studium/utility_scripts/wochenplanung.rb +278 -0
  806. data/lib/studium/version/version.rb +46 -0
  807. data/lib/studium/www/curricula_displayer.cgi +170 -0
  808. data/lib/studium/www/curriculum_displayer.rb +162 -0
  809. data/lib/studium/www/exams.cgi +50 -0
  810. data/lib/studium/www/statistics.cgi +55 -0
  811. data/lib/studium/yaml/allowed_themes_for_exams.yml +307 -0
  812. data/lib/studium/yaml/array_allowed_entries_for_the_file_lecture_information.yml +68 -0
  813. data/lib/studium/yaml/backlog_of_exams.yml +35 -0
  814. data/lib/studium/yaml/current_exams.yml +19 -0
  815. data/lib/studium/yaml/curricula.yml +530 -0
  816. data/lib/studium/yaml/curricula/README.md +3 -0
  817. data/lib/studium/yaml/curricula/bachelor_agrarwissenschaften_033255.yml +130 -0
  818. data/lib/studium/yaml/curricula/bachelor_biologie_basisblock_033630.yml +65 -0
  819. data/lib/studium/yaml/curricula/bachelor_biologie_botanik_033630.yml +84 -0
  820. data/lib/studium/yaml/curricula/bachelor_biologie_ecology_033630.yml +74 -0
  821. data/lib/studium/yaml/curricula/bachelor_biologie_mikrobiologie_und_genetik_033630.yml +120 -0
  822. data/lib/studium/yaml/curricula/bachelor_biologie_molekulare_biologie_033630.yml +104 -0
  823. data/lib/studium/yaml/curricula/bachelor_biologie_zoologie_033630.yml +87 -0
  824. data/lib/studium/yaml/curricula/bachelor_chemie_033662.yml +164 -0
  825. data/lib/studium/yaml/curricula/bachelor_dummy_curriculum.yml +135 -0
  826. data/lib/studium/yaml/curricula/bachelor_elektrotechnik_und_informationstechnik_033235.yml +13 -0
  827. data/lib/studium/yaml/curricula/bachelor_forstwirtschaft_033225.yml +105 -0
  828. data/lib/studium/yaml/curricula/bachelor_informatik_033521.yml +130 -0
  829. data/lib/studium/yaml/curricula/bachelor_informatik_und_molekulare_biologie.yml +1144 -0
  830. data/lib/studium/yaml/curricula/bachelor_ktww_033231.yml +84 -0
  831. data/lib/studium/yaml/curricula/bachelor_lmbt_033217.yml +108 -0
  832. data/lib/studium/yaml/curricula/bachelor_medizinische_informatik_033533.yml +200 -0
  833. data/lib/studium/yaml/curricula/bachelor_molekularbiologie_033665.yml +93 -0
  834. data/lib/studium/yaml/curricula/bachelor_nutrition_science_033638.yml +117 -0
  835. data/lib/studium/yaml/curricula/bachelor_pharmazie_033305.yml +170 -0
  836. data/lib/studium/yaml/curricula/bachelor_technische_chemie_033290.yml +129 -0
  837. data/lib/studium/yaml/curricula/bachelor_technische_informatik_033535.yml +23 -0
  838. data/lib/studium/yaml/curricula/bachelor_ubrm_033227.yml +140 -0
  839. data/lib/studium/yaml/curricula/bachelor_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +1157 -0
  840. data/lib/studium/yaml/curricula/bachelor_verfahrenstechnik_033273.yml +167 -0
  841. data/lib/studium/yaml/curricula/bachelor_wirtschaftsinformatik_033526.yml +29 -0
  842. data/lib/studium/yaml/curricula/master_bioinformatics_and_molecular_biotechnology_including_aspects_from_molecular_medicine.yml +438 -0
  843. data/lib/studium/yaml/curricula/master_bioinformatik_066875.yml +76 -0
  844. data/lib/studium/yaml/curricula/master_biologie_molekulare_mikrobiologie_mikrobielle_oekologie_und_immunbiologie_066830.yml +78 -0
  845. data/lib/studium/yaml/curricula/master_biologische_chemie_066863.yml +61 -0
  846. data/lib/studium/yaml/curricula/master_dummy_curriculum.yml +137 -0
  847. data/lib/studium/yaml/curricula/master_food_science_and_plant_biotechnology.yml +30 -0
  848. data/lib/studium/yaml/curricula/master_genetik_und_entwicklungsbiologie_066877.yml +90 -0
  849. data/lib/studium/yaml/curricula/master_lmbt_066418.yml +65 -0
  850. data/lib/studium/yaml/curricula/master_molekulare_biologie_066834.yml +142 -0
  851. data/lib/studium/yaml/curricula/master_pharmazie_066605.yml +170 -0
  852. data/lib/studium/yaml/curricula/master_technische_chemie_066490.yml +123 -0
  853. data/lib/studium/yaml/curricula/master_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +741 -0
  854. data/lib/studium/yaml/custom_colours.yml +21 -0
  855. data/lib/studium/yaml/daily_questions_solved.yml +789 -0
  856. data/lib/studium/yaml/default_delay.yml +4 -0
  857. data/lib/studium/yaml/default_encoding.yml +1 -0
  858. data/lib/studium/yaml/directory_to_the_exam_topics.yml +0 -0
  859. data/lib/studium/yaml/editor.yml +1 -0
  860. data/lib/studium/yaml/file_for_exam_questions.yml +1 -0
  861. data/lib/studium/yaml/german/README.md +2 -0
  862. data/lib/studium/yaml/german/german_to_english_month_names.yml +16 -0
  863. data/lib/studium/yaml/grouped_themes.yml +187 -0
  864. data/lib/studium/yaml/holidays.yml +176 -0
  865. data/lib/studium/yaml/important_exams.yml +194 -0
  866. data/lib/studium/yaml/inscription_dates_of_universities.yml +58 -0
  867. data/lib/studium/yaml/lecture_aliases.yml +108 -0
  868. data/lib/studium/yaml/lecture_information.yml +47783 -0
  869. data/lib/studium/yaml/log_dir.yml +1 -0
  870. data/lib/studium/yaml/main_topic.yml +11 -0
  871. data/lib/studium/yaml/max_stats.yml +227 -0
  872. data/lib/studium/yaml/mitteilungsbl/303/244tter.yml +315 -0
  873. data/lib/studium/yaml/n_total_questions.yml +1 -0
  874. data/lib/studium/yaml/participating_in_these_courses.yml +50 -0
  875. data/lib/studium/yaml/rename_konsole_tab.yml +1 -0
  876. data/lib/studium/yaml/show_topic.yml +1 -0
  877. data/lib/studium/yaml/statistics.yml +57 -0
  878. data/lib/studium/yaml/use_colours.yml +1 -0
  879. data/studium.gemspec +79 -0
  880. data/test/testing_studium.rb +244 -0
  881. data/test/testing_time_component.rb +29 -0
  882. metadata +1079 -0
@@ -0,0 +1,64 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'studium/toplevel_methods/editor.rb'
6
+ # =========================================================================== #
7
+ module Studium
8
+
9
+ require 'studium/constants/editor.rb'
10
+ require 'studium/toplevel_methods/e.rb'
11
+ require 'studium/toplevel_methods/save_file.rb'
12
+
13
+ # ========================================================================= #
14
+ # === Studium.set_use_this_editor
15
+ # ========================================================================= #
16
+ def self.set_use_this_editor(
17
+ i = USE_THIS_EDITOR
18
+ )
19
+ case i
20
+ when :default
21
+ i = USE_THIS_EDITOR
22
+ end
23
+ @use_this_editor = i
24
+ end
25
+
26
+ set_use_this_editor :default # Initialize the editor here.
27
+
28
+ # ========================================================================= #
29
+ # === Studium.editor?
30
+ # ========================================================================= #
31
+ def self.editor?
32
+ @use_this_editor
33
+ end
34
+
35
+ # ========================================================================= #
36
+ # === Studium.permanently_set_this_editor
37
+ #
38
+ # This method can be used to permanently set to a specific editor
39
+ # in use, for the whole Studium project.
40
+ # ========================================================================= #
41
+ def self.permanently_set_this_editor(i)
42
+ i = i.to_s # We really want a String past this point.
43
+ set_use_this_editor(i)
44
+ what = i
45
+ into = FILE_EDITOR
46
+ e "Storing #{what} into #{into} next."
47
+ write_what_into(what, into)
48
+ end
49
+
50
+ # ========================================================================= #
51
+ # === Studium.open_in_editor
52
+ # ========================================================================= #
53
+ def self.open_in_editor(i)
54
+ unless Object.const_defined? :OpenInEditor
55
+ begin # Make OpenInEditor available.
56
+ require 'open_in_editor'
57
+ rescue LoadError; end
58
+ end
59
+ [i].flatten.compact.each {|this_file|
60
+ OpenInEditor[this_file] {{ use_this_editor: @use_this_editor }}
61
+ }
62
+ end
63
+
64
+ end
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'studium/toplevel_methods/esystem.rb'
6
+ # =========================================================================== #
7
+ module Studium
8
+
9
+ require 'studium/toplevel_methods/e.rb'
10
+
11
+ # ========================================================================= #
12
+ # === Studium.esystem
13
+ #
14
+ # This method essentially combines e, which is an alias to puts,
15
+ # and system, into one new method called "esystem()".
16
+ # ========================================================================= #
17
+ def self.esystem(i = '')
18
+ e i
19
+ system i
20
+ end
21
+
22
+ end
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # The exam-dataset has to reside within the namespace Studium::Exams
6
+ # =========================================================================== #
7
+ # require 'studium/toplevel_methods/exams_dataset.rb'
8
+ # =========================================================================== #
9
+ module Studium
10
+
11
+ module Exams # === Studium::Exams
12
+
13
+ # ========================================================================= #
14
+ # === @dataset
15
+ # ========================================================================= #
16
+ @dataset = nil
17
+
18
+ # ========================================================================= #
19
+ # === Studium::Exams.dataset?
20
+ #
21
+ # Just a query method.
22
+ # ========================================================================= #
23
+ def self.dataset?
24
+ @dataset
25
+ end
26
+
27
+ # ========================================================================= #
28
+ # === Studium::Exams.set_dataset
29
+ #
30
+ # Use the given exam-dataset.
31
+ # ========================================================================= #
32
+ def self.set_dataset(
33
+ i = Dataset.new
34
+ )
35
+ @dataset = i
36
+ end
37
+
38
+ # ========================================================================= #
39
+ # === Studium::Exams.initialize_dataset
40
+ # ========================================================================= #
41
+ def self.initialize_dataset
42
+ Exams.set_dataset
43
+ end
44
+
45
+ end; end
@@ -0,0 +1,77 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'studium/toplevel_methods/filter_away_invalid_questions.rb'
6
+ # =========================================================================== #
7
+ module Studium
8
+
9
+ require 'studium/exams/ask_exam_question/constants.rb'
10
+ require 'studium/requires/require_encoding.rb'
11
+ require 'studium/toplevel_methods/e.rb'
12
+ require 'studium/toplevel_methods/is_on_roebe.rb'
13
+ require 'studium/colours/sfile.rb'
14
+
15
+ # ========================================================================= #
16
+ # === Studium.filter_away_invalid_questions
17
+ #
18
+ # This method will filter away invalid questions - that is, lines
19
+ # that start with a '#' or lines that are completely empty.
20
+ #
21
+ # The input to this method should be an Array.
22
+ #
23
+ # This method will be re-used by several different classes.
24
+ #
25
+ # The second argument is optional. If given, it shall denote the
26
+ # name/path to the file.
27
+ # ========================================================================= #
28
+ def self.filter_away_invalid_questions(
29
+ i,
30
+ optional_argument_we_used_this_file = nil
31
+ )
32
+ # ======================================================================= #
33
+ # Check the first entry for its encoding. This is necessary in the
34
+ # event that the local C library is broken.
35
+ # ======================================================================= #
36
+ encoding_of_this_file = i.first.encoding.to_s
37
+ if encoding_of_this_file.include? 'US-ASCII'
38
+ i = ensure_main_encoding(i)
39
+ end
40
+ # ======================================================================= #
41
+ # We may also check for incorrect entries in that file, if we have
42
+ # set a certain constant to true. The next check ensures this.
43
+ # ======================================================================= #
44
+ if Studium::Exams::AskExamQuestion::CHECK_FOR_INCORRECT_ENTRIES_IN_THE_QUESTION_ANSWER_FILE_THAT_SHOULD_BE_COMMENTS
45
+ if i.any? {|line|
46
+ line.start_with?(/[A-Za-z]{1}#/) # Exactly one character.
47
+ }
48
+ e 'Note that in the file'
49
+ e " `#{optional_argument_we_used_this_file}`"
50
+ e 'there appears to be a wrong line/entry.'
51
+ # =================================================================== #
52
+ # Try to auto-correct it if we are on a Roebe-system.
53
+ # =================================================================== #
54
+ if is_on_roebe? and optional_argument_we_used_this_file
55
+ modified_dataset = i.map {|entry|
56
+ if entry.start_with?(/[A-Za-z]{1}#/)
57
+ entry[0,1] = '' unless entry.start_with? '#'
58
+ end
59
+ entry
60
+ }
61
+ e 'Autocorrecting this erroneous file, as we are on a roebe-system.'
62
+ e "Saving into `#{sfile(optional_argument_we_used_this_file)}`."
63
+ write_what_into(
64
+ modified_dataset, optional_argument_we_used_this_file
65
+ )
66
+ end
67
+ end
68
+ end
69
+ array = i.reject {|line| line.start_with? '#' } # Comments can not hold real questions.
70
+ # ======================================================================= #
71
+ # Get rid of empty lines.
72
+ # ======================================================================= #
73
+ array.reject! {|entry| entry.strip.empty? }
74
+ array
75
+ end
76
+
77
+ end
@@ -0,0 +1,2771 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'studium/toplevel_methods/find_exam_topic_and_exam_title.rb'
6
+ # Studium.find_corresponding_exam_topic
7
+ # =========================================================================== #
8
+ module Studium
9
+
10
+ require 'studium/constants/exam_topics.rb'
11
+ require 'studium/toplevel_methods/n_topics_available.rb'
12
+
13
+ # ========================================================================= #
14
+ # === Studium.find_corresponding_exam_title
15
+ #
16
+ # This will return the corresponding exam title. It will pass the input
17
+ # through Studium.find_corresponding_exam_topic().
18
+ #
19
+ # Usage example:
20
+ #
21
+ # title = Studium.find_corresponding_exam_title('technische_grundlagen_der_informatik')
22
+ #
23
+ # ========================================================================= #
24
+ def self.find_corresponding_exam_title(
25
+ i, be_verbose = true
26
+ )
27
+ i = i.to_s.downcase
28
+ # ======================================================================= #
29
+ # First, pass the input through a filter:
30
+ # ======================================================================= #
31
+ i = ::Studium.find_corresponding_exam_topic(i, be_verbose)
32
+ # ======================================================================= #
33
+ # Next we can pass it in via a simple menu here:
34
+ # ======================================================================= #
35
+ i = case i
36
+ # ======================================================================= #
37
+ # === genexpression
38
+ # ======================================================================= #
39
+ when 'genexpression'
40
+ 'Genexpression'
41
+ # ======================================================================= #
42
+ # === basic_chemistry
43
+ # ======================================================================= #
44
+ when 'basic_chemistry'
45
+ 'Chemie'
46
+ # ======================================================================= #
47
+ # === mixed
48
+ # ======================================================================= #
49
+ when 'mixed'
50
+ 'Mixed'
51
+ # ======================================================================= #
52
+ # === allgemeine_mikrobiologie
53
+ # ======================================================================= #
54
+ when 'allgemeine_mikrobiologie'
55
+ 'Allgemeine Mikrobiologie'
56
+ # ======================================================================= #
57
+ # === embryologie_und_entwicklung
58
+ # ======================================================================= #
59
+ when 'embryologie_und_entwicklung'
60
+ 'Entwicklungsbiologie'
61
+ # ======================================================================= #
62
+ # === computer
63
+ # ======================================================================= #
64
+ when 'computer',
65
+ /^computer(_|-)?science$/i
66
+ 'Computer Science'
67
+ when 'pflanzenwissenschaften'
68
+ 'Struktur und Funktion der Pflanzen'
69
+ when 'immunologie'
70
+ 'Immunologie'
71
+ when 'basic_virology'
72
+ 'Virologie Allgemein'
73
+ when 'allgemeine_genetik'
74
+ 'Allgemeine Genetik'
75
+ when 'basic_biotechnology'
76
+ 'Biotechnologie'
77
+ when 'bioinformatics'
78
+ 'Bioinformatics'
79
+ when 'neurobiology'
80
+ 'Neurobiologie'
81
+ when 'mathematics'
82
+ 'Mathematics'
83
+ when 'zoologie'
84
+ 'Allgemeine Zoologie'
85
+ # ======================================================================= #
86
+ # === medizin
87
+ # ======================================================================= #
88
+ when 'medizin',
89
+ /^medizin(_|-| )?und(_|-| )?biomedizinische(_|-| )?technik$/i
90
+ 'Medizin und biomedizinische Technik'
91
+ when 'organische_chemie'
92
+ 'Organische Chemie'
93
+ when 'analytische_chemie_1'
94
+ 'Analytische Chemie'
95
+ # ======================================================================= #
96
+ # === ecology
97
+ # ======================================================================= #
98
+ when 'ecology'
99
+ 'Ökologie'
100
+ # ======================================================================= #
101
+ # === physiologie
102
+ # ======================================================================= #
103
+ when 'physiologie',
104
+ /^physiology(_|-)?and(_|-)?histology$/i
105
+ 'Physiology and Histology'
106
+ # ======================================================================= #
107
+ # === vektoren
108
+ # ======================================================================= #
109
+ when 'vektoren',
110
+ /^vectors(_|-)?and(_|-)?gene(_|-)?therapy$/i
111
+ 'Vektoren in der Gentechnologie'
112
+ when 'phytochemie'
113
+ 'Phytochemie'
114
+ when 'ageing'
115
+ 'Aging'
116
+ when 'bioprozesstechnik'
117
+ 'Bioprozesstechnik'
118
+ when 'technische_mikrobiologie'
119
+ 'TU Wien Microbiology'
120
+ when 'cellbiology'
121
+ 'Cellbiology'
122
+ when 'physikalische_chemie'
123
+ 'Physikalische Chemie'
124
+ when 'verfahrenstechnik'
125
+ 'Verfahrenstechnik'
126
+ when 'analytische_chemie_2'
127
+ 'Analytische Chemie 2'
128
+ when 'gentechnik',/gentechnik_?und_?praktische_?biochemie$/
129
+ 'Gentechnik und praktische Biochemie'
130
+ when 'economy'
131
+ 'Economy'
132
+ when 'festkörperchemie','festkÖrperchemie',
133
+ 'geochemistry'
134
+ 'Festkörper Chemie und Geochemie'
135
+ when 'geologie','geologie_und_mineralogie'
136
+ 'Geologie und Mineralogie'
137
+ when 'anorganische_chemie'
138
+ 'Anorganische Chemie'
139
+ when 'law','rechtsgrundlagen'
140
+ 'Rechtsgrundlagen'
141
+ when 'organische_chemie_2'
142
+ 'Organische Chemie 2'
143
+ when 'biologie_des_wasser','wasserkunde'
144
+ 'Wasserkunde'
145
+ when 'technische_chemie'
146
+ 'Technische Chemie'
147
+ when 'biologie'
148
+ 'Biologie'
149
+ when 'umweltchemie'
150
+ 'Umweltchemie'
151
+ when 'signal_transduction',
152
+ /^signal(_|-)?transduction(_|-)?and(_|-)?laser(_|-)?systems$/i
153
+ 'Signaltransduktion und Lasersysteme'
154
+ when 'paleobiology'
155
+ 'Paläobiologie'
156
+ when 'medizinische_chemie',
157
+ /^medizinische(_| )?chemie(_| )?und(_| )?pharmazie$/
158
+ 'Medizinische Chemie und Pharmazie'
159
+ when 'cancerbiology'
160
+ 'Cancer'
161
+ # ======================================================================= #
162
+ # === cytogenetik
163
+ # ======================================================================= #
164
+ when 'cytogenetik',
165
+ /^cytogenetics(_|-)?and(_|-)?chromosome(_|-)?biology$/i
166
+ 'Cytogenetics and Chromosome Biology'
167
+ # ======================================================================= #
168
+ # === statistik
169
+ # ======================================================================= #
170
+ when 'statistik'
171
+ 'Statistik'
172
+ when 'basic_biochemistry'
173
+ 'Basic Biochemistry'
174
+ when 'advanced_biochemistry'
175
+ 'Advanced Biochemistry'
176
+ when 'fortgeschrittene_physik'
177
+ 'Fortgeschrittene Physik'
178
+ when 'bioelektrochemie'
179
+ 'Bioelektrochemie'
180
+ when 'advanced_biotechnology'
181
+ 'Advanced Biotechnology'
182
+ when 'epigenetik'
183
+ 'Epigenetik'
184
+ # ======================================================================= #
185
+ # === bioanalytik
186
+ # ======================================================================= #
187
+ when 'bioanalytik',
188
+ /^bioanalytik(_|-)?und(_|-)?biosensoren$/
189
+ 'Bioanalytik und Biosensoren'
190
+ # ======================================================================= #
191
+ # === /^genomics(_|-)?and(_|-)?metagenomics$/
192
+ # ======================================================================= #
193
+ when 'genomics',/^genomics(_|-)?and(_|-)?metagenomics$/
194
+ 'Genomik und Metagenomik'
195
+ # ======================================================================= #
196
+ # === netzwerke
197
+ # ======================================================================= #
198
+ when /^netzwerke\??$/i
199
+ 'Computer networks'
200
+ when 'clinical_microbiology'
201
+ 'Clinical Microbiology'
202
+ # ======================================================================= #
203
+ # === molekulare_medizin
204
+ # ======================================================================= #
205
+ when 'molekulare_medizin'
206
+ 'Molekulare Medizin'
207
+ # ======================================================================= #
208
+ # === evolution
209
+ # ======================================================================= #
210
+ when 'evolution',
211
+ /^evolution(_|-)?and(_|-)?evolutionary(_|-)?genetics$/i
212
+ 'Evolution and Evolutionary Genetics'
213
+ when 'parasitologie'
214
+ 'Parasitologie'
215
+ when 'hygiene'
216
+ 'Hygiene'
217
+ # ======================================================================= #
218
+ # === rna_and_dna
219
+ # ======================================================================= #
220
+ when 'rna_and_dna'
221
+ 'DNA und RNA'
222
+ # ======================================================================= #
223
+ # === research_topics_in_immunobiology
224
+ # ======================================================================= #
225
+ when 'research_topics_in_immunobiology'
226
+ 'Research topics in Immunobiology'
227
+ when 'prokaryote_genetics'
228
+ 'Prokaryote Genetics'
229
+ when 'anthropologie'
230
+ 'Anthropologie'
231
+ when 'fortgeschrittene_gentechnik'
232
+ 'Fortgeschrittene Gentechnik'
233
+ when 'fortgeschrittene_genetik'
234
+ 'Fortgeschrittene Genetik'
235
+ when 'pcr'
236
+ 'PCR'
237
+ when 'populationsgenetik'
238
+ 'Populationsgenetik'
239
+ # ======================================================================= #
240
+ # === ecogenetics
241
+ # ======================================================================= #
242
+ when 'ecogenetics'
243
+ 'Ökogenetik'
244
+ # ======================================================================= #
245
+ # === pathologie
246
+ # ======================================================================= #
247
+ when 'pathologie'
248
+ 'Pathologie'
249
+ # ======================================================================= #
250
+ # === chemisches_labor
251
+ # ======================================================================= #
252
+ when /^chemisches(_|-)?labor$/i
253
+ 'Chemisches Labor'
254
+ # ======================================================================= #
255
+ # === theoretische_chemie
256
+ # ======================================================================= #
257
+ when 'theoretische_chemie'
258
+ 'Theoretische Chemie'
259
+ when 'plant_biotechnology'
260
+ 'Plant Biotechnology'
261
+ when 'bodenkunde'
262
+ 'Bodenkunde'
263
+ when 'advanced_virology'
264
+ 'Advanced Virology'
265
+ when 'microbial_ecology'
266
+ 'Mikrobielle Ökologie'
267
+ when 'metabolismus'
268
+ 'Metabolismus'
269
+ # === the_cellcycle
270
+ when 'the_cellcycle',
271
+ /^the(_|-)?cell(_|-)?cycle$/i
272
+ 'The Cellcyle'
273
+ when 'bioressourcenmanagement'
274
+ 'Bioressourcenmanagement'
275
+ when 'technical_ecology'
276
+ 'Technische Ökologie'
277
+ when 'agrar_ecology'
278
+ 'Agrarökologie'
279
+ when 'veterinary_medicine'
280
+ 'Veterinärmedizin'
281
+ when 'advanced_chemistry'
282
+ 'Advanced Chemistry'
283
+ when 'landtechnik'
284
+ 'Grundlagen der Landtechnik'
285
+ when 'agrarmarkt'
286
+ 'Agrarmärkte'
287
+ when 'agrarphysik'
288
+ 'Agrarphysik'
289
+ when 'human_ecology'
290
+ 'Humanökologie'
291
+ when 'quality_management'
292
+ 'Quality Management'
293
+ # ======================================================================= #
294
+ # === artificial_intelligence
295
+ # ======================================================================= #
296
+ when 'artificial_intelligence'
297
+ 'Artificial Intelligence'
298
+ when 'translational_control',
299
+ /^translation_?ribosomes_?and_?translational_?control$/
300
+ 'Translation, Ribosomes and Translational Control'
301
+ when 'audio'
302
+ 'Audio'
303
+ when 'umweltbiotechnologie'
304
+ 'Umweltbiotechnologie'
305
+ when 'posttranslationale_modifikation_von_proteinen'
306
+ 'Posttranslationale Modifikation von Proteinen'
307
+ when 'bodenmikrobiologie'
308
+ 'Bodenmikrobiologie'
309
+ when 'pflanzenschutz'
310
+ 'Pflanzenschutz'
311
+ when 'stemcells'
312
+ 'Stammzellen'
313
+ when 'plant_breeding'
314
+ 'Pflanzenzüchtung (Plant Breeding)'
315
+ when 'insekten'
316
+ 'Insekten'
317
+ when 'aminoacids'
318
+ 'Amino Acids'
319
+ # === enzymes
320
+ when 'enzymes',
321
+ /^enzymes(_|-)?and(_|-)?cofactors$/i
322
+ 'Enzymes and Cofactors'
323
+ when 'proteomik'
324
+ 'Proteomik'
325
+ when 'advanced_microbiology'
326
+ 'Advanced Microbiology'
327
+ when 'antibodies',/^antibodies(_|-)?and(_|-)?antigens$/
328
+ 'Antibodies and Antigens'
329
+ when 'molecular_biology_of_plants'
330
+ 'Molecular Biology of the Plant'
331
+ when 'lebensmitteltechnologie'
332
+ 'Lebensmitteltechnologie'
333
+ when 'universe','the_universe'
334
+ 'The Universe'
335
+ when 'advanced_cellbiology'
336
+ 'Advanced Cell Biology'
337
+ # === insulin
338
+ when 'insulin',
339
+ /^insulin(_|-)?and(_|-)?diabetes$/
340
+ 'Insulin and Diabetes'
341
+ # === rna_seq
342
+ when 'rna_seq'
343
+ 'RNA Seq'
344
+ # === innate_immunity
345
+ when 'innate_immunity'
346
+ 'Innate Immunity'
347
+ # === psychologie
348
+ when 'psychologie'
349
+ 'Psychologie'
350
+ when 'genetische_krankheiten'
351
+ 'Genetische Krankheiten'
352
+ when 'systematische_zoologie'
353
+ 'Systematische Zoologie'
354
+ when /^betriebssysteme?$/
355
+ 'Betriebssysteme'
356
+ when 'the_c_programming_language'
357
+ 'The C Programming Language'
358
+ when 'abfall_als_ressource','abfall'
359
+ 'Abfall als Ressource'
360
+ when 'fish'
361
+ 'FISH - Fluorescence in-situ hybridization'
362
+ when 'ruby_on_rails'
363
+ 'Ruby on Rails'
364
+ when 'chemische_technologie_anorganischer_stoffe'
365
+ 'Chemische Technologie anorganischer Stoffe'
366
+ when 'viral_vectors'
367
+ 'Virale Vektoren'
368
+ when 'biophysik'
369
+ 'Biophysik'
370
+ when 'pflanzenbau'
371
+ 'Pflanzenbau'
372
+ when 'plant_development'
373
+ 'Plant Development'
374
+ when 'grassland_cultivation','grünlandwirtschaft'
375
+ 'Grünlandbewirtschaftung (Grassland cultivation)'
376
+ when 'ecological_agriculture'
377
+ 'Ökologische Landwirtschaft (Ecological Agriculture)'
378
+ when 'the_european_union'
379
+ 'The European Union'
380
+ when 'lipids'
381
+ 'Lipide'
382
+ when 'nucleotide_sequencing'
383
+ 'Nucleotide Sequencing'
384
+ when 'databases','datenbanken','database',
385
+ /^databases(_|-)?and(_|-)?sql$/
386
+ 'Databases and SQL'
387
+ when 'biological_therapeutics'
388
+ 'Biological Therapeutics'
389
+ # ======================================================================= #
390
+ # === alcohols
391
+ # ======================================================================= #
392
+ when 'alcohols','alkohole'
393
+ 'Alkohole'
394
+ # ======================================================================= #
395
+ # === mikrobielle_physiologie
396
+ # ======================================================================= #
397
+ when 'mikrobielle_physiologie'
398
+ 'Mikrobielle Physiologie'
399
+ # ======================================================================= #
400
+ # === technische_grundlagen_der_informatik
401
+ # ======================================================================= #
402
+ when 'technische_grundlagen_der_informatik'
403
+ 'Technische Grundlagen der Informatik'
404
+ # ======================================================================= #
405
+ # === patent_law
406
+ # ======================================================================= #
407
+ when /^patent(_|-)?law\??$/i
408
+ 'Patent Law'
409
+ # ======================================================================= #
410
+ # === the_c_plus_plus_programming_language
411
+ # ======================================================================= #
412
+ when 'the_c_plus_plus_programming_language'
413
+ 'The C++ programming language'
414
+ # ======================================================================= #
415
+ # === semisynthese_von_proteinen_und_nukleotiden
416
+ # ======================================================================= #
417
+ when 'semisynthese_von_proteinen_und_nukleotiden',
418
+ 'semisynthese_von_proteinen'
419
+ 'Semisynthese von Proteinen und Nukleotiden'
420
+ # ======================================================================= #
421
+ # === naturschutz
422
+ # ======================================================================= #
423
+ when 'naturschutz',
424
+ /^nature(_|-)?conservation(_|-)?and(_|-)?biodiversity(_|-)?$/i
425
+ 'Naturschutz und Biodiversität'
426
+ # ======================================================================= #
427
+ # === biochips
428
+ # ======================================================================= #
429
+ when 'biochips'
430
+ 'Biochips and Microarray'
431
+ # ======================================================================= #
432
+ # === urbanism
433
+ # ======================================================================= #
434
+ when 'urbanism','urbanism_and_traffic'
435
+ 'Urbanism and Traffic'
436
+ # ======================================================================= #
437
+ # === vaccines_and_vaccination
438
+ # ======================================================================= #
439
+ when 'vaccines_and_vaccination'
440
+ 'Vaccines and Vaccination'
441
+ # ======================================================================= #
442
+ # === technisches_zeichnen
443
+ # ======================================================================= #
444
+ when 'technisches_zeichnen'
445
+ 'Technisches Zeichnen'
446
+ # ======================================================================= #
447
+ # === glycolysis
448
+ # ======================================================================= #
449
+ when 'glycolysis',
450
+ /^glycolysis\??$/i
451
+ 'Die Glykolyse'
452
+ # ======================================================================= #
453
+ # === gluconeogenesis
454
+ # ======================================================================= #
455
+ when 'gluconeogenesis',
456
+ 'gluco',
457
+ /^gluconeogenesis\??$/i
458
+ 'Die Gluconeogenesis'
459
+ # ======================================================================= #
460
+ # === rnai
461
+ # ======================================================================= #
462
+ when /^RNAi$/i,/^RNAi(_|-)?siRNA(_|-)?and(_|-)?miRNA$/i,
463
+ /^miRNA$/i
464
+ 'RNAi, siRNA and miRNA'
465
+ # ======================================================================= #
466
+ # === mikrobielle_lebensgemeinschaften
467
+ # ======================================================================= #
468
+ when /^mikrobielle(_|-)?lebensgemeinschaften$/
469
+ 'Mikrobielle Lebensgemeinschaften'
470
+ # ======================================================================= #
471
+ # === theoretische_informatik
472
+ # ======================================================================= #
473
+ when /^theoretische(_|-)?informatik$/
474
+ 'Theoretische Informatik'
475
+ # ======================================================================= #
476
+ # === algorithms
477
+ # ======================================================================= #
478
+ when 'algorithms'
479
+ 'Algorithms'
480
+ # ======================================================================= #
481
+ # === javascript
482
+ # ======================================================================= #
483
+ when 'javascript'
484
+ 'JavaScript'
485
+ # ======================================================================= #
486
+ # === bauwesen
487
+ # ======================================================================= #
488
+ when 'bauwesen'
489
+ i.capitalize
490
+ # ======================================================================= #
491
+ # === system_biology
492
+ # ======================================================================= #
493
+ when 'system_biology',
494
+ /^system(_|-)?biology(_|-)?and(_|-)?synthetic(_|-)?biology$/
495
+ 'System Biology and Synthetic Biology'
496
+ # ======================================================================= #
497
+ # === architecture
498
+ # ======================================================================= #
499
+ when 'architecture','architektur'
500
+ 'Architektur'
501
+ # ======================================================================= #
502
+ # === management
503
+ # ======================================================================= #
504
+ when 'management'
505
+ i.capitalize
506
+ # ======================================================================= #
507
+ # === dna_replication
508
+ # ======================================================================= #
509
+ when 'dna_replication'
510
+ 'DNA Replication'
511
+ # ======================================================================= #
512
+ # === immunanalytik
513
+ # ======================================================================= #
514
+ when 'immunanalytik','immunoassay'
515
+ i.capitalize
516
+ # ======================================================================= #
517
+ # === elektrophorese
518
+ # ======================================================================= #
519
+ when 'elektrophorese'
520
+ i.capitalize
521
+ # ======================================================================= #
522
+ # === endospores_and_spores
523
+ # ======================================================================= #
524
+ when 'endospores_and_spores'
525
+ 'Endosporen und Sporen'
526
+ # ======================================================================= #
527
+ # === the_bacterial_cell_wall
528
+ # ======================================================================= #
529
+ when 'the_bacterial_cell_wall'
530
+ 'The bacterial cell wall'
531
+ # ======================================================================= #
532
+ # === biofilms
533
+ # ======================================================================= #
534
+ when 'biofilms'
535
+ 'Biofilme'
536
+ # ======================================================================= #
537
+ # === bacteriophages
538
+ # ======================================================================= #
539
+ when 'bacteriophages','phages'
540
+ 'Bakteriophagen'
541
+ # ======================================================================= #
542
+ # === dna_mutation_and_dna_repair
543
+ # ======================================================================= #
544
+ when /^dna(_|-)?mutation(_|-)?and(_|-)?dna(_|-)?repair$/,
545
+ 'dna_mutation_and_dna_repair',
546
+ 'mutation'
547
+ 'DNA Mutation and DNA repair'
548
+ # ======================================================================= #
549
+ # === apoptosis
550
+ # ======================================================================= #
551
+ when 'apoptosis'
552
+ i.capitalize
553
+ # ======================================================================= #
554
+ # === the_interferon_system
555
+ # ======================================================================= #
556
+ when /^the(_|-)?interferon(_|-)?system$/i
557
+ 'The Interferon system'
558
+ # ======================================================================= #
559
+ # === pharmazeutische_biotechnologie
560
+ # ======================================================================= #
561
+ when /^pharmazeutische(_|-)?biotechnologie$/i,
562
+ /^pharmaceutical(_|-)?biotechnology$/i
563
+ 'Pharmaceutical Biotechnology'
564
+ # ======================================================================= #
565
+ # === molekulare_infektionsbiologie
566
+ # ======================================================================= #
567
+ when /^molekulare(_|-)?infektionsbiologie$/i,
568
+ /^parasitic(_|-)?diseases(_|-)?and(_|-)?molecular(_|-)?infection(_|-)?biology$/i
569
+ 'Parasitic Diseases and Molecular Infection Biology'
570
+ # ======================================================================= #
571
+ # === structural_bioinformatics
572
+ # ======================================================================= #
573
+ when /^structural(_|-)?bioinformatics$/i
574
+ 'Structural Bioinformatics'
575
+ # ======================================================================= #
576
+ # === computer_graphics
577
+ # ======================================================================= #
578
+ when /^computer(_|-)?graphics$/i
579
+ 'Computer Graphics'
580
+ # ======================================================================= #
581
+ # === food_microbiologiy
582
+ # ======================================================================= #
583
+ when /^food(_|-)?microbiology$/i,
584
+ /^food(_|-)?microbiology(_|-)?and(_|-)?food(_|-)?biotechnology$/i
585
+ 'Food Microbiology and Food Biotechnology'
586
+ # ======================================================================= #
587
+ # === projektmanagement
588
+ # ======================================================================= #
589
+ when /^projektmanagement$/i
590
+ 'Projektmanagement'
591
+ # ======================================================================= #
592
+ # === HTML
593
+ # ======================================================================= #
594
+ when 'html'
595
+ 'HTML'
596
+ # ======================================================================= #
597
+ # === splicing_exons_and_introns
598
+ # ======================================================================= #
599
+ when /^splicing_exons_and_introns$/i
600
+ 'Splicing, Exons and Introns'
601
+ # ======================================================================= #
602
+ # === cell_cultures
603
+ # ======================================================================= #
604
+ when /^cell(_|-)?cultures$/i
605
+ 'Cell cultures'
606
+ # ======================================================================= #
607
+ # === chemotaxis_and_motility_in_prokaryotes
608
+ # ======================================================================= #
609
+ when /^chemotaxis(_|-)?and(_|-)?motility(_|-)?in(_|-)?prokaryotes\??$/i
610
+ 'Chemotaxies and motility in prokaryotes'
611
+ # ======================================================================= #
612
+ # === cellular_transport_and_protein_secretion
613
+ # ======================================================================= #
614
+ when /^cellular(_|-)?transport/i,
615
+ /^cellular(_|-)?transport(_|-)?and(_|-)?protein(_|-)?secretion$/i
616
+ 'Cellular transport and protein secretion'
617
+ # ======================================================================= #
618
+ # === elisa
619
+ # ======================================================================= #
620
+ when /^elisa$/i
621
+ 'ELISA'
622
+ # ======================================================================= #
623
+ # === mikroskopie
624
+ # ======================================================================= #
625
+ when 'mikroskope','mikroskopie',
626
+ /^imaging(_|-)?and(_|-)?microscopy$/i
627
+ 'Imaging and Microscopy'
628
+ # ======================================================================= #
629
+ # === scientific_writing
630
+ # ======================================================================= #
631
+ when /^scientific(_|-)?writing$/i,
632
+ /^scientific(_|-)?writing(_|-)?and(_|-)?publishing$/i
633
+ 'Scientific writing and publishing'
634
+ # ======================================================================= #
635
+ # === peroxisomes
636
+ # ======================================================================= #
637
+ when /^peroxisomes$/i,
638
+ /^peroxisomes(_|-)?glycosomes(_|-)?and(_|-)?lysosomes\??$/i
639
+ 'Peroxisomes, Glycosomes and Lysosomes'
640
+ # ======================================================================= #
641
+ # === the_microbiome
642
+ # ======================================================================= #
643
+ when /^the(_|-)?microbiome$/i
644
+ 'The Microbiome'
645
+ # ======================================================================= #
646
+ # === fluorescence_microscopy
647
+ # ======================================================================= #
648
+ when /^fluorescence(_|-)?microscopy\??$/i
649
+ 'Fluorescence Microscopy'
650
+ # ======================================================================= #
651
+ # === citric_acid_cycle
652
+ # ======================================================================= #
653
+ when /^citric(_|-)?acid(_|-)?cycle$/i
654
+ 'Citric Acid Cycle'
655
+ # ======================================================================= #
656
+ # === mess_und_regeltechnik
657
+ # ======================================================================= #
658
+ when /^messtechnik(_|-)?und(_|-)?regeltechnik$/i
659
+ 'Messtechnik und Regeltechnik'
660
+ # ======================================================================= #
661
+ # === advanced_topics_in_plant_sciences
662
+ # ======================================================================= #
663
+ when /^advanced(_|-)?topics(_|-)?in(_|-)?plant(_|-)?sciences\??$/i
664
+ 'Advanced topics in plant sciences'
665
+ # ======================================================================= #
666
+ # === object_oriented_modeling
667
+ # ======================================================================= #
668
+ when /^object(_|-| )?oriented(_|-| )?modeling\??$/i
669
+ 'Object-oriented modeling'
670
+ # ======================================================================= #
671
+ # === python (and more)
672
+ # ======================================================================= #
673
+ when 'python','archaea','cyanobacteria','naturstoffe',
674
+ 'biopolymers','bionik','vitamine','biomembranes',
675
+ /^transcription$/,
676
+ 'pflanzenanatomie',
677
+ 'toxikologie',
678
+ 'forensik',
679
+ 'tierzucht',
680
+ 'biomarkers',
681
+ 'forstwirtschaft',
682
+ 'java', # === java
683
+ 'strukturbiologie',
684
+ 'geschichte',
685
+ 'wissenschaft',
686
+ /^geography$/i,
687
+ 'informatik',
688
+ /^excel$/i,
689
+ 'sexualbiologie',
690
+ 'betriebswirtschaftslehre',
691
+ 'klima',
692
+ 'macroeconomics',
693
+ 'biomaterials',
694
+ 'linux',
695
+ 'elektronenmikroskopie',
696
+ 'allergie',
697
+ 'elektrotechnik',
698
+ 'prozesstechnik',
699
+ 'glykomik',
700
+ 'glyoxylatzyklus',
701
+ 'weinbau',
702
+ 'lebensmittel',
703
+ 'fungi',
704
+ 'crispr',
705
+ 'yeast',
706
+ 'ruby',
707
+ 'ethik',
708
+ 'physik',
709
+ 'anatomie',
710
+ 'obstbau',
711
+ 'hormone',
712
+ 'nanotechnologie'
713
+ i.capitalize
714
+ end
715
+ return i
716
+ end; self.instance_eval { alias expand find_corresponding_exam_title } # === Studium.expand
717
+ self.instance_eval { alias beautify_this_topic find_corresponding_exam_title } # === Studium.beautify_this_topic
718
+ self.instance_eval { alias beautiful_topic find_corresponding_exam_title } # === Studium.beautiful_topic
719
+ self.instance_eval { alias beautiful_topic find_corresponding_exam_title } # === Studium.beautiful_topic
720
+
721
+ # ========================================================================= #
722
+ # === Studium.map_meta_exam_theme_to_corresponding_exam_themes
723
+ #
724
+ # Input to this method should be like "meta_biochem". This input
725
+ # will then be split up into e. g. "aa", "bem1", "bem2" and so
726
+ # forth, which correspond to exam topics such as "aminoacids",
727
+ # "biochemistry1", "biochemistry" and so forth.
728
+ #
729
+ # Since as of 03.07.2020 this method depends on the yaml file
730
+ # called grouped_themes.yml.
731
+ #
732
+ # On my home system it can be found here:
733
+ #
734
+ # bl $RUBY_STUDIUM/yaml/grouped_themes.yml
735
+ #
736
+ # ========================================================================= #
737
+ def self.map_meta_exam_theme_to_corresponding_exam_themes(i, dataset = nil)
738
+ if dataset.nil?
739
+ dataset = YAML.load_file(Studium.file_grouped_themes)
740
+ end
741
+ return_this = i.dup
742
+ case return_this # case tag
743
+ # ======================================================================= #
744
+ # === n_exams_in_this_topic meta_upcoming_exams
745
+ #
746
+ # Invocation example:
747
+ #
748
+ # meta_upcoming_exams
749
+ # metaupcomingexams
750
+ #
751
+ # ======================================================================= #
752
+ when /meta(_|-)?upcoming(_|-)?_exams/,
753
+ /meta(_|-)?upcoming$/i
754
+ return_this = dataset['upcoming_exams']
755
+ # ======================================================================= #
756
+ # === n_exams_in_this_topic meta_vectors
757
+ #
758
+ # Topics that may belong to the "metatopic" virology.
759
+ #
760
+ # Invocation example:
761
+ #
762
+ # n_exams_in_this_topic meta_virology
763
+ #
764
+ # ======================================================================= #
765
+ when /meta(_|-)?virology$/,
766
+ /meta(_|-)?virologie$/,
767
+ /meta(_|-)?vectors$/
768
+ return_this = dataset['virology']
769
+ # ======================================================================= #
770
+ # === n_exams_in_this_topic meta_chemistry
771
+ #
772
+ # Everything related to chemistry is stored here.
773
+ # ======================================================================= #
774
+ when /^meta(_|-)?chemistry/, # ← metachem
775
+ /^meta(_|-)?chem$/,
776
+ /meta6/
777
+ return_this = dataset['chemistry']
778
+ # ======================================================================= #
779
+ # === n_exams_in_this_topic meta_biochem
780
+ #
781
+ # All topics related to biochemistry are gathered here.
782
+ # ======================================================================= #
783
+ when /^-?-?meta(_|-)?biochemistry$/i,
784
+ /^-?-?meta(_|-)?biochem$/i,
785
+ /^-?-?meta(_|-)?biochemistry2/,
786
+ /^-?-?meta(_|-)?biochem2/,
787
+ /^-?-?meta(_|-)?advanced(_|-)?biochemistry/,
788
+ /^-?-?meta1$/i
789
+ return_this = dataset['biochemistry']
790
+ # ======================================================================= #
791
+ # === n_exams_in_this_topic meta_chemistry
792
+ #
793
+ # Everything related to informatics/programming is stored here.
794
+ # ======================================================================= #
795
+ when /^meta(_|-)?informatics?$/i, # ← metainformatics
796
+ /^meta(_|-)?programming$/
797
+ return_this = dataset['programming']
798
+ # ======================================================================= #
799
+ # === n_exams_in_this_topic meta_biotechnology
800
+ #
801
+ # Everything related to biotechnology.
802
+ # ======================================================================= #
803
+ when /^meta(_|-)?biotechnology$/, # ← metabiotechnology
804
+ /^meta(_|-)?biotech$/
805
+ return_this = dataset['biotechnology']
806
+ # ======================================================================= #
807
+ # === n_exams_in_this_topic meta_gentechnik
808
+ # ======================================================================= #
809
+ when /meta(_|-)?gentechnik$/i,
810
+ /meta(_|-)?gentech$/i
811
+ return_this = dataset['genetechnology']
812
+ # ======================================================================= #
813
+ # === n_exams_in_this_topic meta_cellbiology
814
+ #
815
+ # Everything related to cell biology is stored here.
816
+ # ======================================================================= #
817
+ when /meta(_|-)?cellbiology/ # ← metacellbio
818
+ return_this = dataset['cellbiology']
819
+ # ======================================================================= #
820
+ # === n_exams_in_this_topic meta_genetics
821
+ #
822
+ # Everything related to genes is stored here.
823
+ # ======================================================================= #
824
+ when /^meta(_|-)?genetics/ # ← metagen
825
+ return_this = dataset['genetics']
826
+ # ======================================================================= #
827
+ # === n_exams_in_this_topic meta_microbiology
828
+ #
829
+ # Everything related to genes is stored here.
830
+ # ======================================================================= #
831
+ when /^meta(_|-)?microbiology$/i,
832
+ /^meta(_|-)?mikrobiologie$/i,
833
+ /^meta(_|-)?micro$/i,
834
+ /^microbiology$/i
835
+ return_this = dataset['microbiology']
836
+ # ======================================================================= #
837
+ # === n_exams_in_this_topic meta_immunology
838
+ #
839
+ # Everything related to Immunology.
840
+ # ======================================================================= #
841
+ when /meta(_|-)?immunology$/,
842
+ /meta(_|-)?immuno$/,
843
+ /meta(_|-)?imm$/,
844
+ /meta7/
845
+ return_this = dataset['immunology']
846
+ # ======================================================================= #
847
+ # === n_exams_in_this_topic meta_zoology
848
+ # ======================================================================= #
849
+ when /meta(_|-)?zoology/
850
+ return_this = dataset['zoology']
851
+ # ======================================================================= #
852
+ # === n_exams_in_this_topic meta_plants
853
+ # ======================================================================= #
854
+ when /meta(_|-)?plants/,
855
+ /meta5/
856
+ return_this = dataset['plants']
857
+ end
858
+ if return_this.is_a? Array
859
+ return_this = return_this.map {|inner_line|
860
+ find_corresponding_exam_topic(inner_line)
861
+ }
862
+ else
863
+ find_corresponding_exam_topic(return_this)
864
+ end
865
+ return return_this
866
+ end
867
+
868
+ # ========================================================================= #
869
+ # === Studium.find_corresponding_exam_topic
870
+ #
871
+ # This method will expand from any input towards a (hopefully) locally
872
+ # existing file under the exam_topics/ directory.
873
+ #
874
+ # The match that will be returned, must be downcased, because all the
875
+ # files in the exam_topics/ directory are also downcased.
876
+ #
877
+ # Do not forget that when you add an entry here, to also add the
878
+ # title in the file find_corresponding_exam_title.rb
879
+ #
880
+ # Usage example:
881
+ #
882
+ # x = Studium.find_corresponding_exam_topic('imm')
883
+ #
884
+ # ========================================================================= #
885
+ def self.find_corresponding_exam_topic(
886
+ i, be_verbose = true
887
+ )
888
+ case be_verbose
889
+ # ======================================================================= #
890
+ # === :be_verbose
891
+ # ======================================================================= #
892
+ when :be_verbose
893
+ be_verbose = true
894
+ # ======================================================================= #
895
+ # === :be_quiet
896
+ # ======================================================================= #
897
+ when :be_quiet
898
+ be_verbose = false
899
+ end
900
+ if i.is_a?(Array) and i.empty? # Assume ARGV Array given here.
901
+ i = :rand # Use a default assignment for random input in this case.
902
+ end
903
+ begin
904
+ i = i.first if i.is_a? Array
905
+ i = i.to_s.downcase # Always work with Strings past this point.
906
+ rescue ArgumentError => error
907
+ pp error
908
+ pp i
909
+ e i.encoding.to_s
910
+ exit # ← We exit here so that we can debug this situation.
911
+ end
912
+ # ======================================================================= #
913
+ # We chop away from input that contains ' ('.
914
+ # ======================================================================= #
915
+ if i.include? ' ('
916
+ i = i[0, i.index(' (')]
917
+ end
918
+ i = DEFAULT_TOPIC if i == 'def' # This constant is defined in the file constants.rb.
919
+ i = i.chomp.delete('?') # Make the input a bit prettier.
920
+ case i # (Case tag, case tag)
921
+ when 'rand',
922
+ 'random',
923
+ 'random_question',
924
+ 'random_topic' # Fetch a random question here.
925
+ # ===================================================================== #
926
+ # We semi-"cheat" here by simply reading in the available files.
927
+ # ===================================================================== #
928
+ i = File.basename(Dir[EXAM_TOPICS+'*'].sample) # We need the constant EXAM_TOPICS here.
929
+ end
930
+ i =
931
+ case i # case tag
932
+ # ======================================================================= #
933
+ # === allgemeine_genetik
934
+ # ======================================================================= #
935
+ when '1',
936
+ 'schweyen',
937
+ 'schw',
938
+ 's',
939
+ 'amg',
940
+ 'mg',
941
+ 'genetik',
942
+ 'gen',
943
+ 'fragen_amg',
944
+ 'allgemeine_genetik',
945
+ 'amg1',
946
+ 'am',
947
+ 'genetics',
948
+ /^allgemeine(-|_| )?genetik$/i,
949
+ 'agm'
950
+ 'allgemeine_genetik'
951
+ # ======================================================================= #
952
+ # === basic_chemistry
953
+ # ======================================================================= #
954
+ when '2','chem','chemie','chemi','chem1',
955
+ 'chemie1',/basic(_|-)?chemistry/,
956
+ 'basic chemistry',
957
+ /^chemistry\??$/i
958
+ 'basic_chemistry'
959
+ # ======================================================================= #
960
+ # === mixed
961
+ # ======================================================================= #
962
+ when '3','misc','mixed','misc?'
963
+ 'mixed'
964
+ # ======================================================================= #
965
+ # === mikrobiologie1
966
+ # ======================================================================= #
967
+ when '4','wagner','w','mikrobio?','mikrobio',
968
+ 'mikrobiologie',
969
+ 'mo','witte','allgemeine_mikrobiologie',
970
+ 'allgemeinemikrobiologie','moll',
971
+ 'amm','amm1',
972
+ 'allgemeine mikrobiologie',
973
+ 'microbiology1',
974
+ 'mikrobiologie1',
975
+ /^basic(_|-)?microbiology$/i
976
+ 'allgemeine_mikrobiologie'
977
+ # ======================================================================= #
978
+ # === entwicklungsbiologie
979
+ # ======================================================================= #
980
+ when '5','entwicklungsbiologie','embryologie_und_entwicklung',
981
+ 'embryologie','emb','entwicklung','entw','devel','embroy',
982
+ /embryo?/,'devbio','entwicklungsgenetik','ebio','dev',
983
+ 'embryologieundentwicklung',
984
+ 'embryologie und entwicklung'
985
+ 'embryologie_und_entwicklung'
986
+ # ======================================================================= #
987
+ # === computer
988
+ # ======================================================================= #
989
+ when '6','computer','computer_fragen','fragenübercomputer',
990
+ 'fragen über computer',
991
+ 'computerfragen',
992
+ 'computer fragen',
993
+ 'compu',
994
+ /^computer(_|-)?science$/i
995
+ 'computer_science'
996
+ # ======================================================================= #
997
+ # === pflanzenwissenschaften
998
+ # ======================================================================= #
999
+ when '7','plant','ab2','pflanzen','fragen_ab2','plants',
1000
+ 'pflanzenwissenschaft','pflanzenwissenschaften',
1001
+ 'struktur_und_funktion_der_pflanzen','ab',
1002
+ 'strukturundfunktionderpflanzen',
1003
+ 'struktur und funktion der pflanzen',
1004
+ /^botanik\??$/i
1005
+ 'pflanzenwissenschaften'
1006
+ # ======================================================================= #
1007
+ # === immunologie
1008
+ # ======================================================================= #
1009
+ when '8','immuno','fragen_immunologie','immunologie',
1010
+ 'imm','immunology','imuno','immuno1','imm1',
1011
+ 'immun',
1012
+ /^basic(_|-)?immunology$/i
1013
+ 'immunologie'
1014
+ # ======================================================================= #
1015
+ # === virologie
1016
+ # ======================================================================= #
1017
+ when '9','virologie','vir','virus', 'viruses','v','vi',
1018
+ 'viros','virologieallgemein','basic_virology',
1019
+ 'basicvirology','bvirus','vir1','basic virology',
1020
+ 'virology1',
1021
+ 'virus1',
1022
+ /^Virologie(-|_| )?Allgemein$/i
1023
+ 'basic_virology'
1024
+ # ======================================================================= #
1025
+ # === genexpression
1026
+ # ======================================================================= #
1027
+ when '10',
1028
+ 'genexpression',
1029
+ 'genex',
1030
+ 'genx',
1031
+ 'fragen_genex',
1032
+ 'def',
1033
+ 'default',
1034
+ 'genexpresse',
1035
+ 'genex1',
1036
+ 'enex',
1037
+ 'gneex'
1038
+ 'genexpression'
1039
+ # ======================================================================= #
1040
+ # === basic_biotechnology
1041
+ # ======================================================================= #
1042
+ when '11','biotech','bio','btech','biotechnologie_tu_wien',
1043
+ 'biotechnologietuwien','fragen_biotechnologie_tu_wien',
1044
+ 'basic_biotech','basic_biotechnology','Biotechnologie',
1045
+ 'biotech1','biotechnologie','basicbiotechnology',
1046
+ 'basic biotechnology','biotehc','bech1',
1047
+ 'biotechnology1',
1048
+ 'bach1'
1049
+ 'basic_biotechnology'
1050
+ # ======================================================================= #
1051
+ # === bioinformatik
1052
+ # ======================================================================= #
1053
+ when '12','bioinformatik','bioinf','bioinfo','bioinformatics',
1054
+ 'binf',
1055
+ 'bioinformatic'
1056
+ 'bioinformatics'
1057
+ # ======================================================================= #
1058
+ # === verhalten
1059
+ # ======================================================================= #
1060
+ when '13','verhalten','verhaltensbiologie','ethologie','neuro',
1061
+ 'neurobiologie','neruo','neurobiology'
1062
+ 'neurobiology'
1063
+ # ======================================================================= #
1064
+ # === physics
1065
+ # ======================================================================= #
1066
+ when '14','physik','array_fragen_physik','fragen_physik',
1067
+ 'physics',
1068
+ /^qaphysik\??$/i
1069
+ 'physik'
1070
+ # ======================================================================= #
1071
+ # === mathematics
1072
+ # ======================================================================= #
1073
+ when '15','math','mat',
1074
+ 'mathematik',
1075
+ 'mathematic',
1076
+ 'array_math',
1077
+ 'mathematics','basic_math',
1078
+ /^qamath\??$/,
1079
+ 'mathe'
1080
+ 'mathematics'
1081
+ # ======================================================================= #
1082
+ # === zoology
1083
+ # ======================================================================= #
1084
+ when '16','zoologie','ab4','zoo','tiere','array_zoologie',
1085
+ 'zoology',
1086
+ /^allgemeine(_|-| )?zoologie$/i
1087
+ 'zoologie'
1088
+ # ======================================================================= #
1089
+ # === nanotech
1090
+ # ======================================================================= #
1091
+ when '17','nanotech','nanotechnologie','nanotechnology',
1092
+ 'nanobiotechnologie','array_fragen_nanotechnologie',
1093
+ /fragen_?nanotechnologie/,
1094
+ 'nano','anno',
1095
+ 'nanobiotech',
1096
+ 'nanomedicine',
1097
+ /^qa?(_|-| )?nano\??$/i
1098
+ 'nanotechnologie'
1099
+ # ======================================================================= #
1100
+ # === medizin
1101
+ # ======================================================================= #
1102
+ when '18','medizin','fragen_medizin','medicine',
1103
+ 'biomed',
1104
+ 'biomedizin',
1105
+ 'biomedicine',
1106
+ /^medizin(_|-| )?und(_|-| )?biomedizinische(_|-| )?technik$/i
1107
+ 'medizin_und_biomedizinische_technik'
1108
+ # ======================================================================= #
1109
+ # === organische_chemie
1110
+ # ======================================================================= #
1111
+ when '19','orgc','organische_chemie','org',
1112
+ 'fragen_organische_chemie','organische chemie',
1113
+ 'orgc1','org1','organischechemie','orgch',
1114
+ 'organic_chemistry1',
1115
+ 'ogc',
1116
+ /^organic(_|-)?chemistry$/i
1117
+ 'organische_chemie'
1118
+ # ======================================================================= #
1119
+ # === analytische_chemie
1120
+ # ======================================================================= #
1121
+ when '20','ana','analytische_chemie','analyt','analytischechemie',
1122
+ 'fragen_analytische_chemie','analytik','analytische_chemie_1',
1123
+ 'analytische_chemie1','analytische chemie',
1124
+ 'analytischechemie1','analytische chemie 1',
1125
+ 'analytical_chemistry','analyticchemistry',
1126
+ 'analytical_chem','anachem'
1127
+ 'analytische_chemie_1'
1128
+ # ======================================================================= #
1129
+ # === ökologie
1130
+ # ======================================================================= #
1131
+ when '21','ecology','fragen_ecology','e','ecology?',
1132
+ 'öko','ökologie','ecol','eco','Ökologie'
1133
+ 'ecology'
1134
+ # ======================================================================= #
1135
+ # === physiologie
1136
+ # ======================================================================= #
1137
+ when '22','ab3','physiologie','phys','fragen_physiologie',
1138
+ 'physio','physiology',
1139
+ 'histologie',
1140
+ 'histology',
1141
+ 'physi',
1142
+ /^physiology(_|-)?and(_|-)?histology/i,
1143
+ /^qapysio\??$/i,
1144
+ /^qaphysio\??$/i
1145
+ 'physiology_and_histology'
1146
+ # ======================================================================= #
1147
+ # === vektor
1148
+ # ======================================================================= #
1149
+ when '23','vektor','vector','vectors','vektoren',
1150
+ 'fragen_vektoren','genetherapy','gentherapie',
1151
+ 'vektorenindergentechnologie','genthera',
1152
+ 'vektoren in der gentechnologie','vektors',
1153
+ 'gene_therapy','viral_vectors','gentherapy',
1154
+ 'viralvectors',
1155
+ /^vektoren(_|-| )?in(_|-| )?der(_|-| )?gentechnologie$/i,
1156
+ /^vectors(_|-)?and(_|-)?gene(_|-)?therapy$/i
1157
+ 'vectors_and_gene_therapy'
1158
+ # ======================================================================= #
1159
+ # === phytochemie
1160
+ # ======================================================================= #
1161
+ when '24','fragen_phytochemie','phytochem','phytochemie'
1162
+ 'phytochemie'
1163
+ # ======================================================================= #
1164
+ # === aging
1165
+ # ======================================================================= #
1166
+ when '25','aging','age','ageing'
1167
+ 'ageing'
1168
+ # ======================================================================= #
1169
+ # === bioprozesstechnik
1170
+ # ======================================================================= #
1171
+ when '26','bioprozesstechnik','technik','bioprozess',
1172
+ 'bioverfahren','bioverfahrenstechnik',
1173
+ 'bioprocess'
1174
+ 'bioprozesstechnik'
1175
+ # ======================================================================= #
1176
+ # === mikrobio_tuwien
1177
+ # ======================================================================= #
1178
+ when '27','tuwien_microbiology','microbiology','tuwien',
1179
+ 'mikrobio_tuwien','micro','tuwien_microbio',
1180
+ 'tuwienmicrobiology',
1181
+ 'tuwien_micro',
1182
+ 'technische_mikrobiologie','technischemikrobiologie',
1183
+ 'tu wien microbiology','technische mikrobiologie',
1184
+ 'tumicrobiologie','tumicro',
1185
+ 'tuwienmikro',
1186
+ 'tuwien_mikrobiologie',
1187
+ 'tuwienmikrobiologie',
1188
+ /^tu(_|-)?microbiology$/,
1189
+ /^tu(_|-)?microbio$/
1190
+ 'technische_mikrobiologie'
1191
+ # ======================================================================= #
1192
+ # === cellbiology
1193
+ # ======================================================================= #
1194
+ when '28','cellbiology','cell','cellbio','zell','clel',
1195
+ 'zellbiologietierischersysteme','methodeninderzellbiologie',
1196
+ 'cel',
1197
+ 'cell1',
1198
+ 'cellbio1'
1199
+ 'cellbiology'
1200
+ # ======================================================================= #
1201
+ # === physikalische_chemie
1202
+ # ======================================================================= #
1203
+ when '29','physikalische_chemie','physchemie','pchemie',
1204
+ 'physikalischechemie','physikalische chemie',
1205
+ /^physchem$/i
1206
+ 'physikalische_chemie'
1207
+ # ======================================================================= #
1208
+ # === verfahrenstechnik
1209
+ # ======================================================================= #
1210
+ when '30','verfahrenstechnik'
1211
+ 'verfahrenstechnik'
1212
+ # ======================================================================= #
1213
+ # === analytische_chemie_2
1214
+ # ======================================================================= #
1215
+ when '31','analytische_chemie_2','ana2',
1216
+ 'analytische_chemie2','analytischechemie2',
1217
+ 'analytische chemie 2'
1218
+ 'analytische_chemie_2'
1219
+ # ======================================================================= #
1220
+ # === gentechnik
1221
+ # ======================================================================= #
1222
+ when '32','gentechnik','gentech','gentech1',
1223
+ 'gentechnik1','genetech','gentehc',
1224
+ /^praktische(_|-)?biochemie$/,
1225
+ /^gentechnik(_|-)?und(_|-)?praktische(_|-)?biochemie$/,
1226
+ /^gentechnik(_|-)?und(_|-)?praktische\??$/
1227
+ 'gentechnik_und_praktische_biochemie'
1228
+ # ======================================================================= #
1229
+ # === economy
1230
+ # ======================================================================= #
1231
+ when '33','economy','ökonomie','ökonom','ökonomie?',
1232
+ 'ecomoy',
1233
+ /^qaeconomy\??$/i
1234
+ 'economy'
1235
+ # ======================================================================= #
1236
+ # === geschichte
1237
+ # ======================================================================= #
1238
+ when '34','geschichte','history',
1239
+ /^qa(_|-)?geschichte\??$/
1240
+ 'geschichte'
1241
+ # ======================================================================= #
1242
+ # === festkörperchemie
1243
+ # ======================================================================= #
1244
+ when '35','festkoerper_chemie','fest','festkoerper',
1245
+ 'festkörper_chemie','festkörper chemie',
1246
+ 'festkoerperchemie','festkoerper chemie',
1247
+ 'festkörperchemie','festkÖrperchemie',
1248
+ 'geochemistry','geochem',
1249
+ 'geochemist',
1250
+ /^festkörperchemie(_|-)?und(_|-)?geochemie$/i
1251
+ 'geochemistry'
1252
+ # ======================================================================= #
1253
+ # === geologie
1254
+ # ======================================================================= #
1255
+ when '36','geologie','array_geologie','array_fragen_geologie',
1256
+ 'geo',/^fragen_?geologie/,'mineralogie','mineral',
1257
+ 'ego',
1258
+ /^geologie_?und_?mineralogie$/
1259
+ 'geologie_und_mineralogie'
1260
+ # ======================================================================= #
1261
+ # === anorganische_chemie
1262
+ # ======================================================================= #
1263
+ when '37','ano','anorganische_chemie','anorganischechemie',
1264
+ 'anorganisch','achem','array_anorganische_chemie',
1265
+ 'anon','anon1','anorganische chemie','anon_chem',
1266
+ 'anorg',/anon_?chemie/
1267
+ 'anorganische_chemie'
1268
+ # ======================================================================= #
1269
+ # === law
1270
+ # ======================================================================= #
1271
+ when '38','array_law','law','arraylaw','lawandorder',
1272
+ 'law and order','recht',
1273
+ 'rechtsgrundlagen'
1274
+ 'rechtsgrundlagen'
1275
+ # ======================================================================= #
1276
+ # === organische_chemie2
1277
+ # ======================================================================= #
1278
+ when '39','orgc2','organische_chemie2','org2',
1279
+ 'fragen_organische_chemie2','organischechemie2',
1280
+ 'organische_chemie_2','organische chemie 2',
1281
+ 'organic_chemistry2'
1282
+ 'organische_chemie_2'
1283
+ # ======================================================================= #
1284
+ # === wasserkunde
1285
+ # ======================================================================= #
1286
+ when '40','wasserkunde','biologie_des_wasser',
1287
+ 'biologiedeswasser','water','wasser','watter',
1288
+ 'biologiedeswassers','biologie des wassers',
1289
+ 'biologie des wasser'
1290
+ 'wasserkunde'
1291
+ # ======================================================================= #
1292
+ # === technische_chemie
1293
+ # ======================================================================= #
1294
+ when '41','technische_chemie','technischechemie',
1295
+ 'tech','technische chemie',
1296
+ 'technologie_chemie',/tu_?chem/
1297
+ 'technische_chemie'
1298
+ # ======================================================================= #
1299
+ # === biologie
1300
+ # ======================================================================= #
1301
+ when '42','biologie','biology'
1302
+ 'biologie'
1303
+ # ======================================================================= #
1304
+ # === umwelt
1305
+ # ======================================================================= #
1306
+ when '43','umwelt','umweltchemie','uchem'
1307
+ 'umweltchemie'
1308
+ # ======================================================================= #
1309
+ # === signal_transduction
1310
+ # ======================================================================= #
1311
+ when '44','signal','ldigc',
1312
+ 'signaling',
1313
+ 'laser',
1314
+ /^signal(_|-)?transduction$/i,
1315
+ /^signal(_|-)?transduction(_|-)?and(_|-)?laser(_|-)?systems$/i,
1316
+ /^signal(_|-)?transduktion(_|-)?und(_|-)?lasersysteme$/i
1317
+ 'signal_transduction_and_laser_systems'
1318
+ # ======================================================================= #
1319
+ # === paläobiologie
1320
+ # ======================================================================= #
1321
+ when '45','paleo','paläobiology','paleobiology',
1322
+ 'paläo','paläobiologie'
1323
+ 'paleobiology'
1324
+ # ======================================================================= #
1325
+ # === lebensmittel
1326
+ # ======================================================================= #
1327
+ when '46','lebensmittel','food','foodsies'
1328
+ 'lebensmittel'
1329
+ # ======================================================================= #
1330
+ # === medchem
1331
+ # ======================================================================= #
1332
+ when '47','medchem','medchems',
1333
+ 'main',
1334
+ /^medizinische(_| )?chemie$/,
1335
+ /^medizinische(_| )?chemie(_| )?und(_| )?pharmazie$/
1336
+ 'medizinische_chemie_und_pharmazie'
1337
+ # ======================================================================= #
1338
+ # === cancerbiology
1339
+ # ======================================================================= #
1340
+ when '48','cancer','krebs','cancerbiology','tumor',
1341
+ 'oncology',
1342
+ 'onkologie',
1343
+ 'onco',
1344
+ 'cacner',
1345
+ /^qacancer\??$/i
1346
+ 'cancerbiology'
1347
+ # ======================================================================= #
1348
+ # === cytogenetik
1349
+ # ======================================================================= #
1350
+ when '49','cytogenetik','cyto','cgen','cytobio',
1351
+ 'chromo','chromosomenbiologie','cytogen',
1352
+ 'cytogenetics','chromosomen','cytologie',
1353
+ 'cytology',
1354
+ /^cytogenetics(_|-)?and(_|-)?chromosome(_|-)?biology$/i
1355
+ 'cytogenetics_and_chromosome_biology'
1356
+ # ======================================================================= #
1357
+ # === biostatistik
1358
+ # ======================================================================= #
1359
+ when '50','biostatistik','biostat','stats',
1360
+ 'stat',
1361
+ 'statistik',
1362
+ 'statistic',
1363
+ 'statistics',
1364
+ 'statistk?',
1365
+ /^qastat\??$/i
1366
+ 'statistik'
1367
+ # ======================================================================= #
1368
+ # === biochemie
1369
+ # ======================================================================= #
1370
+ when '51','biochemie','biochem','bchem','biochemistry',
1371
+ 'einfuehrung_biochemie','basic_biochemistry',
1372
+ 'biochem1','bem1','basicbiochemistry',
1373
+ 'basic biochemistry','bem','grundlagenderbiochemie',
1374
+ 'ebm',
1375
+ /^basic(_|-)?biochemistry\??$/i
1376
+ 'basic_biochemistry'
1377
+ # ======================================================================= #
1378
+ # === advanced_biochemistry
1379
+ # ======================================================================= #
1380
+ when '52','biochemie2','biochem2','bchem2','biochemistry2',
1381
+ 'biochemie_ii','biochemie_master','bem2',
1382
+ /advanced(_|-)?biochemistry\??$/i,
1383
+ 'bemchem2','advanced biochemistry',
1384
+ 'biochemiefürbiologen'
1385
+ 'advanced_biochemistry'
1386
+ # ======================================================================= #
1387
+ # === fortgeschrittene_physik
1388
+ # ======================================================================= #
1389
+ when '53','physik2','fortgeschrittene_physik',
1390
+ 'fortgeschrittenephysik','fortgeschrittene physik'
1391
+ 'fortgeschrittene_physik'
1392
+ # ======================================================================= #
1393
+ # === bioelektrochemie
1394
+ # ======================================================================= #
1395
+ when '54','bioelektrochemie','bioele','bioelek',
1396
+ 'echem'
1397
+ 'bioelektrochemie'
1398
+ # ======================================================================= #
1399
+ # === advanced_biotechnology
1400
+ # ======================================================================= #
1401
+ when '55','biotech2',/^advanced(_|-)?biotechnology$/,
1402
+ 'advancedbiotechnology','advanced biotechnology',
1403
+ 'bech2','biotechnology2'
1404
+ 'advanced_biotechnology'
1405
+ # ======================================================================= #
1406
+ # === epigenetik
1407
+ # ======================================================================= #
1408
+ when '56','epigenetik','epi','epigenetics',
1409
+ /epigen/ # <-- This should suffice for now.
1410
+ 'epigenetik'
1411
+ # ======================================================================= #
1412
+ # === bioanalytik
1413
+ # ======================================================================= #
1414
+ when '57',
1415
+ 'bioanalytik',
1416
+ 'bioana',
1417
+ 'bioanalytics',
1418
+ 'bioanalytic',
1419
+ /^bioanalytik(_|-)?und(_|-)?biosensoren$/
1420
+ 'bioanalytik_und_biosensoren'
1421
+ # ======================================================================= #
1422
+ # === genomics
1423
+ # ======================================================================= #
1424
+ when '58','genomics','genomik','genome','genom',
1425
+ 'genomes','metagenomics',
1426
+ /^genomics(_|-)?and(_|-)?metagenomics$/,
1427
+ /^genomik(_|-)?und(_|-)?metagenomik$/
1428
+ 'genomics_and_metagenomics'
1429
+ # ======================================================================= #
1430
+ # === clinical_microbiology
1431
+ # ======================================================================= #
1432
+ when '59','clinical_microbiology','clinicalbac','clinical_micro',
1433
+ 'clinicalmicrobiology','clinical',
1434
+ 'clinic','clinical microbiology',
1435
+ 'clini','clinci',
1436
+ 'clinical_microscopy',
1437
+ /^clinical(_|-)?microbiologie\??$/i
1438
+ 'clinical_microbiology'
1439
+ # ======================================================================= #
1440
+ # === mikrobielle_physiologie
1441
+ # ======================================================================= #
1442
+ when '60',
1443
+ /^mikrobielle_?physiologie/i,
1444
+ 'mikphysio','mikphysiologie',
1445
+ 'mphysio',
1446
+ 'molekulare_physiologie_industrieller_mikroorganismen',
1447
+ 'molekulare_physiologie','molphysio',
1448
+ 'molekularephysiologieindustriellermikroorganismen',
1449
+ 'molekulare physiologie industrieller mikroorganismen',
1450
+ 'mikphys',
1451
+ 'mpyhs',
1452
+ 'mphys',
1453
+ 'mphysiologie'
1454
+ 'mikrobielle_physiologie'
1455
+ # ======================================================================= #
1456
+ # === molekulare_medizin
1457
+ # ======================================================================= #
1458
+ when '61','molekulare_medizin','molekulare medizin',
1459
+ 'molmed',
1460
+ 'molmed1',
1461
+ 'molekularemedizin',
1462
+ 'molmed2'
1463
+ 'molekulare_medizin'
1464
+ # ======================================================================= #
1465
+ # === evolution
1466
+ # ======================================================================= #
1467
+ when '62','evolution','evo','eov',
1468
+ 'ev',
1469
+ /^evolution(_|-)?and(_|-)?evolutionary(_|-)?genetics$/i,
1470
+ /^qaevo\??$/i
1471
+ 'evolution_and_evolutionary_genetics'
1472
+ # ======================================================================= #
1473
+ # === artificial_intelligence
1474
+ # ======================================================================= #
1475
+ when '63',
1476
+ /^artificial$/i,
1477
+ /^artificial(_|-)?intelligence\??$/i,
1478
+ /^AI$/i
1479
+ 'artificial_intelligence'
1480
+ # ======================================================================= #
1481
+ # === ethik
1482
+ # ======================================================================= #
1483
+ when '64',
1484
+ 'ethik',
1485
+ 'ethics',
1486
+ 'ethic',
1487
+ 'umweltethik',
1488
+ 'bioethik'
1489
+ 'ethik'
1490
+ # ======================================================================= #
1491
+ # === hygiene
1492
+ # ======================================================================= #
1493
+ when '65',
1494
+ 'hygiene',
1495
+ 'hyg',
1496
+ 'hyge',
1497
+ 'hy'
1498
+ 'hygiene'
1499
+ # ======================================================================= #
1500
+ # === rna
1501
+ # ======================================================================= #
1502
+ when '66','rna','dna','rna_and_dna','rna and dna',
1503
+ 'rnaanddna',/^mRNA$/i,
1504
+ /^qarna\??$/i,
1505
+ /^dna(_|-)?und(_|-)?rna$/i
1506
+ 'rna_and_dna'
1507
+ # ======================================================================= #
1508
+ # === research_topics_in_immunobiology
1509
+ # ======================================================================= #
1510
+ when '67','research_topics_in_immunobiology',
1511
+ 'research_topics_in_immunbiology',
1512
+ 'researchtopicsinimmunobiology','research',
1513
+ 'research topics in immunobiology',
1514
+ /^research(_|-)?topics$/i
1515
+ 'research_topics_in_immunobiology'
1516
+ # ======================================================================= #
1517
+ # === fungi
1518
+ # ======================================================================= #
1519
+ when '68',
1520
+ 'fungi',
1521
+ 'pilz',
1522
+ 'pilze',
1523
+ 'fungus'
1524
+ 'fungi'
1525
+ # ======================================================================= #
1526
+ # === prok
1527
+ # ======================================================================= #
1528
+ when '69',
1529
+ 'prokaryotes',
1530
+ 'prokarya',
1531
+ 'prokaryote_genetics',
1532
+ 'prokaryotegenetics',
1533
+ 'bac',
1534
+ 'prok',
1535
+ 'prokaryote genetics',
1536
+ 'ecoli',
1537
+ 'pgenetics',
1538
+ 'prokaroytic_genetics',
1539
+ /^prokaryote(_|-)?genetics$/i,
1540
+ /^qaprok\??$/i
1541
+ 'prokaryote_genetics'
1542
+ # ======================================================================= #
1543
+ # === wissenschaft
1544
+ # ======================================================================= #
1545
+ when '70','wissenschaft','science','sci'
1546
+ 'wissenschaft'
1547
+ # ======================================================================= #
1548
+ # === anthropologie
1549
+ # ======================================================================= #
1550
+ when '71','anthropologie','anthro','ant','an'
1551
+ 'anthropologie'
1552
+ # ======================================================================= #
1553
+ # === fortgeschrittene_gentechnik
1554
+ # ======================================================================= #
1555
+ when '72',
1556
+ 'gentech2',
1557
+ 'gentechnik2',
1558
+ 'fortgeschrittene_gentechnik',
1559
+ 'fortgeschrittenegentechnik',
1560
+ 'fortgeschrittene gentechnik',
1561
+ 'methoden'
1562
+ 'fortgeschrittene_gentechnik'
1563
+ # ======================================================================= #
1564
+ # === fortgeschrittene_genetik
1565
+ # ======================================================================= #
1566
+ when '73',
1567
+ 'amg2',
1568
+ 'fortgeschrittene_genetik',
1569
+ 'mg2',
1570
+ 'fortgeschrittenegenetik',
1571
+ 'fortgeschrittene genetik',
1572
+ 'genetics2',
1573
+ 'dna2',
1574
+ 'am2',
1575
+ 'agm2'
1576
+ 'fortgeschrittene_genetik'
1577
+ # ======================================================================= #
1578
+ # === pcr
1579
+ # ======================================================================= #
1580
+ when '74','pcr'
1581
+ 'pcr'
1582
+ # ======================================================================= #
1583
+ # === sex
1584
+ # ======================================================================= #
1585
+ when '75','sex','fortpflanzung','sexualbiologie'
1586
+ 'sexualbiologie'
1587
+ # ======================================================================= #
1588
+ # === populationsgenetik
1589
+ # ======================================================================= #
1590
+ when '76','populationsgenetik','popgen','evolutionsgenetik',
1591
+ 'population',
1592
+ 'population_genetics'
1593
+ 'populationsgenetik'
1594
+ # ======================================================================= #
1595
+ # === ökogenetik
1596
+ # ======================================================================= #
1597
+ when '77','ökogenetik','ökogen','ecogen','ecogenetics',
1598
+ 'ECOGENETICS','Ökogenetik'
1599
+ 'ecogenetics'
1600
+ # ======================================================================= #
1601
+ # === pathologie
1602
+ # ======================================================================= #
1603
+ when '78','pathologie','patho','pathos','PATHOLOGIE',
1604
+ 'pathology','pathophysio','pathophysiologie',
1605
+ /^qapatho\??$/i
1606
+ 'pathologie'
1607
+ # ======================================================================= #
1608
+ # === allergie
1609
+ # ======================================================================= #
1610
+ when '79','allergie','allergy','allergien','allergen',
1611
+ 'allergies'
1612
+ 'allergie'
1613
+ # ======================================================================= #
1614
+ # === structural_biology
1615
+ # ======================================================================= #
1616
+ when '80','proteinstruktur','struktur','strukturbiologie',
1617
+ 'strukturbio','strukt','struct','struk',
1618
+ 'strubi',
1619
+ 'struktbio',
1620
+ 'strubio',
1621
+ 'strub',
1622
+ /^structure\??$/i,
1623
+ /^structural(_|-)?biology/,
1624
+ /^struktur(_|-)?biologie\??$/i
1625
+ 'strukturbiologie'
1626
+ # ======================================================================= #
1627
+ # === chemisches_labor
1628
+ # ======================================================================= #
1629
+ when '81',
1630
+ /^chemisches(_|-)?labor$/i,
1631
+ 'labor','chemisches labor',
1632
+ 'chemlabor','chemlabor?',
1633
+ 'safety'
1634
+ 'chemisches_labor'
1635
+ # ======================================================================= #
1636
+ # === theoretische_chemie
1637
+ # ======================================================================= #
1638
+ when '82','theoretische_chemie','theoretische chemie labor',
1639
+ 'theoretischechemie','theoretische chemie',
1640
+ 'theochem'
1641
+ 'theoretische_chemie'
1642
+ # ======================================================================= #
1643
+ # === plant_biotechnology
1644
+ # ======================================================================= #
1645
+ when '83','plant_biotech','plant_biotechnology',
1646
+ 'plant biotechnology','plantbiotechnology',
1647
+ 'pbtech','pbio',
1648
+ 'plantbiotech',
1649
+ /^pflanzen(_|-)?biotech$/i
1650
+ 'plant_biotechnology'
1651
+ # ======================================================================= #
1652
+ # === bodenkunde
1653
+ # ======================================================================= #
1654
+ when '84','boden','bodenkunde','bodne'
1655
+ 'bodenkunde'
1656
+ # ======================================================================= #
1657
+ # === advanced_virology
1658
+ # ======================================================================= #
1659
+ when '85',/advanced_?virology/,
1660
+ 'vir2','virology2',
1661
+ 'large_viruses','largeviruses','large viruses',
1662
+ 'virus2'
1663
+ 'advanced_virology'
1664
+ # ======================================================================= #
1665
+ # === microbial_ecology
1666
+ # ======================================================================= #
1667
+ when '86','microbial_ecology','miceco','mikrobielleökologie',
1668
+ 'mikrobielle ökologie','mikrobielle Ökologie',
1669
+ 'microbialecology','mikrobielleÖkologie',
1670
+ 'microbial ecology','meco'
1671
+ 'microbial_ecology'
1672
+ # ======================================================================= #
1673
+ # === metabolismus
1674
+ # ======================================================================= #
1675
+ when '87','metabolismus','met','meta','metabolism',
1676
+ /^metabolismus\??$/i
1677
+ 'metabolismus'
1678
+ # ======================================================================= #
1679
+ # === the_cellcycle
1680
+ # ======================================================================= #
1681
+ when '88','cellcycle','cellcyc','cycle?','the_cellcycle',
1682
+ 'the cellcyle','thecellcycle','thecellcyle',
1683
+ 'the cellcycle',
1684
+ /^cycle$/i,
1685
+ /^the(_|-)?cell(_|-)?cycle$/i
1686
+ 'the_cellcycle'
1687
+ # ======================================================================= #
1688
+ # === bioressourcenmanagement
1689
+ # ======================================================================= #
1690
+ when '89','bioressourcenmanagement','ubrm','UBRM',
1691
+ 'ubr','ubm','bioress','bioressourcen'
1692
+ 'bioressourcenmanagement'
1693
+ # ======================================================================= #
1694
+ # === technische_ökologie
1695
+ # ======================================================================= #
1696
+ when '90','technical_ecology','technische_ökologie',
1697
+ 'technische ökologie','tueco','technischeÖkologie',
1698
+ 'technische Ökologie','technicalecology','technical ecology',
1699
+ 'nachhaltigkeit'
1700
+ 'technical_ecology'
1701
+ # ======================================================================= #
1702
+ # === agrarökologie
1703
+ # ======================================================================= #
1704
+ when '91','agrarökologie','agrar','agrarwissenschaften',
1705
+ 'agrarwissenschaft','agrarÖkologie','agrar_ecology',
1706
+ 'agraröko','agrarecology','agrar ecology'
1707
+ 'agrar_ecology'
1708
+ # ======================================================================= #
1709
+ # === anatomie
1710
+ # ======================================================================= #
1711
+ when '92','anatomie','anatomy','anat','anatom'
1712
+ 'anatomie'
1713
+ # ======================================================================= #
1714
+ # === obst_und_weinbau
1715
+ # ======================================================================= #
1716
+ when '93','obst','obstbau',
1717
+ 'obst_und_weinbau','obst und weinbau',
1718
+ 'obstundweinbau'
1719
+ 'obstbau'
1720
+ # ======================================================================= #
1721
+ # === veterinärmedizin
1722
+ # ======================================================================= #
1723
+ when '94','vetmed','vet','veterinarymedicine',
1724
+ 'veterinärmedizin','veterinary medicine',
1725
+ 'veterinary_medicine'
1726
+ 'veterinary_medicine'
1727
+ # ======================================================================= #
1728
+ # === advanced_chemistry
1729
+ # ======================================================================= #
1730
+ when '95','chemie2','advanced_chemistry','advancedchemistry',
1731
+ 'basicchemistry','chemistry2','chem2','ch2m',
1732
+ 'advanced chemistry'
1733
+ 'advanced_chemistry'
1734
+ # ======================================================================= #
1735
+ # === landtechnik
1736
+ # ======================================================================= #
1737
+ when '96','landtechnik','grundlagenderlandtechnik'
1738
+ 'landtechnik'
1739
+ # ======================================================================= #
1740
+ # === agrarmärkte
1741
+ # ======================================================================= #
1742
+ when '97',
1743
+ 'agrarmärkte',
1744
+ 'agrarmarkt',
1745
+ 'agrarm',
1746
+ 'agrarmarkte'
1747
+ 'agrarmarkt'
1748
+ # ======================================================================= #
1749
+ # === agrarphysik
1750
+ # ======================================================================= #
1751
+ when '98','agrarphysik'
1752
+ 'agrarphysik'
1753
+ # ======================================================================= #
1754
+ # === humanökologie
1755
+ # ======================================================================= #
1756
+ when '99','humanökologie','humaneco','humanecology',
1757
+ 'human ecology','human_ecology'
1758
+ 'human_ecology'
1759
+ # ======================================================================= #
1760
+ # === quality_management
1761
+ # ======================================================================= #
1762
+ when '100',/^quality(_|-)?management$/,
1763
+ 'quality management','quality','qual',
1764
+ 'management',
1765
+ 'qman'
1766
+ 'quality_management'
1767
+ # ======================================================================= #
1768
+ # === translational_control
1769
+ # ======================================================================= #
1770
+ when '101','translational_control','transcon',
1771
+ 'translationalcontrol','transcon?',
1772
+ 'translational control',
1773
+ 'translation',
1774
+ /^translation_?ribosomes_?and_?translational_?control$/,
1775
+ /^ribosomes?$/i
1776
+ 'translation_ribosomes_and_translational_control'
1777
+ # ======================================================================= #
1778
+ # === audio
1779
+ # ======================================================================= #
1780
+ when '102','audio','audio?'
1781
+ 'audio'
1782
+ # ======================================================================= #
1783
+ # === umweltbiotechnologie
1784
+ # ======================================================================= #
1785
+ when '103','umweltbio','umweltbiotechnologie','umweltbiotech',
1786
+ 'ubiotech'
1787
+ 'umweltbiotechnologie'
1788
+ # ======================================================================= #
1789
+ # === posttranslationale_modifikation_von_proteinen
1790
+ # ======================================================================= #
1791
+ when '104','posttrans','posttranslational','genex2','post',
1792
+ 'posttranslationalemodifikationvonproteinen','ptm',
1793
+ 'ptm?','posttranslationale modifikation von proteinen',
1794
+ 'posttranslationale_modifikation_von_proteinen',
1795
+ 'ptms','PTMs',
1796
+ /^posttranslationale(_|-)?modifi\??$/i,
1797
+ /^posttranslational(_|-)?modification(_|-)?of(_|-)?_proteins$/i
1798
+ 'posttranslationale_modifikation_von_proteinen'
1799
+ # ======================================================================= #
1800
+ # === bodenmikrobiologie
1801
+ # ======================================================================= #
1802
+ when '105','bodenmikrobiologie','boden_mikrobiologie',
1803
+ 'soil_biology',
1804
+ 'soil_microbiology'
1805
+ 'bodenmikrobiologie'
1806
+ # ======================================================================= #
1807
+ # === pflanzenschutz
1808
+ # ======================================================================= #
1809
+ when '106','pflanzenschutz','pflanzenschutz?','pschutz'
1810
+ 'pflanzenschutz'
1811
+ # ======================================================================= #
1812
+ # === stammzellen
1813
+ # ======================================================================= #
1814
+ when '107','stem','ste','stem_cells','stemcells',
1815
+ 'stammzellen','stamm','stem_cells?','stemcell'
1816
+ 'stemcells'
1817
+ # ======================================================================= #
1818
+ # === plant_breeding
1819
+ # ======================================================================= #
1820
+ when '108','pflanzenzüchtung','pflanzenzuechtung',
1821
+ 'plant_breeding','plant_zucht','pflanzenzÜchtung',
1822
+ 'pflanzenzucht','pzucht',/plant_?breeding/
1823
+ 'plant_breeding'
1824
+ # ======================================================================= #
1825
+ # === insects
1826
+ # ======================================================================= #
1827
+ when '109','insects','insekten','insect','ins',
1828
+ 'schmetterlinge','schmetterling'
1829
+ 'insekten'
1830
+ # ======================================================================= #
1831
+ # === mikroskopie
1832
+ # ======================================================================= #
1833
+ when '110','microscope','mikros','mikroskop','mikroskope',
1834
+ 'mscope','mikroskopie','microscop','microscopy',
1835
+ 'mopy','moby',
1836
+ 'imaging',
1837
+ /^imaging(_|-)?and(_|-)?microscopy$/i,
1838
+ /^imaging\??$/i
1839
+ 'imaging_and_microscopy'
1840
+ # ======================================================================= #
1841
+ # === aminoacids
1842
+ # ======================================================================= #
1843
+ when '111','aminoacids','aminosäuren','aminoacid',
1844
+ 'amino_acids','Amino Acids','aa','amino',
1845
+ 'amino acids',
1846
+ /^aminoacids\??$/i
1847
+ 'aminoacids'
1848
+ # ======================================================================= #
1849
+ # === enzymes
1850
+ # ======================================================================= #
1851
+ when '112','enzymes','enzyme','enzym','ee','Enzymes',
1852
+ 'enz','ezn',
1853
+ /^enzymes(_|-)?and(_|-)?cofactors\??$/i
1854
+ 'enzymes_and_cofactors'
1855
+ # ======================================================================= #
1856
+ # === proteomik
1857
+ # ======================================================================= #
1858
+ when '113','proteomik','proteomic','proteomics',
1859
+ 'proteome','proteom'
1860
+ 'proteomik'
1861
+ # ======================================================================= #
1862
+ # === advanced_microbiology
1863
+ # ======================================================================= #
1864
+ when '114','schäffer_mikrobiologie','schäffermikrobiologie',
1865
+ 'schäffer mikrobiologie','schäffer','schäff','schäffer?',
1866
+ 'schÄffermikrobiologie','advanced_microbiology',
1867
+ 'advancedmicrobiology','advanced microbiology',
1868
+ 'amm2',
1869
+ 'mikrobiologie2',
1870
+ /^microbiology2\??$/i
1871
+ 'advanced_microbiology'
1872
+ # ======================================================================= #
1873
+ # === plant_anatomy
1874
+ # ======================================================================= #
1875
+ when '115','pflanzenanatomie','plant_anatomy?','panatomy',
1876
+ 'plantanatomy?','plant_anatomy','plantanatomy',
1877
+ 'panatomie','pflanzenphysiologie','plantphysiologie',
1878
+ 'ab2anatomie','plantanatomie',
1879
+ 'panatome'
1880
+ 'pflanzenanatomie'
1881
+ # ======================================================================= #
1882
+ # === antibodies_and_antigens
1883
+ # ======================================================================= #
1884
+ when '116','antibodies','anti','antibody',
1885
+ /^abody?$/i,
1886
+ 'body',
1887
+ 'antikörper','antigens',
1888
+ /^antibodies(_|-)?and(_|-)?antigens$/i,
1889
+ /^antigens\??$/i,
1890
+ /^antibodies\??$/i,
1891
+ 'abodies'
1892
+ 'antibodies_and_antigens'
1893
+ # ======================================================================= #
1894
+ # === molecular_biology_of_plants
1895
+ # ======================================================================= #
1896
+ when '117','molecular_biology_of_plant','molecular_biology_of_plants',
1897
+ 'molecularbiologyofplants','molplants?','molplants',
1898
+ 'plantmol?','plantmol','molecular biology of plants'
1899
+ 'molecular_biology_of_plants'
1900
+ # ======================================================================= #
1901
+ # === lebensmitteltechnologie
1902
+ # ======================================================================= #
1903
+ when '118','lebensmitteltechnologie'
1904
+ 'lebensmitteltechnologie'
1905
+ # ======================================================================= #
1906
+ # === advanced_cell_biology
1907
+ # ======================================================================= #
1908
+ when '119','advanced_cell_biology','advancedcellbiology',
1909
+ 'cell2','advanced cellbiology','advanced_cellbiology',
1910
+ 'cellbiology2',
1911
+ 'cellbio2'
1912
+ 'advanced_cellbiology'
1913
+ # ======================================================================= #
1914
+ # === insulin
1915
+ # ======================================================================= #
1916
+ when '120','insulin','insuline','insulin?','diabetes',
1917
+ /^insulin(_|-)?and(_|-)?diabetes$/
1918
+ 'insulin_and_diabetes'
1919
+ # ======================================================================= #
1920
+ # === microarray
1921
+ # ======================================================================= #
1922
+ when '121','microarray','microarrays','biochips','biochip'
1923
+ 'biochips'
1924
+ # ======================================================================= #
1925
+ # === rna_seq
1926
+ # ======================================================================= #
1927
+ when '122','rnaseq','rna_seq','rna_seq?','rna seq'
1928
+ 'rna_seq'
1929
+ # ======================================================================= #
1930
+ # === innate_immunity
1931
+ # ======================================================================= #
1932
+ when '123','innate','innate_immunity','innateimmunity',
1933
+ 'innate_immunity?','innateimmunity?'
1934
+ 'innate_immunity'
1935
+ # ======================================================================= #
1936
+ # === psychologie
1937
+ # ======================================================================= #
1938
+ when '124','psychologie','psychology'
1939
+ 'psychologie'
1940
+ # ======================================================================= #
1941
+ # === genetische_krankheiten
1942
+ # ======================================================================= #
1943
+ when '125','genetische_krankheiten','genetischekrankheiten',
1944
+ 'genetic_diseases','geneticdiseases','genetic_disease',
1945
+ 'gendisease','disease','digene','disgene','gendis',
1946
+ 'geneticdisease'
1947
+ 'genetische_krankheiten'
1948
+ # ======================================================================= #
1949
+ # === hormone
1950
+ # ======================================================================= #
1951
+ when '126','hormone','hormon','hormones','hor'
1952
+ 'hormone'
1953
+ # ======================================================================= #
1954
+ # === systematische_zoologie
1955
+ # ======================================================================= #
1956
+ when '127','systematische_zoologie','syszoo','sys_zoo',
1957
+ 'szoo','syszo','sysz',
1958
+ 'syzoo'
1959
+ 'systematische_zoologie'
1960
+ # ======================================================================= #
1961
+ # === betriebssysteme
1962
+ # ======================================================================= #
1963
+ when '128',
1964
+ /^betriebssysteme?$/i,
1965
+ /^OS\??$/i,
1966
+ /^operating(_|-)?systems?$/i
1967
+ 'betriebssysteme'
1968
+ # ======================================================================= #
1969
+ # === informatik
1970
+ # ======================================================================= #
1971
+ when '129','informatik','informatics',
1972
+ 'informatic',
1973
+ /^qainf\??$/i
1974
+ 'informatik'
1975
+ # ======================================================================= #
1976
+ # === c_programming
1977
+ # ======================================================================= #
1978
+ when '130','c','c_programming','the_c_programming_language',
1979
+ 'cprog',
1980
+ 'cprogramming',
1981
+ /^qaC\??$/i
1982
+ 'the_c_programming_language'
1983
+ # ======================================================================= #
1984
+ # === abfall
1985
+ # ======================================================================= #
1986
+ when '131','abfall','abfall_als_ressource'
1987
+ 'abfall_als_ressource'
1988
+ # ======================================================================= #
1989
+ # === fish
1990
+ # ======================================================================= #
1991
+ when '132','fish'
1992
+ 'fish'
1993
+ # ======================================================================= #
1994
+ # === ruby_on_rails
1995
+ # ======================================================================= #
1996
+ when '133','ruby_on_rails','ror','rubyonrails',
1997
+ 'ruby-on-rails',
1998
+ /rails$/
1999
+ 'ruby_on_rails'
2000
+ # ======================================================================= #
2001
+ # === chemische_technologie_anorganischer_stoff
2002
+ # ======================================================================= #
2003
+ when '134','chemische_technologie_anorganischer_stoffe',
2004
+ 'chemtech','chemt',/chemische_technologie/,
2005
+ 'materialkunde','material_sciences'
2006
+ 'chemische_technologie_anorganischer_stoffe'
2007
+ # ======================================================================= #
2008
+ # === biophysik
2009
+ # ======================================================================= #
2010
+ when '135',
2011
+ /^biophysik$/,
2012
+ /^biophysics?$/i
2013
+ 'biophysik'
2014
+ # ======================================================================= #
2015
+ # === pflanzenbau
2016
+ # ======================================================================= #
2017
+ when '136',/pflanzenba?u?/,'pbau'
2018
+ 'pflanzenbau'
2019
+ # ======================================================================= #
2020
+ # === plant_development
2021
+ # ======================================================================= #
2022
+ when '137',/^plant(_|-)?development$/,/plant_?dev\??/,
2023
+ 'pdev',
2024
+ /^devbio(_|-)?plants$/i
2025
+ 'plant_development'
2026
+ # ======================================================================= #
2027
+ # === glykomik
2028
+ # ======================================================================= #
2029
+ when '138',
2030
+ /^-?-?glykomik/,
2031
+ /^-?-?sugar/,
2032
+ 'zucker'
2033
+ 'glykomik'
2034
+ # ======================================================================= #
2035
+ # === Grünlandbewirtschaftung
2036
+ # ======================================================================= #
2037
+ when '139',
2038
+ /^Grünlandbewirtschaftung$/i,
2039
+ /^grassland(_|-)?cultivation$/,
2040
+ /^grünlandwirtschaft$/i,
2041
+ 'grün',
2042
+ 'grünland'
2043
+ 'grassland_cultivation'
2044
+ # ======================================================================= #
2045
+ # === ökologische_landwirtschaft
2046
+ # ======================================================================= #
2047
+ when '140',/^Ökologische ?Landwirtschaft$/i,'ökoland',
2048
+ 'ökologische_landwirtschaft',
2049
+ /ecological_?agriculture/
2050
+ 'ecological_agriculture'
2051
+ # ======================================================================= #
2052
+ # === the_european_union
2053
+ # ======================================================================= #
2054
+ when '141',/the_?european_?union/i,'european_union',
2055
+ 'europeanunion','eu?',
2056
+ 'eu',
2057
+ /^the(_|-)?eu$/
2058
+ 'the_european_union'
2059
+ # ======================================================================= #
2060
+ # === lipids
2061
+ # ======================================================================= #
2062
+ when '142','lipids','lipid','fett'
2063
+ 'lipids'
2064
+ # ======================================================================= #
2065
+ # === nucleotide_sequencing
2066
+ # ======================================================================= #
2067
+ when '143',/nucleotide_?sequencing/,'sequencing',
2068
+ 'sequenzierung','nucleotideseq','seq2',
2069
+ 'nusequencing'
2070
+ 'nucleotide_sequencing'
2071
+ # ======================================================================= #
2072
+ # === databases
2073
+ # ======================================================================= #
2074
+ when '144',
2075
+ /^databases\??$/i,
2076
+ /^datenbanken\??$/i,
2077
+ /^databases(_|-)?and(_|-)?sql$/,
2078
+ /database/,
2079
+ /^qasql\??$/,
2080
+ 'datenbank',
2081
+ /^sql$/i
2082
+ 'databases_and_sql'
2083
+ # ======================================================================= #
2084
+ # === tierzucht
2085
+ # ======================================================================= #
2086
+ when '145','tierzucht'
2087
+ 'tierzucht'
2088
+ # ======================================================================= #
2089
+ # === biological_therapeutics
2090
+ # ======================================================================= #
2091
+ when '146',/^biological(_|-)?therapeutics$/i,
2092
+ 'biologics','biologica','biologika','ther',
2093
+ 'therapeutics','thera',
2094
+ 'biothera',
2095
+ 'kunert'
2096
+ 'biological_therapeutics'
2097
+ # ======================================================================= #
2098
+ # === forstwirtschaft
2099
+ # ======================================================================= #
2100
+ when '147',/forstwirtschaft/i,'forst?','forst'
2101
+ 'forstwirtschaft'
2102
+ # ======================================================================= #
2103
+ # === alcohols
2104
+ # ======================================================================= #
2105
+ when '148','alcohols','alcohol','alkohol','alk'
2106
+ 'alcohols'
2107
+ # ======================================================================= #
2108
+ # === klima
2109
+ # ======================================================================= #
2110
+ when '149','klima'
2111
+ 'klima'
2112
+ # ======================================================================= #
2113
+ # === elektrotechnik
2114
+ # ======================================================================= #
2115
+ when '150','elektrotechnik'
2116
+ 'elektrotechnik'
2117
+ # ======================================================================= #
2118
+ # === weinbau
2119
+ # ======================================================================= #
2120
+ when '151','weinbau','wein'
2121
+ 'weinbau'
2122
+ # ======================================================================= #
2123
+ # === technische_grundlagen_der_informatik
2124
+ # ======================================================================= #
2125
+ when '152','technische_grundlagen_der_informatik'
2126
+ 'technische_grundlagen_der_informatik'
2127
+ # ======================================================================= #
2128
+ # === c++
2129
+ # ======================================================================= #
2130
+ when '153','c++','the_c_plus_plus_programming_language',
2131
+ 'cpp','cepp',
2132
+ 'qacpp',
2133
+ /^qaCpp\??$/i,
2134
+ /^qaC\+\+\??$/i
2135
+ 'the_c_plus_plus_programming_language'
2136
+ # ======================================================================= #
2137
+ # === semisynthese
2138
+ # ======================================================================= #
2139
+ when '154','semisynthese','semisynthese_proteinen','semisynth','semi',
2140
+ 'semisynthese_von_proteinen',
2141
+ /^semisynthese(_|-)?von(_|-)?proteinen(_|-)?und(_|-)?nukleotiden$/
2142
+ 'semisynthese_von_proteinen_und_nukleotiden'
2143
+ # ======================================================================= #
2144
+ # === biomaterials
2145
+ # ======================================================================= #
2146
+ when '155','biomaterials','biomaterial','biomat','biom'
2147
+ 'biomaterials'
2148
+ # ======================================================================= #
2149
+ # === naturschutz
2150
+ # ======================================================================= #
2151
+ when '156','naturschutz','natur',
2152
+ 'nature',
2153
+ /^nature(_|-)?conservation(_|-)?and(_|-)?biodiversity(_|-)?$/i
2154
+ 'nature_conservation_and_biodiversity'
2155
+ # ======================================================================= #
2156
+ # === biomembranes
2157
+ # ======================================================================= #
2158
+ when '157','biomembranes','biomembrane',
2159
+ /^membranes?$/
2160
+ 'biomembranes'
2161
+ # ======================================================================= #
2162
+ # === vitamine
2163
+ # ======================================================================= #
2164
+ when '158','vitamine','vitamin','vitamins','vitamines'
2165
+ 'vitamine'
2166
+ # ======================================================================= #
2167
+ # === python
2168
+ # ======================================================================= #
2169
+ when '159','python','pthon','pytho','pyhton',
2170
+ 'pythn','qapy','qapy?',
2171
+ 'qpay',
2172
+ /^qapython\??$/i
2173
+ 'python'
2174
+ # ======================================================================= #
2175
+ # === archaea
2176
+ # ======================================================================= #
2177
+ when '160','archaea'
2178
+ 'archaea'
2179
+ # ======================================================================= #
2180
+ # === cyanobacteria
2181
+ # ======================================================================= #
2182
+ when '161','cyanobacteria','cyano'
2183
+ 'cyanobacteria'
2184
+ # ======================================================================= #
2185
+ # === naturstoffe
2186
+ # ======================================================================= #
2187
+ when '162','naturstoffe'
2188
+ 'naturstoffe'
2189
+ # ======================================================================= #
2190
+ # === biopolymers
2191
+ # ======================================================================= #
2192
+ when '163','biopolymers','biopolymer'
2193
+ 'biopolymers'
2194
+ # ======================================================================= #
2195
+ # === bionik
2196
+ # ======================================================================= #
2197
+ when '164','bionik'
2198
+ 'bionik'
2199
+ # ======================================================================= #
2200
+ # === urbanism
2201
+ # ======================================================================= #
2202
+ when '165','urbanism',/^urbanism(_|-)?and(_|-)?traffic$/
2203
+ 'urbanism_and_traffic'
2204
+ # ======================================================================= #
2205
+ # === vaccination
2206
+ # ======================================================================= #
2207
+ when '166','vaccination',
2208
+ 'vaccine','vaccines','vacca','vakzin',
2209
+ 'vacine',
2210
+ 'vacc',
2211
+ /^vaccines(_|-)?and(_|-)?vaccination$/,
2212
+ 'vakzine',
2213
+ /^antigene\??$/
2214
+ 'vaccines_and_vaccination'
2215
+ # ======================================================================= #
2216
+ # === crispr
2217
+ # ======================================================================= #
2218
+ when '167','crispr','crisp'
2219
+ 'crispr'
2220
+ # ======================================================================= #
2221
+ # === java
2222
+ # ======================================================================= #
2223
+ when '168','java','qajava',
2224
+ /^qjava\??$/i
2225
+ 'java'
2226
+ # ======================================================================= #
2227
+ # === yeast
2228
+ # ======================================================================= #
2229
+ when '169','yeast','ye'
2230
+ 'yeast'
2231
+ # ======================================================================= #
2232
+ # === ruby
2233
+ # ======================================================================= #
2234
+ when '170','ruby',
2235
+ /^qaruby\??$/i
2236
+ 'ruby'
2237
+ # ======================================================================= #
2238
+ # === technisches_zeichnen
2239
+ # ======================================================================= #
2240
+ when '171','technisches_zeichnen','CAD','cad'
2241
+ 'technisches_zeichnen'
2242
+ # ======================================================================= #
2243
+ # === prozesstechnik
2244
+ # ======================================================================= #
2245
+ when '172','prozesstechnik','prozesstechnologie',
2246
+ 'prozesskunde','prozess','prozess?'
2247
+ 'prozesstechnik'
2248
+ # ======================================================================= #
2249
+ # === glykolyse
2250
+ # ======================================================================= #
2251
+ when '173',
2252
+ 'glykolyse',
2253
+ 'glycolysis',
2254
+ 'glycolyse',
2255
+ 'gly',
2256
+ 'glyk',
2257
+ 'gl',
2258
+ 'glyc',
2259
+ 'glyco',
2260
+ 'glyko',
2261
+ /^glycolysis\??$/i
2262
+ 'glycolysis'
2263
+ # ======================================================================= #
2264
+ # === rnai
2265
+ # ======================================================================= #
2266
+ when '174',
2267
+ /^RNAi$/i,
2268
+ /^miRNA$/i,
2269
+ /^siRNA$/i,
2270
+ /^RNAi(_|-)?siRNA(_|-)?and(_|-)?miRNA$/i
2271
+ 'RNAi_siRNA_and_miRNA'
2272
+ # ======================================================================= #
2273
+ # === mikrobielle_lebensgemeinschaften
2274
+ # ======================================================================= #
2275
+ when '175',/^mikrobielle_?lebensgemeinschaften$/i,
2276
+ 'mikrob_lebensgemeinschaften',
2277
+ 'mikb'
2278
+ 'mikrobielle_lebensgemeinschaften'
2279
+ # ======================================================================= #
2280
+ # === theoretische_informatik
2281
+ # ======================================================================= #
2282
+ when '176',/^theoretische(_|-)?informatik\??$/i,
2283
+ 'theore',
2284
+ 'theoinf',/^theo(_|-)?inf/i,
2285
+ 'tinf'
2286
+ 'theoretische_informatik'
2287
+ # ======================================================================= #
2288
+ # === algorithms
2289
+ # ======================================================================= #
2290
+ when '177',/algorithms/,'algo','algorithm',
2291
+ 'algorithmus',
2292
+ 'alg'
2293
+ 'algorithms'
2294
+ # ======================================================================= #
2295
+ # === javascript
2296
+ # ======================================================================= #
2297
+ when '178','javascript'
2298
+ 'javascript'
2299
+ # ======================================================================= #
2300
+ # === elektronenmikroskopie
2301
+ # ======================================================================= #
2302
+ when '179',
2303
+ 'elektronenmikroskopie',
2304
+ 'emopy',
2305
+ 'tem'
2306
+ 'elektronenmikroskopie'
2307
+ # ======================================================================= #
2308
+ # === bauwesen
2309
+ # ======================================================================= #
2310
+ when '180','bauwesen'
2311
+ 'bauwesen'
2312
+ # ======================================================================= #
2313
+ # === system_biology
2314
+ # ======================================================================= #
2315
+ when '181',
2316
+ /^system(_|-)?biology$/,
2317
+ 'system',
2318
+ 'sysbio',
2319
+ 'systemb',
2320
+ 'sysbi',
2321
+ 'systembio',
2322
+ 'systembio?',
2323
+ /^systems(_|-)?biology/i,
2324
+ /^system(_|-)?biology(_|-)?and(_|-)?synthetic(_|-)?biology$/,
2325
+ /^synth$/i,
2326
+ /^systembiologie$/i,
2327
+ /^synthetic$/i,
2328
+ /^synthetic(_|-)?biology$/i
2329
+ 'system_biology_and_synthetic_biology'
2330
+ # ======================================================================= #
2331
+ # === architektur
2332
+ # ======================================================================= #
2333
+ when '182',/^architektur$/,/^architecture$/
2334
+ 'architecture'
2335
+ # ======================================================================= #
2336
+ # === biofilms
2337
+ # ======================================================================= #
2338
+ when '183',
2339
+ 'biofilms',
2340
+ 'biofilm',
2341
+ 'biofilme'
2342
+ 'biofilms'
2343
+ # ======================================================================= #
2344
+ # === dna_replikation
2345
+ # ======================================================================= #
2346
+ when '184',/^dna(_|-)?repli(c|k)ation$/i,'replication',
2347
+ 'dnarepl',
2348
+ 'dnarep'
2349
+ 'dna_replication'
2350
+ # ======================================================================= #
2351
+ # === immunanalytik
2352
+ # ======================================================================= #
2353
+ when '185',/^immunanalyti(c|k)$/i,
2354
+ 'immunoanalytik',
2355
+ 'immunoana',
2356
+ 'immunana',
2357
+ 'immuna',
2358
+ 'immunoassay',
2359
+ /^immunoanalytics$/i
2360
+ 'immunanalytik'
2361
+ # ======================================================================= #
2362
+ # === elektrophorese
2363
+ # ======================================================================= #
2364
+ when '186',/^elektrophorese$/i,'gelelectrophoresis',
2365
+ 'gelelektrophorese','elektrophoresis','gel',
2366
+ 'sds','gele'
2367
+ 'elektrophorese'
2368
+ # ======================================================================= #
2369
+ # === endospores
2370
+ # ======================================================================= #
2371
+ when '187',/^endospores(_|-)?and(_|-)?spores$/i,
2372
+ 'endospores','spores','endo','endospore','endosporen',
2373
+ /^spore\??$/i,
2374
+ /^endospores\??$/i
2375
+ 'endospores_and_spores'
2376
+ # ======================================================================= #
2377
+ # === the_bacterial_cell_wall
2378
+ # ======================================================================= #
2379
+ when '188',/^the(_|-)?bacterial(_|-)?cell(_|-)?wall$/i,
2380
+ 'bacterial_cell_wall?',
2381
+ /^bacterial(_|-)?cell(_|-)?wall\??$/,
2382
+ /^cell(_|-)?wall$/
2383
+ 'the_bacterial_cell_wall'
2384
+ # ======================================================================= #
2385
+ # === bacteriophages
2386
+ # ======================================================================= #
2387
+ when '189','bacteriophages','phages','phagen','bakteriophagen','phage',
2388
+ 'phag','page'
2389
+ 'bacteriophages'
2390
+ # ======================================================================= #
2391
+ # === mutation
2392
+ # ======================================================================= #
2393
+ when '190','mutation',
2394
+ /^dna(_|-)?repair$/i,
2395
+ /^dna(_|-)?mutation(_|-)?and(_|-)?dna(_|-)?repair$/i,
2396
+ /^dna(_|-)?repair(_|-)?and(_|-)?dna(_|-)?mutation$/i,
2397
+ /^dna(_|-)?mutations(_|-)?and(_|-)?dna(_|-)?repair$/i,
2398
+ /^dna(_|-)?mutation$/i
2399
+ 'dna_mutation_and_dna_repair'
2400
+ # ======================================================================= #
2401
+ # === apoptosis
2402
+ # ======================================================================= #
2403
+ when '191',
2404
+ 'apoptosis',
2405
+ 'aptoptosis',
2406
+ 'apoptose',
2407
+ 'zelltod'
2408
+ 'apoptosis'
2409
+ # ======================================================================= #
2410
+ # === interferon
2411
+ # ======================================================================= #
2412
+ when '192','interferon','ifn','interferone',
2413
+ /^the(_|-)?interferon(_|-)?system$/i
2414
+ 'the_interferon_system'
2415
+ # ======================================================================= #
2416
+ # === pharmazeutische_biotechnologie
2417
+ # ======================================================================= #
2418
+ when '193','pharmabiotech',
2419
+ /^pharmazeutische(_|-)?biotechnologie1$/i,
2420
+ /^pharmazeutische(_|-)?biotechnologie$/i,
2421
+ /^pharmaceutical(_|-)?biotechnology$/i,
2422
+ /^pharma(_|-)?biotech\??$/i,
2423
+ 'pbiotech',
2424
+ 'pharma','parma',
2425
+ /^pbiotechnologie$/i,
2426
+ 'pharmatech'
2427
+ 'pharmaceutical_biotechnology'
2428
+ # ======================================================================= #
2429
+ # === pharmazeutische_biotechnologie
2430
+ # ======================================================================= #
2431
+ when '194',
2432
+ 'infektionsbiologie',
2433
+ 'infektion',
2434
+ 'infekt',
2435
+ 'infek',
2436
+ 'molinfekt',
2437
+ 'molinf',
2438
+ 'parasit',
2439
+ 'parasiten',
2440
+ 'parasitologie',
2441
+ /^molekulare(_|-)?infektionsbiologie$/i,
2442
+ /^parasitic(_|-)?diseases(_|-)?and(_|-)?molecular(_|-)?infection(_|-)?biology$/i,
2443
+ /^parasites?$/i,
2444
+ /^infections?$/i,
2445
+ /^molecular(_|-)?infection(_|-)?biology$/i
2446
+ 'parasitic_diseases_and_molecular_infection_biology'
2447
+ # ======================================================================= #
2448
+ # === structural_bioinformatics
2449
+ # ======================================================================= #
2450
+ when '195',
2451
+ /^structural(_|-)?bioinformatics$/i,
2452
+ 'struktbioinf',
2453
+ 'structbioinf',
2454
+ 'strubioinfo',
2455
+ 'strubinf',
2456
+ 'struktbioinfo',
2457
+ 'strubiinf',
2458
+ 'strubioinf',
2459
+ 'strubioinformatic',
2460
+ 'strubioinformatics',
2461
+ 'strukturinformatik',
2462
+ 'structbio',
2463
+ /^strukturbioinf\??$/
2464
+ 'structural_bioinformatics'
2465
+ # ======================================================================= #
2466
+ # === food_microbiology
2467
+ # ======================================================================= #
2468
+ when '196',
2469
+ /^food(_|-)?microbiology$/i,
2470
+ /^food(_|-)?biotechnology$/i,
2471
+ /^food(_|-)?microbiology(_|-)?and(_|-)?food(_|-)?biotechnology$/i,
2472
+ /^food(_|-)?biotech$/i
2473
+ 'food_microbiology_and_food_biotechnology'
2474
+ # ======================================================================= #
2475
+ # === projektmanagement
2476
+ # ======================================================================= #
2477
+ when '197',
2478
+ /^projektmanagement$/i,
2479
+ /^pmanagement$/i,
2480
+ 'pman'
2481
+ 'projektmanagement'
2482
+ # ======================================================================= #
2483
+ # === cell_cultures
2484
+ # ======================================================================= #
2485
+ when '198',
2486
+ /^cell(_|-)?cultures?\??$/i,
2487
+ /^cell(_|-)?culturing\??$/i,
2488
+ 'cellu',
2489
+ 'cellcu'
2490
+ 'cell_cultures'
2491
+ # ======================================================================= #
2492
+ # === chemotaxis_and_motility_in_prokaryotes
2493
+ # ======================================================================= #
2494
+ when '199',
2495
+ /^chemotaxis(_|-)?and(_|-)?motility(_|-)?in(_|-)?prokaryotes\??$/i,
2496
+ /^chemotaxis\??$/i,
2497
+ 'chemo?',
2498
+ 'chemo',
2499
+ 'flagella',
2500
+ /^flag\??$/i
2501
+ 'chemotaxis_and_motility_in_prokaryotes'
2502
+ # ======================================================================= #
2503
+ # === cellular_transport_and_protein_secretion
2504
+ # ======================================================================= #
2505
+ when '200',
2506
+ /^cellular(_|-)?transport$/i,
2507
+ /^cellular(_|-)?transport(_|-)?and(_|-)?protein(_|-)?secretion$/i
2508
+ 'cellular_transport_and_protein_secretion'
2509
+ # ======================================================================= #
2510
+ # === elisa
2511
+ # ======================================================================= #
2512
+ when '201',
2513
+ /^elisa$/i
2514
+ 'elisa'
2515
+ # ======================================================================= #
2516
+ # === transcription
2517
+ # ======================================================================= #
2518
+ when '202',
2519
+ /^transcription$/i,
2520
+ /^qa(_|-)?transcription\??$/i
2521
+ 'transcription'
2522
+ # ======================================================================= #
2523
+ # === toxikologie
2524
+ # ======================================================================= #
2525
+ when '203',
2526
+ /^toxikologie$/i,
2527
+ /^qatox\??$/i,
2528
+ 'toxi',
2529
+ 'tox'
2530
+ 'toxikologie'
2531
+ # ======================================================================= #
2532
+ # === biomarkers
2533
+ # ======================================================================= #
2534
+ when '204',
2535
+ /^biomarkers?$/i,
2536
+ 'bioma'
2537
+ 'biomarkers'
2538
+ # ======================================================================= #
2539
+ # === fluorescence_microscopy
2540
+ # ======================================================================= #
2541
+ when '205',
2542
+ /^fluorescence(_|-)?microscopy\??$/i,
2543
+ /^fluorescence(_|-)?microscope\??$/i,
2544
+ 'fluor'
2545
+ 'fluorescence_microscopy'
2546
+ # ======================================================================= #
2547
+ # === html
2548
+ # ======================================================================= #
2549
+ when '206',
2550
+ /^html\??$/i
2551
+ 'html'
2552
+ # ======================================================================= #
2553
+ # === scientific_writing
2554
+ # ======================================================================= #
2555
+ when '207',
2556
+ /^scientific(_|-)?writing$/i,
2557
+ /^scientific(_|-)?writing(_|-)?and(_|-)?publishing$/i,
2558
+ 'scientific'
2559
+ 'scientific_writing_and_publishing'
2560
+ # ======================================================================= #
2561
+ # === geography
2562
+ # ======================================================================= #
2563
+ when '208',
2564
+ /^geography$/i
2565
+ 'geography'
2566
+ # ======================================================================= #
2567
+ # === excel
2568
+ # ======================================================================= #
2569
+ when '209',
2570
+ /^excel$/i
2571
+ 'excel'
2572
+ # ======================================================================= #
2573
+ # === splicing
2574
+ # ======================================================================= #
2575
+ when '210',
2576
+ /^splicing$/i,
2577
+ /^introns$/i,
2578
+ /^exons$/i,
2579
+ /^splice$/i,
2580
+ /^spliceosome$/i,
2581
+ /^splicing(_|-)?exons(_|-)?and(_|-)?introns$/i
2582
+ 'splicing_exons_and_introns'
2583
+ # ======================================================================= #
2584
+ # === the_microbiome
2585
+ # ======================================================================= #
2586
+ when '211',
2587
+ /^microbiome?$/i,
2588
+ /^the(_|-)?microbiome$/i,
2589
+ /^human(_|-)?microbiome\??$/i,
2590
+ 'mome'
2591
+ 'the_microbiome'
2592
+ # ======================================================================= #
2593
+ # === citratzyklus
2594
+ # ======================================================================= #
2595
+ when '212',
2596
+ 'citratzyklus',
2597
+ /^citric(_|-)?acid(_|-)?cycle$/i,
2598
+ /^the(_|-)?citric(_|-)?acid(_|-)?cycle$/i,
2599
+ /^CAC\??$/i,
2600
+ 'citric',
2601
+ 'citrat'
2602
+ 'citric_acid_cycle'
2603
+ # ======================================================================= #
2604
+ # === peroxisomes
2605
+ # ======================================================================= #
2606
+ when '213',
2607
+ /^peroxisomes$/i,
2608
+ /^peroxisomes(_|-)?glycosomes(_|-)?and(_|-)?lysosomes$/i
2609
+ 'peroxisomes_glycosomes_and_lysosomes'
2610
+ # ======================================================================= #
2611
+ # === messtechnik_und_regeltechnik
2612
+ # ======================================================================= #
2613
+ when '214',
2614
+ 'mess',
2615
+ /^messtechnik$/i,
2616
+ /^regeltechnik$/i,
2617
+ /^messtechnik(_|-)?und(_|-)?regeltechnik$/i
2618
+ 'messtechnik_und_regeltechnik'
2619
+ # ======================================================================= #
2620
+ # === betriebswirtschaftslehre
2621
+ # ======================================================================= #
2622
+ when '215',
2623
+ /^betriebswirtschaftslehre\??$/i,
2624
+ /^betriebswirtschaf\??$/i,
2625
+ /^betrieb\??$/i,
2626
+ /^betriebswirtschaft\??$/i,
2627
+ /^qabetrieb\??$/i
2628
+ 'betriebswirtschaftslehre'
2629
+ # ======================================================================= #
2630
+ # === forensik
2631
+ # ======================================================================= #
2632
+ when '216',
2633
+ /^forensik$/i
2634
+ 'forensik'
2635
+ # ======================================================================= #
2636
+ # === gluconeogenesis
2637
+ # ======================================================================= #
2638
+ when '217','gluco',
2639
+ 'gluconeo',
2640
+ 'gluconeogenese',
2641
+ /^gluconeogenesis\??$/i
2642
+ 'gluconeogenesis'
2643
+ # ======================================================================= #
2644
+ # === netzwerke
2645
+ # ======================================================================= #
2646
+ when '218',
2647
+ /^netzwerke\??$/i,
2648
+ /^networks\??$/i
2649
+ 'netzwerke'
2650
+ # ======================================================================= #
2651
+ # === advanced_topics_in_plant_sciences
2652
+ # ======================================================================= #
2653
+ when '219',
2654
+ /^advanced(_|-)?topics(_|-)?in(_|-)?plant(_|-)?sciences\??$/i,
2655
+ 'pflanzen2',
2656
+ 'plant2',
2657
+ 'plant3',
2658
+ 'plants2',
2659
+ 'plants3'
2660
+ 'advanced_topics_in_plant_sciences'
2661
+ # ======================================================================= #
2662
+ # === macroeconomics
2663
+ # ======================================================================= #
2664
+ when '220',
2665
+ /^macro(_|-)?economics\??$/i,
2666
+ 'macroeconomy',
2667
+ /^makroökonomie$/i
2668
+ 'macroeconomics'
2669
+ # ======================================================================= #
2670
+ # === linux
2671
+ # ======================================================================= #
2672
+ when '221',
2673
+ /^linux\??$/i
2674
+ 'linux'
2675
+ # ======================================================================= #
2676
+ # === object_oriented_modeling
2677
+ # ======================================================================= #
2678
+ when '222',
2679
+ /^object(_|-)?oriented(_|-)?modeling\??$/
2680
+ 'object_oriented_modeling'
2681
+ # ======================================================================= #
2682
+ # === patent_law
2683
+ # ======================================================================= #
2684
+ when '223',
2685
+ /^patent(_|-)?law\??$/i,
2686
+ 'plaw',
2687
+ 'patent'
2688
+ 'patent_law'
2689
+ # ======================================================================= #
2690
+ # === glyoxylatzyklus
2691
+ # ======================================================================= #
2692
+ when '224',
2693
+ /^glyoxylatzyklus\??$/i,
2694
+ /^glyoxylat\??$/i,
2695
+ 'glyoxy'
2696
+ 'glyoxylatzyklus'
2697
+ # ======================================================================= #
2698
+ # === the_universe
2699
+ # ======================================================================= #
2700
+ when '225',
2701
+ /^universe\??$/i,
2702
+ /^the(_|-)?universe\??$/i
2703
+ 'the_universe'
2704
+ # ======================================================================= #
2705
+ # === computer_graphics
2706
+ # ======================================================================= #
2707
+ when '226',
2708
+ /^computer(_|-)?graphics\??$/i,
2709
+ 'latest','last' # <- This has to be adjusted manually to the latest enrty.
2710
+ 'computer_graphics'
2711
+ else
2712
+ if be_verbose
2713
+ pp caller()
2714
+ puts "In the method Studium.find_corresponding_exam_topic(), we did "\
2715
+ "not find any match for:"
2716
+ puts " `#{i}` (Encoding: #{i.encoding.to_s}."
2717
+ end
2718
+ false # We did not find anything.
2719
+ end
2720
+ end; self.instance_eval { alias sanitize_topic find_corresponding_exam_topic } # === Studium.sanitize_topic
2721
+ self.instance_eval { alias sanitize_this_potential_exam_topic find_corresponding_exam_topic } # === Studium.sanitize_this_potential_exam_topic
2722
+
2723
+ # ========================================================================= #
2724
+ # === Studium.obtain_random_topic
2725
+ #
2726
+ # This may be used like so:
2727
+ #
2728
+ # Studium.obtain_random_topic # => "rna_and_dna"
2729
+ #
2730
+ # ========================================================================= #
2731
+ def self.obtain_random_topic
2732
+ Studium.find_corresponding_exam_topic(:random)
2733
+ end
2734
+
2735
+ # ========================================================================= #
2736
+ # === Studium.is_this_exam_topic_registered?(this_topic)
2737
+ #
2738
+ # This method can be used to find out whether the given input is
2739
+ # a registered exam topic or not.
2740
+ #
2741
+ # Usage example:
2742
+ #
2743
+ # Studium.is_this_exam_topic_registered?('rbroken')
2744
+ #
2745
+ # ========================================================================= #
2746
+ def self.is_this_exam_topic_registered?(this_topic)
2747
+ Studium.find_corresponding_exam_topic(this_topic, :be_quiet)
2748
+ end
2749
+
2750
+ # ========================================================================= #
2751
+ # === Studium.is_this_an_exam_topic?
2752
+ #
2753
+ # Usage example:
2754
+ #
2755
+ # Studium.is_this_an_exam_topic?('rbroken')
2756
+ #
2757
+ # ========================================================================= #
2758
+ def self.is_this_an_exam_topic?(i = :amg)
2759
+ expanded = find_corresponding_exam_topic(i, :be_quiet)
2760
+ !(expanded == i)
2761
+ end
2762
+
2763
+ end
2764
+
2765
+ if __FILE__ == $PROGRAM_NAME
2766
+ p Studium.find_corresponding_exam_topic 1
2767
+ p Studium.find_corresponding_exam_topic :rand
2768
+ p Studium.find_corresponding_exam_title 'am'
2769
+ p Studium.find_corresponding_exam_title 'hor'
2770
+ pp Studium.map_meta_exam_theme_to_corresponding_exam_themes('meta_biochem')
2771
+ end # find_corresponding_exam_topic amg