Skip to content

Commit 5ed0617

Browse files
authored
Merge pull request #110 from tornede/develop
Update version to 1.2.0 - Feature - Added logtables functionality, allowing to incrementally log information during the execution of an experiment, which is described in detail in the documentation. - Documentation of the usage of ``PyExperimenter`` has been reworked in large parts. - Examples - An additional logtable example has been added. - An issue of the example notebook has been fixed causing them to fail due to missing directories. - Improved general example to cover extended functionality of ``PyExperimenter.reset_experiments()``. - Fix - Start date is now set when pulling an experiment. - Supported Python version is now >= 3.9. - Changed row identification in ResultProcessor to experiment ID instead of checking keyfields. - Stack traces are now correctly logged into the mysql database, as the used mysql connector implementation has been changed to C. - Changed multiprocessing to joblib due to issues with the example notebooks. - The ``random_order`` parameter is not needed anymore for the execution, therefore it has been removed. - Documentation of ``PyExperimenter.reset_experiments()`` has been updated to reflect the changes in the functionality. - Tests - Tests covering the new functionality of logtables have been added.
2 parents f58da19 + 28cb35f commit 5ed0617

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+9222
-1975
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
11-
python-version: [ "3.7", "3.8", "3.9", ]
11+
python-version: ["3.9", ]
1212
defaults:
1313
run:
1414
shell: bash
@@ -41,4 +41,4 @@ jobs:
4141
run: |
4242
source $VENV
4343
# Ignore the MySQL test, as it requires a MySQL server:
44-
pytest --ignore=test/test_run_experiments/test_run_mysql_experiment.py
44+
pytest --ignore=test/test_run_experiments/test_run_mysql_experiment.py --ignore=test/test_logtables/test_mysql.py

.vscode/settings.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"autoDocstring.docstringFormat": "sphinx",
33
"editor.codeActionsOnSave": {
44
"source.organizeImports": true,
5+
"formatting": true
56
},
67
"editor.formatOnSave": true,
78
"python.formatting.autopep8Args": [
@@ -30,6 +31,8 @@
3031
"iterrows",
3132
"keyfield",
3233
"keyfields",
34+
"logtable",
35+
"logtables",
3336
"meshgrid",
3437
"resultfields",
3538
"Tanja",
@@ -39,6 +42,9 @@
3942
"terminal.integrated.env.linux": {
4043
"PYTHONPATH": "${workspaceFolder}"
4144
},
45+
"terminal.integrated.env.windows": {
46+
"PYTHONPATH": "${workspaceFolder}"
47+
},
4248
"jupyter.notebookFileRoot": "${workspaceFolder}",
4349
"restructuredtext.confPath": "${workspaceFolder}\\docs",
4450
"python.pythonPath": "~/anaconda3/envs/py-experimenter",
@@ -51,5 +57,6 @@
5157
"**/.git/objects/**": true,
5258
"**/.git/subtree-cache/**": true,
5359
"**/node_modules/*/**": true
54-
}
60+
},
61+
"esbonio.sphinx.confDir": "${workspaceFolder}/docs/source"
5562
}

AUTHORS.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Authors
55
Core Development Team
66
---------------------
77

8-
- `Tanja Tornede <mailto:tanja.tornede@upb.de?subject=[PyExperimenter]/>`_
9-
- `Alexander Tornede <mailto:alexander.tornede@upb.de?subject=[PyExperimenter]/>`_
10-
- `Lukas Fehring <mailto:fehring2@mail.uni-paderborn.de?subject=[PyExperimenter]/>`_
11-
- `Helena Graf <mailto:helena.graf@upb.de?subject=[PyExperimenter]/>`_
8+
- `Tanja Tornede <mailto:t.tornede@ai.uni-hannover.de?subject=[PyExperimenter]/>`_
9+
- `Alexander Tornede <mailto:a.tornede@ai.uni-hannover.de?subject=[PyExperimenter]/>`_
10+
- `Lukas Fehring <mailto:lukas.fehring@stud.uni-hannover.de?subject=[PyExperimenter]/>`_
11+
- `Helena Graf <mailto:h.graf@ai.uni-hannover.de?subject=[PyExperimenter]/>`_
1212
- `Jonas Hanselle <mailto:jonas.hanselle@upb.de?subject=[PyExperimenter]/>`_
1313
- `Felix Mohr <mailto:felix.mohr@unisabana.edu.co?subject=[PyExperimenter]/>`_
1414
- `Marcel Wever <mailto:marcel.wever@ifi.lmu.de?subject=[PyExperimenter]/>`_

CHANGELOG.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
22
Changelog
33
=========
44

5+
6+
v1.2.0 (04/04/2023)
7+
===================
8+
9+
Feature
10+
-------
11+
12+
- Added logtables functionality, allowing to incrementally log information during the execution of an experiment, which is described in detail in the documentation.
13+
- Documentation of the usage of ``PyExperimenter`` has been reworked in large parts.
14+
15+
Examples
16+
--------
17+
- An additional logtable example has been added.
18+
- An issue of the example notebook has been fixed causing them to fail due to missing directories.
19+
- Improved general example to cover extended functionality of ``PyExperimenter.reset_experiments()``.
20+
21+
Fix
22+
---
23+
24+
- Start date is now set when pulling an experiment.
25+
- Supported Python version is now >= 3.9.
26+
- Changed row identification in ResultProcessor to experiment ID instead of checking keyfields.
27+
- Stack traces are now correctly logged into the mysql database, as the used mysql connector implementation has been changed to C.
28+
- Changed multiprocessing to joblib due to issues with the example notebooks.
29+
- The ``random_order`` parameter is not needed anymore for the execution, therefore it has been removed.
30+
- Documentation of ``PyExperimenter.reset_experiments()`` has been updated to reflect the changes in the functionality.
31+
32+
Tests
33+
-----
34+
35+
- Tests covering the new functionality of logtables have been added.
36+
37+
538
v1.1.0 (21/11/2022)
639
===================
740

docs/source/conf.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@
5959
#
6060
html_theme = 'sphinx_rtd_theme'
6161

62+
html_theme_options = {
63+
'logo_only': False,
64+
'display_version': True,
65+
'prev_next_buttons_location': 'bottom',
66+
'style_external_links': True,
67+
# Toc options
68+
'collapse_navigation': True,
69+
'sticky_navigation': True,
70+
'navigation_depth': 4,
71+
'includehidden': True,
72+
'titles_only': False
73+
}
74+
6275
# Add any paths that contain custom static files (such as style sheets) here,
6376
# relative to this directory. They are copied after the builtin static files,
6477
# so a file named "default.css" will overwrite the builtin "default.css".

0 commit comments

Comments
 (0)