json-model-compiler 2.0b26__tar.gz → 2.0b32__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 (200) hide show
  1. {json_model_compiler-2.0b26/site → json_model_compiler-2.0b32}/BACKLOG.md +93 -25
  2. json_model_compiler-2.0b32/BENCH.md +67 -0
  3. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/Makefile +6 -2
  4. {json_model_compiler-2.0b26/json_model_compiler.egg-info → json_model_compiler-2.0b32}/PKG-INFO +7 -15
  5. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/README.md +6 -14
  6. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/about.sh +13 -6
  7. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/docker/jmc +1 -1
  8. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/analyze.py +1 -0
  9. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/clang.py +162 -28
  10. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/jmc.pod +9 -1
  11. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/python_entry.py +1 -1
  12. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/irep.py +557 -53
  13. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/java.py +19 -10
  14. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/javascript.py +19 -10
  15. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/language.py +38 -9
  16. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/mtypes.py +2 -0
  17. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/optim.py +170 -13
  18. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/perl.py +50 -22
  19. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/plpgsql.py +28 -19
  20. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/python.py +8 -6
  21. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/c/json-model.h +48 -0
  22. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/support.py +11 -0
  23. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/script.py +12 -3
  24. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/utils.py +155 -64
  25. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/xstatic.py +156 -68
  26. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32/json_model_compiler.egg-info}/PKG-INFO +7 -15
  27. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model_compiler.egg-info/SOURCES.txt +9 -1
  28. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/jmc-ir.model.json +3 -2
  29. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/pyproject.toml +1 -1
  30. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32/site}/BACKLOG.md +93 -25
  31. json_model_compiler-2.0b32/site/BENCH.md +67 -0
  32. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/README.md +6 -14
  33. json_model_compiler-2.0b32/site/benchmarks/2025102200.csv +164 -0
  34. json_model_compiler-2.0b32/site/benchmarks/2025102200.json +296 -0
  35. json_model_compiler-2.0b32/site/benchmarks/2025102200.md +209 -0
  36. json_model_compiler-2.0b32/site/benchmarks/2025102201.csv +164 -0
  37. json_model_compiler-2.0b32/site/benchmarks/2025102201.json +296 -0
  38. json_model_compiler-2.0b32/site/benchmarks/2025102201.md +209 -0
  39. json_model_compiler-2.0b32/site/index.html +131 -0
  40. json_model_compiler-2.0b26/site/index.html +0 -50
  41. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/.gitignore +0 -0
  42. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/.gitmodules +0 -0
  43. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/API.md +0 -0
  44. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/DESIGN.md +0 -0
  45. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/DEV.md +0 -0
  46. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/DOC.md +0 -0
  47. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/HOWTO.md +0 -0
  48. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/INTEGRATION.md +0 -0
  49. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/MANIFEST.in +0 -0
  50. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/PUBS.md +0 -0
  51. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/SPEC.md +0 -0
  52. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/TUTO.md +0 -0
  53. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/docker/.dockerignore +0 -0
  54. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/docker/.gitignore +0 -0
  55. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/docker/Dockerfile +0 -0
  56. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/docker/Makefile +0 -0
  57. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/docker/README.md +0 -0
  58. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/README.md +0 -0
  59. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/__init__.py +0 -0
  60. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/convert.py +0 -0
  61. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/clang_entry.c +0 -0
  62. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/clang_free.c +0 -0
  63. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/clang_init.c +0 -0
  64. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/clang_pcre2_fun.c +0 -0
  65. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/clang_re2_fun.c +0 -0
  66. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/java_free.java +0 -0
  67. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/java_init.java +0 -0
  68. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/javascript_exe.js +0 -0
  69. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/javascript_foot.js +0 -0
  70. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/javascript_free.js +0 -0
  71. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/javascript_head.js +0 -0
  72. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/javascript_init.js +0 -0
  73. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/javascript_main.js +0 -0
  74. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/perl_entry.pl +0 -0
  75. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/perl_exe.pl +0 -0
  76. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/perl_free.pl +0 -0
  77. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/perl_init.pl +0 -0
  78. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/perl_main.pl +0 -0
  79. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/perl_pkg.pl +0 -0
  80. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/plpgsql_entry.sql +0 -0
  81. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/python_exe.py +0 -0
  82. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/python_free.py +0 -0
  83. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/python_init.py +0 -0
  84. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/data/python_main.py +0 -0
  85. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/export.py +0 -0
  86. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/model.py +0 -0
  87. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/objmerge.py +0 -0
  88. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/recurse.py +0 -0
  89. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/resolver.py +0 -0
  90. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/Makefile +0 -0
  91. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/__init__.py +0 -0
  92. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/c/Makefile +0 -0
  93. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/c/json-model.c +0 -0
  94. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/c/main.c +0 -0
  95. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/.gitignore +0 -0
  96. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/Makefile +0 -0
  97. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/README.md +0 -0
  98. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/env.bash +0 -0
  99. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/Checker.java +0 -0
  100. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/GSON.java +0 -0
  101. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/JSON.java +0 -0
  102. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/JSONP.java +0 -0
  103. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/Jackson.java +0 -0
  104. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/Main.java +0 -0
  105. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/ModelChecker.java +0 -0
  106. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/Path.java +0 -0
  107. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/Report.java +0 -0
  108. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/json_model/Runtime.java +0 -0
  109. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/java/pom.xml +0 -0
  110. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/js/README.md +0 -0
  111. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/js/index.js +0 -0
  112. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/js/main.js +0 -0
  113. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/js/package.json +0 -0
  114. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/.gitignore +0 -0
  115. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/Changes +0 -0
  116. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/LICENSE +0 -0
  117. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/MANIFEST +0 -0
  118. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/Makefile.PL +0 -0
  119. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/README +0 -0
  120. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/ignore.txt +0 -0
  121. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/lib/JSON/JsonModel.pm +0 -0
  122. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/t/00-load.t +0 -0
  123. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/t/manifest.t +0 -0
  124. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/t/pod-coverage.t +0 -0
  125. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/t/pod.t +0 -0
  126. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/pl/xt/boilerplate.t +0 -0
  127. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/sql/META.json +0 -0
  128. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/sql/Makefile +0 -0
  129. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/sql/json_model--2.0.sql +0 -0
  130. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/sql/json_model.control +0 -0
  131. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/runtime/types.py +0 -0
  132. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model/url_cache.py +0 -0
  133. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model_compiler.egg-info/dependency_links.txt +0 -0
  134. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model_compiler.egg-info/entry_points.txt +0 -0
  135. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model_compiler.egg-info/requires.txt +0 -0
  136. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/json_model_compiler.egg-info/top_level.txt +0 -0
  137. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/ansiblelint-meta.model.json +0 -0
  138. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/cypress.model.json +0 -0
  139. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/diploma-arrete.model.json +0 -0
  140. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/diploma-export.model.json +0 -0
  141. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/everything.model.json +0 -0
  142. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/fresq.model.json +0 -0
  143. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/geo-easy.model.json +0 -0
  144. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/geo.model.json +0 -0
  145. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-model-latest.model.json +0 -0
  146. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-model-moschin.model.json +0 -0
  147. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-model-no-merge.model.json +0 -0
  148. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-model-v1.model.json +0 -0
  149. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-model-v2-en.model.json +0 -0
  150. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-model-v2.model.json +0 -0
  151. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-model.model.json +0 -0
  152. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-01-fuzzy.model.json +0 -0
  153. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-01-nesting.model.json +0 -0
  154. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-01.model.json +0 -0
  155. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-02-fuzzy.model.json +0 -0
  156. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-02-nesting.model.json +0 -0
  157. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-02.model.json +0 -0
  158. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-03-fuzzy.model.json +0 -0
  159. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-03-nesting.model.json +0 -0
  160. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-03.model.json +0 -0
  161. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-04-fuzzy.model.json +0 -0
  162. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-04-mongodb.model.json +0 -0
  163. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-04-nesting.model.json +0 -0
  164. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-04.model.json +0 -0
  165. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-06-fuzzy.model.json +0 -0
  166. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-06.model.json +0 -0
  167. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-07-fuzzy.model.json +0 -0
  168. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-07.model.json +0 -0
  169. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-2019-09-fuzzy.model.json +0 -0
  170. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-2019-09.model.json +0 -0
  171. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-2020-12-fuzzy.model.json +0 -0
  172. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-2020-12-tight.model.json +0 -0
  173. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-2020-12.model.json +0 -0
  174. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-next-fuzzy.model.json +0 -0
  175. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-next.model.json +0 -0
  176. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-tight.model.json +0 -0
  177. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-tighter-loose.model.json +0 -0
  178. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-draft-tighter.model.json +0 -0
  179. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/json-schema-linter.model.json +0 -0
  180. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/jsound.model.json +0 -0
  181. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/l10n.model.json +0 -0
  182. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/lazygit.model.json +0 -0
  183. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/openapi-311-fuzzy.model.json +0 -0
  184. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/openapi-311-models.model.json +0 -0
  185. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/openapi-311.model.json +0 -0
  186. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/person.model.json +0 -0
  187. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/person2.model.json +0 -0
  188. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/models/pgxn.model.json +0 -0
  189. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/package.json +0 -0
  190. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/setup.cfg +0 -0
  191. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/API.md +0 -0
  192. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/DOC.md +0 -0
  193. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/DOCKER.md +0 -0
  194. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/HOWTO.md +0 -0
  195. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/PUBS.md +0 -0
  196. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/SPEC.md +0 -0
  197. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/TUTO.md +0 -0
  198. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/cover.md +0 -0
  199. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/favicon.ico +0 -0
  200. {json_model_compiler-2.0b26 → json_model_compiler-2.0b32}/site/json_logo.svg +0 -0
