ting-reasoner 0.8.3__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 (156) hide show
  1. ting_reasoner-0.8.3/.github/workflows/tests.yml +20 -0
  2. ting_reasoner-0.8.3/CHANGELOG.md +1118 -0
  3. ting_reasoner-0.8.3/LICENSE +22 -0
  4. ting_reasoner-0.8.3/LICENSING.md +122 -0
  5. ting_reasoner-0.8.3/MANIFEST.in +13 -0
  6. ting_reasoner-0.8.3/PKG-INFO +240 -0
  7. ting_reasoner-0.8.3/PROVENANCE.md +86 -0
  8. ting_reasoner-0.8.3/README.md +220 -0
  9. ting_reasoner-0.8.3/ROADMAP.txt +307 -0
  10. ting_reasoner-0.8.3/THIRD_PARTY_NOTICES.md +21 -0
  11. ting_reasoner-0.8.3/benchmarks/alpha_phase4j.py +115 -0
  12. ting_reasoner-0.8.3/benchmarks/batch_throughput.py +45 -0
  13. ting_reasoner-0.8.3/benchmarks/decision_assessment.py +72 -0
  14. ting_reasoner-0.8.3/benchmarks/input_updates.py +129 -0
  15. ting_reasoner-0.8.3/benchmarks/keyed_joins_phase4l.py +294 -0
  16. ting_reasoner-0.8.3/benchmarks/named_decisions.py +83 -0
  17. ting_reasoner-0.8.3/benchmarks/packed_store.py +182 -0
  18. ting_reasoner-0.8.3/benchmarks/partitioned_phase4i.py +184 -0
  19. ting_reasoner-0.8.3/benchmarks/program_reuse.py +74 -0
  20. ting_reasoner-0.8.3/benchmarks/python_performance.py +72 -0
  21. ting_reasoner-0.8.3/benchmarks/retained_agenda.py +157 -0
  22. ting_reasoner-0.8.3/benchmarks/row_delta_propagation.py +357 -0
  23. ting_reasoner-0.8.3/benchmarks/schema_directed_rematch.py +196 -0
  24. ting_reasoner-0.8.3/benchmarks/seed_knowledge.py +112 -0
  25. ting_reasoner-0.8.3/benchmarks/selective_libraries.py +46 -0
  26. ting_reasoner-0.8.3/benchmarks/sparse_phase4h.py +304 -0
  27. ting_reasoner-0.8.3/benchmarks/static_joins_phase4k.py +134 -0
  28. ting_reasoner-0.8.3/benchmarks/streaming_matching.py +245 -0
  29. ting_reasoner-0.8.3/benchmarks/support_maintenance.py +45 -0
  30. ting_reasoner-0.8.3/docs/TING_BUILDER.md +427 -0
  31. ting_reasoner-0.8.3/docs/TING_FILE_FORMAT.md +248 -0
  32. ting_reasoner-0.8.3/docs/TING_SOURCE.md +500 -0
  33. ting_reasoner-0.8.3/docs/Ting_Reasoner_API_Calls.rtf +624 -0
  34. ting_reasoner-0.8.3/docs/WINDOWS_REVIEW.md +55 -0
  35. ting_reasoner-0.8.3/docs/assets/ting-reasoner-icon.svg +10 -0
  36. ting_reasoner-0.8.3/docs/index.html +2481 -0
  37. ting_reasoner-0.8.3/docs/performance.json +2845 -0
  38. ting_reasoner-0.8.3/docs/platform-reports.json +42 -0
  39. ting_reasoner-0.8.3/docs/validation.json +219 -0
  40. ting_reasoner-0.8.3/examples/console_session.txt +12 -0
  41. ting_reasoner-0.8.3/examples/eligibility.py +83 -0
  42. ting_reasoner-0.8.3/examples/eligibility.tingspec.json +216 -0
  43. ting_reasoner-0.8.3/examples/equipment.ting +40 -0
  44. ting_reasoner-0.8.3/examples/equipment_decision.ting +84 -0
  45. ting_reasoner-0.8.3/examples/equipment_types.ting +20 -0
  46. ting_reasoner-0.8.3/examples/fruit_types.ting +27 -0
  47. ting_reasoner-0.8.3/examples/inspection.ting +72 -0
  48. ting_reasoner-0.8.3/examples/inspection_supports.ting +44 -0
  49. ting_reasoner-0.8.3/examples/maintenance.ting +68 -0
  50. ting_reasoner-0.8.3/examples/named_equipment.ting +99 -0
  51. ting_reasoner-0.8.3/examples/orchard.ting +37 -0
  52. ting_reasoner-0.8.3/examples/orchard_modular.ting +20 -0
  53. ting_reasoner-0.8.3/examples/source_api.py +29 -0
  54. ting_reasoner-0.8.3/examples/thresholds.ting +26 -0
  55. ting_reasoner-0.8.3/examples/ting_file.py +52 -0
  56. ting_reasoner-0.8.3/pyproject.toml +43 -0
  57. ting_reasoner-0.8.3/setup.cfg +4 -0
  58. ting_reasoner-0.8.3/src/ting_reasoner/__init__.py +284 -0
  59. ting_reasoner-0.8.3/src/ting_reasoner/__main__.py +10 -0
  60. ting_reasoner-0.8.3/src/ting_reasoner/artifacts.py +177 -0
  61. ting_reasoner-0.8.3/src/ting_reasoner/authoring.py +1175 -0
  62. ting_reasoner-0.8.3/src/ting_reasoner/builder_cli.py +635 -0
  63. ting_reasoner-0.8.3/src/ting_reasoner/classification.py +133 -0
  64. ting_reasoner-0.8.3/src/ting_reasoner/cli.py +218 -0
  65. ting_reasoner-0.8.3/src/ting_reasoner/compiler.py +386 -0
  66. ting_reasoner-0.8.3/src/ting_reasoner/console.py +1625 -0
  67. ting_reasoner-0.8.3/src/ting_reasoner/decision_model.py +125 -0
  68. ting_reasoner-0.8.3/src/ting_reasoner/decisions.py +330 -0
  69. ting_reasoner-0.8.3/src/ting_reasoner/docs/index.html +2481 -0
  70. ting_reasoner-0.8.3/src/ting_reasoner/engine.py +4109 -0
  71. ting_reasoner-0.8.3/src/ting_reasoner/errors.py +67 -0
  72. ting_reasoner-0.8.3/src/ting_reasoner/explanations.py +238 -0
  73. ting_reasoner-0.8.3/src/ting_reasoner/history.py +1756 -0
  74. ting_reasoner-0.8.3/src/ting_reasoner/ir.py +1493 -0
  75. ting_reasoner-0.8.3/src/ting_reasoner/libraries.py +770 -0
  76. ting_reasoner-0.8.3/src/ting_reasoner/link_model.py +86 -0
  77. ting_reasoner-0.8.3/src/ting_reasoner/maintenance.py +588 -0
  78. ting_reasoner-0.8.3/src/ting_reasoner/model.py +992 -0
  79. ting_reasoner-0.8.3/src/ting_reasoner/nd.py +418 -0
  80. ting_reasoner-0.8.3/src/ting_reasoner/optimization.py +224 -0
  81. ting_reasoner-0.8.3/src/ting_reasoner/parallel.py +342 -0
  82. ting_reasoner-0.8.3/src/ting_reasoner/py.typed +1 -0
  83. ting_reasoner-0.8.3/src/ting_reasoner/results.py +306 -0
  84. ting_reasoner-0.8.3/src/ting_reasoner/rulespec.py +1570 -0
  85. ting_reasoner-0.8.3/src/ting_reasoner/selftest.py +201 -0
  86. ting_reasoner-0.8.3/src/ting_reasoner/source.py +314 -0
  87. ting_reasoner-0.8.3/src/ting_reasoner/store.py +751 -0
  88. ting_reasoner-0.8.3/src/ting_reasoner/testing/__init__.py +7 -0
  89. ting_reasoner-0.8.3/src/ting_reasoner/testing/reference.py +1655 -0
  90. ting_reasoner-0.8.3/src/ting_reasoner/transactions.py +349 -0
  91. ting_reasoner-0.8.3/src/ting_reasoner.egg-info/PKG-INFO +240 -0
  92. ting_reasoner-0.8.3/src/ting_reasoner.egg-info/SOURCES.txt +154 -0
  93. ting_reasoner-0.8.3/src/ting_reasoner.egg-info/dependency_links.txt +1 -0
  94. ting_reasoner-0.8.3/src/ting_reasoner.egg-info/entry_points.txt +4 -0
  95. ting_reasoner-0.8.3/src/ting_reasoner.egg-info/top_level.txt +1 -0
  96. ting_reasoner-0.8.3/tests/__init__.py +2 -0
  97. ting_reasoner-0.8.3/tests/test_a3_acceptance.py +324 -0
  98. ting_reasoner-0.8.3/tests/test_a3_differential.py +404 -0
  99. ting_reasoner-0.8.3/tests/test_a4_conditions_budgets.py +313 -0
  100. ting_reasoner-0.8.3/tests/test_a5_conditions.py +319 -0
  101. ting_reasoner-0.8.3/tests/test_alpha_phase4j.py +431 -0
  102. ting_reasoner-0.8.3/tests/test_builder_cli.py +424 -0
  103. ting_reasoner-0.8.3/tests/test_builder_history.py +515 -0
  104. ting_reasoner-0.8.3/tests/test_classifications.py +115 -0
  105. ting_reasoner-0.8.3/tests/test_console.py +282 -0
  106. ting_reasoner-0.8.3/tests/test_console_a3.py +212 -0
  107. ting_reasoner-0.8.3/tests/test_decisions.py +291 -0
  108. ting_reasoner-0.8.3/tests/test_differential.py +578 -0
  109. ting_reasoner-0.8.3/tests/test_documentation.py +54 -0
  110. ting_reasoner-0.8.3/tests/test_engine.py +542 -0
  111. ting_reasoner-0.8.3/tests/test_engine_a3.py +164 -0
  112. ting_reasoner-0.8.3/tests/test_failure_atomicity.py +914 -0
  113. ting_reasoner-0.8.3/tests/test_forall_row_delta.py +907 -0
  114. ting_reasoner-0.8.3/tests/test_incremental_maintenance.py +200 -0
  115. ting_reasoner-0.8.3/tests/test_indexed_matching.py +333 -0
  116. ting_reasoner-0.8.3/tests/test_input_delta_performance.py +195 -0
  117. ting_reasoner-0.8.3/tests/test_ir.py +354 -0
  118. ting_reasoner-0.8.3/tests/test_ir_nd.py +322 -0
  119. ting_reasoner-0.8.3/tests/test_keyed_joins_phase4l.py +594 -0
  120. ting_reasoner-0.8.3/tests/test_lazy_matching.py +295 -0
  121. ting_reasoner-0.8.3/tests/test_libraries.py +287 -0
  122. ting_reasoner-0.8.3/tests/test_maintenance.py +424 -0
  123. ting_reasoner-0.8.3/tests/test_model.py +300 -0
  124. ting_reasoner-0.8.3/tests/test_model_nd.py +222 -0
  125. ting_reasoner-0.8.3/tests/test_named_decisions.py +338 -0
  126. ting_reasoner-0.8.3/tests/test_nd.py +225 -0
  127. ting_reasoner-0.8.3/tests/test_optimization.py +183 -0
  128. ting_reasoner-0.8.3/tests/test_packed_store.py +390 -0
  129. ting_reasoner-0.8.3/tests/test_parallel.py +161 -0
  130. ting_reasoner-0.8.3/tests/test_partitioned_phase4i.py +757 -0
  131. ting_reasoner-0.8.3/tests/test_program_reuse.py +100 -0
  132. ting_reasoner-0.8.3/tests/test_reference.py +379 -0
  133. ting_reasoner-0.8.3/tests/test_reference_a3.py +432 -0
  134. ting_reasoner-0.8.3/tests/test_release_audit.py +1400 -0
  135. ting_reasoner-0.8.3/tests/test_retained_agenda.py +549 -0
  136. ting_reasoner-0.8.3/tests/test_row_delta_propagation.py +1221 -0
  137. ting_reasoner-0.8.3/tests/test_rulespec.py +678 -0
  138. ting_reasoner-0.8.3/tests/test_schema_directed_rematch.py +725 -0
  139. ting_reasoner-0.8.3/tests/test_seeds.py +279 -0
  140. ting_reasoner-0.8.3/tests/test_source.py +423 -0
  141. ting_reasoner-0.8.3/tests/test_source_explanations.py +225 -0
  142. ting_reasoner-0.8.3/tests/test_sparse_phase4h.py +172 -0
  143. ting_reasoner-0.8.3/tests/test_static_joins_phase4k.py +232 -0
  144. ting_reasoner-0.8.3/tests/test_store_compaction.py +247 -0
  145. ting_reasoner-0.8.3/tests/test_stratification.py +263 -0
  146. ting_reasoner-0.8.3/tests/test_ting_files.py +446 -0
  147. ting_reasoner-0.8.3/tests/test_transaction_records.py +240 -0
  148. ting_reasoner-0.8.3/tests/test_transactions.py +414 -0
  149. ting_reasoner-0.8.3/tools/__init__.py +1 -0
  150. ting_reasoner-0.8.3/tools/build_docs.py +399 -0
  151. ting_reasoner-0.8.3/tools/decision_manual.py +248 -0
  152. ting_reasoner-0.8.3/tools/library_manual.py +200 -0
  153. ting_reasoner-0.8.3/tools/maintenance_manual.py +157 -0
  154. ting_reasoner-0.8.3/tools/named_decision_manual.py +217 -0
  155. ting_reasoner-0.8.3/tools/release_audit.py +1794 -0
  156. ting_reasoner-0.8.3/tools/source_manual.py +549 -0
@@ -0,0 +1,20 @@
1
+ name: Python library checks
2
+ on: [push, pull_request, workflow_dispatch]
3
+ permissions:
4
+ contents: read
5
+ jobs:
6
+ test:
7
+ strategy:
8
+ fail-fast: false
9
+ matrix:
10
+ os: [ubuntu-latest, windows-latest, macos-latest]
11
+ python: ['3.11', '3.12', '3.13', '3.14']
12
+ runs-on: ${{ matrix.os }}
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-python@v5
16
+ with:
17
+ python-version: ${{ matrix.python }}
18
+ - run: python -m pip install --no-deps .
19
+ - run: python -m ting_reasoner.selftest
20
+ - run: python -m unittest discover -s tests