Spaces:
Sleeping
Sleeping
michal
commited on
Commit
·
d32e3b6
1
Parent(s):
3e0dd54
Update
Browse files- app.py +22 -22
- src/abouts.py +19 -1
app.py
CHANGED
|
@@ -82,6 +82,28 @@ with main:
|
|
| 82 |
return filter_columns(selected_columns)
|
| 83 |
columns_selector.change(update_dataframe, inputs=columns_selector, outputs=data_component)
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
with gr.TabItem("🦷 LDEK"):
|
| 86 |
gr.Markdown(LDEK_DESC)
|
| 87 |
|
|
@@ -107,28 +129,6 @@ with main:
|
|
| 107 |
column_widths=[400] + [180] + [155] * 22
|
| 108 |
)
|
| 109 |
|
| 110 |
-
with gr.TabItem("🩺 LEK"):
|
| 111 |
-
gr.Markdown(LEK_DESC)
|
| 112 |
-
data_component_ldek = gr.components.Dataframe(
|
| 113 |
-
value=LEK_ACCS,
|
| 114 |
-
headers=COLUMN_HEADERS_LEK,
|
| 115 |
-
type="pandas",
|
| 116 |
-
datatype=DATA_TYPES_LEK,
|
| 117 |
-
interactive=False,
|
| 118 |
-
visible=True,
|
| 119 |
-
column_widths=[400] + [180] +[155] * 22
|
| 120 |
-
)
|
| 121 |
-
gr.Markdown(LEK_DESC_EN)
|
| 122 |
-
data_component_ldek = gr.components.Dataframe(
|
| 123 |
-
value=LEK_ACCS_EN,
|
| 124 |
-
headers=COLUMN_HEADERS_LEK_EN,
|
| 125 |
-
type="pandas",
|
| 126 |
-
datatype=DATA_TYPES_LEK_EN,
|
| 127 |
-
interactive=False,
|
| 128 |
-
visible=True,
|
| 129 |
-
column_widths=[400] + [180] +[155] * 22
|
| 130 |
-
)
|
| 131 |
-
|
| 132 |
|
| 133 |
with gr.Column():
|
| 134 |
with gr.Accordion("📙 Citation", open=False):
|
|
|
|
| 82 |
return filter_columns(selected_columns)
|
| 83 |
columns_selector.change(update_dataframe, inputs=columns_selector, outputs=data_component)
|
| 84 |
|
| 85 |
+
with gr.TabItem("🩺 LEK"):
|
| 86 |
+
gr.Markdown(LEK_DESC)
|
| 87 |
+
data_component_ldek = gr.components.Dataframe(
|
| 88 |
+
value=LEK_ACCS,
|
| 89 |
+
headers=COLUMN_HEADERS_LEK,
|
| 90 |
+
type="pandas",
|
| 91 |
+
datatype=DATA_TYPES_LEK,
|
| 92 |
+
interactive=False,
|
| 93 |
+
visible=True,
|
| 94 |
+
column_widths=[400] + [180] +[155] * 22
|
| 95 |
+
)
|
| 96 |
+
gr.Markdown(LEK_DESC_EN)
|
| 97 |
+
data_component_ldek = gr.components.Dataframe(
|
| 98 |
+
value=LEK_ACCS_EN,
|
| 99 |
+
headers=COLUMN_HEADERS_LEK_EN,
|
| 100 |
+
type="pandas",
|
| 101 |
+
datatype=DATA_TYPES_LEK_EN,
|
| 102 |
+
interactive=False,
|
| 103 |
+
visible=True,
|
| 104 |
+
column_widths=[400] + [180] +[155] * 22
|
| 105 |
+
)
|
| 106 |
+
|
| 107 |
with gr.TabItem("🦷 LDEK"):
|
| 108 |
gr.Markdown(LDEK_DESC)
|
| 109 |
|
|
|
|
| 129 |
column_widths=[400] + [180] + [155] * 22
|
| 130 |
)
|
| 131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
with gr.Column():
|
| 134 |
with gr.Accordion("📙 Citation", open=False):
|
src/abouts.py
CHANGED
|
@@ -12,7 +12,7 @@ LEADERBOARD_DESC = """## ...
|
|
| 12 |
|
| 13 |
PES_DESC = """### PES (Państwowy Egzamin Specjalizacyjny, National Specialization Examination, Board Certification Exam)
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
- **A written test** containing 120 multiple-choice questions with five possible answers (one correct). Candidates must score at least 60% to pass.
|
| 18 |
- **An oral examination** that evaluates practical and theoretical expertise.
|
|
@@ -21,9 +21,27 @@ The PES is held twice yearly for various medical specialties. Unlike other exams
|
|
| 21 |
"""
|
| 22 |
|
| 23 |
LDEK_DESC = """### LDEK (Lekarsko-Dentystyczny Egzamin Końcowy, Dental Final Examination)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"""
|
| 25 |
|
| 26 |
LEK_DESC = """### LEK (Lekarski Egzamin Końcowy, Medical Final Examination)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"""
|
| 28 |
|
| 29 |
LDEK_DESC_EN = """### LDEK - English Version
|
|
|
|
| 12 |
|
| 13 |
PES_DESC = """### PES (Państwowy Egzamin Specjalizacyjny, National Specialization Examination, Board Certification Exam)
|
| 14 |
|
| 15 |
+
PES is a board certification exam mandatory for physicians and dentists to obtain a specialist title in their chosen medical field in Poland. This exam is available after completing the necessary internships and specialization courses. The PES consists of two parts:
|
| 16 |
|
| 17 |
- **A written test** containing 120 multiple-choice questions with five possible answers (one correct). Candidates must score at least 60% to pass.
|
| 18 |
- **An oral examination** that evaluates practical and theoretical expertise.
|
|
|
|
| 21 |
"""
|
| 22 |
|
| 23 |
LDEK_DESC = """### LDEK (Lekarsko-Dentystyczny Egzamin Końcowy, Dental Final Examination)
|
| 24 |
+
|
| 25 |
+
LDEK is the equivalent test for final-year dentistry students and graduates. It is a mandatory step toward obtaining a dental license in Poland. Key details include:
|
| 26 |
+
|
| 27 |
+
- **Exam structure:** 200 multiple-choice questions with five possible answers (only one correct).
|
| 28 |
+
- **Duration:** Four hours.
|
| 29 |
+
- **Frequency:** Held twice a year.
|
| 30 |
+
- **Subjects covered:** Includes conservative dentistry, pediatric dentistry, oral surgery, prosthetics, periodontology, orthodontics, and other relevant fields.
|
| 31 |
+
|
| 32 |
+
Similar to LEK, candidates must score at least 56% to pass. From 2022, 70% of the exam questions are drawn from a public database of 3,198 questions, enhancing exam outcomes for many candidates. Retakes are allowed for better scores.
|
| 33 |
"""
|
| 34 |
|
| 35 |
LEK_DESC = """### LEK (Lekarski Egzamin Końcowy, Medical Final Examination)
|
| 36 |
+
|
| 37 |
+
LEK is a comprehensive test for final-year medical students and graduates in Poland. It is a prerequisite for obtaining a medical license. Key features include:
|
| 38 |
+
|
| 39 |
+
- **Exam structure:** 200 multiple-choice questions with five possible answers (only one is correct).
|
| 40 |
+
- **Duration:** Four hours.
|
| 41 |
+
- **Frequency:** Conducted twice a year.
|
| 42 |
+
- **Subjects** covered: A wide range of medical disciplines, such as internal medicine, pediatrics, surgery, obstetrics and gynecology, psychiatry, and more.
|
| 43 |
+
|
| 44 |
+
A minimum of 56% correct answers is required to pass. Since 2022, 70% of the questions come from a publicly available database of 2,870 questions, resulting in higher average scores and pass rates. Candidates can retake the exam multiple times to improve their scores.
|
| 45 |
"""
|
| 46 |
|
| 47 |
LDEK_DESC_EN = """### LDEK - English Version
|