@@ -2,34 +2,42 @@
2
2
 
3
3
  ## Current Tasks
4
4
 
5
- - [x] models: write model for json IR
6
- - [x] static: fix value path in some object variants
7
- - [x] static: add a max threshold/ratio for may property unrolling
8
- - [x] perf: add jsb version to final summary
9
- - [x] command: add `--no-predef` option for testing
10
- - [x] command: remove inline-or option and implementation
11
- - [x] command: allow to pass options with environment variable `JMC_OPTS`
12
- - [x] docker: environment control for perf tests
13
- - [x] command: `jmc -C -o foo.json` generates python instead of json
14
- - [ ] optim: improve xor-to-or with references
5
+ - [x] backend: optimize length-based non-empty string check
6
+ - [x] backend: remove reporting expressions under no reporting
7
+ - [x] backend: nullify reporting parameters under no reporting
8
+ - [x] command: silent more cc warnings
9
+ - [ ] backend: optimize pattern "res = E1; return res || E2;" (only one use)
10
+ - [ ] backend: generate direct code for search constant on small sets
11
+ - [ ] backend: fix `TRUE AND` in `mv-07/json-schema-draft-tight.sql`
12
+ - [ ] backend: fix `unused but set variable` warning and remove `-Wno-…`
13
+ - [ ] backend: useless computations in `mv-17/xor_01.pl`
14
+ - [ ] backend: cleanup unused assigned variable, see `mv-08/openapi-311.c`
15
+ - [ ] static: improve likely hints, eg may only category
16
+ - [ ] backend: remove useless `ELSE NULL` see `mv-02/geo.sql`
17
+ - [ ] backend: optimize pattern "res = E; if (! res) ret F; res not used before set;"
18
+ - [ ] backend: optimize pattern "{ decl X = ... ; res = f(X (once) ) }"
19
+ - [ ] backend: simplify assignment patterns with ternary operator when available?
20
+ - [ ] backend: consider applying language-specific formatting tools? `clang-format`, `flake8`…
21
+ - [ ] c-backend: get pval string into a variable for strcmp unrolling and inlining
22
+ - [ ] c-backend: add number of chunks limit to strcmp optimization
23
+ - [ ] c-backend: strcmp to const inlining and unrolling for all instances
24
+ - [ ] static: partial discriminator with else?
25
+ - [ ] static: optimize not string cst test?
15
26
  - [ ] perf: compute performance overhead globally instead of per run
