json-model-compiler 2.0.67__tar.gz → 2.1.0__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 (134) hide show
  1. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/.github/workflows/sanity.yml +3 -0
  2. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/BACKLOG.md +1 -0
  3. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/BENCH.md +13 -9
  4. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/Makefile +4 -2
  5. {json_model_compiler-2.0.67/json_model_compiler.egg-info → json_model_compiler-2.1.0}/PKG-INFO +7 -1
  6. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/README.md +6 -0
  7. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/TUTO.md +1 -1
  8. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/VERSION.md +12 -0
  9. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/about.sh +2 -2
  10. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/bench.sh +2 -2
  11. json_model_compiler-2.1.0/json_model/data/VERSION +1 -0
  12. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0/json_model_compiler.egg-info}/PKG-INFO +7 -1
  13. json_model_compiler-2.0.67/json_model/data/VERSION +0 -1
  14. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/.github/workflows/docs.yml +0 -0
  15. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/.gitignore +0 -0
  16. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/.gitmodules +0 -0
  17. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/API.md +0 -0
  18. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/COMP.md +0 -0
  19. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/DESIGN.md +0 -0
  20. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/DEV.md +0 -0
  21. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/DOC.md +0 -0
  22. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/HOWTO.md +0 -0
  23. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/INTEGRATION.md +0 -0
  24. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/MANIFEST.in +0 -0
  25. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/PUBS.md +0 -0
  26. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/SPEC.md +0 -0
  27. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/README.md +0 -0
  28. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/__init__.py +0 -0
  29. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/analyze.py +0 -0
  30. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/clang.py +0 -0
  31. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/convert.py +0 -0
  32. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/clang_entry.c +0 -0
  33. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/clang_free.c +0 -0
  34. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/clang_init.c +0 -0
  35. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/clang_pcre2_fun.c +0 -0
  36. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/clang_re2_fun.c +0 -0
  37. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/java_free.java +0 -0
  38. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/java_init.java +0 -0
  39. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/javascript_exe.js +0 -0
  40. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/javascript_foot.js +0 -0
  41. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/javascript_free.js +0 -0
  42. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/javascript_head.js +0 -0
  43. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/javascript_init.js +0 -0
  44. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/javascript_main.js +0 -0
  45. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/jmc.pod +0 -0
  46. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/perl_entry.pl +0 -0
  47. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/perl_exe.pl +0 -0
  48. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/perl_free.pl +0 -0
  49. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/perl_init.pl +0 -0
  50. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/perl_main.pl +0 -0
  51. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/perl_pkg.pl +0 -0
  52. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/plpgsql_entry.sql +0 -0
  53. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/python_entry.py +0 -0
  54. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/python_exe.py +0 -0
  55. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/python_free.py +0 -0
  56. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/python_init.py +0 -0
  57. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/data/python_main.py +0 -0
  58. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/export.py +0 -0
  59. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/irep.py +0 -0
  60. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/iroptim.py +0 -0
  61. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/java.py +0 -0
  62. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/javascript.py +0 -0
  63. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/language.py +0 -0
  64. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/model.py +0 -0
  65. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/mtypes.py +0 -0
  66. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/objops.py +0 -0
  67. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/optim.py +0 -0
  68. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/perl.py +0 -0
  69. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/plpgsql.py +0 -0
  70. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/predefs.py +0 -0
  71. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/python.py +0 -0
  72. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/recurse.py +0 -0
  73. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/regex.py +0 -0
  74. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/resolver.py +0 -0
  75. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/Makefile +0 -0
  76. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/__init__.py +0 -0
  77. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/c/Makefile +0 -0
  78. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/c/json-model.c +0 -0
  79. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/c/json-model.h +0 -0
  80. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/c/main.c +0 -0
  81. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/.gitignore +0 -0
  82. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/Makefile +0 -0
  83. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/README.md +0 -0
  84. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/env.sh +0 -0
  85. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/Checker.java +0 -0
  86. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/GSON.java +0 -0
  87. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/JSON.java +0 -0
  88. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/JSONP.java +0 -0
  89. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/Jackson.java +0 -0
  90. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/Main.java +0 -0
  91. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/ModelChecker.java +0 -0
  92. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/Path.java +0 -0
  93. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/Report.java +0 -0
  94. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/json_model/Runtime.java +0 -0
  95. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/java/pom.xml +0 -0
  96. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/js/README.md +0 -0
  97. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/js/index.js +0 -0
  98. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/js/main.js +0 -0
  99. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/js/package.json +0 -0
  100. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/.gitignore +0 -0
  101. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/Changes +0 -0
  102. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/LICENSE +0 -0
  103. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/MANIFEST +0 -0
  104. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/Makefile.PL +0 -0
  105. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/README +0 -0
  106. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/env.sh +0 -0
  107. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/ignore.txt +0 -0
  108. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/lib/JSON/JsonModel.pm +0 -0
  109. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/t/00-load.t +0 -0
  110. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/t/manifest.t +0 -0
  111. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/t/pod-coverage.t +0 -0
  112. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/t/pod.t +0 -0
  113. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/pl/xt/boilerplate.t +0 -0
  114. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/sql/META.json +0 -0
  115. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/sql/Makefile +0 -0
  116. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/sql/json_model--2.0.sql +0 -0
  117. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/sql/json_model.control +0 -0
  118. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/support.py +0 -0
  119. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/runtime/types.py +0 -0
  120. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/script.py +0 -0
  121. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/submodel.py +0 -0
  122. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/ts_export.py +0 -0
  123. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/url_cache.py +0 -0
  124. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/utils.py +0 -0
  125. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model/xstatic.py +0 -0
  126. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model_compiler.egg-info/SOURCES.txt +0 -0
  127. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model_compiler.egg-info/dependency_links.txt +0 -0
  128. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model_compiler.egg-info/entry_points.txt +0 -0
  129. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model_compiler.egg-info/not-zip-safe +0 -0
  130. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model_compiler.egg-info/requires.txt +0 -0
  131. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/json_model_compiler.egg-info/top_level.txt +0 -0
  132. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/package.json +0 -0
  133. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/pyproject.toml +0 -0
  134. {json_model_compiler-2.0.67 → json_model_compiler-2.1.0}/setup.cfg +0 -0
