Skip to content

Commit e1ec3d4

Browse files
Merge pull request #164 from AutomatedProcessImprovement/documentation
Improve runtime report and finish documentation
2 parents cfddc95 + 2737705 commit e1ec3d4

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

.github/workflows/simod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
echo "version=$(poetry version --short)" >> "$GITHUB_OUTPUT"
158158
159159
- name: Upload artifacts
160-
uses: actions/upload-artifact@v3
160+
uses: actions/upload-artifact@v4
161161
with:
162162
name: simod-${{ steps.get_version.outputs.version }}-py${{ matrix.python-version }}
163163
path: dist

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
![Simod](https://github.com/AutomatedProcessImprovement/Simod/actions/workflows/simod.yml/badge.svg)
44
![version](https://img.shields.io/github/v/tag/AutomatedProcessImprovement/simod)
5+
[![Documentation Status](https://readthedocs.org/projects/simod/badge/?version=latest)](https://simod.readthedocs.io/en/latest/)
56

67
SIMOD combines process mining and machine learning techniques to automate the discovery and tuning of Business Process
78
Simulation models from event logs extracted from enterprise information systems (ERPs, CRM, case management systems,
@@ -111,3 +112,8 @@ Coverage:
111112
```shell
112113
poetry run pytest -m "not integration" --cov=simod
113114
```
115+
116+
### Documentation
117+
118+
For more details about the installation, usage, and implementation **visit the documentation here:**
119+
📖 ️ [https://simod.readthedocs.io/en/latest/](https://simod.readthedocs.io/en/latest/)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "simod"
7-
version = "5.1.3"
7+
version = "5.1.4"
88
authors = [
99
"Ihar Suvorau <[email protected]>",
1010
"David Chapela <[email protected]>",

src/simod/simod.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,5 +405,12 @@ def _export_runtimes(
405405
file_path: Path,
406406
runtimes: RuntimeMeter
407407
):
408-
with open(file_path, "w") as f:
409-
json.dump(runtimes.runtimes, f)
408+
with open(file_path, "w") as file:
409+
json.dump(
410+
runtimes.runtimes | {'explanation': f"Add '{RuntimeMeter.PREPROCESSING}' with '{RuntimeMeter.TOTAL}' "
411+
f"for the runtime of the entire SIMOD pipeline and preprocessing "
412+
f"stage. '{RuntimeMeter.EVALUATION}', if reported, should be left out "
413+
f"as it measures the quality assessment of the final BPS model (i.e., "
414+
f"it is not part of the discovery process."},
415+
file
416+
)

0 commit comments

Comments
 (0)