@openwop/openwop-conformance 2.37.1 → 2.39.0

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.
@@ -141,6 +141,58 @@
141
141
  "canonical": "{\"model\":\"claude-x\",\"provider\":\"anthropic\",\"recipe\":\"openwop-semantic-request-v2\",\"request\":{\"messages\":[{\"content\":\"hello\",\"role\":\"user\"}],\"tools\":[{\"name\":\"alpha\",\"parameters\":{}},{\"name\":\"zeta\",\"parameters\":{}}]}}",
142
142
  "digest": "afb590dd7bf6c78915852e15318fd4c9d6d6e0d473288283f413e5e425ba0cd6"
143
143
  },
144
+ {
145
+ "id": "tools-code-unit-order",
146
+ "why": "RFC 0212 §D: tools sort by name in UTF-16 code units. `getWeather` (W = 0x57) precedes `get_weather` (_ = 0x5F); English collation ignores `_` and a Czech/English localeCompare orders them the other way, which is why `alpha`/`zeta` could not catch it.",
147
+ "input": {
148
+ "provider": "anthropic",
149
+ "model": "claude-x",
150
+ "messages": [
151
+ {
152
+ "role": "user",
153
+ "content": "hello"
154
+ }
155
+ ],
156
+ "tools": [
157
+ {
158
+ "name": "get_weather",
159
+ "parameters": {}
160
+ },
161
+ {
162
+ "name": "getWeather",
163
+ "parameters": {}
164
+ }
165
+ ]
166
+ },
167
+ "canonical": "{\"model\":\"claude-x\",\"provider\":\"anthropic\",\"recipe\":\"openwop-semantic-request-v2\",\"request\":{\"messages\":[{\"content\":\"hello\",\"role\":\"user\"}],\"tools\":[{\"name\":\"getWeather\",\"parameters\":{}},{\"name\":\"get_weather\",\"parameters\":{}}]}}",
168
+ "digest": "8ddc711c24f17c75efa8fd61e4060573461973ed0ae3fc79c056533d6bb1d0d0"
169
+ },
170
+ {
171
+ "id": "tools-code-unit-order-reversed",
172
+ "why": "Same two tools, opposite input order. MUST equal the previous vector.",
173
+ "input": {
174
+ "provider": "anthropic",
175
+ "model": "claude-x",
176
+ "messages": [
177
+ {
178
+ "role": "user",
179
+ "content": "hello"
180
+ }
181
+ ],
182
+ "tools": [
183
+ {
184
+ "name": "getWeather",
185
+ "parameters": {}
186
+ },
187
+ {
188
+ "name": "get_weather",
189
+ "parameters": {}
190
+ }
191
+ ]
192
+ },
193
+ "canonical": "{\"model\":\"claude-x\",\"provider\":\"anthropic\",\"recipe\":\"openwop-semantic-request-v2\",\"request\":{\"messages\":[{\"content\":\"hello\",\"role\":\"user\"}],\"tools\":[{\"name\":\"getWeather\",\"parameters\":{}},{\"name\":\"get_weather\",\"parameters\":{}}]}}",
194
+ "digest": "8ddc711c24f17c75efa8fd61e4060573461973ed0ae3fc79c056533d6bb1d0d0"
195
+ },
144
196
  {
145
197
  "id": "message-order-is-semantic",
146
198
  "why": "Message order IS semantic and MUST NOT be sorted — this must differ from a reordered twin.",