fancy-conformance 0.55.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 (240) hide show
  1. fancy_conformance-0.55.1/.gitignore +13 -0
  2. fancy_conformance-0.55.1/LICENSE +21 -0
  3. fancy_conformance-0.55.1/PKG-INFO +128 -0
  4. fancy_conformance-0.55.1/README.md +106 -0
  5. fancy_conformance-0.55.1/VERSION +1 -0
  6. fancy_conformance-0.55.1/pyproject.toml +106 -0
  7. fancy_conformance-0.55.1/schema/case-table.schema.json +77 -0
  8. fancy_conformance-0.55.1/schema/suite-manifest.schema.json +85 -0
  9. fancy_conformance-0.55.1/src/fancy_conformance/__init__.py +482 -0
  10. fancy_conformance-0.55.1/src/fancy_conformance/py.typed +0 -0
  11. fancy_conformance-0.55.1/suites/dark-slide/table-cell-model/cases.json +2457 -0
  12. fancy_conformance-0.55.1/suites/dark-slide/table-cell-model/manifest.json +49 -0
  13. fancy_conformance-0.55.1/suites/doc-model/page-refusal/cases.json +803 -0
  14. fancy_conformance-0.55.1/suites/doc-model/page-refusal/manifest.json +43 -0
  15. fancy_conformance-0.55.1/suites/doc-model/shared/cases.json +565 -0
  16. fancy_conformance-0.55.1/suites/doc-model/shared/manifest.json +29 -0
  17. fancy_conformance-0.55.1/suites/exchange/SPEC.md +781 -0
  18. fancy_conformance-0.55.1/suites/exchange/content/cases.json +2025 -0
  19. fancy_conformance-0.55.1/suites/exchange/content/manifest.json +73 -0
  20. fancy_conformance-0.55.1/suites/exchange/csv/cases.json +579 -0
  21. fancy_conformance-0.55.1/suites/exchange/csv/manifest.json +38 -0
  22. fancy_conformance-0.55.1/suites/exchange/from-dark-slide/cases.json +1904 -0
  23. fancy_conformance-0.55.1/suites/exchange/from-dark-slide/manifest.json +38 -0
  24. fancy_conformance-0.55.1/suites/exchange/from-fine-print/cases.json +599 -0
  25. fancy_conformance-0.55.1/suites/exchange/from-fine-print/manifest.json +28 -0
  26. fancy_conformance-0.55.1/suites/exchange/from-holy-sheet/cases.json +2521 -0
  27. fancy_conformance-0.55.1/suites/exchange/from-holy-sheet/manifest.json +38 -0
  28. fancy_conformance-0.55.1/suites/exchange/from-last-word/cases.json +2351 -0
  29. fancy_conformance-0.55.1/suites/exchange/from-last-word/manifest.json +38 -0
  30. fancy_conformance-0.55.1/suites/exchange/limits/cases.json +1909 -0
  31. fancy_conformance-0.55.1/suites/exchange/limits/manifest.json +74 -0
  32. fancy_conformance-0.55.1/suites/exchange/number-display/cases.json +776 -0
  33. fancy_conformance-0.55.1/suites/exchange/number-display/manifest.json +38 -0
  34. fancy_conformance-0.55.1/suites/exchange/policy/cases.json +707 -0
  35. fancy_conformance-0.55.1/suites/exchange/policy/manifest.json +74 -0
  36. fancy_conformance-0.55.1/suites/exchange/range/cases.json +974 -0
  37. fancy_conformance-0.55.1/suites/exchange/range/manifest.json +40 -0
  38. fancy_conformance-0.55.1/suites/exchange/report-kinds/cases.json +765 -0
  39. fancy_conformance-0.55.1/suites/exchange/report-kinds/manifest.json +74 -0
  40. fancy_conformance-0.55.1/suites/exchange/to-dark-slide/cases.json +1297 -0
  41. fancy_conformance-0.55.1/suites/exchange/to-dark-slide/manifest.json +38 -0
  42. fancy_conformance-0.55.1/suites/exchange/to-fine-print/cases.json +1045 -0
  43. fancy_conformance-0.55.1/suites/exchange/to-fine-print/manifest.json +28 -0
  44. fancy_conformance-0.55.1/suites/exchange/to-holy-sheet/cases.json +691 -0
  45. fancy_conformance-0.55.1/suites/exchange/to-holy-sheet/manifest.json +38 -0
  46. fancy_conformance-0.55.1/suites/exchange/to-last-word/cases.json +1045 -0
  47. fancy_conformance-0.55.1/suites/exchange/to-last-word/manifest.json +38 -0
  48. fancy_conformance-0.55.1/suites/expr/evaluate/cases.json +1587 -0
  49. fancy_conformance-0.55.1/suites/expr/evaluate/manifest.json +43 -0
  50. fancy_conformance-0.55.1/suites/expr/limits/cases.json +1754 -0
  51. fancy_conformance-0.55.1/suites/expr/limits/manifest.json +38 -0
  52. fancy_conformance-0.55.1/suites/expr/references/cases.json +226 -0
  53. fancy_conformance-0.55.1/suites/expr/references/manifest.json +26 -0
  54. fancy_conformance-0.55.1/suites/fine-print/SPEC.md +174 -0
  55. fancy_conformance-0.55.1/suites/fine-print/php-semantics/cases.json +2814 -0
  56. fancy_conformance-0.55.1/suites/fine-print/php-semantics/manifest.json +45 -0
  57. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/cases.json +9618 -0
  58. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0001-empty.pdf +37 -0
  59. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0002-hello.pdf +46 -0
  60. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0003-memo-title.pdf.gz +0 -0
  61. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0004-a4-portrait.pdf +46 -0
  62. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0005-letter-landscape.pdf +46 -0
  63. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0006-legal.pdf +46 -0
  64. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0007-a4-landscape.pdf +46 -0
  65. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0008-margins-wrap.pdf.gz +0 -0
  66. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0009-many-pages.pdf.gz +0 -0
  67. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0010-page-break.pdf.gz +0 -0
  68. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0011-header-footer.pdf.gz +0 -0
  69. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0012-standard-faces.pdf.gz +0 -0
  70. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0013-sizes.pdf.gz +0 -0
  71. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0014-colour.pdf +48 -0
  72. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0015-alignment.pdf.gz +0 -0
  73. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0016-line-breaks.pdf +51 -0
  74. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0017-unencodable.pdf +46 -0
  75. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0018-letter-spacing.pdf.gz +0 -0
  76. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0019-lists.pdf.gz +0 -0
  77. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0020-table-widths.pdf.gz +0 -0
  78. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0021-table-header-fill.pdf.gz +0 -0
  79. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0022-table-spans.pdf.gz +0 -0
  80. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0023-table-repeat-header.pdf.gz +0 -0
  81. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0024-keep-next.pdf.gz +0 -0
  82. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0025-orphans-widows.pdf.gz +0 -0
  83. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0026-code-quote-rule.pdf.gz +0 -0
  84. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0027-links.pdf.gz +0 -0
  85. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0028-hostile-keys.pdf.gz +0 -0
  86. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0029-background-frame.pdf.gz +0 -0
  87. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0030-default-frame.pdf +48 -0
  88. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0031-jpeg-rgb.pdf.gz +0 -0
  89. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0032-jpeg-grey-sized.pdf +0 -0
  90. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0033-jpeg-twice.pdf +0 -0
  91. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0034-png-rgb.canon.pdf +0 -0
  92. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0035-png-grey-16.canon.pdf +0 -0
  93. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0036-png-grey-1.canon.pdf +0 -0
  94. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0037-png-palette.canon.pdf +0 -0
  95. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0038-png-rgba.canon.pdf +0 -0
  96. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0039-png-palette-trns.canon.pdf +0 -0
  97. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0040-png-interlaced.canon.pdf +0 -0
  98. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0041-host-font.pdf.gz +0 -0
  99. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0042-host-font-faces.pdf.gz +0 -0
  100. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0043-from-array.pdf.gz +0 -0
  101. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0044-portable-block.pdf.gz +0 -0
  102. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0045-canonical.canon.pdf.gz +0 -0
  103. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0046-hello-compressed.canon.pdf +34 -0
  104. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0047-header-footer-compressed.canon.pdf.gz +0 -0
  105. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0048-table-repeat-header-compressed.canon.pdf.gz +0 -0
  106. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0049-host-font-compressed.canon.pdf.gz +0 -0
  107. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0050-png-rgba-compressed.canon.pdf +0 -0
  108. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/0051-canonical-compressed.canon.pdf.gz +0 -0
  109. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/font-fptest-bold.ttf.gz +0 -0
  110. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/fixtures/font-fptest-regular.ttf.gz +0 -0
  111. fancy_conformance-0.55.1/suites/fine-print/writer-bytes/manifest.json +38 -0
  112. fancy_conformance-0.55.1/suites/fine-print/writer-model/cases.json +7029 -0
  113. fancy_conformance-0.55.1/suites/fine-print/writer-model/manifest.json +44 -0
  114. fancy_conformance-0.55.1/suites/flow/config-admission/cases.json +306 -0
  115. fancy_conformance-0.55.1/suites/flow/config-admission/manifest.json +29 -0
  116. fancy_conformance-0.55.1/suites/flow/connector-runs/cases.json +123 -0
  117. fancy_conformance-0.55.1/suites/flow/connector-runs/manifest.json +52 -0
  118. fancy_conformance-0.55.1/suites/flow/durable-dispatch/cases.json +1199 -0
  119. fancy_conformance-0.55.1/suites/flow/durable-dispatch/manifest.json +31 -0
  120. fancy_conformance-0.55.1/suites/flow/entry-points/cases.json +721 -0
  121. fancy_conformance-0.55.1/suites/flow/entry-points/manifest.json +26 -0
  122. fancy_conformance-0.55.1/suites/flow/executor-resolution/cases.json +231 -0
  123. fancy_conformance-0.55.1/suites/flow/executor-resolution/manifest.json +27 -0
  124. fancy_conformance-0.55.1/suites/flow/graph-runs/cases.json +3613 -0
  125. fancy_conformance-0.55.1/suites/flow/graph-runs/manifest.json +29 -0
  126. fancy_conformance-0.55.1/suites/flow/kind-declaration-surface/cases.json +399 -0
  127. fancy_conformance-0.55.1/suites/flow/kind-declaration-surface/manifest.json +30 -0
  128. fancy_conformance-0.55.1/suites/flow/port-activation/cases.json +166 -0
  129. fancy_conformance-0.55.1/suites/flow/port-activation/manifest.json +32 -0
  130. fancy_conformance-0.55.1/suites/flow/run-diagnostics/cases.json +1334 -0
  131. fancy_conformance-0.55.1/suites/flow/run-diagnostics/manifest.json +29 -0
  132. fancy_conformance-0.55.1/suites/flow/subflow-registry/cases.json +126 -0
  133. fancy_conformance-0.55.1/suites/flow/subflow-registry/manifest.json +28 -0
  134. fancy_conformance-0.55.1/suites/flow/template-references/cases.json +1949 -0
  135. fancy_conformance-0.55.1/suites/flow/template-references/manifest.json +26 -0
  136. fancy_conformance-0.55.1/suites/flow/workflow-props/cases.json +558 -0
  137. fancy_conformance-0.55.1/suites/flow/workflow-props/manifest.json +28 -0
  138. fancy_conformance-0.55.1/suites/formula/captures/v1/capture-v1-export.xlsx +0 -0
  139. fancy_conformance-0.55.1/suites/formula/captures/v1/provenance.json +10 -0
  140. fancy_conformance-0.55.1/suites/formula/captures/v1/request.json +21815 -0
  141. fancy_conformance-0.55.1/suites/formula/coerce/cases.json +1743 -0
  142. fancy_conformance-0.55.1/suites/formula/coerce/manifest.json +26 -0
  143. fancy_conformance-0.55.1/suites/formula/dates/cases.json +759 -0
  144. fancy_conformance-0.55.1/suites/formula/dates/manifest.json +26 -0
  145. fancy_conformance-0.55.1/suites/formula/eval-date/cases.json +1205 -0
  146. fancy_conformance-0.55.1/suites/formula/eval-date/manifest.json +26 -0
  147. fancy_conformance-0.55.1/suites/formula/eval-info/cases.json +1111 -0
  148. fancy_conformance-0.55.1/suites/formula/eval-info/manifest.json +26 -0
  149. fancy_conformance-0.55.1/suites/formula/eval-logical/cases.json +1150 -0
  150. fancy_conformance-0.55.1/suites/formula/eval-logical/manifest.json +26 -0
  151. fancy_conformance-0.55.1/suites/formula/eval-lookup/cases.json +3234 -0
  152. fancy_conformance-0.55.1/suites/formula/eval-lookup/manifest.json +26 -0
  153. fancy_conformance-0.55.1/suites/formula/eval-math/cases.json +2327 -0
  154. fancy_conformance-0.55.1/suites/formula/eval-math/manifest.json +26 -0
  155. fancy_conformance-0.55.1/suites/formula/eval-operators/cases.json +2474 -0
  156. fancy_conformance-0.55.1/suites/formula/eval-operators/manifest.json +26 -0
  157. fancy_conformance-0.55.1/suites/formula/eval-stat/cases.json +2198 -0
  158. fancy_conformance-0.55.1/suites/formula/eval-stat/manifest.json +26 -0
  159. fancy_conformance-0.55.1/suites/formula/eval-text/cases.json +2100 -0
  160. fancy_conformance-0.55.1/suites/formula/eval-text/manifest.json +26 -0
  161. fancy_conformance-0.55.1/suites/formula/float/cases.json +998 -0
  162. fancy_conformance-0.55.1/suites/formula/float/manifest.json +26 -0
  163. fancy_conformance-0.55.1/suites/formula/pricing/cases.json +4814 -0
  164. fancy_conformance-0.55.1/suites/formula/pricing/manifest.json +26 -0
  165. fancy_conformance-0.55.1/suites/formula/security/cases.json +923 -0
  166. fancy_conformance-0.55.1/suites/formula/security/manifest.json +26 -0
  167. fancy_conformance-0.55.1/suites/fun-lab/analytics/cases.json +1581 -0
  168. fancy_conformance-0.55.1/suites/fun-lab/analytics/manifest.json +34 -0
  169. fancy_conformance-0.55.1/suites/fun-lab/events/cases.json +1154 -0
  170. fancy_conformance-0.55.1/suites/fun-lab/events/manifest.json +34 -0
  171. fancy_conformance-0.55.1/suites/fun-lab/grants/cases.json +1237 -0
  172. fancy_conformance-0.55.1/suites/fun-lab/grants/manifest.json +34 -0
  173. fancy_conformance-0.55.1/suites/fun-lab/leaderboard/cases.json +2072 -0
  174. fancy_conformance-0.55.1/suites/fun-lab/leaderboard/manifest.json +34 -0
  175. fancy_conformance-0.55.1/suites/fun-lab/progression/cases.json +3428 -0
  176. fancy_conformance-0.55.1/suites/fun-lab/progression/manifest.json +34 -0
  177. fancy_conformance-0.55.1/suites/fun-lab/strings/cases.json +296 -0
  178. fancy_conformance-0.55.1/suites/fun-lab/strings/manifest.json +34 -0
  179. fancy_conformance-0.55.1/suites/http/SPEC.md +300 -0
  180. fancy_conformance-0.55.1/suites/http/error-envelope/cases.json +1532 -0
  181. fancy_conformance-0.55.1/suites/http/error-envelope/envelope.schema.json +44 -0
  182. fancy_conformance-0.55.1/suites/http/error-envelope/manifest.json +40 -0
  183. fancy_conformance-0.55.1/suites/http/request-guards/cases.json +2500 -0
  184. fancy_conformance-0.55.1/suites/http/request-guards/fixtures/five-rows.xlsx +0 -0
  185. fancy_conformance-0.55.1/suites/http/request-guards/fixtures/list-10000.json +1 -0
  186. fancy_conformance-0.55.1/suites/http/request-guards/fixtures/list-10001.json +1 -0
  187. fancy_conformance-0.55.1/suites/http/request-guards/fixtures/not-a-workbook.xlsx +1 -0
  188. fancy_conformance-0.55.1/suites/http/request-guards/manifest.json +36 -0
  189. fancy_conformance-0.55.1/suites/last-word/docx-constructs/cases.json +10885 -0
  190. fancy_conformance-0.55.1/suites/last-word/docx-constructs/fixtures/section-starts.docx +0 -0
  191. fancy_conformance-0.55.1/suites/last-word/docx-constructs/fixtures/two-sections.docx +0 -0
  192. fancy_conformance-0.55.1/suites/last-word/docx-constructs/manifest.json +52 -0
  193. fancy_conformance-0.55.1/suites/shared/decimal/cases.json +182 -0
  194. fancy_conformance-0.55.1/suites/shared/decimal/manifest.json +29 -0
  195. fancy_conformance-0.55.1/suites/shared/expr/cases.json +255 -0
  196. fancy_conformance-0.55.1/suites/shared/expr/manifest.json +26 -0
  197. fancy_conformance-0.55.1/suites/shared/feature-entitlement/cases.json +459 -0
  198. fancy_conformance-0.55.1/suites/shared/feature-entitlement/manifest.json +33 -0
  199. fancy_conformance-0.55.1/suites/shared/flow-run-identity/cases.json +241 -0
  200. fancy_conformance-0.55.1/suites/shared/flow-run-identity/manifest.json +30 -0
  201. fancy_conformance-0.55.1/suites/shared/image-header/cases.json +275 -0
  202. fancy_conformance-0.55.1/suites/shared/image-header/manifest.json +51 -0
  203. fancy_conformance-0.55.1/suites/shared/money-minor-units/cases.json +409 -0
  204. fancy_conformance-0.55.1/suites/shared/money-minor-units/manifest.json +28 -0
  205. fancy_conformance-0.55.1/suites/shared/satisfies-range/cases.json +147 -0
  206. fancy_conformance-0.55.1/suites/shared/satisfies-range/manifest.json +21 -0
  207. fancy_conformance-0.55.1/suites/shared/strings/cases.json +454 -0
  208. fancy_conformance-0.55.1/suites/shared/strings/manifest.json +26 -0
  209. fancy_conformance-0.55.1/suites/shared/subscription-lease/cases.json +206 -0
  210. fancy_conformance-0.55.1/suites/shared/subscription-lease/manifest.json +41 -0
  211. fancy_conformance-0.55.1/suites/shared/trading-pnl/cases.json +364 -0
  212. fancy_conformance-0.55.1/suites/shared/trading-pnl/manifest.json +46 -0
  213. fancy_conformance-0.55.1/suites/shared/value-equality/cases.json +524 -0
  214. fancy_conformance-0.55.1/suites/shared/value-equality/manifest.json +28 -0
  215. fancy_conformance-0.55.1/suites/sign/SPEC.md +135 -0
  216. fancy_conformance-0.55.1/suites/sign/chain/cases.json +1466 -0
  217. fancy_conformance-0.55.1/suites/sign/chain/manifest.json +32 -0
  218. fancy_conformance-0.55.1/suites/sign/completion/cases.json +1682 -0
  219. fancy_conformance-0.55.1/suites/sign/completion/manifest.json +35 -0
  220. fancy_conformance-0.55.1/suites/sign/fields/cases.json +1330 -0
  221. fancy_conformance-0.55.1/suites/sign/fields/manifest.json +30 -0
  222. fancy_conformance-0.55.1/suites/sign/otp/cases.json +2455 -0
  223. fancy_conformance-0.55.1/suites/sign/otp/manifest.json +32 -0
  224. fancy_conformance-0.55.1/suites/template/directives/cases.json +3740 -0
  225. fancy_conformance-0.55.1/suites/template/directives/manifest.json +31 -0
  226. fancy_conformance-0.55.1/suites/template/filters/cases.json +1904 -0
  227. fancy_conformance-0.55.1/suites/template/filters/manifest.json +30 -0
  228. fancy_conformance-0.55.1/suites/template/inspect/cases.json +2611 -0
  229. fancy_conformance-0.55.1/suites/template/inspect/manifest.json +29 -0
  230. fancy_conformance-0.55.1/suites/template/limits/cases.json +12768 -0
  231. fancy_conformance-0.55.1/suites/template/limits/manifest.json +29 -0
  232. fancy_conformance-0.55.1/suites/template/profiles/cases.json +2054 -0
  233. fancy_conformance-0.55.1/suites/template/profiles/manifest.json +31 -0
  234. fancy_conformance-0.55.1/suites/template/resolve/cases.json +2122 -0
  235. fancy_conformance-0.55.1/suites/template/resolve/manifest.json +31 -0
  236. fancy_conformance-0.55.1/suites/template/tokenize/cases.json +744 -0
  237. fancy_conformance-0.55.1/suites/template/tokenize/manifest.json +29 -0
  238. fancy_conformance-0.55.1/tests/test_build_formula_cases.py +510 -0
  239. fancy_conformance-0.55.1/tests/test_file_refs.py +89 -0
  240. fancy_conformance-0.55.1/tests/test_loader.py +429 -0
