TODO for unit tests.

This commit is contained in:
Phil Bajsicki 2024-04-19 13:04:55 +02:00
parent ee032555eb
commit f37debf73f

View file

@ -28,6 +28,11 @@ op8onal Header for “k”, and return:
- A single probability in JSON format if a “k” is provided in the Header
#+end_quote
* TODOS:
- Unit tests
- REST API
* Thinking
Given the problem's nature, we need the following functionality:
@ -40,8 +45,6 @@ For the bonus secion:
1. Create a FastAPI endpoint that takes an optional Header for =k=.
2. Return either the full array of probabilities (no =k= provided), or return the
specific probability if =k= is provided.
* Code
The following is python code blocks, with the documentation attached. Using
=org-babel=, these are tangled into =pydiceprob.py=,