← Project index

Project notes / Python

Question Randomizer Microservice (Flask)

Developed a Flask microservice for a peer’s CS361 application. POST /randomize accepts a question pool size, requested count, and optional previously selected IDs, then returns sampled question IDs as JSON. Previously selected IDs receive lower weights (0.1 rather than 1.0). Sampling uses random.choices with replacement, so repeated IDs remain possible. Includes a test client and request/response documentation.

A closer look.

Project media

Keep exploring

There’s more in the collection.

All projects →