<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Corobs%2FBUGS</id>
	<title>Corobs/BUGS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Corobs%2FBUGS"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Corobs/BUGS&amp;action=history"/>
	<updated>2026-12-06T18:02:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=Corobs/BUGS&amp;diff=262&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Corobs/BUGS&amp;diff=262&amp;oldid=prev"/>
		<updated>2026-11-29T20:18:22Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:18, 29 November 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt;dotnet test Corobs.Csharp/Corobs.Tests                           # fixed code: all pass&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt;dotnet test Corobs.Csharp/Corobs.Tests                           # fixed code: all pass&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dotnet test Corobs.Csharp/Corobs.Tests -p:CorobsBugs=COROBS_BUG_COR_T4_RING   # old code: that fix&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#39;&lt;/del&gt;s tests fail&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dotnet test Corobs.Csharp/Corobs.Tests -p:CorobsBugs=COROBS_BUG_COR_T4_RING   # old code: that fix&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&lt;/ins&gt;s tests fail&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;CorobsBugs&amp;lt;/code&amp;gt; takes any symbol below (several at once as &amp;lt;code&amp;gt;A%3BB&amp;lt;/code&amp;gt;). Shipping the old behaviour means building the package with the same property, which is how a fix is reverted without editing source.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;CorobsBugs&amp;lt;/code&amp;gt; takes any symbol below (several at once as &amp;lt;code&amp;gt;A%3BB&amp;lt;/code&amp;gt;). Shipping the old behaviour means building the package with the same property, which is how a fix is reverted without editing source.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Claim.&amp;lt;/strong&amp;gt; If d* &amp;amp;lt; 0, no pair is linked.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Claim.&amp;lt;/strong&amp;gt; If d* &amp;amp;lt; 0, no pair is linked.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Proof.&amp;lt;/strong&amp;gt; A distance is never negative: ‖p − q‖ ≥ 0 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;gt; &lt;/del&gt;d*. ∎&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Proof.&amp;lt;/strong&amp;gt; A distance is never negative: ‖p − q‖ ≥ 0 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt; &lt;/ins&gt;d*. ∎&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The old code&amp;lt;/strong&amp;gt; tested ‖p − q‖² ≤ d*². For d* &amp;amp;lt; 0, d*² = &amp;amp;#124;d*&amp;amp;#124;², so it linked every pair within &amp;amp;#124;d*&amp;amp;#124;. That is the threshold reflected about zero.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The old code&amp;lt;/strong&amp;gt; tested ‖p − q‖² ≤ d*². For d* &amp;amp;lt; 0, d*² = &amp;amp;#124;d*&amp;amp;#124;², so it linked every pair within &amp;amp;#124;d*&amp;amp;#124;. That is the threshold reflected about zero.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l72&quot;&gt;Line 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The book.&amp;lt;/strong&amp;gt; A continuous sensor&amp;#039;s state point is &amp;quot;not &amp;#039;near&amp;#039; the string CO, but exactly on it&amp;quot; (Ch. IX, p. 123).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The book.&amp;lt;/strong&amp;gt; A continuous sensor&amp;#039;s state point is &amp;quot;not &amp;#039;near&amp;#039; the string CO, but exactly on it&amp;quot; (Ch. IX, p. 123).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Construction.&amp;lt;/strong&amp;gt; Ring coordinate i at position t is aᵢ when frac(t − oᵢ) &amp;amp;lt; ½, else bᵢ, with breakpoints oᵢ uniform on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/del&gt;0, 1).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Construction.&amp;lt;/strong&amp;gt; Ring coordinate i at position t is aᵢ when frac(t − oᵢ) &amp;amp;lt; ½, else bᵢ, with breakpoints oᵢ uniform on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;0, 1).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The old code at t = ±∞.&amp;lt;/strong&amp;gt; Under IEEE-754, ±∞ − oᵢ = ±∞ and ±∞ − ⌊±∞⌋ = NaN, and &amp;lt;code&amp;gt;NaN &amp;amp;lt; 0.5&amp;lt;/code&amp;gt; is false. So every coordinate became bᵢ, giving the point B = (b₁, …, b_N).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The old code at t = ±∞.&amp;lt;/strong&amp;gt; Under IEEE-754, ±∞ − oᵢ = ±∞ and ±∞ − ⌊±∞⌋ = NaN, and &amp;lt;code&amp;gt;NaN &amp;amp;lt; 0.5&amp;lt;/code&amp;gt; is false. So every coordinate became bᵢ, giving the point B = (b₁, …, b_N).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Claim.&amp;lt;/strong&amp;gt; B is not on the ring, except with probability N / 2^(N−1).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Claim.&amp;lt;/strong&amp;gt; B is not on the ring, except with probability N / 2^(N−1).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Proof.&amp;lt;/strong&amp;gt; B is on the ring iff some t has frac(t − oᵢ) ∈ &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/del&gt;½, 1) for every i, i.e. iff the N arcs &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/del&gt;oᵢ + ½, oᵢ + 1) share a point. Arcs of length ½ share a point iff their N uniform start points lie within one half-circle. By Wendel&#039;s theorem (1962) that happens with probability N / 2^(N−1): 1.5 × 10⁻⁸ at N = 32 and 6.9 × 10⁻¹⁸ at N = 64. So the old code answered ±∞ with a point that no position on the ring produces, which contradicts p. 123. ∎&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;Proof.&amp;lt;/strong&amp;gt; B is on the ring iff some t has frac(t − oᵢ) ∈ &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;½, 1) for every i, i.e. iff the N arcs &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;oᵢ + ½, oᵢ + 1) share a point. Arcs of length ½ share a point iff their N uniform start points lie within one half-circle. By Wendel&#039;s theorem (1962) that happens with probability N / 2^(N−1): 1.5 × 10⁻⁸ at N = 32 and 6.9 × 10⁻¹⁸ at N = 64. So the old code answered ±∞ with a point that no position on the ring produces, which contradicts p. 123. ∎&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The test&amp;lt;/strong&amp;gt; settles it exactly for its own ring rather than in probability. A ring takes exactly 2N distinct points, one per arc between its 2N breakpoints (adjacent arcs differ in one coordinate). The test visits all 2N, asserting that it found that many, and the old point is not among them.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;strong&amp;gt;The test&amp;lt;/strong&amp;gt; settles it exactly for its own ring rather than in probability. A ring takes exactly 2N distinct points, one per arc between its 2N breakpoints (adjacent arcs differ in one coordinate). The test visits all 2N, asserting that it found that many, and the old point is not among them.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=Corobs/BUGS&amp;diff=102&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Corobs/BUGS&amp;diff=102&amp;oldid=prev"/>
		<updated>2026-11-29T20:02:45Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Bug ledger =&lt;br /&gt;
