NickA02 / SOTestingEnv

This project aims to create a web-based coding platform specifically tailored for Science Olympiad programming events.
2 stars 0 forks source link

Serve HTML files for Questions/Documentation #28

Closed ItIsAndrewL closed 2 weeks ago

ItIsAndrewL commented 3 weeks ago

ES File Structure

es_files/
├─ questions/
│  ├─ q1/
│  │  ├─ prompt.md
│  │  ├─ doc_<title>.md
│  │  ├─ test_cases.py
│  │  ├─ demo_case.py
│  ├─ q2/
│  ├─ q3/
├─ teams/
│  ├─ unique_words_reset.csv
│  ├─ teams.csv
├─ global_docs/
│  ├─ <title>.md

Models

class Question:
   num: number
   writeup: string
   docs: List[Doc]

class Doc:
   content: string
   title: string

class QuestionsPublic:
   """What will be returned on the /questions route"""
   questions: List[Question]
   global_docs: List[Doc]

Acceptance Criteria