16
- - [ ] perf: experiment object matching with various mandatory/optional properties
17
- - [ ] static: close may/must? merge with open?
18
- - [ ] optim: and to merge optimization for open object models
19
- - [ ] static: add a dynamic test for different strategies in object checking
20
- - [ ] tests: add ir optimized output
27
+ - [ ] tests: add ir optimized output (too large?)
21
28
  - [ ] tests: add pytest ir tests
22
29
  - [ ] tests: add generated ir model check
23
30
  - [ ] tests: drop language outputs for IR only?!
24
31
  - [ ] tests: check generated IR with IR model
32
+ - [ ] perf: experiment object matching with various mandatory/optional properties
33
+ - [ ] static: close may/must? merge with open?
34
+ - [ ] static: add a dynamic test for different strategies in object checking
25
35
  - [ ] backend: refactor ir optimizations
26
36
  - [ ] command: add direct ir to lang conversion
27
- - [ ] backend: improve and extend IR optimizations?
28
- - [ ] artifact: make work with dind
29
- - [ ] static: recognize already compile objects and reuse function esp under no no-reporting?
37
+ - [ ] artifact: make work with dind (docker compose?)
38
+ - [ ] static: recognize already compile objects and reuse function esp under no-reporting?
30
39
  - [ ] tests: check how clang compares to gcc