&lt;br /&gt;
Corobs implements Lawrence&amp;#039;s &amp;lt;em&amp;gt;Correlithm Object Technology&amp;lt;/em&amp;gt; (2004) and is otherwise left alone. When a defect is fixed, the old code stays in the source behind a compiler symbol, a test in &amp;lt;code&amp;gt;Corobs.Csharp/Corobs.Tests/Bugs/&amp;lt;/code&amp;gt; checks an invariant the old code breaks, and the proof is recorded here. Page numbers are the book&amp;#039;s printed pages, checked against the PDF.&lt;br /&gt;
&lt;br /&gt;
Each entry is one of:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Book divergence&amp;lt;/strong&amp;gt;: the code contradicted the book.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Implementation defect&amp;lt;/strong&amp;gt;: the book is right and silent; the code broke its own definition or plain mathematics.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Decision&amp;lt;/strong&amp;gt;: no proof exists either way; the behaviour was chosen, and the owner may revert it.&lt;br /&gt;
&lt;br /&gt;
== Reproducing the old behaviour ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt;dotnet test Corobs.Csharp/Corobs.Tests                           # fixed code: all pass&lt;br /&gt;
dotnet test Corobs.Csharp/Corobs.Tests -p:CorobsBugs=COROBS_BUG_COR_T4_RING   # old code: that fix&amp;amp;#39;s tests fail&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;CorobsBugs&amp;lt;/code&amp;gt; takes any symbol below (several at once as &amp;lt;code&amp;gt;A%3BB&amp;lt;/code&amp;gt;). Shipping the old behaviour means building the package with the same property, which is how a fix is reverted without editing source.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Symbol&lt;br /&gt;
! Ticket&lt;br /&gt;
! Where&lt;br /&gt;
! Kind&lt;br /&gt;
! Test&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;COROBS_BUG_COR_T4_THRESHOLD&amp;lt;/code&amp;gt;&lt;br /&gt;
| COR-T4&lt;br /&gt;
| &amp;lt;code&amp;gt;PatternMiner.Mine&amp;lt;/code&amp;gt;&lt;br /&gt;
| implementation defect&lt;br /&gt;
| &amp;lt;code&amp;gt;COR_T4Tests.Threshold_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;COROBS_BUG_COR_T4_RING&amp;lt;/code&amp;gt;&lt;br /&gt;
| COR-T4&lt;br /&gt;
| &amp;lt;code&amp;gt;StringCo.At(double)&amp;lt;/code&amp;gt;&lt;br /&gt;
| book divergence&lt;br /&gt;
| &amp;lt;code&amp;gt;COR_T4Tests.Ring_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;COROBS_BUG_COR_T4_PAIRS&amp;lt;/code&amp;gt;&lt;br /&gt;
| COR-T4&lt;br /&gt;
| &amp;lt;code&amp;gt;Bench.HoldoutRecall&amp;lt;/code&amp;gt;&lt;br /&gt;
| implementation defect&lt;br /&gt;
| &amp;lt;code&amp;gt;COR_T4Tests.Pairs_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;COROBS_BUG_COR_T5&amp;lt;/code&amp;gt;&lt;br /&gt;
| COR-T5&lt;br /&gt;
| &amp;lt;code&amp;gt;ContinuousConverter.Convert&amp;lt;/code&amp;gt;&lt;br /&gt;
| decision&lt;br /&gt;
| &amp;lt;code&amp;gt;COR_T5Tests.Decision_*&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== COR-T4 · THRESHOLD: a negative linking threshold linked points ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Kind:&amp;lt;/strong&amp;gt; implementation defect. The book is right.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Definition.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;PatternMiner&amp;lt;/code&amp;gt; links two points when ‖p − q‖ ≤ d*, where d* = μ − kσ, μ = √(N/6) and σ ≈ 0.2415 (Table II-1). This is the book&amp;#039;s own construction: on p. 36 Lawrence computes the 6σ distance at N = 20 as (7.56 − 6.0) × 0.2415 ≈ 0.38.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Claim.&amp;lt;/strong&amp;gt; If d* &amp;amp;lt; 0, no pair is linked.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Proof.&amp;lt;/strong&amp;gt; A distance is never negative: ‖p − q‖ ≥ 0 &amp;amp;gt; d*. ∎&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The old code&amp;lt;/strong&amp;gt; tested ‖p − q‖² ≤ d*². For d* &amp;amp;lt; 0, d*² = &amp;amp;#124;d*&amp;amp;#124;², so it linked every pair within &amp;amp;#124;d*&amp;amp;#124;. That is the threshold reflected about zero.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Counterexample (the test).&amp;lt;/strong&amp;gt; At N = 4, μ = 0.8165 and d* = 0.8165 − 6(0.2415) = −0.633. Five points 0.1 apart in a line were linked into a &amp;quot;6σ&amp;quot; pattern. The closest partner of point 0 lies only (0.8165 − 0.1)/0.2415 = 2.97σ below μ, which the failing test reports. By Eq. III-H that proximity is worth 2.97²/ln 2 ≈ 12.7 bits, not the ≥ 6²/ln 2 ≈ 51.9 bits a 6σ link certifies.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;When it occurs.&amp;lt;/strong&amp;gt; d* &amp;amp;lt; 0 ⇔ N &amp;amp;lt; 6(kσ)². At k = 6 that is N ≤ 12, below the book&amp;#039;s rule of thumb of N ≥ ~20 (p. 36). The book allows small N &amp;quot;carefully&amp;quot;, so the library accepts it, and must then answer correctly.&lt;br /&gt;
&lt;br /&gt;
== COR-T4 · RING: &amp;lt;code&amp;gt;StringCo.At(±∞)&amp;lt;/code&amp;gt; on a ring returned a point off the ring ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Kind:&amp;lt;/strong&amp;gt; book divergence.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The book.&amp;lt;/strong&amp;gt; A continuous sensor&amp;#039;s state point is &amp;quot;not &amp;#039;near&amp;#039; the string CO, but exactly on it&amp;quot; (Ch. IX, p. 123).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Construction.&amp;lt;/strong&amp;gt; Ring coordinate i at position t is aᵢ when frac(t − oᵢ) &amp;amp;lt; ½, else bᵢ, with breakpoints oᵢ uniform on &amp;amp;#91;0, 1).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The old code at t = ±∞.&amp;lt;/strong&amp;gt; Under IEEE-754, ±∞ − oᵢ = ±∞ and ±∞ − ⌊±∞⌋ = NaN, and &amp;lt;code&amp;gt;NaN &amp;amp;lt; 0.5&amp;lt;/code&amp;gt; is false. So every coordinate became bᵢ, giving the point B = (b₁, …, b_N).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Claim.&amp;lt;/strong&amp;gt; B is not on the ring, except with probability N / 2^(N−1).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Proof.&amp;lt;/strong&amp;gt; B is on the ring iff some t has frac(t − oᵢ) ∈ &amp;amp;#91;½, 1) for every i, i.e. iff the N arcs &amp;amp;#91;oᵢ + ½, oᵢ + 1) share a point. Arcs of length ½ share a point iff their N uniform start points lie within one half-circle. By Wendel&amp;#039;s theorem (1962) that happens with probability N / 2^(N−1): 1.5 × 10⁻⁸ at N = 32 and 6.9 × 10⁻¹⁸ at N = 64. So the old code answered ±∞ with a point that no position on the ring produces, which contradicts p. 123. ∎&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The test&amp;lt;/strong&amp;gt; settles it exactly for its own ring rather than in probability. A ring takes exactly 2N distinct points, one per arc between its 2N breakpoints (adjacent arcs differ in one coordinate). The test visits all 2N, asserting that it found that many, and the old point is not among them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The fix&amp;lt;/strong&amp;gt; refuses ±∞ (&amp;lt;code&amp;gt;ArgumentOutOfRangeException&amp;lt;/code&amp;gt;). A ring has no position there.&lt;br /&gt;
&lt;br /&gt;
== COR-T4 · PAIRS: &amp;lt;code&amp;gt;HoldoutRecall&amp;lt;/code&amp;gt; counted listings, not relationships ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Kind:&amp;lt;/strong&amp;gt; implementation defect. &amp;lt;code&amp;gt;Bench&amp;lt;/code&amp;gt; is not in the book. This is measured against the definition of recall.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Definition.&amp;lt;/strong&amp;gt; A relationship is an unordered pair under the caller&amp;#039;s equality comparer. Recall = hidden relationships recovered ÷ hidden relationships. A perfect predictor, which returns every true neighbour, recovers everything hidden, so its recall is 1 by definition.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Defect 1: repeats.&amp;lt;/strong&amp;gt; The old code shuffled and hid list entries. A relationship listed m times could be hidden up to m times, but it can be recovered only once.&lt;br /&gt;
&lt;br /&gt;
* Counterexample (the test): 20 relationships, each listed three times (60 entries), half hidden. The old code hid 30 entries but only 18 distinct relationships, so the perfect predictor scored 18/30 = 0.600.&lt;br /&gt;
* Contradiction: the perfect predictor&amp;#039;s recall must be 1. ∎&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Defect 2: order and spelling.&amp;lt;/strong&amp;gt; Pairs were put in canonical order by &amp;lt;code&amp;gt;ToString()&amp;lt;/code&amp;gt; and then compared in order, which disagrees with the caller&amp;#039;s comparer.&lt;br /&gt;
&lt;br /&gt;
* Under &amp;lt;code&amp;gt;OrdinalIgnoreCase&amp;lt;/code&amp;gt;, (&amp;quot;a&amp;quot;, &amp;quot;B&amp;quot;) becomes (&amp;quot;B&amp;quot;, &amp;quot;a&amp;quot;) and (&amp;quot;b&amp;quot;, &amp;quot;A&amp;quot;) becomes (&amp;quot;A&amp;quot;, &amp;quot;b&amp;quot;). The ordered comparison calls them different, though they are one unordered pair.&lt;br /&gt;
* Counterexample (the test): 20 relationships, each spelled two ways, half hidden. The definition gives 10 hidden; the old code gave 20.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The fix&amp;lt;/strong&amp;gt; de-duplicates relationships before shuffling. Pair equality is now unordered. The hash is symmetric (XOR), as the &amp;lt;code&amp;gt;IEqualityComparer&amp;lt;/code&amp;gt; contract requires once equality is unordered: equal pairs must hash equal.&lt;br /&gt;
&lt;br /&gt;
== COR-T5 · wrapping &amp;lt;code&amp;gt;ContinuousConverter&amp;lt;/code&amp;gt; maps ±∞ to &amp;lt;code&amp;gt;Missing&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Kind:&amp;lt;/strong&amp;gt; decision. This is not a proven error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;What the book says.&amp;lt;/strong&amp;gt; A continuous converter takes &amp;quot;a floating-point variable in some bounded range&amp;quot; (p. 123). It says nothing about values outside that range. It also says nothing about missing values: mapping them to the midpoint is this library&amp;#039;s choice, made from the Ch. II geometry, not a rule in Ch. IX.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Before:&amp;lt;/strong&amp;gt; a wrapping converter threw for ±∞, through the ring&amp;#039;s guard. &amp;lt;strong&amp;gt;After:&amp;lt;/strong&amp;gt; it returns &amp;lt;code&amp;gt;Missing&amp;lt;/code&amp;gt;, as it does for NaN. The open (line) converter clamps ±∞ to its ends; that is not from the book either.&lt;br /&gt;
&lt;br /&gt;
No mathematical argument makes either behaviour wrong. The test pins the current choice, so the symbol build shows exactly what reverting it changes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[Corobs]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/Corobs/blob/main/docs/BUGS.md Corobs/docs/BUGS.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Corobs]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>