potassco-benchmark-tool 2.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. potassco_benchmark_tool-2.2.1/.envrc +3 -0
  2. potassco_benchmark_tool-2.2.1/.github/workflows/deploy.yml +48 -0
  3. potassco_benchmark_tool-2.2.1/.github/workflows/doc.yml +51 -0
  4. potassco_benchmark_tool-2.2.1/.github/workflows/test.yml +37 -0
  5. potassco_benchmark_tool-2.2.1/.gitignore +45 -0
  6. potassco_benchmark_tool-2.2.1/.pre-commit-config.yaml +37 -0
  7. potassco_benchmark_tool-2.2.1/CONTRIBUTING.md +26 -0
  8. potassco_benchmark_tool-2.2.1/LICENSE +21 -0
  9. potassco_benchmark_tool-2.2.1/PKG-INFO +125 -0
  10. potassco_benchmark_tool-2.2.1/README.md +62 -0
  11. potassco_benchmark_tool-2.2.1/docs/_custom/css/extra.css +30 -0
  12. potassco_benchmark_tool-2.2.1/docs/_custom/css/mkdoclingo.css +49 -0
  13. potassco_benchmark_tool-2.2.1/docs/_custom/css/mkdocstrings.css +50 -0
  14. potassco_benchmark_tool-2.2.1/docs/_custom/javascripts/mathjax.js +19 -0
  15. potassco_benchmark_tool-2.2.1/docs/_custom/overrides/.icons/potassco-full-logo.svg +3 -0
  16. potassco_benchmark_tool-2.2.1/docs/_custom/overrides/.icons/potassco-logo.svg +3 -0
  17. potassco_benchmark_tool-2.2.1/docs/_custom/overrides/partials/logo.html +29 -0
  18. potassco_benchmark_tool-2.2.1/docs/assets/images/potassco-full-logo.svg +3 -0
  19. potassco_benchmark_tool-2.2.1/docs/assets/images/potassco-logo-dark.svg +3 -0
  20. potassco_benchmark_tool-2.2.1/docs/assets/images/potassco-logo.svg +3 -0
  21. potassco_benchmark_tool-2.2.1/docs/community/CONTRIBUTING.md +26 -0
  22. potassco_benchmark_tool-2.2.1/docs/community/help.md +31 -0
  23. potassco_benchmark_tool-2.2.1/docs/community/index.md +21 -0
  24. potassco_benchmark_tool-2.2.1/docs/examples/index.md +48 -0
  25. potassco_benchmark_tool-2.2.1/docs/getting_started/conv/index.md +68 -0
  26. potassco_benchmark_tool-2.2.1/docs/getting_started/eval/index.md +29 -0
  27. potassco_benchmark_tool-2.2.1/docs/getting_started/gen/index.md +34 -0
  28. potassco_benchmark_tool-2.2.1/docs/getting_started/gen/runscript.md +356 -0
  29. potassco_benchmark_tool-2.2.1/docs/getting_started/gen/templates.md +47 -0
  30. potassco_benchmark_tool-2.2.1/docs/getting_started/index.md +85 -0
  31. potassco_benchmark_tool-2.2.1/docs/getting_started/init/index.md +31 -0
  32. potassco_benchmark_tool-2.2.1/docs/getting_started/run_dist/index.md +25 -0
  33. potassco_benchmark_tool-2.2.1/docs/getting_started/verify/index.md +16 -0
  34. potassco_benchmark_tool-2.2.1/docs/getting_started/workflow/index.md +75 -0
  35. potassco_benchmark_tool-2.2.1/docs/index.md +23 -0
  36. potassco_benchmark_tool-2.2.1/docs/reference/api/entry_points.md +11 -0
  37. potassco_benchmark_tool-2.2.1/docs/reference/api/index.md +8 -0
  38. potassco_benchmark_tool-2.2.1/docs/reference/api/result/index.md +8 -0
  39. potassco_benchmark_tool-2.2.1/docs/reference/api/result/parser.md +10 -0
  40. potassco_benchmark_tool-2.2.1/docs/reference/api/result/result.md +10 -0
  41. potassco_benchmark_tool-2.2.1/docs/reference/api/result/xlsx_gen.md +10 -0
  42. potassco_benchmark_tool-2.2.1/docs/reference/api/resultparser.md +12 -0
  43. potassco_benchmark_tool-2.2.1/docs/reference/api/runscript/index.md +8 -0
  44. potassco_benchmark_tool-2.2.1/docs/reference/api/runscript/parser.md +10 -0
  45. potassco_benchmark_tool-2.2.1/docs/reference/api/runscript/runscript.md +10 -0
  46. potassco_benchmark_tool-2.2.1/docs/reference/api/tools.md +11 -0
  47. potassco_benchmark_tool-2.2.1/docs/reference/encoding_support.md +104 -0
  48. potassco_benchmark_tool-2.2.1/docs/reference/index.md +11 -0
  49. potassco_benchmark_tool-2.2.1/docs/reference/resultparser.md +71 -0
  50. potassco_benchmark_tool-2.2.1/mkdocs.yml +161 -0
  51. potassco_benchmark_tool-2.2.1/mount-zip +42 -0
  52. potassco_benchmark_tool-2.2.1/noxfile.py +128 -0
  53. potassco_benchmark_tool-2.2.1/pyproject.toml +95 -0
  54. potassco_benchmark_tool-2.2.1/setup.cfg +4 -0
  55. potassco_benchmark_tool-2.2.1/src/benchmarktool/__init__.py +0 -0
  56. potassco_benchmark_tool-2.2.1/src/benchmarktool/entry_points.py +455 -0
  57. potassco_benchmark_tool-2.2.1/src/benchmarktool/init/programs/gcat.sh +24 -0
  58. potassco_benchmark_tool-2.2.1/src/benchmarktool/init/runscripts/runscript-all.xml +49 -0
  59. potassco_benchmark_tool-2.2.1/src/benchmarktool/init/runscripts/runscript-dist.xml +20 -0
  60. potassco_benchmark_tool-2.2.1/src/benchmarktool/init/runscripts/runscript-example.xml +31 -0
  61. potassco_benchmark_tool-2.2.1/src/benchmarktool/init/runscripts/runscript-seq.xml +27 -0
  62. potassco_benchmark_tool-2.2.1/src/benchmarktool/init/templates/seq-generic.sh +27 -0
  63. potassco_benchmark_tool-2.2.1/src/benchmarktool/init/templates/single.dist +25 -0
  64. potassco_benchmark_tool-2.2.1/src/benchmarktool/result/__init__.py +0 -0
  65. potassco_benchmark_tool-2.2.1/src/benchmarktool/result/ipynb_gen.py +479 -0
  66. potassco_benchmark_tool-2.2.1/src/benchmarktool/result/parser.py +167 -0
  67. potassco_benchmark_tool-2.2.1/src/benchmarktool/result/result.py +463 -0
  68. potassco_benchmark_tool-2.2.1/src/benchmarktool/result/xlsx_gen.py +935 -0
  69. potassco_benchmark_tool-2.2.1/src/benchmarktool/resultparser/__init__.py +0 -0
  70. potassco_benchmark_tool-2.2.1/src/benchmarktool/resultparser/clasp.py +99 -0
  71. potassco_benchmark_tool-2.2.1/src/benchmarktool/runscript/__init__.py +0 -0
  72. potassco_benchmark_tool-2.2.1/src/benchmarktool/runscript/parser.py +578 -0
  73. potassco_benchmark_tool-2.2.1/src/benchmarktool/runscript/runscript.py +1480 -0
  74. potassco_benchmark_tool-2.2.1/src/benchmarktool/tools.py +102 -0
  75. potassco_benchmark_tool-2.2.1/src/potassco_benchmark_tool.egg-info/PKG-INFO +125 -0
  76. potassco_benchmark_tool-2.2.1/src/potassco_benchmark_tool.egg-info/SOURCES.txt +114 -0
  77. potassco_benchmark_tool-2.2.1/src/potassco_benchmark_tool.egg-info/dependency_links.txt +1 -0
  78. potassco_benchmark_tool-2.2.1/src/potassco_benchmark_tool.egg-info/entry_points.txt +2 -0
  79. potassco_benchmark_tool-2.2.1/src/potassco_benchmark_tool.egg-info/requires.txt +34 -0
  80. potassco_benchmark_tool-2.2.1/src/potassco_benchmark_tool.egg-info/top_level.txt +1 -0
  81. potassco_benchmark_tool-2.2.1/tests/__init__.py +0 -0
  82. potassco_benchmark_tool-2.2.1/tests/py.typed +0 -0
  83. potassco_benchmark_tool-2.2.1/tests/ref/README.md +1 -0
  84. potassco_benchmark_tool-2.2.1/tests/ref/out/x.txt +0 -0
  85. potassco_benchmark_tool-2.2.1/tests/ref/results/clasp_error/runsolver.solver +6 -0
  86. potassco_benchmark_tool-2.2.1/tests/ref/results/clasp_error/runsolver.watcher +1 -0
  87. potassco_benchmark_tool-2.2.1/tests/ref/results/finished/runsolver.solver +51 -0
  88. potassco_benchmark_tool-2.2.1/tests/ref/results/finished/runsolver.watcher +21 -0
  89. potassco_benchmark_tool-2.2.1/tests/ref/results/memout/runsolver.solver +49 -0
  90. potassco_benchmark_tool-2.2.1/tests/ref/results/memout/runsolver.watcher +21 -0
  91. potassco_benchmark_tool-2.2.1/tests/ref/results/missing/x.txt +0 -0
  92. potassco_benchmark_tool-2.2.1/tests/ref/results/timeout/runsolver.solver +58 -0
  93. potassco_benchmark_tool-2.2.1/tests/ref/results/timeout/runsolver.watcher +22 -0
  94. potassco_benchmark_tool-2.2.1/tests/ref/runscripts/invalid_runscript.xml +3 -0
  95. potassco_benchmark_tool-2.2.1/tests/ref/runscripts/invalid_xml.xml +5 -0
  96. potassco_benchmark_tool-2.2.1/tests/ref/runscripts/test_runscript.xml +68 -0
  97. potassco_benchmark_tool-2.2.1/tests/ref/test_bench/.invalid.file +0 -0
  98. potassco_benchmark_tool-2.2.1/tests/ref/test_bench/test_f1.2.1.lp +0 -0
  99. potassco_benchmark_tool-2.2.1/tests/ref/test_bench/test_f1.2.2.lp +0 -0
  100. potassco_benchmark_tool-2.2.1/tests/ref/test_bench/test_f2.lp +0 -0
  101. potassco_benchmark_tool-2.2.1/tests/ref/test_bench/test_folder/test_foldered.lp +0 -0
  102. potassco_benchmark_tool-2.2.1/tests/ref/test_disttemplate.dist +6 -0
  103. potassco_benchmark_tool-2.2.1/tests/ref/test_eval.xml +256 -0
  104. potassco_benchmark_tool-2.2.1/tests/ref/test_template.sh +1 -0
  105. potassco_benchmark_tool-2.2.1/tests/result/__init__.py +0 -0
  106. potassco_benchmark_tool-2.2.1/tests/result/test_ipynb_gen.py +23 -0
  107. potassco_benchmark_tool-2.2.1/tests/result/test_result_classes.py +455 -0
  108. potassco_benchmark_tool-2.2.1/tests/result/test_result_parser.py +157 -0
  109. potassco_benchmark_tool-2.2.1/tests/result/test_xlsx_gen.py +1099 -0
  110. potassco_benchmark_tool-2.2.1/tests/resultparser/__init__.py +0 -0
  111. potassco_benchmark_tool-2.2.1/tests/resultparser/test_result_parser.py +118 -0
  112. potassco_benchmark_tool-2.2.1/tests/runscript/__init__.py +0 -0
  113. potassco_benchmark_tool-2.2.1/tests/runscript/test_runscript_classes.py +1434 -0
  114. potassco_benchmark_tool-2.2.1/tests/runscript/test_runscript_parser.py +261 -0
  115. potassco_benchmark_tool-2.2.1/tests/test_entry.py +188 -0
  116. potassco_benchmark_tool-2.2.1/tests/test_tools.py +67 -0
