Skip to content

Commit

Permalink
Merge pull request #1 from chancharikmitra/main
Browse files Browse the repository at this point in the history
Exam Pipeline Changes
  • Loading branch information
mihranmiroyan authored Sep 23, 2024
2 parents faa1d5b + 3bb3999 commit 87e35c8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
logger.setLevel(logging.INFO)

app = Flask(__name__)
load_dotenv('keys.env')
load_dotenv('./keys.env')

def load_course_config(course: str) -> None:
load_dotenv(f'configs/{course}.env', override=True)
Expand Down
4 changes: 2 additions & 2 deletions configs/cs61a.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ASSIGNMENT_CATEGORIES=['Assignments']
CONTENT_CATEGORIES=['Lecture']
LOGISTICS_CATEGORIES=['Logistics']
WORKSHEET_CATEGORIES=['Discussion']
WORKSHEET_CATEGORIES=['Discussion', 'Exams']
CATEGORY_MAPPING={"Discussion": "discussion", "Exams": "exam"}
SUBCATEGORY_MAPPING={"Homework": "homework", "Lab": "lab", "Project": "project"}

Expand All @@ -19,4 +19,4 @@ QA_DEPLOYMENT_NAME=deployment
EMBEDDING_MODEL_NAME=text-embedding-3-small
EMBEDDING_MODEL_DIMENSIONS=1536

AZURE_BLOB_CONTAINER_NAME=cs61a
AZURE_BLOB_CONTAINER_NAME=cs61a
6 changes: 3 additions & 3 deletions configs/ds100.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ASSIGNMENT_CATEGORIES=['Homeworks', 'Labs', 'Projects']
CONTENT_CATEGORIES=['Lectures']
LOGISTICS_CATEGORIES=['Logistics', 'Exams', 'Grading']
WORKSHEET_CATEGORIES=['Discussions']
LOGISTICS_CATEGORIES=['Logistics', 'Grading']
WORKSHEET_CATEGORIES=['Discussions', 'Exams']
CATEGORY_MAPPING={"Homeworks": "homework", "Labs": "lab", "Projects": "project", "Discussions": "discussion", "Exams": "exam"}
SUBCATEGORY_MAPPING={}

Expand All @@ -19,4 +19,4 @@ QA_DEPLOYMENT_NAME=deployment
EMBEDDING_MODEL_NAME=text-embedding-3-small
EMBEDDING_MODEL_DIMENSIONS=1536

AZURE_BLOB_CONTAINER_NAME=ds100
AZURE_BLOB_CONTAINER_NAME=ds100
8 changes: 4 additions & 4 deletions configs/ds8.env
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ASSIGNMENT_CATEGORIES=['Homework', 'Lab', 'Project']
CONTENT_CATEGORIES=['Lectures', 'General']
LOGISTICS_CATEGORIES=['Logistics', 'Exams', 'Grading']
WORKSHEET_CATEGORIES=['Discussion']
CATEGORY_MAPPING={"Homework": "hw", "Lab": "lab", "Project": "proj", "Discussion": "disc", "Exam": "exam"}
LOGISTICS_CATEGORIES=['Logistics', 'Grading']
WORKSHEET_CATEGORIES=['Discussion', 'Exams']
CATEGORY_MAPPING={"Homework": "hw", "Lab": "lab", "Project": "proj", "Discussion": "disc", "Exams": "exam"}

QA_TOP_K=3
LOGISTICS_INDEX_NAME=ds8-logistics-index
Expand All @@ -18,4 +18,4 @@ QA_DEPLOYMENT_NAME=deployment
EMBEDDING_MODEL_NAME=text-embedding-3-small
EMBEDDING_MODEL_DIMENSIONS=1536

AZURE_BLOB_CONTAINER_NAME=ds8
AZURE_BLOB_CONTAINER_NAME=ds8

0 comments on commit 87e35c8

Please sign in to comment.