Cortado-core is a Python library that implements various algorithms and methods for interactive/incremental process discovery. Cortado-core is part of the software tool Cortado.
- Install Python 3.10.x (https://www.python.org/downloads/). Make sure to install a 64-BIT version.
- Optional (recommended): Create a virtual environment (https://docs.python.org/3/library/venv.html) and activate it
- Install all packages required by cortado-core
- Execute
pip install -r requirements.txt
- Execute
- Cortado-core can be used as a dependency in other Python-projects
- Install cortado-core via
pip install 'cortado-core @ git+https://github.com/cortado-tool/cortado-core.git@master'
We highly value code quality and reliability in our project. To ensure this, our Github workflow includes unit testing using pytest
and linting using black
.
Our Github workflow automatically performs essential checks whenever code changes are pushed to the repository.
The job unit_tests
is responsible for running unit tests using pytest
. It ensures that our codebase remains robust and free from logical errors. If any tests fail, the workflow provides prompt feedback, enabling us to quickly identify and address any issues.
We're committed to maintaining consistent code formatting and style. The workflow includes a linting job that uses black
, a powerful code formatter for Python. This ensures that our code adheres to a unified and clean style, enhancing readability and maintainability.
You can also run the pytest
unit tests locally on your development environment. Ensure you have pytest
installed, and then navigate to the project's root directory and run: pytest cortado_core/tests/
This will execute the unit tests and provide you with immediate feedback on their status.
During development, we encourage you to utilize black for code formatting. The black tool helps maintain a consistent style across our codebase and minimizes formatting-related discussions. It's recommended to run black on your code before committing changes. You can do so using the following command:
black .
By incorporating black into your workflow, you contribute to maintaining a clean and organized codebase.
-
If you are using or referencing Cortado in scientific work, please cite Cortado as follows.
Schuster, D., van Zelst, S.J., van der Aalst, W.M.P. (2021). Cortado—An Interactive Tool for Data-Driven Process Discovery and Modeling. In: Application and Theory of Petri Nets and Concurrency. PETRI NETS 2021. Lecture Notes in Computer Science, vol 12734. Springer, Cham. https://doi.org/10.1007/978-3-030-76983-3_23
-
If you are using or referencing a specific algorithm implemented in Cortado/cortado-core in your scientific work, please cite the corresponding publication.
If you are interested in Cortado, get in touch if you have any questions or custom request via Mail - [email protected]