Skip to content

Commit

Permalink
econs 2020 (no key)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimReaper2654 committed Nov 28, 2024
1 parent 2560a17 commit eda9f01
Show file tree
Hide file tree
Showing 66 changed files with 254 additions and 4 deletions.
2 changes: 1 addition & 1 deletion imageProcessingArea/dataSynthesiser.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"tags": []
},'''

year = 2021
year = 2020
cf = 0
ca = 31

Expand Down
6 changes: 3 additions & 3 deletions imageProcessingArea/recover.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
# most other issues in question data can be fixed with built in find and replace
# added function to replace .PNG with .png

extension = 'pdf'
find = '2017'
replace = '2016'
extension = 'webp'
find = '2021'
replace = '2020'

def fix_filenames():
directory = os.path.dirname(os.path.abspath(__file__))
Expand Down
2 changes: 2 additions & 0 deletions imageProcessingArea/renamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def rename_images(directory, template):
image_path = os.path.join(directory, image)
text = get_text_from_image(image_path)
question_number = extract_question_number(text)
if not question_number:
question_number = prev_question_number + 1

if question_number is not None:
question_parts[question_number] = 1
Expand Down
Binary file added pdfDownloads/econs/WACE2020Q1.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q10.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q11.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q12.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q13.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q14.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q15.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q16.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q17.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q18.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q19.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q2.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q20.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q21.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q22.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q23.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q24.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q25.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q26.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q27.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q28.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q29.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q3.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q30.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q31.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q4.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q5.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q6.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q7.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q8.pdf
Binary file not shown.
Binary file added pdfDownloads/econs/WACE2020Q9.pdf
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q1.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q10.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q11.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q12.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q13.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q14.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q15.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q16.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q17.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q18.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q19.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q2.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q20.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q21.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q22.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q23.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q24.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q25.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q26.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q27.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q28.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q29.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q3.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q30.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q31.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q4.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q5.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q6.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q7.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q8.webp
Binary file not shown.
Binary file added questionBank/econs/WACE2020Q9.webp
Binary file not shown.
248 changes: 248 additions & 0 deletions questions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6581,6 +6581,254 @@
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q1",
"name": "WACE 2020 Question 1",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q2",
"name": "WACE 2020 Question 2",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q3",
"name": "WACE 2020 Question 3",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q4",
"name": "WACE 2020 Question 4",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q5",
"name": "WACE 2020 Question 5",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q6",
"name": "WACE 2020 Question 6",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q7",
"name": "WACE 2020 Question 7",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q8",
"name": "WACE 2020 Question 8",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q9",
"name": "WACE 2020 Question 9",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q10",
"name": "WACE 2020 Question 10",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q11",
"name": "WACE 2020 Question 11",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q12",
"name": "WACE 2020 Question 12",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q13",
"name": "WACE 2020 Question 13",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q14",
"name": "WACE 2020 Question 14",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q15",
"name": "WACE 2020 Question 15",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q16",
"name": "WACE 2020 Question 16",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q17",
"name": "WACE 2020 Question 17",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q18",
"name": "WACE 2020 Question 18",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q19",
"name": "WACE 2020 Question 19",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q20",
"name": "WACE 2020 Question 20",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q21",
"name": "WACE 2020 Question 21",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q22",
"name": "WACE 2020 Question 22",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q23",
"name": "WACE 2020 Question 23",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q24",
"name": "WACE 2020 Question 24",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q25",
"name": "WACE 2020 Question 25",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q26",
"name": "WACE 2020 Question 26",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q27",
"name": "WACE 2020 Question 27",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q28",
"name": "WACE 2020 Question 28",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q29",
"name": "WACE 2020 Question 29",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q30",
"name": "WACE 2020 Question 30",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
},
{
"id": "WACE2020Q31",
"name": "WACE 2020 Question 31",
"year": 2020,
"source": "WACE",
"calculator": "assumed",
"tags": []
}
],
"meth": [
Expand Down

0 comments on commit eda9f01

Please sign in to comment.