31
40
  - [ ] tests: add non regression tests to docker build
32
- - [ ] tests: fix sql test errors from `Makefile`
33
41
  - [ ] service: json to lang conversion API
34
42
  - [ ] api: web interface with caching and security
35
43
  - [ ] web-frontend: dev as a use case for jm
@@ -48,11 +56,13 @@
48
56
  - [ ] export: improve pydantic, do not generate bad fields (dash and other chars)
49
57
  - [ ] test: some pydantic exports? imports?
50
58
  - [ ] pr: submit jsonschema-benchmark java PR
51
- - [ ] pr: submit jsonschema-benchmark PL/pgSQL PR
52
59
  - [ ] frontends: reject json with duplicated props
53
60
  - [ ] c-backend: header file for generated code?
54
- - [ ] tests: perl _uninitialized value $tag_0 in hash element at `./mv-18/dis_01.pl:171._
61
+ - [ ] backend: implement str comparison using some fast hash in some cases?
55
62
  - [ ] command: allow to pass some options from rc file?
63
+ - [ ] tests: parallelize per-case instead of per-dir?
64
+ - [ ] static: shorten xor exit?
65
+ - [ ] perf: profile some cases
56
66
 
57
67
  ## Re Do
58
68
 
@@ -94,7 +104,6 @@
94
104
  - [ ] use: py type dataclass/pydantic export?
95
105
  - [ ] use: test with corrector? ref? kiva?
96
106
  - [ ] static: sort list of models? option?
97
- - [ ] optim: merge `&` of objects in some cases?
98
107
  - [ ] static: fix double reports, eg constraint type and constraints or object props and object
99
108
  - [ ] py-backend: fix failure verbosity `ref/json-model.py.check` vs others
100
109
  - [ ] static: keep deeper names?
@@ -127,7 +136,6 @@
127
136
  - [ ] py-backend: package independent runtime?
128
137
  - [ ] command: improve cache to keep track of urls?
129
138
  - [ ] project: establish priority
130
- - [ ] frontend: accept raw sequence of values? list of values?
131
139
  - [ ] project: improve backlog management with thematic sections
132
140
  - [ ] design: $-refs may only appear in defs for simpler compiler AND better readability?
133
141
  - [ ] project: move all code's TODO here
@@ -140,12 +148,10 @@
140
148
  - [ ] design: should it allow unexpected ints as constants?
141
149
  - [ ] dynamic: JSON IR to lambda?!
142
150
  - [ ] backend: add JSON output?
143
- - [ ] backend: direct code for blaze?
144
151
  - [ ] dynamic: rely on static and eval
145
152
  - [ ] frontend: add multi-level naming option
146
153
  - [ ] optim: ultimate type on loose should yield `float`
147
154
  - [ ] static: abstract imperative language code generation (wip)
148
- - [ ] backend: do not generate intermediate empty functions for direct objects?
149
155
  - [ ] backend: do not generate intermediate empty functions for property values when possible
150
156
  - [ ] backend: reduce/minimize language abstraction? `T_var_val`?
151
157
  - [ ] backend: rethink function boundaries?
@@ -225,6 +231,7 @@
225
231
  - [ ] rust-backend: see [json crate](https://docs.rs/json/latest/json/).
226
232
  - [ ] cpp-backend: see [json](https://github.com/nlohmann/json) and `re2`. json lib popularity?
227
233
  - [ ] cpp-backend: also see [simdjson](https://github.com/simdjson/simdjson)?
234
+ - [ ] backend: direct code for blaze? vs c++?
228
235
  - [ ] kotlin-backend: see [serialization](https://kotlinlang.org/docs/serialization.html).
229
236
  - [ ] mongodb-backend: generate bson stuff, as an option to schema generation?
230
237
  - [ ] ts-backend: js sharing ?
@@ -244,6 +251,7 @@
244
251
  - [ ] design: documentation use case, with added _markdown description_
245
252
  - [ ] pr: validation must be optimized for the valid case, as it is the most likely.
246
253
  - [ ] case: use trafo in geo to have either 2 or 3 vectors, no mix.
254
+ - [ ] clang: cJSON? json-c? other JSON library for C?
247
255
 
248
256
  ## Done
249
257
 
@@ -633,3 +641,63 @@
633
641
  - [x] static: skip model function to call obj function directly on references
634
642
  - [x] backend: apply skip functions also for all pmap/cmap/cc through IR
635
643
  - [x] optim: direct mandatory-only attributes objects with expected count checked ahead
644
+ - [x] models: write model for json IR
645
+ - [x] static: fix value path in some object variants
646
+ - [x] static: add a max threshold/ratio for may property unrolling
647
+ - [x] perf: add jsb version to final summary
648
+ - [x] command: add `--no-predef` option for testing
649
+ - [x] command: remove inline-or option and implementation
650
+ - [x] command: allow to pass options with environment variable `JMC_OPTS`
651
+ - [x] docker: environment control for perf tests
652
+ - [x] command: `jmc -C -o foo.json` generates python instead of json
653
+ - [x] perf: ensure properly aligned data in box report
654
+ - [x] perf: allow to collect data over several runs
655
+ - [x] optim: and-to-merge optimization for open object models
656
+ - [x] perf: allow to collect user time instead of elapsed time
657
+ - [x] backend: improve and extend IR optimizations (wip)
658
+ - [x] tests: perl _uninitialized value `$tag_0` in hash element at `./mv-18/dis_01.pl:171`._
659
+ - [x] ~tests: fix sql test errors from `Makefile`~
660
+ - [x] ~pr: submit jsonschema-benchmark PL/pgSQL PR~
661
+ - [x] optim: get rid of double object with C, Python and Java
662
+ - [x] backend: ~do not generate intermediate empty functions for direct objects? (skip)~
663
+ - [x] static: skip map target functions for objects
664
+ - [x] static: skip map target functions for references
665
+ - [x] optim: add more if simplifications in IR
666
+ - [x] optim: improve xor-to-or over references and sub-ors
667
+ - [x] python: remove useless (debugging) assertion in generated code
668
+ - [x] perf: also show docker id of tested image
669
+ - [x] optim: more xor/not/or simplifications
670
+ - [x] optim: xor-to-or model difference based on not exclusion, possibly behind refs
671
+ - [x] pr: add a benchmarking performance artifact page
672
+ - [x] backend: shamefully ignore bad json due to strange prop names
673
+ - [x] static: fix disjunct analysis issue
674
+ - [x] optim: fix infinite loop between xor-to-or and partial eval
675
+ - [x] pr: improve bench page
676
+ - [x] command: set default to compile on `-F language` instead of model preprocessing
677
+ - [x] c-backend: add _optimized_ str comparison code for eq and ne, enabled by default
678
+ - [x] c-backend: consider big endian for strcmp runtime and code generation
679
+ - [x] perf: allow running over a subset of tools only
680
+ - [x] static: remove unexpected `$ANY` messages (irep dead code elimination)
681
+ - [x] pr: add new artifact (2025101808)
682
+ - [x] pr: improve radar chart responsiveness and sorting
683
+ - [x] backend: remove intermediate variable on return
684
+ - [x] backend: remove unused boolean variable declaration on simple direct return
685
+ - [x] ~backend: remove redundant scalar test in some cases~
686
+ - [x] backend: remove reporting instructions under no reporting
687
+ - [x] backend: add late code filtering to catch some backend-specific stuff
688
+ - [x] c-backend: remove redundant scalar test in some cases (with late filtering)
689
+ - [x] c-backend: remove some useless braces around one instruction (with late filtering)
690
+ - [x] backend: simplify conditional assignment patterns with one boolean constant
691
+ - [x] backend: merge boolean declaration and first assignment if possible
692
+ - [x] backend: optimize pattern "if (! res) res = E; ret res;"
693
+ - [x] backend: refactoring, cleanup and generalization
694
+ - [x] static: add likely/unlikely hints to clang
695
+ - [x] c-backend: optimize startwith implementation
696
+ - [x] backend: optimize pattern "res = E1; if (! res) res = E2;"
697
+ - [x] backend: optimize full pattern "(E && ...) || (E && ...)"
698
+ - [x] backend: or/and flattening
699
+ - [x] backend: optimize partial pattern "... || (E && ...) || (E && ...) || ...;"
700
+ - [x] backend: optimize pattern "V = E1; if (V) V = E2;"
701
+ - [x] perf: add launcher script
702
+ - [x] c-backend: cleanup duplicated `json_is_boolean` calls
703
+ - [x] c-backend: fix bad constant string expression syntax
@@ -0,0 +1,67 @@
1
+ # JSON Model Compiler Benchmark Artifacts
2
+
3
+ These artifacts compare
4
+ [JSON Model Compiler](https://github.com/clairey-zx81/json-model) generated code in
5
+ C, JS, Java (GSON, Jackson and JSONP using Johnzon) and Python with
6
+ [Sourcemeta Blaze CLI](https://github.com/sourcemeta/jsonschema) using test cases from
7
+ [JSON Schema Benchmark](https://github.com/sourcemeta-research/jsonschema-benchmark).
8
+
9
+ ## Recent Artifacts
10
+
11
+ - [2025102201](benchmarks/2025102201.md) no predefs, jmc 2.0b31 vs jsc 11.11.1, 5 runs, 1000 iterations.
12
+ - [2025102200](benchmarks/2025102200.md) no predefs, jmc 2.0b31 vs jsc 11.11.1, 5 runs, 1000 iterations.
13
+
14
+ ## Benchmarking Script
15
+
16
+ The [benchmarking script](https://github.com/clairey-zx81/json-model/blob/main/tests/perf/benchmark.sh)
17
+ is provided as docker image [zx80/jmc-bench](https://hub.docker.com/repository/docker/zx80/jmc-bench).
18
+ It downloads the benchmark schemas and test values, and runs through docker-in-docker
19
+ [zx80/jmc](https://hub.docker.com/repository/docker/zx80/jmc) for JMC runs and
20
+ [sourcemeta/jsonschema](https://github.com/sourcemeta/jsonschema/pkgs/container/jsonschema)
21
+ for comparison using the Blaze CLI.
22
+
23
+ It is typically started on a large host with the
24
+ [`start_bench.sh` script](https://github.com/clairey-zx81/json-model/blob/main/tests/perf/start_bench.sh)
25
+ which will span the necessary dockers, try `--help` for setting details:
26
+
27
+ ```sh
28
+ JMC=latest JMC_OPTS=--no-predef \
29
+ nohup ./start_bench.sh latest -p 20 -l 1000 -r 5 --cap-py &
30
+ # in the generated directory, look for the summary markdown and radar json files.
31
+ ```
32
+
33
+ The main script options are:
34
+
35
+ - `-p PARA` parallelism (a little less that the number of available cores, default is _8_)
36
+ - `-l LOOP` loop iterations for performance average (at least _1000_, the default)
37
+ - `-r RUNS` number of runs (odd number, default is _3_)
38
+ - `--no-cap-py` do _not_ reduce python iterations by a factor of 10 (default is to reduce)
39
+
40
+ ## Benchmarking Conditions
41
+
42
+ JSON schemas for the benchmark are translated to models based on
43
+ [JSON Schema Utils](https://github.com/zx80/json-schema-utils).
44
+
45
+ Runs are performed in _fast_ mode: the rejection reasons are not collected, and
46
+ the run stops as soon as possible.
47
+
48
+ - Compilation times are the _minimum_ encountered of over the runs.
49
+ whereas performance times are the _median_ over the runs.
50
+ - For JMC, the compilation time includes the schema to model conversion,
51
+ which adds a uniform time to all target languages.
52
+ - The C backend also includes the runtime compilation from sources.
53
+ - To smooth out the wide range of collected performances (from 10 ns to
54
+ over 300 µs for validating one value), a relative comparison ratio is shown.
55
+
56
+ Note that performance figures **must** be taken with a pinch of salt, please consider
57
+ the following caveats, and others:
58
+
59
+ - test cases may or may not be representative of specific use cases,
60
+ especially wrt schema/model and value sizes.
61
+ - compilers, libraries and other updates can have dramatic effects.
62
+ - blaze does _not_ implement checking string values (eg dates, url…),
63
+ so these checks may be disactivated (see `JMC_OPTS`) for fairness.
64
+ - the overall load on the host can impact measures.
65
+ - due to intrinsic limitations of the underlying libraries and the quality of models,
66
+ some results may differ, mostly for good reasons: regex incompatibilities, stricter
67
+ definitions…
@@ -88,6 +88,10 @@ jmc.1: json_model/data/jmc.pod dev
88
88
  year=$$(date +%Y)
89
89
  pod2man $< | sed "s/^\.TH JMC 1.*/.TH JMC 1 $$year \"v$$version\" \"User Documentation\"/" > $@
90
90
 
91
+ .PHONY: www
92
+ www: build.site
93
+ cd site && $(PYTHON) -m http.server 3000
94
+
91
95
  #
92
96
  # PUBLICATION
93
97
  #
@@ -100,8 +104,8 @@ build.site: site/MODELS.md site/JMC.md site/ABOUT.md
100
104
  .PHONY: publish.site
101
105
  publish.site: build.site
102
106
  rsync -avL --progress ./site/. $(SITE):$(SITEPATH)/.
103
- ssh $(SITE) chmod a+rx $(SITEPATH) $(SITEPATH)/models
104
- ssh $(SITE) chmod a+r $(SITEPATH)/* $(SITEPATH)/models/*
107
+ ssh $(SITE) chmod a+rx $(SITEPATH) $(SITEPATH)/models $(SITEPATH)/benchmarks
108
+ ssh $(SITE) chmod a+r $(SITEPATH)/* $(SITEPATH)/models/* $(SITEPATH)/benchmarks/*
105
109
 
106
110
  .PHONY: publish.py
107
111
  publish.py: dev
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: json_model_compiler
3
- Version: 2.0b26
3
+ Version: 2.0b32
4
4
  Summary: JSON Model Tools
5
5
  Author: Fabien Coelho, Claire Yannou-Medrala
6
6
  License-Expression: CC0-1.0
@@ -155,20 +155,12 @@ print("reasons:", reasons)
155
155
 
156
156
  ## JSON Model Validation Performance
157
157
 
158
- Preliminary performance tests below compare validation times for a _large_ 500 KB JSON OpenAPI
159
- description using JSON Model compiled to C, Java, JS, Python, Perl and
160
- JSON Schema Blaze 11.5.0 implementation, with an average collected on 1000 runs,
161
- in _fast_ (no reporting) mode, including format validations, on a laptop:
162
-
163
- - JSON Model C: _197_ µs/check (about ⅕ ms)
164
- - JSON Model Java (with GSON): _304_ µs/check (under ⅓ ms)
165
- - JSON Model JS: _747_ µs/check (under ¾ ms)
166
- - JSON Schema C++ Blaze: _1677_ µs/check (under 2 ms, 30 seconds compilation time)
167
- - JSON Model Python: _3,944_ µs/check (under 4 ms)
168
- - JSON Model Perl: _32,024_ µs/check (about 32 ms)
169
-
170
- On this benchmark, JSON Model Compiler outperforms the fastest JSON Schema library 8:1,
171
- and both Java and JavaScript model validation are faster than the C++ schema validation.
158
+ See the [benchmark page](BENCH.md) for artifacts which compare various
159
+ [JSON Model Compiler](https://github.com/clairey-zx81/json-model) runs (C, JS, Java, Python) with
160
+ [Sourcemeta Blaze CLI](https://github.com/sourcemeta/jsonschema) using test cases from
161
+ [JSON Schema Benchmark](https://github.com/sourcemeta-research/jsonschema-benchmark).
162
+ Overall, JMC C implementation is about 33% faster than Blaze C++ on these tests,
163
+ and JavaScript and Java/GSON implementations are only about 15% slower than Blaze.
172
164
 
173
165
  ## More Information
174
166
 
@@ -123,20 +123,12 @@ print("reasons:", reasons)
123
123
 
124
124
  ## JSON Model Validation Performance
125
125
 
126
- Preliminary performance tests below compare validation times for a _large_ 500 KB JSON OpenAPI
127
- description using JSON Model compiled to C, Java, JS, Python, Perl and
128
- JSON Schema Blaze 11.5.0 implementation, with an average collected on 1000 runs,
129
- in _fast_ (no reporting) mode, including format validations, on a laptop:
130
-
131
- - JSON Model C: _197_ µs/check (about ⅕ ms)
132
- - JSON Model Java (with GSON): _304_ µs/check (under ⅓ ms)
133
- - JSON Model JS: _747_ µs/check (under ¾ ms)
134
- - JSON Schema C++ Blaze: _1677_ µs/check (under 2 ms, 30 seconds compilation time)
135
- - JSON Model Python: _3,944_ µs/check (under 4 ms)
136
- - JSON Model Perl: _32,024_ µs/check (about 32 ms)
137
-
138
- On this benchmark, JSON Model Compiler outperforms the fastest JSON Schema library 8:1,
139
- and both Java and JavaScript model validation are faster than the C++ schema validation.
126
+ See the [benchmark page](BENCH.md) for artifacts which compare various
127
+ [JSON Model Compiler](https://github.com/clairey-zx81/json-model) runs (C, JS, Java, Python) with
128
+ [Sourcemeta Blaze CLI](https://github.com/sourcemeta/jsonschema) using test cases from
129
+ [JSON Schema Benchmark](https://github.com/sourcemeta-research/jsonschema-benchmark).
130
+ Overall, JMC C implementation is about 33% faster than Blaze C++ on these tests,
131
+ and JavaScript and Java/GSON implementations are only about 15% slower than Blaze.
140
132
 
141
133
  ## More Information
142
134
 
@@ -57,7 +57,7 @@ cloc --md \
57
57
 
58
58
  cloc --md \
59
59
  json_model/clang.py \
60
- json_model/data/*.c \
60
+ json_model/data/*.[ch] \
61
61
  | tail -1 | sed "s/SUM:/C/"
62
62
 
63
63
  cloc --md \
@@ -80,11 +80,12 @@ cloc --md \
80
80
  json_model/data/*.java \
81
81
  | tail -1 | sed "s/SUM:/Java/"
82
82
 
83
+ # all of the above
83
84
  cloc --md \
84
85
  json_model/python.py \
85
86
  json_model/data/*.py \
86
87
  json_model/clang.py \
87
- json_model/data/*.c \
88
+ json_model/data/*.[ch] \
88
89
  json_model/javascript.py \
89
90
  json_model/data/*.js \
90
91
  json_model/plpgsql.py \
@@ -108,6 +109,12 @@ cloc --md \
108
109
  json_model/runtime \
109
110
  | sed -n -e '/SUM/s/\([0-9][0-9]*\)/**\1**/g;s/SUM:/**Total**/;/^$/,$p' | grep -v '^-[-|]*$'
110
111
 
112
+ nmodels=$(echo tests/[mrb]*/*.model.json | wc -w)
113
+ nschemas=$(echo tests/[mrb]*/*.schema.json | wc -w)
114
+ modellocs=$(cat tests/[mrb]*/*.model.json | wc -l)
115
+ nvalues=$(cat tests/[mrb]*/*.values.json | egrep '(true|false)' | wc -l)
116
+ allvalues=$(( $nvalues + $nmodels + $nschemas ))
117
+
111
118
  cat <<EOF
112
119
 
113
120
  Note that the generated code may also depend on third-party libraries.
@@ -118,8 +125,8 @@ Test models cover the various features of JSON Model.
118
125
  Each model is tested for each target language (Python, C, JavaScript, PL/pgSQL, Perl, Java)
119
126
  on a set of test vectors.
120
127
 
128
+ - number of JSON models: $nmodels
129
+ - total JSON model locs: $modellocs
130
+ - number of test vector JSON values: $nvalues
131
+ - all tested JSON values (including models and generated schemas): $allvalues
121
132
  EOF
122
-
123
- echo "- number of models: $(echo tests/*/*.model.json | wc -w)"
124
- echo "- model JSON locs: $(cat tests/*/*.model.json | wc -l)"
125
- echo "- number of test values: $(cat tests/*/*.values.json | egrep '(true|false)' | wc -l)"
@@ -8,7 +8,7 @@
8
8
  # - WORKDIR: working directory to use
9
9
 
10
10
  docker_image="zx80/jmc:${JMC:-latest}"
11
- docker_root=(docker run --name awesome_jmc_$$ -v "${WORKDIR:-.}:/app/workspace" --rm)
11
+ docker_root=(docker run --name acme_jmc_$$ -v "${WORKDIR:-.}:/app/workspace" --rm)
12
12
 
13
13
  # export environment variables to docker
14
14
  for var in $JMC_ENV ; do
@@ -435,6 +435,7 @@ def disjunct_analyse(jm: JsonModel, model: ModelType, mpath: ModelPath, lists: b
435
435
  log.debug("not enough object with mandatory constant props for disjunction")
436
436
  return None
437
437
  # build tag candidates, for each prop which models indexes are ok, and all values
438
+ # property name -> set of models that contain the property with a constant
438
439
  tag_to_model: dict[str, set[int]] = {}
439
440
  # cumulated constants
440
441
  tag_to_csts: dict[str, ConstSet] = {}