-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogram_generator_constants.py
41 lines (37 loc) · 1.73 KB
/
program_generator_constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
@author: Lakshmi Dinesh
A module that manages all the constants for the application.
Application engine customization made possible though this.
"""
DEBUG_CONSOLE_LOG = False
ENGINE = "gpt-3.5-turbo-0301"
JSON_LOG_FILE = "./out/logs/json_log.txt"
ROOT_DIR = "./out/"
LOG_DIR = "./out/logs/"
DIR_PATH_PYTHON = "./out/Python/"
DIR_PATH_JAVA = "./out/Java/"
PREFIX = "Generate "
POSTFIX = " level programming question(s) in "
LVL_QUESTIONS = {
'Beginner': [i for i in range(1, 11)],
'Intermediate': [i for i in range(1, 9)],
'Advanced': [i for i in range(1, 6)],
'Combined': [i for i in range(3, 19, 3)]
}
TOPICS = {
'Python': {'Beginner': ['Strings', 'Lists', 'Tuples', 'Dictionaries', 'Functions', 'Classes', 'File handling',
'Exception handling'],
'Intermediate': ['Datastructures', 'File handling', 'Classes', 'Decorators', 'Exception handling',
'Data visualization'],
'Advanced': ['Datastructures', 'Search and sort algorithms', 'Data analysis', 'Data visualization',
'RegEx'],
'Combined': ['Datastructures', 'File handling', 'Recursion']
},
'Java': {'Beginner': ['Strings', 'Arrays', 'Sets', 'Maps', 'Methods', 'Classes', 'File handling',
'Exception handling'],
'Intermediate': ['ArrayLists', 'LinkedLists', 'HashMaps', 'Sets', 'File handling', 'Exception handling',
'Collections'],
'Advanced': ['Datastructures', 'Search and sort algorithms', 'RegEx', 'Lambda functions'],
'Combined': ['Datastructures', 'File handling', 'Recursion']
}
}