Point the links in the README, docs, and notebooks to Forgejo

This commit is contained in:
Alexander Hess 2026-11-24 10:55:25 +01:00
commit 447533cceb
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
4 changed files with 16 additions and 16 deletions

View file

@ -16,16 +16,16 @@ that iteratively build on each other.
### Data Cleaning ### Data Cleaning
The UDP provided its raw data as a PostgreSQL dump. The UDP provided its raw data as a PostgreSQL dump.
This [notebook](https://nbviewer.jupyter.org/github/webartifex/urban-meal-delivery/blob/develop/research/01_clean_data.ipynb) This [notebook](https://code.webartifex.de/alexander/velofy/src/branch/develop/research/01_clean_data.ipynb)
cleans the data extensively cleans the data extensively
and maps them onto the [ORM models](https://github.com/webartifex/urban-meal-delivery/tree/develop/src/urban_meal_delivery/db) and maps them onto the [ORM models](https://code.webartifex.de/alexander/velofy/src/branch/develop/src/velofy/db)
defined in the `urban-meal-delivery` package defined in the `urban-meal-delivery` package
that is developed in the [src/](https://github.com/webartifex/urban-meal-delivery/tree/develop/src) folder that is developed in the [src/](https://code.webartifex.de/alexander/velofy/src/branch/develop/src) folder
and contains all source code to drive the analyses. and contains all source code to drive the analyses.
Due to a non-disclosure agreement with the UDP, Due to a non-disclosure agreement with the UDP,
neither the raw nor the cleaned data are published as of now. neither the raw nor the cleaned data are published as of now.
However, previews of the data can be seen throughout the [research/](https://github.com/webartifex/urban-meal-delivery/tree/develop/research) folder. However, previews of the data can be seen throughout the [research/](https://code.webartifex.de/alexander/velofy/src/branch/develop/research) folder.
### Tactical Demand Forecasting ### Tactical Demand Forecasting
@ -34,9 +34,9 @@ Before any optimizations of the UDP's operations are done,
a **demand forecasting** system for *tactical* purposes is implemented. a **demand forecasting** system for *tactical* purposes is implemented.
To achieve that, the cities first undergo a **gridification** step To achieve that, the cities first undergo a **gridification** step
where each *pickup* location is assigned into a pixel on a "checker board"-like grid. where each *pickup* location is assigned into a pixel on a "checker board"-like grid.
The main part of the source code that implements that is in this [file](https://github.com/webartifex/urban-meal-delivery/blob/develop/src/urban_meal_delivery/db/grids.py#L60). The main part of the source code that implements that is in this [file](https://code.webartifex.de/alexander/velofy/src/branch/develop/src/velofy/db/grids.py#L60).
Visualizations of the various grids can be found in the [visualizations/](https://github.com/webartifex/urban-meal-delivery/tree/develop/research/visualizations) folder Visualizations of the various grids can be found in the [visualizations/](https://code.webartifex.de/alexander/velofy/src/branch/develop/research/visualizations) folder
and in this [notebook](https://nbviewer.jupyter.org/github/webartifex/urban-meal-delivery/blob/develop/research/03_grid_visualizations.ipynb). and in this [notebook](https://code.webartifex.de/alexander/velofy/src/branch/develop/research/03_grid_visualizations.ipynb).
Then, demand is aggregated on a per-pixel level Then, demand is aggregated on a per-pixel level
and different kinds of order time series are generated. and different kinds of order time series are generated.
@ -47,7 +47,7 @@ The details of how this works can be found in the first academic paper
published in the context of this research project published in the context of this research project
and titled "*Real-time Demand Forecasting for an Urban Delivery Platform*" and titled "*Real-time Demand Forecasting for an Urban Delivery Platform*"
(cf., the [repository](https://github.com/webartifex/urban-meal-delivery-demand-forecasting) with the LaTeX files). (cf., the [repository](https://github.com/webartifex/urban-meal-delivery-demand-forecasting) with the LaTeX files).
All demand forecasting related code is in the [forecasts/](https://github.com/webartifex/urban-meal-delivery/tree/develop/src/urban_meal_delivery/forecasts) sub-package. All demand forecasting related code is in the [forecasts/](https://code.webartifex.de/alexander/velofy/src/branch/develop/src/velofy/forecasts) sub-package.
### Predictive Routing ### Predictive Routing
@ -64,18 +64,18 @@ and all its dependencies
in a [virtual environment](https://docs.python.org/3/tutorial/venv.html) in a [virtual environment](https://docs.python.org/3/tutorial/venv.html)
with [poetry](https://python-poetry.org/docs/): with [poetry](https://python-poetry.org/docs/):
`git clone https://github.com/webartifex/urban-meal-delivery.git` `git clone ssh://git@git.webartifex.de/alexander/velofy.git`
and and
`poetry install --extras research` `poetry install --extras research`
The `--extras` option is necessary as the non-develop dependencies The `--extras` option is necessary as the non-develop dependencies
are structured in the [pyproject.toml](https://github.com/webartifex/urban-meal-delivery/blob/develop/pyproject.toml) file are structured in the [pyproject.toml](https://code.webartifex.de/alexander/velofy/src/branch/develop/pyproject.toml) file
into dependencies related to only the `urban-meal-delivery` source code package into dependencies related to only the `urban-meal-delivery` source code package
and dependencies used to run the [Jupyter](https://jupyter.org/) environment and dependencies used to run the [Jupyter](https://jupyter.org/) environment
with the analyses. with the analyses.
Contributions are welcome. Contributions are welcome.
Use the [issues](https://github.com/webartifex/urban-meal-delivery/issues) tab. Use the [issues](https://code.webartifex.de/alexander/velofy/issues) tab.
The project is licensed under the [MIT license](https://github.com/webartifex/urban-meal-delivery/blob/develop/LICENSE.txt). The project is licensed under the [MIT license](https://code.webartifex.de/alexander/velofy/src/branch/develop/LICENSE.txt).

View file

@ -31,7 +31,7 @@ It is *not* available on `PyPI`_ via `pip`_.
.. code-block:: console .. code-block:: console
$ git clone https://github.com/webartifex/urban-meal-delivery.git $ git clone ssh://git@git.webartifex.de/alexander/velofy.git
Use `poetry`_ to install the package Use `poetry`_ to install the package
with its dependencies into a `virtual environment`_, with its dependencies into a `virtual environment`_,
@ -91,5 +91,5 @@ You can use them to choose among the different tasks you want to achieve.
.. _poetry: https://python-poetry.org/docs/ .. _poetry: https://python-poetry.org/docs/
.. _pypi: https://pypi.org/ .. _pypi: https://pypi.org/
.. _python: https://docs.python.org/3/ .. _python: https://docs.python.org/3/
.. _repository: https://github.com/webartifex/urban-meal-delivery .. _repository: https://code.webartifex.de/alexander/velofy
.. _virtual environment: https://docs.python.org/3/tutorial/venv.html .. _virtual environment: https://docs.python.org/3/tutorial/venv.html

View file

@ -19,7 +19,7 @@
"- numeric columns are checked for plausibility\n", "- numeric columns are checked for plausibility\n",
"- foreign key relationships are strictly enforced\n", "- foreign key relationships are strictly enforced\n",
"\n", "\n",
"The structure of the data can be viewed at the [ORM layer](https://github.com/webartifex/urban-meal-delivery/tree/develop/src/velofy/db) in the package." "The structure of the data can be viewed at the [ORM layer](https://code.webartifex.de/alexander/velofy/src/branch/develop/src/velofy/db) in the package."
] ]
}, },
{ {

View file

@ -621,7 +621,7 @@
"id": "fb6a035d", "id": "fb6a035d",
"metadata": {}, "metadata": {},
"source": [ "source": [
"In the application's code base, the above API calls and the related data are modeled as `Path` objects connecting two `Address` objects (cf. [Path class](https://github.com/webartifex/urban-meal-delivery/blob/develop/src/velofy/db/addresses_addresses.py) in the code).\n", "In the application's code base, the above API calls and the related data are modeled as `Path` objects connecting two `Address` objects (cf. [Path class](https://code.webartifex.de/alexander/velofy/src/branch/develop/src/velofy/db/addresses_addresses.py) in the code).\n",
"\n", "\n",
"Let's look at two examples addresses, one from a `Restaurant` and one from a `Customer`." "Let's look at two examples addresses, one from a `Restaurant` and one from a `Customer`."
] ]