Spaces:
Running
Running
|
Download backend/README 2.md from nhamid289/optimization-dev: direct link, hf CLI and curl.
- Browser
- Download file 458 Bytes
-
https://huggingface.co/spaces/nhamid289/optimization-dev/resolve/main/backend/README%202.md
- Command line
-
hf download 'hf://spaces/nhamid289/optimization-dev/backend/README 2.md'
-
curl -L -o 'README 2.md' https://huggingface.co/spaces/nhamid289/optimization-dev/resolve/main/backend/README%202.md
458 Bytes
| # Optimisation backend | |
| Python run in the browser by Pyodide (see `frontends/react/src/pyodide.worker.ts`). | |
| - `src/logic.py`: parsing the function, its derivatives, the optimisers and runs | |
| - `src/manager.py`: the `Manager` methods the UI calls | |
| - `src/algorithms.json`: each optimiser's settings, shared with the UI | |
| - `contract/`: example calls, checked by `tests/test_contract.py` and the frontend's `contract.check.ts` | |
| Run the tests with `uv run pytest`. | |