problem set generator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

goals and question struct edit

+5 -4
+5 -4
README.md
··· 18 18 19 19 ## Goals 20 20 - [ ] Create handler function to extract problem request parameters 21 - - [ ] Write a question bank by chapter (separate text files) 21 + - [ ] Write a question bank by chapter (separate functions to build questions on startup) 22 22 - [x] Write question text parser, 23 - - [ ] Write a number generator for questions ( variables encoded in question text with `{{ }}` potentially?) 23 + - [x] Write a number generator for questions ( variables encoded in question text with `{{ }}` potentially?) 24 24 - [ ] Port axum to run on [shuttle.dev](https://www.shuttle.dev/) 25 25 - [ ] Write a front-end page with a basic form that would open a new tab with the pdf requested on [my website](https://tangled.org/sevenpigeons.ca/sevenpigeons.ca) 26 26 27 27 ## Questions 28 28 29 - Questions are represented by a `struct` with it's subject, theme, and the text of the question. 29 + Questions are represented by a `struct` with it's subject, theme, text of the questions, array of min/max values for varibales, and the closure expression for the answer. 30 30 31 - To parse from string (and text file), first line is the Subject, second Theme, and everything afterwards the text of the question. 31 + 32 + Since there is an `impl Fn` for now the questions cant really be static so need to be created with a function during runtime. 32 33 33 34 ## Fonts 34 35