@@ -10,6 +10,9 @@ jobs:
10
10
  steps:
11
11
  - name: Checkout project
12
12
  uses: actions/checkout@v7
13
+ with:
14
+ # get tags for git versioning
15
+ fetch-depth: 0
13
16
  - name: Set up Python
14
17
  uses: actions/setup-python@v7
15
18
  with:
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Current Tasks
4
4
 
5
+ - [ ] docs: move docs to a sub directory
5
6
  - [ ] bench: add resilience to jmc failure to radar generation
6
7
  - [ ] model: preprocessed model output is _not_ reintrant: feature or bug?
7
8
  - [ ] java-runtime: consider automatic updates?
@@ -5,15 +5,18 @@ the same constraints, independently of the syntax used to express these constrai
5
5
 
6
6
  These artifacts compare
7
7
  [JSON Model Compiler (JMC)](https://github.com/clairey-zx81/json-model) generated code using the
8
- [JSON Schema Utils (JSU)](https://hub.docker.com/repository/docker/zx80/json-schema-utils)
8
+ [JSON Schema Utils (JSU)](https://github.com/zx80/json-schema-utils)
9
9
  schema to model converter in C, JS, Java (GSON, Jackson and JSONP using Johnzon) and Python with
10
10
  [Sourcemeta Blaze CLI (SBC)](https://github.com/sourcemeta/jsonschema) using test cases and values
11
- from [JSON Schema Benchmark](https://github.com/sourcemeta-research/jsonschema-benchmark).
11
+ from [JSON Schema Benchmark](https://github.com/sourcemeta-research/jsonschema-benchmark)
12
+ and/or [Corvus.JsonSchema](https://github.com/corvus-dotnet/Corvus.JsonSchema).
12
13
 
13
14
  ## Recent Artifacts
14
15
 
15
- Overall, depending on the chosen metrics, JMC with the C backend is 50-100% faster
16
+ Overall, depending on the chosen metrics, JMC with the C backend is 24-60% faster
16
17
  than Blaze on average to validate JSON values in these artifacts.
18
+ Note: SBC version 7.3.3 marks a significant performance jump for Blaze,
19
+ as well as version 5.8.12 for Corvus.
17
20
 
18
21
  BENCHES
19
22
 
@@ -49,7 +52,7 @@ The main script options are:
49
52
 
50
53
  ## Benchmarking Conditions
51
54
 
52
- JSON schemas for the benchmark are translated to models based on `jsu-compile`
55
+ JSON schemas for the benchmark are translated to models based on `jsu compile`
53
56
  from [JSON Schema Utils](https://github.com/zx80/json-schema-utils).
54
57
  This is mostly an automatic conversion of the test schema to a model, but
55
58
  for a few cases have a _native_ model which is used instead.
@@ -70,6 +73,8 @@ validated and discussed.
70
73
  and the run stops as soon as possible.
71
74
  - The benchmark presents relative comparison ratios to smooth out the wide range of
72
75
  collected performances (from 10 ns to over 300 µs for validating one test value).
76
+ - Within a benchmark case, the summary performance is the sum of all tests, which
77
+ emphasize the weight of larger (in size and time) tests.
73
78
 
74
79
  Note that performance figures **must** be taken with a pinch of salt, please consider
75
80
  the following caveats, and others:
@@ -77,7 +82,7 @@ the following caveats, and others:
77
82
  - Do you value latency or throuput or resource consumption? the answer is not so obvious,
78
83
  probably you should prefer a high throuput _if_ the latency is good enough, but these
79
84
  benchmark actually measure raw latency.
80
- - Test cases may or may not be representative of specific use cases,
85
+ - Benchmark cases may or may not be representative of specific use cases,
81
86
  especially wrt schema/model and value sizes.
82
87
  - The overall load on the test host can impact measures, as well as power control
83
88
  features which adjust the cpu frequency in real time, thus the frequency may be set
@@ -127,7 +132,7 @@ the following caveats, and others:
127
132
  also provides
128
133
  [benchmark artifacts](https://github.com/sourcemeta-research/jsonschema-benchmark/actions)
129
134
  which includes 15 JSON Schema validation tools including our compiler with
130
- C, JS and Python backends, using the `jsu-compile` command only.
135
+ C, JS and Python backends, using the `jsu compile` command only.
131
136
 
132
137
  It should be noted that benchmarking conditions are quite different compared to our own:
133
138
 
@@ -148,6 +153,5 @@ It should be noted that benchmarking conditions are quite different compared to
148
153
  is less favorable to cache effects, and makes it impossible to investigate
149
154
  individual test figures.
150
155
  5. Performance runs uses multiple dockers through github actions:
151
- Runners assigned to the job are not always homogeneous, resulting in significant variations
152
- from one run to the next.
153
-
156
+ Runners assigned to the job were not always homogeneous with older scripts, which
157
+ resulted in unstable reports, but now seem to be identical.
@@ -15,7 +15,7 @@ endif
15
15
  venv: venv/.init
16
16
 
17
17
  venv/.init:
18
- $(PYTHON) -m venv venv
18
+ $(PYTHON) -m venv --prompt "ve" venv
19
19
  source venv/bin/activate
20
20
  pip install -U pip
21
21
  pip install -e .
@@ -140,7 +140,9 @@ check.sanity: venv/.dev
140
140
  #
141
141
  # Docsify Web Site: https://json-model.org/
142
142
  #
143
- site/models.json: $(wildcard models/*.model.json)
143
+ # ignore _*.model.json files
144
+ #
145
+ site/models.json: $(wildcard models/[a-z]*.model.json)
144
146
  {
145
147
  first=1
146
148
  echo "["
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: json_model_compiler
3
- Version: 2.0.67
3
+ Version: 2.1.0
4
4
  Summary: JSON Model Tools
5
5
  Author: Fabien Coelho, Claire Yannou-Medrala
6
6
  License-Expression: CC0-1.0
@@ -41,6 +41,12 @@ and to export models to JSON Schema or Pydantic.
41
41
 
42
42
  It is dedicated to the [Public Domain](https://creativecommons.org/public-domain/).
43
43
 
44
+ ![Status](https://github.com/clairey-zx81/json-model/actions/workflows/sanity.yml/badge.svg?branch=main&style=flat)
45
+ ![Python](https://img.shields.io/badge/python-3-informational)
46
+ ![Version](https://img.shields.io/pypi/v/json-model-compiler)
47
+ ![Badges](https://img.shields.io/badge/badges-5-informational)
48
+ ![License](https://img.shields.io/pypi/l/json-model-compiler?style=flat)
49
+
44
50
  ## JMC Command
45
51
 
46
52
  JSON Model optimizing compiler (`jmc`) can be installed as a
@@ -8,6 +8,12 @@ and to export models to JSON Schema or Pydantic.
8
8
 
9
9
  It is dedicated to the [Public Domain](https://creativecommons.org/public-domain/).
10
10
 
11
+ ![Status](https://github.com/clairey-zx81/json-model/actions/workflows/sanity.yml/badge.svg?branch=main&style=flat)
12
+ ![Python](https://img.shields.io/badge/python-3-informational)
13
+ ![Version](https://img.shields.io/pypi/v/json-model-compiler)
14
+ ![Badges](https://img.shields.io/badge/badges-5-informational)
15
+ ![License](https://img.shields.io/pypi/l/json-model-compiler?style=flat)
16
+
11
17
  ## JMC Command
12
18
 
13
19
  JSON Model optimizing compiler (`jmc`) can be installed as a
@@ -817,7 +817,7 @@ harder. A partial converter which work with well-structured cases and support co
817
817
  keywords is available with [json-schema-util](https://github.com/zx80/json-schema-utils):
818
818
 
819
819
  ```sh
820
- jmc -E Person-2 | jsu-model
820
+ jmc -E Person-2 | jsu model
821
821
  ```
822
822
  ```json
823
823
  {
@@ -1,5 +1,17 @@
1
1
  # JSON Model Compiler Versions
2
2
 
3
+ ## 2.1.0 on 2026-11-28
4
+
5
+ - bench: show configurable number of artifacts, defaults to 12
6
+ - bench: fix case table generation columns
7
+ - bench: update corvus container file
8
+ - container: link "jmc" wrapper to keep it synced with bench version
9
+ - dev: shortenv venv shell prefix
10
+ - pr: add badges to readme
11
+ - pr: improve bench page wrt recent corvus and blaze improvements
12
+ - bench: improve generated report
13
+ - pr: release JSU 1.0 and JMC 2.1
14
+
3
15
  ## 2.0.67 on 2026-11-08
4
16
 
5
17
  - bench: use latest image instead of main for jmc
@@ -134,8 +134,8 @@ n_value_files=$(ls tests/[mrb]*/*.values.json | wc -l)
134
134
  n_error_files=$(ls tests/[mrb]*/*.errors.json | wc -l)
135
135
  # == $n_valid_models?
136
136
  n_schemas=$(echo tests/[mrb]*/*.schema.json | wc -w)
137
- n_test_schemas=$(grep '^ "schema": {' tests/JSON-Schema-Test-Suite/tests/*/*.json | wc -l)
138
- n_test_files=$(ls tests/JSON-Schema-Test-Suite/tests/*/*.json | wc -l)
137
+ n_test_schemas=$(grep '^ "schema": {' tests/JSON-Schema-Test-Suite/*/tests/*.json | wc -l)
138
+ n_test_files=$(ls tests/JSON-Schema-Test-Suite/*/tests/*.json | wc -l)
139
139
  model_locs=$(cat tests/[mrb]*/*.model.json | wc -l)
140
140
  n_eg_models=$(ls models/*.model.json | wc -l)
141
141
  eg_models_locs=$(cat models/*.model.json | wc -l)
@@ -3,7 +3,7 @@
3
3
  # generate BENCH.md page with links to available benchmarks
4
4
  #
5
5
 
6
- MAX=10
6
+ MAX_ARTIFACTS=${MAX_ARTIFACTS:-12}
7
7
  PYPI="https://pypi.org/project"
8
8
 
9
9
  # extract version from file
@@ -52,7 +52,7 @@ for artifact in $(ls site/benchmarks/*.md | sort -r) ; do
52
52
  echo " $msg."
53
53
 
54
54
  let nartifacts+=1
55
- [ $nartifacts -eq $MAX ] && break
55
+ [ $nartifacts -eq $MAX_ARTIFACTS ] && break
56
56
  done
57
57
 
58
58
  # after artifact list
@@ -0,0 +1 @@
1
+ 2.1.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: json_model_compiler
3
- Version: 2.0.67
3
+ Version: 2.1.0
4
4
  Summary: JSON Model Tools
5
5
  Author: Fabien Coelho, Claire Yannou-Medrala
6
6
  License-Expression: CC0-1.0
@@ -41,6 +41,12 @@ and to export models to JSON Schema or Pydantic.
41
41
 
42
42
  It is dedicated to the [Public Domain](https://creativecommons.org/public-domain/).
43
43
 
44
+ ![Status](https://github.com/clairey-zx81/json-model/actions/workflows/sanity.yml/badge.svg?branch=main&style=flat)
45
+ ![Python](https://img.shields.io/badge/python-3-informational)
46
+ ![Version](https://img.shields.io/pypi/v/json-model-compiler)
47
+ ![Badges](https://img.shields.io/badge/badges-5-informational)
48
+ ![License](https://img.shields.io/pypi/l/json-model-compiler?style=flat)
49
+
44
50
  ## JMC Command
45
51
 
46
52
  JSON Model optimizing compiler (`jmc`) can be installed as a
@@ -1 +0,0 @@
1
- 2.0.67