@@ -0,0 +1,3 @@
1
+ if [[ -e .venv/bin/activate ]]; then
2
+ source .venv/bin/activate
3
+ fi
@@ -0,0 +1,48 @@
1
+ name: deploy to pypi
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ tags:
7
+ - 'v[0-9]+.[0-9]+.[0-9]+'
8
+
9
+ jobs:
10
+ test:
11
+ uses: ./.github/workflows/test.yml
12
+
13
+ deploy:
14
+ name: deploy
15
+ needs: test
16
+ permissions:
17
+ id-token: write
18
+ environment: release
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v5
22
+ with:
23
+ fetch-depth: 0
24
+
25
+ - uses: actions/setup-python@v6
26
+ with:
27
+ python-version: '3.10'
28
+
29
+ - name: install build dependencies
30
+ run: python3 -m pip install build
31
+
32
+ - name: build package
33
+ run: python3 -m build --sdist --wheel --outdir dist/
34
+
35
+ - name: upload package
36
+ uses: actions/upload-artifact@v4
37
+ with:
38
+ name: package
39
+ path: dist/
40
+ - name: publish package (pypi)
41
+ if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
42
+ uses: pypa/gh-action-pypi-publish@release/v1
43
+
44
+ - name: publish package (test.pypi)
45
+ if: ${{ github.event_name == 'workflow_dispatch' }}
46
+ uses: pypa/gh-action-pypi-publish@release/v1
47
+ with:
48
+ repository-url: "https://test.pypi.org/legacy/"
@@ -0,0 +1,51 @@
1
+ name: Deploy Documentation
2
+ on:
3
+ workflow_dispatch:
4
+ push:
5
+ tags:
6
+ - 'v[0-9]+.[0-9]+.[0-9]+'
7
+
8
+ permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
+
13
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
14
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
15
+ concurrency:
16
+ group: "pages"
17
+ cancel-in-progress: false
18
+
19
+ jobs:
20
+ build:
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - name: Checkout
24
+ uses: actions/checkout@v4
25
+ - name: Set up Python 3.10
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: '3.10'
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ python -m pip install -e .[doc]
33
+ - name: Build the documentation
34
+ run: mkdocs build
35
+ - name: Setup Pages
36
+ id: pages
37
+ uses: actions/configure-pages@v5
38
+ - name: Upload artifact
39
+ uses: actions/upload-pages-artifact@v3
40
+ with:
41
+ path: "./site"
42
+ deploy:
43
+ runs-on: ubuntu-latest
44
+ environment:
45
+ name: github-pages
46
+ url: ${{steps.deployment.outputs.page_url}}
47
+ needs: build
48
+ steps:
49
+ - name: Deploy to GitHub Pages
50
+ id: deployment
51
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,37 @@
1
+ name: Run CI Test
2
+
3
+ on:
4
+ push:
5
+ branches: [main, master, wip]
6
+ pull_request:
7
+ workflow_call:
8
+
9
+ env:
10
+ FORCE_COLOR: "3"
11
+
12
+ jobs:
13
+ build:
14
+ name: test on ${{ matrix.os }}
15
+ runs-on: ${{ matrix.os }}
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ os: [ubuntu-latest]
20
+
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - uses: actions/setup-python@v5
24
+ with:
25
+ python-version: |
26
+ 3.10
27
+ 3.14
28
+
29
+ - name: install requirements
30
+ run: python -m pip install nox pre-commit
31
+
32
+ - name: run pre-commit
33
+ if: ${{ matrix.os == 'ubuntu-latest' }}
34
+ run: pre-commit run --all --show-diff-on-failure
35
+
36
+ - name: run tests
37
+ run: nox
@@ -0,0 +1,45 @@
1
+ benchmarks/*
2
+ programs/*
3
+ resultparsers/*
4
+ runscripts/*
5
+ templates/*
6
+ /test.*
7
+
8
+ # Editors
9
+ .vscode/
10
+ *~
11
+ \#*\#
12
+ .\#*
13
+
14
+ # Mac/OSX
15
+ .DS_Store
16
+
17
+ # Byte-compiled / optimized / DLL files
18
+ __pycache__/
19
+ *.py[cod]
20
+ *$py.class
21
+
22
+ # Installer logs
23
+ pip-log.txt
24
+ pip-delete-this-directory.txt
25
+
26
+ # Unit test / coverage reports
27
+ .pytest_cache/
28
+
29
+ # pyenv
30
+ .python-version
31
+ .venv
32
+
33
+ # mypy
34
+ .mypy_cache/
35
+ .dmypy.json
36
+ dmypy.json
37
+ *egg-info*
38
+
39
+ # unclassified
40
+ dist
41
+ build
42
+ .coverage
43
+ _build
44
+ _autosummary
45
+ site
@@ -0,0 +1,37 @@
1
+ repos:
2
+ - repo: https://github.com/myint/autoflake
3
+ rev: v2.3.0
4
+ hooks:
5
+ - id: autoflake
6
+ args: ["--in-place", "--imports=fillname", "--ignore-init-module-imports", "--remove-unused-variables"]
7
+ exclude: ^.github/
8
+
9
+ - repo: https://github.com/pre-commit/pre-commit-hooks
10
+ rev: v4.5.0
11
+ hooks:
12
+ - id: end-of-file-fixer
13
+ - id: trailing-whitespace
14
+ exclude: ^.github/
15
+ args:
16
+ - --markdown-linebreak-ext=md
17
+
18
+ - repo: https://github.com/pycqa/isort
19
+ rev: 5.13.2
20
+ hooks:
21
+ - id: isort
22
+ exclude: ^.github/
23
+
24
+ - repo: https://github.com/psf/black
25
+ rev: 24.2.0
26
+ hooks:
27
+ - id: black
28
+ exclude: ^.github/
29
+
30
+ - repo: https://github.com/executablebooks/mdformat
31
+ rev: 0.7.17
32
+ hooks:
33
+ - id: mdformat
34
+ args: ["--wrap", "79"]
35
+ exclude: ^docs/
36
+ additional_dependencies:
37
+ - mdformat-gfm
@@ -0,0 +1,26 @@
1
+ # Contributing
2
+
3
+ ## How to get help or discuss possible contributions
4
+
5
+ To avoid duplicating issues, please search our [issue tracker][issues] before
6
+ filing a new issue.
7
+
8
+ - Open an [issue][new_issue] describing your problem.
9
+
10
+ ## How to make a contribution
11
+
12
+ - Fork the [benchmark-tool][project_url] repository and create a branch for
13
+ your changes.
14
+ - Submit a pull request to the master branch with your changes.
15
+ - Respond to feedback on your pull request.
16
+ - If everything is fine your pull request is merged. 🥳
17
+
18
+ ## License
19
+
20
+ When contributing to this project, you agree that you have authored 100% of the
21
+ content, that you have the necessary rights to the content and that the content
22
+ you contribute may be provided under the project license.
23
+
24
+ [issues]: https://github.com/potassco/benchmark-tool/issues
25
+ [new_issue]: https://github.com/potassco/benchmark-tool/issues/new
26
+ [project_url]: https://github.com/potassco/benchmark-tool
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Potassco
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,125 @@
1
+ Metadata-Version: 2.4
2
+ Name: potassco-benchmark-tool
3
+ Version: 2.2.1
4
+ Summary: A benchmark-tool for ASP based systems.
5
+ Author: Roland Kaminski, Tom Schmidt
6
+ License: MIT License
7
+
8
+ Copyright (c) 2025 Potassco
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://potassco.org
29
+ Project-URL: Repository, https://github.com/potassco/benchmark-tool
30
+ Project-URL: Documentation, https://potassco.org/benchmark-tool/
31
+ Keywords: benchmarking,benchmarks,Potassco
32
+ Requires-Python: >=3.10
33
+ Description-Content-Type: text/markdown
34
+ License-File: LICENSE
35
+ Requires-Dist: lxml
36
+ Requires-Dist: pandas
37
+ Requires-Dist: xlsxwriter
38
+ Requires-Dist: pyarrow
39
+ Requires-Dist: nbformat
40
+ Provides-Extra: format
41
+ Requires-Dist: black; extra == "format"
42
+ Requires-Dist: isort; extra == "format"
43
+ Requires-Dist: autoflake; extra == "format"
44
+ Provides-Extra: lint-pylint
45
+ Requires-Dist: pylint; extra == "lint-pylint"
46
+ Provides-Extra: typecheck
47
+ Requires-Dist: types-setuptools; extra == "typecheck"
48
+ Requires-Dist: mypy; extra == "typecheck"
49
+ Provides-Extra: test
50
+ Requires-Dist: coverage[toml]; extra == "test"
51
+ Provides-Extra: doc
52
+ Requires-Dist: mkdocs; extra == "doc"
53
+ Requires-Dist: mkdocs-material; extra == "doc"
54
+ Requires-Dist: mkdocstrings[python]; extra == "doc"
55
+ Provides-Extra: dev
56
+ Requires-Dist: benchmarktool[lint_pylint,test,typecheck]; extra == "dev"
57
+ Provides-Extra: plot
58
+ Requires-Dist: plotly; extra == "plot"
59
+ Requires-Dist: ipywidgets; extra == "plot"
60
+ Requires-Dist: anywidget; extra == "plot"
61
+ Requires-Dist: jupyter; extra == "plot"
62
+ Dynamic: license-file
63
+
64
+ # benchmarktool
65
+
66
+ A tool to easier generate, run and evaluate benchmarks.
67
+
68
+ ## Installation
69
+
70
+ The benchmark tool can be installed with any Python version newer than 3.10
71
+ using pip:
72
+
73
+ ```bash
74
+ pip install potassco-benchmark-tool
75
+ ```
76
+
77
+ To access the latest updates and fixes you can either use:
78
+
79
+ ```bash
80
+ pip install git+https://github.com/potassco/benchmark-tool
81
+ ```
82
+
83
+ Or alternatively build the tool yourself, which requires the `setuptools`
84
+ package. We recommend using conda, which includes `setuptools` in its default
85
+ Python installation. To build the tool manually run the following commands:
86
+
87
+ ```bash
88
+ git clone https://github.com/potassco/benchmark-tool
89
+ cd benchmark-tool
90
+ conda create -n <env-name> python=3.10
91
+ conda activate <env-name>
92
+ pip install .
93
+ ```
94
+
95
+ The documentation can be accessed [here](https://potassco.org/benchmark-tool/)
96
+ or build and hosted using:
97
+
98
+ ```bash
99
+ $ pip install .[doc]
100
+ $ mkdocs serve
101
+ ```
102
+
103
+ And afterwards accessed at `http://localhost:8000/systems/benchmark-tool/`.
104
+
105
+ ## Usage
106
+
107
+ You can check a successful installation by running
108
+
109
+ ```bash
110
+ $ btool -h
111
+ ```
112
+
113
+ Supported subcommands in order of use:
114
+
115
+ - `init` Prepare the benchmark environment
116
+ - `gen` Generate scripts from runscript
117
+ - `run-dist` Run distributed jobs
118
+ - `verify` Check for runlim errors and re-run failed instances
119
+ - `eval` Collect results
120
+ - `conv` Convert results to spreadsheet and more
121
+
122
+ For more information and examples check the documentation.
123
+
124
+ > **_NOTE:_** This project is still in active development. If you encounter any
125
+ > bugs, have ideas for improvement or feature requests, please open an issue.
@@ -0,0 +1,62 @@
1
+ # benchmarktool
2
+
3
+ A tool to easier generate, run and evaluate benchmarks.
4
+
5
+ ## Installation
6
+
7
+ The benchmark tool can be installed with any Python version newer than 3.10
8
+ using pip:
9
+
10
+ ```bash
11
+ pip install potassco-benchmark-tool
12
+ ```
13
+
14
+ To access the latest updates and fixes you can either use:
15
+
16
+ ```bash
17
+ pip install git+https://github.com/potassco/benchmark-tool
18
+ ```
19
+
20
+ Or alternatively build the tool yourself, which requires the `setuptools`
21
+ package. We recommend using conda, which includes `setuptools` in its default
22
+ Python installation. To build the tool manually run the following commands:
23
+
24
+ ```bash
25
+ git clone https://github.com/potassco/benchmark-tool
26
+ cd benchmark-tool
27
+ conda create -n <env-name> python=3.10
28
+ conda activate <env-name>
29
+ pip install .
30
+ ```
31
+
32
+ The documentation can be accessed [here](https://potassco.org/benchmark-tool/)
33
+ or build and hosted using:
34
+
35
+ ```bash
36
+ $ pip install .[doc]
37
+ $ mkdocs serve
38
+ ```
39
+
40
+ And afterwards accessed at `http://localhost:8000/systems/benchmark-tool/`.
41
+
42
+ ## Usage
43
+
44
+ You can check a successful installation by running
45
+
46
+ ```bash
47
+ $ btool -h
48
+ ```
49
+
50
+ Supported subcommands in order of use:
51
+
52
+ - `init` Prepare the benchmark environment
53
+ - `gen` Generate scripts from runscript
54
+ - `run-dist` Run distributed jobs
55
+ - `verify` Check for runlim errors and re-run failed instances
56
+ - `eval` Collect results
57
+ - `conv` Convert results to spreadsheet and more
58
+
59
+ For more information and examples check the documentation.
60
+
61
+ > **_NOTE:_** This project is still in active development. If you encounter any
62
+ > bugs, have ideas for improvement or feature requests, please open an issue.
@@ -0,0 +1,30 @@
1
+ :root {
2
+ --md-primary-fg-color: #6495ED;
3
+ }
4
+
5
+ [data-md-color-scheme="slate"] .md-header,
6
+ [data-md-color-scheme="slate"] .md-tabs {
7
+ --md-primary-fg-color: #253758;
8
+ }
9
+
10
+ .md-grid {
11
+ max-width: 1350px;
12
+ }
13
+
14
+ .md-header__title {
15
+ font-size: 1.2rem;
16
+ height: 2.5rem;
17
+ line-height: 2.5rem;
18
+ margin-left: 0 !important;
19
+ }
20
+
21
+ .md-header__button.md-logo {
22
+ /* margin-left: 30; */
23
+ padding-bottom: 0.8rem;
24
+ }
25
+
26
+ .md-header__button.md-logo img,
27
+ .md-header__button.md-logo svg {
28
+ height: 1.5rem;
29
+ width: 1.5rem;
30
+ }
@@ -0,0 +1,49 @@
1
+ code.doc-clingo-symbol-encoding::after {
2
+ content: "ASP";
3
+ color: var(--md-primary-fg-color);
4
+ }
5
+
6
+
7
+ code.doc-clingo-symbol-predicate::after {
8
+ content: "predicate";
9
+ color: #ca91bf
10
+ }
11
+
12
+
13
+ :root {
14
+ --md-admonition-icon--asp-doc: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.59 7.41 9 12l4.59 4.6L15 15.18 11.82 12 15 8.82M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"/></svg>');
15
+ --md-admonition-icon--asp-doc-ref: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15 7h5.5L15 1.5zM8 0h8l6 6v12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2M4 4v18h16v2H4a2 2 0 0 1-2-2V4z"/></svg>')
16
+ }
17
+
18
+ .md-typeset .admonition.asp-doc,
19
+ .md-typeset details.asp-doc {
20
+ border-color: var(--md-primary-fg-color);
21
+ }
22
+
23
+ .md-typeset .admonition.asp-doc-ref,
24
+ .md-typeset details.asp-doc-ref {
25
+ border-color: #ca91bf;
26
+ }
27
+
28
+ .md-typeset .asp-doc>.admonition-title,
29
+ .md-typeset .asp-doc>summary {
30
+ background-color: #1669B810;
31
+ }
32
+
33
+ .md-typeset .asp-doc-ref>.admonition-title,
34
+ .md-typeset .asp-doc-ref>summary {
35
+ background-color: #ca91bf10;
36
+ }
37
+
38
+ .md-typeset .asp-doc>.admonition-title::before,
39
+ .md-typeset .asp-doc>summary::before {
40
+ background-color: var(--md-primary-fg-color);
41
+ -webkit-mask-image: var(--md-admonition-icon--asp-doc);
42
+ mask-image: var(--md-admonition-icon--asp-doc);
43
+ }
44
+
45
+ .md-typeset .asp-doc-ref>summary::before {
46
+ background-color: #ca91bf;
47
+ -webkit-mask-image: var(--md-admonition-icon--asp-doc-ref);
48
+ mask-image: var(--md-admonition-icon--asp-doc-ref);
49
+ }
@@ -0,0 +1,50 @@
1
+ code.doc-section-title {
2
+ font-weight: bold;
3
+ }
4
+
5
+ code.doc-symbol-parameter::after {
6
+ content: "P";
7
+ }
8
+
9
+ code.doc-symbol-attribute::after {
10
+ content: "A";
11
+ }
12
+
13
+ code.doc-symbol-function::after {
14
+ content: "F";
15
+ }
16
+
17
+ code.doc-symbol-method::after {
18
+ content: "M";
19
+ }
20
+
21
+ code.doc-symbol-class::after {
22
+ content: "C";
23
+ }
24
+
25
+ code.doc-symbol-module::after {
26
+ content: "M";
27
+ }
28
+
29
+ :root {
30
+ --doc-symbol-parameter-fg-color: #df50af;
31
+ --doc-symbol-attribute-fg-color: #0079ff;
32
+ --doc-symbol-function-fg-color: #00dfa2;
33
+ --doc-symbol-method-fg-color: #00dfa2;
34
+ --doc-symbol-class-fg-color: #d1b619;
35
+ --doc-symbol-module-fg-color: #ff0060;
36
+
37
+ --doc-symbol-parameter-bg-color: #df50af1a;
38
+ --doc-symbol-attribute-bg-color: #0079ff1a;
39
+ --doc-symbol-function-bg-color: #00dfa21a;
40
+ --doc-symbol-method-bg-color: #00dfa21a;
41
+ --doc-symbol-class-bg-color: #d1b6191a;
42
+ --doc-symbol-module-bg-color: #ff00601a;
43
+ }
44
+
45
+
46
+ .cssClass>rect {
47
+ fill: #ff0000;
48
+ stroke: #ffff00;
49
+ stroke-width: 4px;
50
+ }
@@ -0,0 +1,19 @@
1
+ window.MathJax = {
2
+ tex: {
3
+ inlineMath: [["\\(", "\\)"]],
4
+ displayMath: [["\\[", "\\]"]],
5
+ processEscapes: true,
6
+ processEnvironments: true
7
+ },
8
+ options: {
9
+ ignoreHtmlClass: ".*|",
10
+ processHtmlClass: "arithmatex"
11
+ }
12
+ };
13
+
14
+ document$.subscribe(() => {
15
+ MathJax.startup.output.clearCache()
16
+ MathJax.typesetClear()
17
+ MathJax.texReset()
18
+ MathJax.typesetPromise()
19
+ })