@@ -0,0 +1,13 @@
1
+ node_modules/
2
+ dist/
3
+ vendor/
4
+ .phpunit.cache/
5
+ composer.lock
6
+ package-lock.json
7
+
8
+ # Python build artifacts. A compiled __pycache__/*.pyc was tracked until
9
+ # 2026-08-23 -- it churns on every interpreter version and is not source.
10
+ __pycache__/
11
+ *.py[cod]
12
+ *.egg-info/
13
+ .pytest_cache/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Particle Academy
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,128 @@
1
+ Metadata-Version: 2.5
2
+ Name: fancy-conformance
3
+ Version: 0.55.1
4
+ Summary: Shared cross-language conformance fixtures for the Fancy suite, with the Python loader. One contract, N implementations, and a single table every implementation asserts in its own CI - so 'parity' is a test result rather than a claim.
5
+ Project-URL: Homepage, https://github.com/Particle-Academy/fancy-conformance
6
+ Project-URL: Issues, https://github.com/Particle-Academy/fancy-conformance/issues
7
+ Project-URL: Source, https://github.com/Particle-Academy/fancy-conformance
8
+ Author: Particle Academy
9
+ License-Expression: MIT
10
+ Keywords: conformance,contract-testing,cross-language,fixtures,golden-files,parity,particle-academy,polyglot
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Topic :: Software Development :: Testing
19
+ Classifier: Typing :: Typed
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+
23
+ # fancy-conformance (Python)
24
+
25
+ The Python loader for the shared [fancy-conformance](../README.md) fixtures —
26
+ the third one, alongside `src/index.ts` (Node) and `php/src/Conformance.php`
27
+ (PHP), and deliberately the same shape so a reviewer comparing three CI logs is
28
+ comparing like with like.
29
+
30
+ **On PyPI from 0.55.1** as `fancy-conformance` (`pip install fancy-conformance`,
31
+ import `fancy_conformance`). The wheel carries `suites/`, `schema/` and `VERSION`,
32
+ so an installed package needs no checkout beside it.
33
+
34
+ A consumer can still check this repository out at the tag it pins and put
35
+ `python/src` on its path:
36
+
37
+ ```bash
38
+ # CI: check out Particle-Academy/fancy-conformance at `ref: v<pinned>` into
39
+ # .fancy-conformance, then
40
+ export PYTHONPATH="$PWD/.fancy-conformance/python/src"
41
+ export FANCY_CONFORMANCE_ROOT="$PWD/.fancy-conformance"
42
+ ```
43
+
44
+ In the `.agi` envelope, pytest's `pythonpath` names `../fancy-conformance/python/src`
45
+ instead. `runners/README.md` says why the checkout must be the pinned tag.
46
+
47
+ ## Why it lives here
48
+
49
+ Four Python packages — `holy-sheet-py`, `dark-slide-py`, `last-word-py` and
50
+ `fancy-flow-py` — each carried a private copy of this file, because there was no
51
+ Python loader to import. **Those copies had already diverged.** Two of them read
52
+ a case's `skip` as a scalar rather than as a map keyed by language, so a row
53
+ skipped for PHP skipped on Python too — silently reducing coverage while the log
54
+ still read green.
55
+
56
+ That is the exact failure this repository exists to stop, reproduced inside its
57
+ own consumers, four times, within weeks. A shared contract with N hand-maintained
58
+ copies is the thing the README argues against; the loader was not exempt.
59
+
60
+ ## Using it
61
+
62
+ ```python
63
+ from fancy_conformance import format_summary, run_table
64
+ from my_package import round_money
65
+
66
+
67
+ def impl(case):
68
+ return round_money(case["input"]["value"])
69
+
70
+
71
+ summary = run_table("shared/decimal", impl)
72
+ print(format_summary(summary)) # unconditionally, including skips
73
+ assert summary["ok"], format_summary(summary)
74
+ ```
75
+
76
+ `run_table` takes `language="python"` by default; pass another when a Python
77
+ harness drives a different implementation out of process, exactly as the PHP
78
+ loader's `$language` argument allows.
79
+
80
+ ## API
81
+
82
+ | Function | What it does |
83
+ |---|---|
84
+ | `suites_root()` | The fixture root. **Raises** if it cannot be found — never returns `None`. |
85
+ | `version()` | The fixture collection's own semver. A runner must print it. |
86
+ | `list_suites()` | Every suite id present. |
87
+ | `manifest(suite)` | One suite's manifest: the contract, and whose behaviour is the reference. |
88
+ | `cases(suite)` | The rows, with the load-time guards enforced. |
89
+ | `run_table(suite, impl, language=…)` | Run one implementation; a throw is a failing row, not a crash. |
90
+ | `format_summary(summary)` | A log a human can read, naming every skip. |
91
+ | `equals(a, b)` | The comparison `run_table` uses; exported so a suite can override it. |
92
+ | `suite_path(suite)` | Absolute path to a suite directory, for artifact runners. |
93
+
94
+ ## Two rules in `equals` that differ from a peer
95
+
96
+ **Booleans are not integers.** Python's `==` says `True == 1`. Without the guard,
97
+ a row expecting `False` is satisfied by an implementation returning `0`. The
98
+ peers compare with `===` / `===`; this restores that. Python-specific, and not a
99
+ divergence.
100
+
101
+ **Floats compare within a scaled `1e-12` epsilon; integers compare exactly.**
102
+ This follows the *PHP* loader. The TypeScript loader uses exact `Object.is`
103
+ instead — so the three loaders do not currently agree on float comparison, which
104
+ is a real (if narrow) divergence recorded in
105
+ `.ai/plans/fancy-python-commerce-gating.md` rather than quietly picked. Integers
106
+ stay exact so a `roundMoney` returning 2 never satisfies a golden of 3.
107
+
108
+ ## Finding the fixtures
109
+
110
+ Resolution order, and none of it is a fixed `../..`:
111
+
112
+ 1. `FANCY_CONFORMANCE_ROOT`
113
+ 2. fixtures shipped inside the installed wheel (`fancy_conformance/_data/`)
114
+ 3. a bounded walk up to whatever directory holds `suites/` (a checkout)
115
+ 4. a bounded walk up for a sibling `fancy-conformance`, directly or under
116
+ `repos/` (an envelope layout)
117
+
118
+ If all four fail it **raises**. A missing checkout is a red build, not a skip.
119
+
120
+ ## Testing
121
+
122
+ ```bash
123
+ python -m pytest # 27 tests, no install required
124
+ ```
125
+
126
+ The suite is written against the real loader with an explicit `root`, never
127
+ against a copy of a guard living in the test — the failure mode this repository
128
+ exists to catch, and one that was nearly shipped inside it twice.
@@ -0,0 +1,106 @@
1
+ # fancy-conformance (Python)
2
+
3
+ The Python loader for the shared [fancy-conformance](../README.md) fixtures —
4
+ the third one, alongside `src/index.ts` (Node) and `php/src/Conformance.php`
5
+ (PHP), and deliberately the same shape so a reviewer comparing three CI logs is
6
+ comparing like with like.
7
+
8
+ **On PyPI from 0.55.1** as `fancy-conformance` (`pip install fancy-conformance`,
9
+ import `fancy_conformance`). The wheel carries `suites/`, `schema/` and `VERSION`,
10
+ so an installed package needs no checkout beside it.
11
+
12
+ A consumer can still check this repository out at the tag it pins and put
13
+ `python/src` on its path:
14
+
15
+ ```bash
16
+ # CI: check out Particle-Academy/fancy-conformance at `ref: v<pinned>` into
17
+ # .fancy-conformance, then
18
+ export PYTHONPATH="$PWD/.fancy-conformance/python/src"
19
+ export FANCY_CONFORMANCE_ROOT="$PWD/.fancy-conformance"
20
+ ```
21
+
22
+ In the `.agi` envelope, pytest's `pythonpath` names `../fancy-conformance/python/src`
23
+ instead. `runners/README.md` says why the checkout must be the pinned tag.
24
+
25
+ ## Why it lives here
26
+
27
+ Four Python packages — `holy-sheet-py`, `dark-slide-py`, `last-word-py` and
28
+ `fancy-flow-py` — each carried a private copy of this file, because there was no
29
+ Python loader to import. **Those copies had already diverged.** Two of them read
30
+ a case's `skip` as a scalar rather than as a map keyed by language, so a row
31
+ skipped for PHP skipped on Python too — silently reducing coverage while the log
32
+ still read green.
33
+
34
+ That is the exact failure this repository exists to stop, reproduced inside its
35
+ own consumers, four times, within weeks. A shared contract with N hand-maintained
36
+ copies is the thing the README argues against; the loader was not exempt.
37
+
38
+ ## Using it
39
+
40
+ ```python
41
+ from fancy_conformance import format_summary, run_table
42
+ from my_package import round_money
43
+
44
+
45
+ def impl(case):
46
+ return round_money(case["input"]["value"])
47
+
48
+
49
+ summary = run_table("shared/decimal", impl)
50
+ print(format_summary(summary)) # unconditionally, including skips
51
+ assert summary["ok"], format_summary(summary)
52
+ ```
53
+
54
+ `run_table` takes `language="python"` by default; pass another when a Python
55
+ harness drives a different implementation out of process, exactly as the PHP
56
+ loader's `$language` argument allows.
57
+
58
+ ## API
59
+
60
+ | Function | What it does |
61
+ |---|---|
62
+ | `suites_root()` | The fixture root. **Raises** if it cannot be found — never returns `None`. |
63
+ | `version()` | The fixture collection's own semver. A runner must print it. |
64
+ | `list_suites()` | Every suite id present. |
65
+ | `manifest(suite)` | One suite's manifest: the contract, and whose behaviour is the reference. |
66
+ | `cases(suite)` | The rows, with the load-time guards enforced. |
67
+ | `run_table(suite, impl, language=…)` | Run one implementation; a throw is a failing row, not a crash. |
68
+ | `format_summary(summary)` | A log a human can read, naming every skip. |
69
+ | `equals(a, b)` | The comparison `run_table` uses; exported so a suite can override it. |
70
+ | `suite_path(suite)` | Absolute path to a suite directory, for artifact runners. |
71
+
72
+ ## Two rules in `equals` that differ from a peer
73
+
74
+ **Booleans are not integers.** Python's `==` says `True == 1`. Without the guard,
75
+ a row expecting `False` is satisfied by an implementation returning `0`. The
76
+ peers compare with `===` / `===`; this restores that. Python-specific, and not a
77
+ divergence.
78
+
79
+ **Floats compare within a scaled `1e-12` epsilon; integers compare exactly.**
80
+ This follows the *PHP* loader. The TypeScript loader uses exact `Object.is`
81
+ instead — so the three loaders do not currently agree on float comparison, which
82
+ is a real (if narrow) divergence recorded in
83
+ `.ai/plans/fancy-python-commerce-gating.md` rather than quietly picked. Integers
84
+ stay exact so a `roundMoney` returning 2 never satisfies a golden of 3.
85
+
86
+ ## Finding the fixtures
87
+
88
+ Resolution order, and none of it is a fixed `../..`:
89
+
90
+ 1. `FANCY_CONFORMANCE_ROOT`
91
+ 2. fixtures shipped inside the installed wheel (`fancy_conformance/_data/`)
92
+ 3. a bounded walk up to whatever directory holds `suites/` (a checkout)
93
+ 4. a bounded walk up for a sibling `fancy-conformance`, directly or under
94
+ `repos/` (an envelope layout)
95
+
96
+ If all four fail it **raises**. A missing checkout is a red build, not a skip.
97
+
98
+ ## Testing
99
+
100
+ ```bash
101
+ python -m pytest # 27 tests, no install required
102
+ ```
103
+
104
+ The suite is written against the real loader with an explicit `root`, never
105
+ against a copy of a guard living in the test — the failure mode this repository
106
+ exists to catch, and one that was nearly shipped inside it twice.
@@ -0,0 +1 @@
1
+ 0.55.1
@@ -0,0 +1,106 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "fancy-conformance"
7
+ version = "0.55.1"
8
+ description = "Shared cross-language conformance fixtures for the Fancy suite, with the Python loader. One contract, N implementations, and a single table every implementation asserts in its own CI - so 'parity' is a test result rather than a claim."
9
+ readme = "README.md"
10
+ # 3.11, matching every other Fancy Python package: 3.10 reaches end of life on
11
+ # 2026-10-31, and a floor that dies before the package's second release is not
12
+ # a floor.
13
+ requires-python = ">=3.11"
14
+ license = "MIT"
15
+ license-files = ["LICENSE"]
16
+ authors = [{ name = "Particle Academy" }]
17
+ keywords = [
18
+ "conformance",
19
+ "fixtures",
20
+ "parity",
21
+ "cross-language",
22
+ "polyglot",
23
+ "golden-files",
24
+ "contract-testing",
25
+ "particle-academy",
26
+ ]
27
+ classifiers = [
28
+ "Development Status :: 4 - Beta",
29
+ "Intended Audience :: Developers",
30
+ "Programming Language :: Python :: 3",
31
+ "Programming Language :: Python :: 3.11",
32
+ "Programming Language :: Python :: 3.12",
33
+ "Programming Language :: Python :: 3.13",
34
+ "Programming Language :: Python :: 3.14",
35
+ "Topic :: Software Development :: Testing",
36
+ "Typing :: Typed",
37
+ ]
38
+
39
+ # ZERO runtime dependencies. A fixture loader that needs a framework booted is
40
+ # a fixture loader that gets skipped, and this package is installed as a test
41
+ # dependency of every Python implementation in the suite - anything taken here
42
+ # is imposed on all of them.
43
+ dependencies = []
44
+
45
+ [project.urls]
46
+ Homepage = "https://github.com/Particle-Academy/fancy-conformance"
47
+ Issues = "https://github.com/Particle-Academy/fancy-conformance/issues"
48
+ Source = "https://github.com/Particle-Academy/fancy-conformance"
49
+
50
+ [dependency-groups]
51
+ test = ["pytest>=8.0"]
52
+ lint = ["ruff>=0.16"]
53
+ typecheck = ["mypy>=1.11"]
54
+ dev = [{ include-group = "test" }, { include-group = "lint" }, { include-group = "typecheck" }]
55
+
56
+ [tool.hatch.build.targets.wheel]
57
+ packages = ["src/fancy_conformance"]
58
+
59
+ # The FIXTURES are the product; the loader only exists so consumers do not
60
+ # hand-roll JSON reading. So the wheel carries the fixture tree with it and
61
+ # `suites_root()` finds it there - an installed package must not require a
62
+ # checkout of this repository beside it.
63
+ [tool.hatch.build.targets.wheel.force-include]
64
+ "../suites" = "fancy_conformance/_data/suites"
65
+ "../schema" = "fancy_conformance/_data/schema"
66
+ "../VERSION" = "fancy_conformance/_data/VERSION"
67
+
68
+ [tool.hatch.build.targets.sdist]
69
+ include = ["/src", "/tests", "/README.md", "/pyproject.toml"]
70
+
71
+ [tool.hatch.build.targets.sdist.force-include]
72
+ "../suites" = "suites"
73
+ "../schema" = "schema"
74
+ "../VERSION" = "VERSION"
75
+ "../LICENSE" = "LICENSE"
76
+
77
+ [tool.pytest.ini_options]
78
+ testpaths = ["tests"]
79
+ # `pythonpath` so the suite runs on a bare checkout with nothing but pytest,
80
+ # the way `npm test` and `vendor/bin/pest` do for the two peer loaders.
81
+ # `--import-mode=importlib` keeps test modules out of the implicit-namespace
82
+ # guesswork the default mode does.
83
+ pythonpath = ["src"]
84
+ addopts = "--import-mode=importlib -ra"
85
+ filterwarnings = ["error"]
86
+
87
+ [tool.ruff]
88
+ line-length = 100
89
+ src = ["src", "tests"]
90
+ target-version = "py311"
91
+
92
+ [tool.ruff.lint]
93
+ select = ["E", "F", "I", "UP", "B", "SIM", "RUF", "N", "C4", "PT"]
94
+
95
+ [tool.ruff.lint.per-file-ignores]
96
+ "tests/*" = ["PT011", "PT018"]
97
+
98
+ [tool.mypy]
99
+ python_version = "3.11"
100
+ packages = ["fancy_conformance"]
101
+ mypy_path = "src"
102
+ strict = true
103
+ # A fixture cell is JSON: `Any` is the honest type for a case's input and for
104
+ # whatever an implementation returns.
105
+ disallow_any_expr = false
106
+ disallow_any_explicit = false
@@ -0,0 +1,77 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://ui.particle.academy/schemas/conformance-case-table.schema.json",
4
+ "title": "Fancy conformance case table",
5
+ "type": "object",
6
+ "required": ["suite", "cases"],
7
+ "properties": {
8
+ "$schema": { "type": "string" },
9
+ "suite": { "type": "string", "minLength": 1 },
10
+ "cases": {
11
+ "type": "array",
12
+ "minItems": 1,
13
+ "items": { "$ref": "#/$defs/case" }
14
+ }
15
+ },
16
+ "additionalProperties": false,
17
+ "$defs": {
18
+ "case": {
19
+ "type": "object",
20
+ "required": ["id", "title", "since", "input", "expected"],
21
+ "properties": {
22
+ "id": {
23
+ "description": "Stable, ordered, unique within the suite. Never renumber — an id appears in changelogs and in other repos' skip lists.",
24
+ "type": "string",
25
+ "pattern": "^[0-9]{4}-[a-z0-9]+(?:[-.][a-z0-9]+)*$"
26
+ },
27
+ "title": { "type": "string", "minLength": 1 },
28
+ "since": {
29
+ "type": "string",
30
+ "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
31
+ },
32
+ "tags": {
33
+ "type": "array",
34
+ "items": { "type": "string", "minLength": 1 }
35
+ },
36
+ "fn": {
37
+ "description": "Which of the suite's functions this case exercises. Required when the suite declares contract.functions.",
38
+ "type": "string",
39
+ "minLength": 1
40
+ },
41
+ "input": {
42
+ "description": "The arguments. Anywhere inside it (and inside expected and artifacts), an object whose `file` is a string starting `fixtures/` is a FILE REFERENCE, `$defs.fileRef`: bytes stored beside the suite, resolved by the loader's fixtureBytes().",
43
+ "type": "object"
44
+ },
45
+ "expected": {},
46
+ "artifacts": {
47
+ "description": "Named data that is NOT compared: typically file references to the reference implementation's own output, kept so a failing implementation can diff against it. A runner must never derive its answer from an artifact.",
48
+ "type": "object"
49
+ },
50
+ "skip": {
51
+ "description": "The ONLY sanctioned way not to run a case. Keyed by language; the value is a REASON and may not be empty. A runner prints every skip in its summary — a silent skip is what turned two existing parity suites into decoration.",
52
+ "type": "object",
53
+ "propertyNames": { "enum": ["php", "node", "rust", "python", "go"] },
54
+ "additionalProperties": { "type": "string", "minLength": 1 },
55
+ "minProperties": 1
56
+ },
57
+ "tolerance": {
58
+ "description": "Optional relative tolerance for FLOAT comparison in this case, scaled by the larger magnitude. Omit it and numbers compare EXACTLY, which is the default in all four loaders. Declared on the row rather than applied globally so a reader of the fixture can see whether it asserts a value or a neighbourhood — the same reason a skip must state its reason. A global 1e-12 epsilon lived in three loaders until 0.10.0 and let two runtimes that computed different values pass as equal.",
59
+ "type": "number",
60
+ "exclusiveMinimum": 0
61
+ },
62
+ "notes": { "type": "string", "minLength": 1 }
63
+ },
64
+ "additionalProperties": false
65
+ },
66
+ "fileRef": {
67
+ "description": "Bytes too large or too binary for a JSON cell. `file` is relative to the suite directory: `fixtures/` plus a flat name of [A-Za-z0-9._-] not starting with a dot. A name ending `.gz` is ONE gzip member and resolves to its decompressed bytes. `sha256` is the lowercase hex digest of the RESOLVED bytes, so how the stored file is compressed is never part of the contract. Shape and existence are checked at load time in every loader; the digest in fixtureBytes().",
68
+ "type": "object",
69
+ "required": ["file", "sha256"],
70
+ "properties": {
71
+ "file": { "type": "string", "pattern": "^fixtures/[A-Za-z0-9_-][A-Za-z0-9._-]*$" },
72
+ "sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" }
73
+ },
74
+ "additionalProperties": false
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://ui.particle.academy/schemas/conformance-suite-manifest.schema.json",
4
+ "title": "Fancy conformance suite manifest",
5
+ "type": "object",
6
+ "required": ["suite", "title", "since", "caseFormat", "contract"],
7
+ "properties": {
8
+ "$schema": { "type": "string" },
9
+ "suite": {
10
+ "description": "Path-shaped id, matching this file's directory under suites/.",
11
+ "type": "string",
12
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*(?:/[a-z0-9]+(?:-[a-z0-9]+)*)*$"
13
+ },
14
+ "title": { "type": "string", "minLength": 1 },
15
+ "since": {
16
+ "description": "Suite version in which this suite first appeared.",
17
+ "type": "string",
18
+ "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
19
+ },
20
+ "caseFormat": {
21
+ "description": "'table' — one cases.json whose rows are the cases; for pure functions. 'directory' — cases/<id>/ holding input + expected artifacts; for capabilities that emit files.",
22
+ "enum": ["table", "directory"]
23
+ },
24
+ "cases": {
25
+ "description": "For caseFormat=table, the file holding the rows. Defaults to cases.json.",
26
+ "type": "string"
27
+ },
28
+ "contract": {
29
+ "type": "object",
30
+ "required": ["summary", "implementations"],
31
+ "properties": {
32
+ "summary": { "type": "string", "minLength": 1 },
33
+ "function": { "type": "string" },
34
+ "functions": {
35
+ "type": "object",
36
+ "additionalProperties": { "type": "string" }
37
+ },
38
+ "runShape": { "type": "object" },
39
+ "reference": {
40
+ "description": "Which language's behaviour the goldens were taken from. Goldens are never what a value 'obviously' is. 'authored' means the suite's author decided them rather than capturing them from a runtime; referenceNote must say by whom and on what evidence. 'google-sheets' means the goldens were CAPTURED from Google Sheets (fancy-formula, D4); referenceNote is then required and must name the capture artifact, its date and who captured it.",
41
+ "enum": ["php", "node", "rust", "python", "go", "authored", "google-sheets"]
42
+ },
43
+ "referenceNote": { "type": "string" },
44
+ "implementations": {
45
+ "type": "array",
46
+ "minItems": 1,
47
+ "items": {
48
+ "type": "object",
49
+ "required": ["language", "package"],
50
+ "properties": {
51
+ "language": { "enum": ["php", "node", "rust", "python", "go"] },
52
+ "package": { "type": "string", "minLength": 1 },
53
+ "symbol": { "type": "string" },
54
+ "engine": { "type": "string", "description": "For an implementation that runs inside a workflow engine: the engine package and the range it is exercised against." }
55
+ },
56
+ "additionalProperties": false
57
+ }
58
+ }
59
+ },
60
+ "allOf": [
61
+ {
62
+ "if": { "properties": { "reference": { "const": "google-sheets" } }, "required": ["reference"] },
63
+ "then": {
64
+ "required": ["referenceNote"],
65
+ "properties": { "referenceNote": { "type": "string", "minLength": 1 } }
66
+ }
67
+ }
68
+ ],
69
+ "additionalProperties": false
70
+ },
71
+ "normalisation": {
72
+ "description": "For artifact suites only: which parts of an emitted document are ignored when comparing. Declared once per suite so a comparison never quietly loosens per case.",
73
+ "type": "object",
74
+ "properties": {
75
+ "ignoreAttributes": { "type": "array", "items": { "type": "string" } },
76
+ "orderInsensitive": { "type": "array", "items": { "type": "string" } },
77
+ "whitespace": { "enum": ["preserve", "collapse-between-elements"] },
78
+ "newline": { "enum": ["lf", "crlf", "preserve"] }
79
+ },
80
+ "additionalProperties": false
81
+ },
82
+ "notes": { "type": "array", "items": { "type": "string" } }
83
+ },
84
+ "additionalProperties": false
85
+ }