combinatory-synthesizer 0.0.1.dev22__tar.gz → 0.0.1.dev24__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 (75) hide show
  1. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/PKG-INFO +1 -1
  2. combinatory_synthesizer-0.0.1.dev24/src/cosy/_version.py +24 -0
  3. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/extensions/visualization/script.js +7 -1
  4. combinatory_synthesizer-0.0.1.dev24/tests/__init__.py +0 -0
  5. combinatory_synthesizer-0.0.1.dev22/src/cosy/_version.py +0 -34
  6. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/dependabot.yml +0 -0
  7. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/benchmarks.yml +0 -0
  8. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/build-nightly.yml +0 -0
  9. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/check-docs.yml +0 -0
  10. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/checks.yml +0 -0
  11. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/deploy-docs.yml +0 -0
  12. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/pr-rules-develop.yml +0 -0
  13. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/pr-rules-main.yml +0 -0
  14. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/pre-release.yml +0 -0
  15. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.github/workflows/release.yml +0 -0
  16. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/.gitignore +0 -0
  17. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/CITATION.cff +0 -0
  18. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/LICENSE.txt +0 -0
  19. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/README.md +0 -0
  20. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/benchmarks/__init__.py +0 -0
  21. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/benchmarks/test_benchmark_maximal_elements.py +0 -0
  22. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/benchmarks/test_benchmark_maze.py +0 -0
  23. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/benchmarks/test_benchmark_maze_contains.py +0 -0
  24. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/benchmarks/test_benchmark_maze_loopfree.py +0 -0
  25. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/.overrides/partials/copyright.html +0 -0
  26. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/about/authors.md +0 -0
  27. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/assets/badges/mypy.json +0 -0
  28. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/assets/images/logo.svg +0 -0
  29. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/bibliographies/applications.bib +0 -0
  30. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/bibliographies/theory.bib +0 -0
  31. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/examples/introduction.md +0 -0
  32. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/features/advanced.md +0 -0
  33. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/features/constraints.md +0 -0
  34. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/guidelines/best-practice.md +0 -0
  35. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/guidelines/troubleshoot.md +0 -0
  36. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/index.md +0 -0
  37. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/quick-start.md +0 -0
  38. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/docs/stylesheets/extra.css +0 -0
  39. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/examples/example_constraints.py +0 -0
  40. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/examples/example_constraints_inline.py +0 -0
  41. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/examples/example_fibonacci.py +0 -0
  42. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/examples/example_fibonacci_linear.py +0 -0
  43. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/hatch.toml +0 -0
  44. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/mkdocs.yml +0 -0
  45. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/pyproject.toml +0 -0
  46. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/scripts/gen_example_pages.py +0 -0
  47. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/scripts/gen_reference_pages.py +0 -0
  48. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/__init__.py +0 -0
  49. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/__init__.py +0 -0
  50. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/combinatorics.py +0 -0
  51. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/inspector.py +0 -0
  52. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/py.typed +0 -0
  53. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/solution_space.py +0 -0
  54. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/specification_builder.py +0 -0
  55. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/subtypes.py +0 -0
  56. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/synthesizer.py +0 -0
  57. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/tree.py +0 -0
  58. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/core/types.py +0 -0
  59. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/extensions/__init__.py +0 -0
  60. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/extensions/solutions.py +0 -0
  61. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/extensions/visualization/collapsible_tree.html +0 -0
  62. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/extensions/visualize.py +0 -0
  63. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/maestro/__init__.py +0 -0
  64. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/src/cosy/maestro/maestro.py +0 -0
  65. /combinatory_synthesizer-0.0.1.dev22/tests/__init__.py → /combinatory_synthesizer-0.0.1.dev24/src/cosy/py.typed +0 -0
  66. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_combinatorics.py +0 -0
  67. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_contains_tree.py +0 -0
  68. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_enumerate_artificial_solution_space.py +0 -0
  69. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_group_underspecification.py +0 -0
  70. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_infinite_enumeration.py +0 -0
  71. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_intersect_arguments.py +0 -0
  72. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_literal_candidates.py +0 -0
  73. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_literal_inference.py +0 -0
  74. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_no_prune.py +0 -0
  75. {combinatory_synthesizer-0.0.1.dev22 → combinatory_synthesizer-0.0.1.dev24}/tests/test_overlapping_substitution_inference.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: combinatory-synthesizer
3
- Version: 0.0.1.dev22
3
+ Version: 0.0.1.dev24
4
4
  Summary: Type based synthesis framework using inhabitation in FCLP
5
5
  Project-URL: Documentation, https://tudo-seal.github.io/cosy/
6
6
  Project-URL: Issues, https://github.com/tudo-seal/cosy/issues
@@ -0,0 +1,24 @@
1
+ # file generated by vcs-versioning
2
+ # don't change, don't track in version control
3
+ from __future__ import annotations
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "__version_tuple__",
8
+ "version",
9
+ "version_tuple",
10
+ "__commit_id__",
11
+ "commit_id",
12
+ ]
13
+
14
+ version: str
15
+ __version__: str
16
+ __version_tuple__: tuple[int | str, ...]
17
+ version_tuple: tuple[int | str, ...]
18
+ commit_id: str | None
19
+ __commit_id__: str | None
20
+
21
+ __version__ = version = '0.0.1.dev24'
22
+ __version_tuple__ = version_tuple = (0, 0, 1, 'dev24')
23
+
24
+ __commit_id__ = commit_id = None
@@ -156,6 +156,7 @@ function refreshColorMapDisplay() {
156
156
  function refreshSelectedResult(change) {
157
157
  selectedResult += change;
158
158
  const successful = loadResult(selectedResult);
159
+ console.log("Selected result: " + selectedResult + " (change: " + change + ", successful: " + successful + ")");
159
160
  if (successful) {
160
161
  selectedResultText.text(selectedResult);
161
162
  refreshColorMapDisplay();
@@ -213,7 +214,12 @@ function filterParameterNodes(node) {
213
214
  }
214
215
 
215
216
  function loadResult(resultNum) {
216
- let resultData = JSON.parse(JSON.stringify(jsonData[resultNum]));
217
+ let resultData;
218
+ try {
219
+ resultData = JSON.parse(JSON.stringify(jsonData[resultNum]));
220
+ } catch (e) {
221
+ return false;
222
+ }
217
223
  if (resultData === undefined) {
218
224
  return false;
219
225
  }
File without changes
@@ -1,34 +0,0 @@
1
- # file generated by setuptools-scm
2
- # don't change, don't track in version control
3
-
4
- __all__ = [
5
- "__version__",
6
- "__version_tuple__",
7
- "version",
8
- "version_tuple",
9
- "__commit_id__",
10
- "commit_id",
11
- ]
12
-
13
- TYPE_CHECKING = False
14
- if TYPE_CHECKING:
15
- from typing import Tuple
16
- from typing import Union
17
-
18
- VERSION_TUPLE = Tuple[Union[int, str], ...]
19
- COMMIT_ID = Union[str, None]
20
- else:
21
- VERSION_TUPLE = object
22
- COMMIT_ID = object
23
-
24
- version: str
25
- __version__: str
26
- __version_tuple__: VERSION_TUPLE
27
- version_tuple: VERSION_TUPLE
28
- commit_id: COMMIT_ID
29
- __commit_id__: COMMIT_ID
30
-
31
- __version__ = version = '0.0.1.dev22'
32
- __version_tuple__ = version_tuple = (0, 0, 1, 'dev22')
33
-
34
- __commit_id__ = commit_id = None