]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - reports/slice-20j/current.investigation.json
perf(tmdm): index topic normalization merge candidates
[topic-maps.git] / reports / slice-20j / current.investigation.json
1 {
2 "kind": "ctm-template-tail-investigation",
3 "baseCommit": "bc04a1657f0b548ec5cdf2862aeed6a1ad0630b8",
4 "runtime": "SBCL 2.5.4",
5 "corpusCommit": "cd165b150176c1d6842b37be9cc9051b40d4996b",
6 "statuses": {
7 "pass": 262,
8 "fail": 4,
9 "unsupported": 0,
10 "not-run": 7
11 },
12 "caseStatusChanges": [],
13 "originalComparisonsPerformed": 0,
14 "expandedControlComparisons": 3,
15 "normativeReference": "https://www.isotopicmaps.org/ctm/ctm.html",
16 "normativeFindings": [
17 {
18 "id": "N-tail",
19 "epistemicOrigin": "norm-derived",
20 "sections": {
21 "3.9": [
22 50,
23 51,
24 52
25 ],
26 "3.3.6": [
27 17
28 ],
29 "3.3.5": [
30 12
31 ]
32 },
33 "derivation": "[50] -> [51] -> [52] -> [17] -> [12]",
34 "result": "No variable alternative in this unmarked Tail slot."
35 },
36 {
37 "id": "N-variables",
38 "epistemicOrigin": "norm-derived",
39 "sections": {
40 "3.3.6": [
41 13,
42 18,
43 19
44 ],
45 "3.3.7": [
46 20
47 ],
48 "3.4.1": [
49 28
50 ]
51 },
52 "result": "Explicit variable uses in Topic identity/reference, marked SL/II and literal contexts."
53 },
54 {
55 "id": "N-templates",
56 "epistemicOrigin": "norm-derived",
57 "sections": {
58 "3.14": [
59 63,
60 64,
61 65,
62 66,
63 67
64 ],
65 "3.15": [
66 68,
67 69,
68 70
69 ]
70 },
71 "result": "Template-only variables, positional binding and use-context constraints."
72 }
73 ],
74 "compatibilityHypothesis": {
75 "id": "H-SI-tail",
76 "epistemicOrigin": "hypothesized",
77 "implemented": false,
78 "scope": "Only the Subject Identifier branch of [52] inside a Template Tail.",
79 "additionalRule": "template-tail-subject-identifier ::= iri-ref | variable",
80 "bindingRequirement": "Variable must denote an IRI reference (IRI or resolved QName), added as an SI of the owner.",
81 "rejectedBindings": [
82 "marked item identifier",
83 "marked subject locator",
84 "Topic-only argument",
85 "non-IRI literal"
86 ],
87 "identityKindsMustBePreserved": true,
88 "textualMarkerStrippingAllowed": false,
89 "doesNotChange": [
90 "Topic-head variables",
91 "Type/Player Topic references",
92 "literal substitution"
93 ],
94 "historicalIntentEstablished": false
95 },
96 "historicalQualification": {
97 "localCorpusStatus": "vendor/cxtm/ctm/STATUS.txt: 2010-03-31",
98 "projectIndex": "https://www.isotopicmaps.org/ctm/ links the same reference URL as 2010-03-31",
99 "separateDatedNormTextsCompared": false,
100 "historicalNormChangeEstablished": false
101 },
102 "cases": [
103 {
104 "id": "ctm/in/template-ambiguous-parameter5.ctm",
105 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
106 "category": "VALID",
107 "expectedOutcome": "CXTM-EQUAL",
108 "sourceBytes": 146,
109 "sourceHex": "0A 23 20 55 73 69 6E 67 20 61 6E 20 49 52 49 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 74 6F 70 69 63 20 24 69 72 69 3B 20 3D 24 69 72 69 3B 20 5E 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 73 6F 6D 65 74 68 69 6E 67 2F 3E 29 0A",
110 "sourceText": "\n# Using an IRI argument in different contexts\n\ndef template($iri)\n topic $iri; =$iri; ^$iri.\nend\n\ntemplate(<http://www.example.org/something/>)\n",
111 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter5.ctm.cxtm",
112 "baselineBytes": 353,
113 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something/</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something/</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something/</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
114 "condition": {
115 "condition": "INVALID-TEMPLATE-BODY",
116 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter5.ctm at CHARACTER 79 (line 5, column 13): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
117 "code": "template-identity-tail",
118 "position": 79,
119 "line": 5,
120 "column": 13,
121 "positionUnit": "character",
122 "source": "ctm/in/template-ambiguous-parameter5.ctm",
123 "cause": null,
124 "context": null
125 },
126 "model": null,
127 "actualCXTM": null,
128 "actualBytes": null,
129 "byteExact": false,
130 "canonicalizationPreservesMap": false,
131 "referencesCurrent": false,
132 "sourceSHA256": "5a4310d6f077776996700a77cd037ca30b1b616f7235128f9500ef16c5cd78a8",
133 "sourcePythonBytes": "b'\\n# Using an IRI argument in different contexts\\n\\ndef template($iri)\\n topic $iri; =$iri; ^$iri.\\nend\\n\\ntemplate(<http://www.example.org/something/>)\\n'",
134 "variables": [
135 {
136 "variable": "$iri",
137 "position": 61,
138 "line": 4,
139 "column": 14,
140 "role": "Parameterdeklaration",
141 "roleOrigin": "observed"
142 },
143 {
144 "variable": "$iri",
145 "position": 75,
146 "line": 5,
147 "column": 9,
148 "role": "Subject Identifier im Topic Tail (unmarkiert)",
149 "roleOrigin": "inferred"
150 },
151 {
152 "variable": "$iri",
153 "position": 82,
154 "line": 5,
155 "column": 16,
156 "role": "Subject Locator nach =",
157 "roleOrigin": "inferred"
158 },
159 {
160 "variable": "$iri",
161 "position": 89,
162 "line": 5,
163 "column": 23,
164 "role": "Item Identifier nach ^",
165 "roleOrigin": "inferred"
166 }
167 ],
168 "declaration": "def template($iri)",
169 "bindings": [
170 [
171 "$iri",
172 "<http://www.example.org/something/>"
173 ]
174 ],
175 "invocations": [
176 {
177 "text": "template(<http://www.example.org/something/>)",
178 "position": 100,
179 "line": 8
180 }
181 ],
182 "baselineSHA256": "a90bb867d36b9d99061d3815c6ce41a1cd4d8909c49adc7ce9cc1c9bfe06303f",
183 "expandedControl": {
184 "label": "expanded-ambiguous5",
185 "originalControlOnly": "ctm/in/template-ambiguous-parameter5.ctm",
186 "sourceText": "topic <http://www.example.org/something/>; =<http://www.example.org/something/>; ^<http://www.example.org/something/>.",
187 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
188 "condition": null,
189 "model": {
190 "topicCount": 1,
191 "associationCount": 0,
192 "topics": [
193 {
194 "ordinal": 1,
195 "itemIdentifiers": [
196 "http://www.example.org/something/",
197 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm#topic"
198 ],
199 "subjectIdentifiers": [
200 "http://www.example.org/something/"
201 ],
202 "subjectLocators": [
203 "http://www.example.org/something/"
204 ],
205 "names": [],
206 "occurrences": []
207 }
208 ]
209 },
210 "associations": [],
211 "referencesCurrent": true,
212 "canonicalizationPreservesMap": true,
213 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something/</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something/</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something/</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
214 "actualBytes": 353,
215 "expectedBytes": 353,
216 "byteExact": true
217 },
218 "classification": {
219 "A": "marked SL/II and literal uses",
220 "B": "unmarked Tail SI variable",
221 "C": "possible specification omission, unproven",
222 "D": "positive source-admissibility expectation only"
223 },
224 "status": "not-run",
225 "observation": {
226 "id": "ctm/in/template-ambiguous-parameter5.ctm",
227 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
228 "category": "VALID",
229 "expectedOutcome": "CXTM-EQUAL",
230 "sourceBytes": 146,
231 "sourceHex": "0A 23 20 55 73 69 6E 67 20 61 6E 20 49 52 49 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 74 6F 70 69 63 20 24 69 72 69 3B 20 3D 24 69 72 69 3B 20 5E 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 73 6F 6D 65 74 68 69 6E 67 2F 3E 29 0A",
232 "sourceText": "\n# Using an IRI argument in different contexts\n\ndef template($iri)\n topic $iri; =$iri; ^$iri.\nend\n\ntemplate(<http://www.example.org/something/>)\n",
233 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter5.ctm.cxtm",
234 "baselineBytes": 353,
235 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something/</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something/</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something/</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
236 "condition": {
237 "condition": "INVALID-TEMPLATE-BODY",
238 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter5.ctm at CHARACTER 79 (line 5, column 13): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
239 "code": "template-identity-tail",
240 "position": 79,
241 "line": 5,
242 "column": 13,
243 "positionUnit": "character",
244 "source": "ctm/in/template-ambiguous-parameter5.ctm",
245 "cause": null,
246 "context": null
247 },
248 "model": null,
249 "actualCXTM": null,
250 "actualBytes": null,
251 "byteExact": false,
252 "canonicalizationPreservesMap": false,
253 "referencesCurrent": false
254 },
255 "originalComparisonPerformed": false,
256 "argumentCheckReached": false,
257 "evidenceOrigins": {
258 "sourceAndCondition": "observed",
259 "intendedRoles": "inferred",
260 "grammar": "norm-derived",
261 "compatibilityRule": "hypothesized"
262 },
263 "compatibilityRule": "H-SI-tail",
264 "normativeReferences": [
265 "N-tail",
266 "N-variables",
267 "N-templates"
268 ],
269 "expandedComparison": {
270 "epistemicOrigin": "observed",
271 "originalTemplateExecutedSuccessfully": false,
272 "actualBytes": 353,
273 "expectedBytes": 353,
274 "actualSHA256": "a90bb867d36b9d99061d3815c6ce41a1cd4d8909c49adc7ce9cc1c9bfe06303f",
275 "expectedSHA256": "a90bb867d36b9d99061d3815c6ce41a1cd4d8909c49adc7ce9cc1c9bfe06303f",
276 "firstDifferentByte": null
277 }
278 },
279 {
280 "id": "ctm/in/template-ambiguous-parameter6.ctm",
281 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
282 "category": "VALID",
283 "expectedOutcome": "CXTM-EQUAL",
284 "sourceBytes": 163,
285 "sourceHex": "0A 25 70 72 65 66 69 78 20 65 78 20 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 0A 0A 23 20 55 73 69 6E 67 20 61 20 51 4E 61 6D 65 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 71 29 0A 20 20 74 6F 70 69 63 20 24 71 3B 20 3D 24 71 3B 20 5E 24 71 3B 20 6F 63 63 3A 20 24 71 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 65 78 3A 73 6F 6D 65 74 68 69 6E 67 29 0A",
286 "sourceText": "\n%prefix ex <http://www.example.org/>\n\n# Using a QName argument in different contexts\n\ndef template($q)\n topic $q; =$q; ^$q; occ: $q.\nend\n\ntemplate(ex:something)\n",
287 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter6.ctm.cxtm",
288 "baselineBytes": 613,
289 "baselineText": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/something</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n</topic>\n</topicMap>\n",
290 "condition": {
291 "condition": "INVALID-TEMPLATE-BODY",
292 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter6.ctm at CHARACTER 114 (line 7, column 11): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
293 "code": "template-identity-tail",
294 "position": 114,
295 "line": 7,
296 "column": 11,
297 "positionUnit": "character",
298 "source": "ctm/in/template-ambiguous-parameter6.ctm",
299 "cause": null,
300 "context": null
301 },
302 "model": null,
303 "actualCXTM": null,
304 "actualBytes": null,
305 "byteExact": false,
306 "canonicalizationPreservesMap": false,
307 "referencesCurrent": false,
308 "sourceSHA256": "d2fd507bbbd544b6eae6caf4497c18e746165a5868a1d8e644eb18815db44d50",
309 "sourcePythonBytes": "b'\\n%prefix ex <http://www.example.org/>\\n\\n# Using a QName argument in different contexts\\n\\ndef template($q)\\n topic $q; =$q; ^$q; occ: $q.\\nend\\n\\ntemplate(ex:something)\\n'",
310 "variables": [
311 {
312 "variable": "$q",
313 "position": 100,
314 "line": 6,
315 "column": 14,
316 "role": "Parameterdeklaration",
317 "roleOrigin": "observed"
318 },
319 {
320 "variable": "$q",
321 "position": 112,
322 "line": 7,
323 "column": 9,
324 "role": "Subject Identifier im Topic Tail (unmarkiert)",
325 "roleOrigin": "inferred"
326 },
327 {
328 "variable": "$q",
329 "position": 117,
330 "line": 7,
331 "column": 14,
332 "role": "Subject Locator nach =",
333 "roleOrigin": "inferred"
334 },
335 {
336 "variable": "$q",
337 "position": 122,
338 "line": 7,
339 "column": 19,
340 "role": "Item Identifier nach ^",
341 "roleOrigin": "inferred"
342 },
343 {
344 "variable": "$q",
345 "position": 131,
346 "line": 7,
347 "column": 28,
348 "role": "Occurrence-Literal; Datentyp xsd:anyURI",
349 "roleOrigin": "inferred"
350 }
351 ],
352 "declaration": "def template($q)",
353 "bindings": [
354 [
355 "$q",
356 "ex:something → http://www.example.org/something"
357 ]
358 ],
359 "invocations": [
360 {
361 "text": "template(ex:something)",
362 "position": 140,
363 "line": 10
364 }
365 ],
366 "baselineSHA256": "3b20e3168ad1260c2a4fcb2b5b4b0026324a78263f2431d6637473087eecd672",
367 "expandedControl": {
368 "label": "expanded-ambiguous6",
369 "originalControlOnly": "ctm/in/template-ambiguous-parameter6.ctm",
370 "sourceText": "%prefix ex <http://www.example.org/> topic ex:something; =ex:something; ^ex:something; occ: ex:something.",
371 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
372 "condition": null,
373 "model": {
374 "topicCount": 2,
375 "associationCount": 0,
376 "topics": [
377 {
378 "ordinal": 1,
379 "itemIdentifiers": [
380 "http://www.example.org/something",
381 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#topic"
382 ],
383 "subjectIdentifiers": [
384 "http://www.example.org/something"
385 ],
386 "subjectLocators": [
387 "http://www.example.org/something"
388 ],
389 "names": [],
390 "occurrences": [
391 {
392 "value": "http://www.example.org/something",
393 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
394 "parent": 1,
395 "type": 2,
396 "scope": []
397 }
398 ]
399 },
400 {
401 "ordinal": 2,
402 "itemIdentifiers": [
403 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#occ"
404 ],
405 "subjectIdentifiers": [],
406 "subjectLocators": [],
407 "names": [],
408 "occurrences": []
409 }
410 ]
411 },
412 "associations": [],
413 "referencesCurrent": true,
414 "canonicalizationPreservesMap": true,
415 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/something</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n</topic>\n</topicMap>\n",
416 "actualBytes": 613,
417 "expectedBytes": 613,
418 "byteExact": true
419 },
420 "classification": {
421 "A": "marked SL/II and literal uses",
422 "B": "unmarked Tail SI variable",
423 "C": "possible specification omission, unproven",
424 "D": "positive source-admissibility expectation only"
425 },
426 "status": "not-run",
427 "observation": {
428 "id": "ctm/in/template-ambiguous-parameter6.ctm",
429 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
430 "category": "VALID",
431 "expectedOutcome": "CXTM-EQUAL",
432 "sourceBytes": 163,
433 "sourceHex": "0A 25 70 72 65 66 69 78 20 65 78 20 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 0A 0A 23 20 55 73 69 6E 67 20 61 20 51 4E 61 6D 65 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 71 29 0A 20 20 74 6F 70 69 63 20 24 71 3B 20 3D 24 71 3B 20 5E 24 71 3B 20 6F 63 63 3A 20 24 71 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 65 78 3A 73 6F 6D 65 74 68 69 6E 67 29 0A",
434 "sourceText": "\n%prefix ex <http://www.example.org/>\n\n# Using a QName argument in different contexts\n\ndef template($q)\n topic $q; =$q; ^$q; occ: $q.\nend\n\ntemplate(ex:something)\n",
435 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter6.ctm.cxtm",
436 "baselineBytes": 613,
437 "baselineText": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/something</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n</topic>\n</topicMap>\n",
438 "condition": {
439 "condition": "INVALID-TEMPLATE-BODY",
440 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter6.ctm at CHARACTER 114 (line 7, column 11): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
441 "code": "template-identity-tail",
442 "position": 114,
443 "line": 7,
444 "column": 11,
445 "positionUnit": "character",
446 "source": "ctm/in/template-ambiguous-parameter6.ctm",
447 "cause": null,
448 "context": null
449 },
450 "model": null,
451 "actualCXTM": null,
452 "actualBytes": null,
453 "byteExact": false,
454 "canonicalizationPreservesMap": false,
455 "referencesCurrent": false
456 },
457 "originalComparisonPerformed": false,
458 "argumentCheckReached": false,
459 "evidenceOrigins": {
460 "sourceAndCondition": "observed",
461 "intendedRoles": "inferred",
462 "grammar": "norm-derived",
463 "compatibilityRule": "hypothesized"
464 },
465 "compatibilityRule": "H-SI-tail",
466 "normativeReferences": [
467 "N-tail",
468 "N-variables",
469 "N-templates"
470 ],
471 "expandedComparison": {
472 "epistemicOrigin": "observed",
473 "originalTemplateExecutedSuccessfully": false,
474 "actualBytes": 613,
475 "expectedBytes": 613,
476 "actualSHA256": "3b20e3168ad1260c2a4fcb2b5b4b0026324a78263f2431d6637473087eecd672",
477 "expectedSHA256": "3b20e3168ad1260c2a4fcb2b5b4b0026324a78263f2431d6637473087eecd672",
478 "firstDifferentByte": null
479 }
480 },
481 {
482 "id": "ctm/in/template-subject-identifier2.ctm",
483 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
484 "category": "VALID",
485 "expectedOutcome": "CXTM-EQUAL",
486 "sourceBytes": 81,
487 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 70 73 69 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 66 61 6B 65 3E 29 0A",
488 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(<http://psi.example.org/fake>)\n",
489 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-subject-identifier2.ctm.cxtm",
490 "baselineBytes": 204,
491 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://psi.example.org/fake</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#topic</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
492 "condition": {
493 "condition": "INVALID-TEMPLATE-BODY",
494 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-subject-identifier2.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
495 "code": "template-identity-tail",
496 "position": 34,
497 "line": 3,
498 "column": 15,
499 "positionUnit": "character",
500 "source": "ctm/in/template-subject-identifier2.ctm",
501 "cause": null,
502 "context": null
503 },
504 "model": null,
505 "actualCXTM": null,
506 "actualBytes": null,
507 "byteExact": false,
508 "canonicalizationPreservesMap": false,
509 "referencesCurrent": false,
510 "sourceSHA256": "ffc9a5554b9c908386f6888ef29ccda5cc433e5519924db52f9441769e1df014",
511 "sourcePythonBytes": "b'\\ndef template($iri)\\n topic $iri.\\nend\\n\\ntemplate(<http://psi.example.org/fake>)\\n'",
512 "variables": [
513 {
514 "variable": "$iri",
515 "position": 14,
516 "line": 2,
517 "column": 14,
518 "role": "Parameterdeklaration",
519 "roleOrigin": "observed"
520 },
521 {
522 "variable": "$iri",
523 "position": 30,
524 "line": 3,
525 "column": 11,
526 "role": "Subject Identifier im Topic Tail (unmarkiert)",
527 "roleOrigin": "inferred"
528 }
529 ],
530 "declaration": "def template($iri)",
531 "bindings": [
532 [
533 "$iri",
534 "<http://psi.example.org/fake>"
535 ]
536 ],
537 "invocations": [
538 {
539 "text": "template(<http://psi.example.org/fake>)",
540 "position": 41,
541 "line": 6
542 }
543 ],
544 "baselineSHA256": "e138a02738dc4a2526c465b11fa6915bed84724a31748eb3578ddf0f8ab16253",
545 "expandedControl": {
546 "label": "expanded-subject-identifier2",
547 "originalControlOnly": "ctm/in/template-subject-identifier2.ctm",
548 "sourceText": "topic <http://psi.example.org/fake>.",
549 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
550 "condition": null,
551 "model": {
552 "topicCount": 1,
553 "associationCount": 0,
554 "topics": [
555 {
556 "ordinal": 1,
557 "itemIdentifiers": [
558 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm#topic"
559 ],
560 "subjectIdentifiers": [
561 "http://psi.example.org/fake"
562 ],
563 "subjectLocators": [],
564 "names": [],
565 "occurrences": []
566 }
567 ]
568 },
569 "associations": [],
570 "referencesCurrent": true,
571 "canonicalizationPreservesMap": true,
572 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://psi.example.org/fake</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#topic</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
573 "actualBytes": 204,
574 "expectedBytes": 204,
575 "byteExact": true
576 },
577 "classification": {
578 "A": "marked SL/II and literal uses",
579 "B": "unmarked Tail SI variable",
580 "C": "possible specification omission, unproven",
581 "D": "positive source-admissibility expectation only"
582 },
583 "status": "not-run",
584 "observation": {
585 "id": "ctm/in/template-subject-identifier2.ctm",
586 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
587 "category": "VALID",
588 "expectedOutcome": "CXTM-EQUAL",
589 "sourceBytes": 81,
590 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 70 73 69 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 66 61 6B 65 3E 29 0A",
591 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(<http://psi.example.org/fake>)\n",
592 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-subject-identifier2.ctm.cxtm",
593 "baselineBytes": 204,
594 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://psi.example.org/fake</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#topic</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
595 "condition": {
596 "condition": "INVALID-TEMPLATE-BODY",
597 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-subject-identifier2.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
598 "code": "template-identity-tail",
599 "position": 34,
600 "line": 3,
601 "column": 15,
602 "positionUnit": "character",
603 "source": "ctm/in/template-subject-identifier2.ctm",
604 "cause": null,
605 "context": null
606 },
607 "model": null,
608 "actualCXTM": null,
609 "actualBytes": null,
610 "byteExact": false,
611 "canonicalizationPreservesMap": false,
612 "referencesCurrent": false
613 },
614 "originalComparisonPerformed": false,
615 "argumentCheckReached": false,
616 "evidenceOrigins": {
617 "sourceAndCondition": "observed",
618 "intendedRoles": "inferred",
619 "grammar": "norm-derived",
620 "compatibilityRule": "hypothesized"
621 },
622 "compatibilityRule": "H-SI-tail",
623 "normativeReferences": [
624 "N-tail",
625 "N-variables",
626 "N-templates"
627 ],
628 "expandedComparison": {
629 "epistemicOrigin": "observed",
630 "originalTemplateExecutedSuccessfully": false,
631 "actualBytes": 204,
632 "expectedBytes": 204,
633 "actualSHA256": "e138a02738dc4a2526c465b11fa6915bed84724a31748eb3578ddf0f8ab16253",
634 "expectedSHA256": "e138a02738dc4a2526c465b11fa6915bed84724a31748eb3578ddf0f8ab16253",
635 "firstDifferentByte": null
636 }
637 },
638 {
639 "id": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
640 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier-2nd-arg.ctm",
641 "category": "INVALID",
642 "expectedOutcome": "CTM-REJECTION",
643 "sourceBytes": 167,
644 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
645 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n ^<http://www.example.org/>) # invalid\n",
646 "baselinePath": null,
647 "baselineBytes": null,
648 "baselineText": null,
649 "condition": {
650 "condition": "INVALID-TEMPLATE-BODY",
651 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
652 "code": "template-identity-tail",
653 "position": 44,
654 "line": 3,
655 "column": 17,
656 "positionUnit": "character",
657 "source": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
658 "cause": null,
659 "context": null
660 },
661 "model": null,
662 "actualCXTM": null,
663 "actualBytes": null,
664 "byteExact": false,
665 "canonicalizationPreservesMap": false,
666 "referencesCurrent": false,
667 "sourceSHA256": "ceb46d4457532cc5b432d5e601275cc6950bb105088e2b2ccfa4ffa5fbe82266",
668 "sourcePythonBytes": "b'\\ndef template($iri1, $iri2)\\n topic1 $iri1.\\n topic2 $iri2.\\nend\\n\\ntemplate(<http://www.example.org/>, # valid\\n ^<http://www.example.org/>) # invalid\\n'",
669 "variables": [
670 {
671 "variable": "$iri1",
672 "position": 14,
673 "line": 2,
674 "column": 14,
675 "role": "Parameterdeklaration",
676 "roleOrigin": "observed"
677 },
678 {
679 "variable": "$iri2",
680 "position": 21,
681 "line": 2,
682 "column": 21,
683 "role": "Parameterdeklaration",
684 "roleOrigin": "observed"
685 },
686 {
687 "variable": "$iri1",
688 "position": 39,
689 "line": 3,
690 "column": 12,
691 "role": "Subject Identifier von topic1 (unmarkiert)",
692 "roleOrigin": "inferred"
693 },
694 {
695 "variable": "$iri2",
696 "position": 57,
697 "line": 4,
698 "column": 12,
699 "role": "Subject Identifier von topic2 (unmarkiert)",
700 "roleOrigin": "inferred"
701 }
702 ],
703 "declaration": "def template($iri1, $iri2)",
704 "bindings": [
705 [
706 "$iri1",
707 "<http://www.example.org/>"
708 ],
709 [
710 "$iri2",
711 "^<http://www.example.org/>"
712 ]
713 ],
714 "invocations": [
715 {
716 "text": "template(<http://www.example.org/>, # valid\n ^<http://www.example.org/>)",
717 "position": 69,
718 "line": 7
719 }
720 ],
721 "classification": {
722 "A": "marked argument as Topic reference",
723 "B": "unmarked Tail SI variable",
724 "C": "intended contextual rejection not reached",
725 "D": null
726 },
727 "status": "not-run",
728 "observation": {
729 "id": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
730 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier-2nd-arg.ctm",
731 "category": "INVALID",
732 "expectedOutcome": "CTM-REJECTION",
733 "sourceBytes": 167,
734 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
735 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n ^<http://www.example.org/>) # invalid\n",
736 "baselinePath": null,
737 "baselineBytes": null,
738 "baselineText": null,
739 "condition": {
740 "condition": "INVALID-TEMPLATE-BODY",
741 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
742 "code": "template-identity-tail",
743 "position": 44,
744 "line": 3,
745 "column": 17,
746 "positionUnit": "character",
747 "source": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
748 "cause": null,
749 "context": null
750 },
751 "model": null,
752 "actualCXTM": null,
753 "actualBytes": null,
754 "byteExact": false,
755 "canonicalizationPreservesMap": false,
756 "referencesCurrent": false
757 },
758 "originalComparisonPerformed": false,
759 "argumentCheckReached": false,
760 "evidenceOrigins": {
761 "sourceAndCondition": "observed",
762 "intendedRoles": "inferred",
763 "grammar": "norm-derived",
764 "compatibilityRule": "hypothesized"
765 },
766 "compatibilityRule": "H-SI-tail",
767 "normativeReferences": [
768 "N-tail",
769 "N-variables",
770 "N-templates"
771 ],
772 "intendedArgumentCheck": {
773 "epistemicOrigin": "inferred",
774 "argumentIndex": 2,
775 "parameter": "$iri2",
776 "identityKind": "item-identifier",
777 "targetContext": "unmarked Subject Identifier Tail slot",
778 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"
779 }
780 },
781 {
782 "id": "ctm/invalid/template-item-identifier3.ctm",
783 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier3.ctm",
784 "category": "INVALID",
785 "expectedOutcome": "CTM-REJECTION",
786 "sourceBytes": 78,
787 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
788 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(^<http://www.example.org/>)\n",
789 "baselinePath": null,
790 "baselineBytes": null,
791 "baselineText": null,
792 "condition": {
793 "condition": "INVALID-TEMPLATE-BODY",
794 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
795 "code": "template-identity-tail",
796 "position": 34,
797 "line": 3,
798 "column": 15,
799 "positionUnit": "character",
800 "source": "ctm/invalid/template-item-identifier3.ctm",
801 "cause": null,
802 "context": null
803 },
804 "model": null,
805 "actualCXTM": null,
806 "actualBytes": null,
807 "byteExact": false,
808 "canonicalizationPreservesMap": false,
809 "referencesCurrent": false,
810 "sourceSHA256": "4c7ed0ab1574462b8939379f745a28942aa380fc6cc7fabae597fdc7bb21225f",
811 "sourcePythonBytes": "b'\\ndef template($iri)\\n topic $iri.\\nend\\n\\ntemplate(^<http://www.example.org/>)\\n'",
812 "variables": [
813 {
814 "variable": "$iri",
815 "position": 14,
816 "line": 2,
817 "column": 14,
818 "role": "Parameterdeklaration",
819 "roleOrigin": "observed"
820 },
821 {
822 "variable": "$iri",
823 "position": 30,
824 "line": 3,
825 "column": 11,
826 "role": "Subject Identifier von topic (unmarkiert)",
827 "roleOrigin": "inferred"
828 }
829 ],
830 "declaration": "def template($iri)",
831 "bindings": [
832 [
833 "$iri",
834 "^<http://www.example.org/>"
835 ]
836 ],
837 "invocations": [
838 {
839 "text": "template(^<http://www.example.org/>)",
840 "position": 41,
841 "line": 6
842 }
843 ],
844 "classification": {
845 "A": "marked argument as Topic reference",
846 "B": "unmarked Tail SI variable",
847 "C": "intended contextual rejection not reached",
848 "D": null
849 },
850 "status": "not-run",
851 "observation": {
852 "id": "ctm/invalid/template-item-identifier3.ctm",
853 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier3.ctm",
854 "category": "INVALID",
855 "expectedOutcome": "CTM-REJECTION",
856 "sourceBytes": 78,
857 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
858 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(^<http://www.example.org/>)\n",
859 "baselinePath": null,
860 "baselineBytes": null,
861 "baselineText": null,
862 "condition": {
863 "condition": "INVALID-TEMPLATE-BODY",
864 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
865 "code": "template-identity-tail",
866 "position": 34,
867 "line": 3,
868 "column": 15,
869 "positionUnit": "character",
870 "source": "ctm/invalid/template-item-identifier3.ctm",
871 "cause": null,
872 "context": null
873 },
874 "model": null,
875 "actualCXTM": null,
876 "actualBytes": null,
877 "byteExact": false,
878 "canonicalizationPreservesMap": false,
879 "referencesCurrent": false
880 },
881 "originalComparisonPerformed": false,
882 "argumentCheckReached": false,
883 "evidenceOrigins": {
884 "sourceAndCondition": "observed",
885 "intendedRoles": "inferred",
886 "grammar": "norm-derived",
887 "compatibilityRule": "hypothesized"
888 },
889 "compatibilityRule": "H-SI-tail",
890 "normativeReferences": [
891 "N-tail",
892 "N-variables",
893 "N-templates"
894 ],
895 "intendedArgumentCheck": {
896 "epistemicOrigin": "inferred",
897 "argumentIndex": 1,
898 "parameter": "$iri",
899 "identityKind": "item-identifier",
900 "targetContext": "unmarked Subject Identifier Tail slot",
901 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"
902 }
903 },
904 {
905 "id": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
906 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator-2nd-arg.ctm",
907 "category": "INVALID",
908 "expectedOutcome": "CTM-REJECTION",
909 "sourceBytes": 167,
910 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 20 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
911 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n =<http://www.example.org/>) # invalid\n",
912 "baselinePath": null,
913 "baselineBytes": null,
914 "baselineText": null,
915 "condition": {
916 "condition": "INVALID-TEMPLATE-BODY",
917 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
918 "code": "template-identity-tail",
919 "position": 44,
920 "line": 3,
921 "column": 17,
922 "positionUnit": "character",
923 "source": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
924 "cause": null,
925 "context": null
926 },
927 "model": null,
928 "actualCXTM": null,
929 "actualBytes": null,
930 "byteExact": false,
931 "canonicalizationPreservesMap": false,
932 "referencesCurrent": false,
933 "sourceSHA256": "e7e8ca08ad1dec89549afbe2d3cf90098269031f239ddae37258bf87ba4c018f",
934 "sourcePythonBytes": "b'\\ndef template($iri1, $iri2)\\n topic1 $iri1.\\n topic2 $iri2.\\nend\\n\\ntemplate(<http://www.example.org/>, # valid\\n =<http://www.example.org/>) # invalid\\n'",
935 "variables": [
936 {
937 "variable": "$iri1",
938 "position": 14,
939 "line": 2,
940 "column": 14,
941 "role": "Parameterdeklaration",
942 "roleOrigin": "observed"
943 },
944 {
945 "variable": "$iri2",
946 "position": 21,
947 "line": 2,
948 "column": 21,
949 "role": "Parameterdeklaration",
950 "roleOrigin": "observed"
951 },
952 {
953 "variable": "$iri1",
954 "position": 39,
955 "line": 3,
956 "column": 12,
957 "role": "Subject Identifier von topic1 (unmarkiert)",
958 "roleOrigin": "inferred"
959 },
960 {
961 "variable": "$iri2",
962 "position": 57,
963 "line": 4,
964 "column": 12,
965 "role": "Subject Identifier von topic2 (unmarkiert)",
966 "roleOrigin": "inferred"
967 }
968 ],
969 "declaration": "def template($iri1, $iri2)",
970 "bindings": [
971 [
972 "$iri1",
973 "<http://www.example.org/>"
974 ],
975 [
976 "$iri2",
977 "=<http://www.example.org/>"
978 ]
979 ],
980 "invocations": [
981 {
982 "text": "template(<http://www.example.org/>, # valid\n =<http://www.example.org/>)",
983 "position": 69,
984 "line": 7
985 }
986 ],
987 "classification": {
988 "A": "marked argument as Topic reference",
989 "B": "unmarked Tail SI variable",
990 "C": "intended contextual rejection not reached",
991 "D": null
992 },
993 "status": "not-run",
994 "observation": {
995 "id": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
996 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator-2nd-arg.ctm",
997 "category": "INVALID",
998 "expectedOutcome": "CTM-REJECTION",
999 "sourceBytes": 167,
1000 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 20 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
1001 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n =<http://www.example.org/>) # invalid\n",
1002 "baselinePath": null,
1003 "baselineBytes": null,
1004 "baselineText": null,
1005 "condition": {
1006 "condition": "INVALID-TEMPLATE-BODY",
1007 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
1008 "code": "template-identity-tail",
1009 "position": 44,
1010 "line": 3,
1011 "column": 17,
1012 "positionUnit": "character",
1013 "source": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
1014 "cause": null,
1015 "context": null
1016 },
1017 "model": null,
1018 "actualCXTM": null,
1019 "actualBytes": null,
1020 "byteExact": false,
1021 "canonicalizationPreservesMap": false,
1022 "referencesCurrent": false
1023 },
1024 "originalComparisonPerformed": false,
1025 "argumentCheckReached": false,
1026 "evidenceOrigins": {
1027 "sourceAndCondition": "observed",
1028 "intendedRoles": "inferred",
1029 "grammar": "norm-derived",
1030 "compatibilityRule": "hypothesized"
1031 },
1032 "compatibilityRule": "H-SI-tail",
1033 "normativeReferences": [
1034 "N-tail",
1035 "N-variables",
1036 "N-templates"
1037 ],
1038 "intendedArgumentCheck": {
1039 "epistemicOrigin": "inferred",
1040 "argumentIndex": 2,
1041 "parameter": "$iri2",
1042 "identityKind": "subject-locator",
1043 "targetContext": "unmarked Subject Identifier Tail slot",
1044 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"
1045 }
1046 },
1047 {
1048 "id": "ctm/invalid/template-subject-locator3.ctm",
1049 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator3.ctm",
1050 "category": "INVALID",
1051 "expectedOutcome": "CTM-REJECTION",
1052 "sourceBytes": 78,
1053 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
1054 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(=<http://www.example.org/>)\n",
1055 "baselinePath": null,
1056 "baselineBytes": null,
1057 "baselineText": null,
1058 "condition": {
1059 "condition": "INVALID-TEMPLATE-BODY",
1060 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
1061 "code": "template-identity-tail",
1062 "position": 34,
1063 "line": 3,
1064 "column": 15,
1065 "positionUnit": "character",
1066 "source": "ctm/invalid/template-subject-locator3.ctm",
1067 "cause": null,
1068 "context": null
1069 },
1070 "model": null,
1071 "actualCXTM": null,
1072 "actualBytes": null,
1073 "byteExact": false,
1074 "canonicalizationPreservesMap": false,
1075 "referencesCurrent": false,
1076 "sourceSHA256": "d53c835df922469d65e5103f48b38faa94be56c06a4cb1da356a8ad6b277496d",
1077 "sourcePythonBytes": "b'\\ndef template($iri)\\n topic $iri.\\nend\\n\\ntemplate(=<http://www.example.org/>)\\n'",
1078 "variables": [
1079 {
1080 "variable": "$iri",
1081 "position": 14,
1082 "line": 2,
1083 "column": 14,
1084 "role": "Parameterdeklaration",
1085 "roleOrigin": "observed"
1086 },
1087 {
1088 "variable": "$iri",
1089 "position": 30,
1090 "line": 3,
1091 "column": 11,
1092 "role": "Subject Identifier von topic (unmarkiert)",
1093 "roleOrigin": "inferred"
1094 }
1095 ],
1096 "declaration": "def template($iri)",
1097 "bindings": [
1098 [
1099 "$iri",
1100 "=<http://www.example.org/>"
1101 ]
1102 ],
1103 "invocations": [
1104 {
1105 "text": "template(=<http://www.example.org/>)",
1106 "position": 41,
1107 "line": 6
1108 }
1109 ],
1110 "classification": {
1111 "A": "marked argument as Topic reference",
1112 "B": "unmarked Tail SI variable",
1113 "C": "intended contextual rejection not reached",
1114 "D": null
1115 },
1116 "status": "not-run",
1117 "observation": {
1118 "id": "ctm/invalid/template-subject-locator3.ctm",
1119 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator3.ctm",
1120 "category": "INVALID",
1121 "expectedOutcome": "CTM-REJECTION",
1122 "sourceBytes": 78,
1123 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
1124 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(=<http://www.example.org/>)\n",
1125 "baselinePath": null,
1126 "baselineBytes": null,
1127 "baselineText": null,
1128 "condition": {
1129 "condition": "INVALID-TEMPLATE-BODY",
1130 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
1131 "code": "template-identity-tail",
1132 "position": 34,
1133 "line": 3,
1134 "column": 15,
1135 "positionUnit": "character",
1136 "source": "ctm/invalid/template-subject-locator3.ctm",
1137 "cause": null,
1138 "context": null
1139 },
1140 "model": null,
1141 "actualCXTM": null,
1142 "actualBytes": null,
1143 "byteExact": false,
1144 "canonicalizationPreservesMap": false,
1145 "referencesCurrent": false
1146 },
1147 "originalComparisonPerformed": false,
1148 "argumentCheckReached": false,
1149 "evidenceOrigins": {
1150 "sourceAndCondition": "observed",
1151 "intendedRoles": "inferred",
1152 "grammar": "norm-derived",
1153 "compatibilityRule": "hypothesized"
1154 },
1155 "compatibilityRule": "H-SI-tail",
1156 "normativeReferences": [
1157 "N-tail",
1158 "N-variables",
1159 "N-templates"
1160 ],
1161 "intendedArgumentCheck": {
1162 "epistemicOrigin": "inferred",
1163 "argumentIndex": 1,
1164 "parameter": "$iri",
1165 "identityKind": "subject-locator",
1166 "targetContext": "unmarked Subject Identifier Tail slot",
1167 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"
1168 }
1169 }
1170 ]
1171 }