Rename bondFacet to bond_edge_type and clean up slipnet.json

The slipnet node previously called "bondFacet" was misleading since
"facet" is used throughout the codebase as a property name on Bond,
Group, and Rule objects. Renamed to "bond_edge_type" to better reflect
its role as a descriptor type category. Also removed precomputed
minPathToLetter data from slipnet.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alex Linhares
2026-02-21 23:19:55 +00:00
parent 72d0bf3d3e
commit 866881be69
8 changed files with 121 additions and 603 deletions

View File

@ -160,7 +160,7 @@ class SlipnetExporter:
self.groupCategory = self._addNode('groupCategory', 80.0)
self.length = self._addNode('length', 60.0)
self.objectCategory = self._addNode('objectCategory', 90.0)
self.bondFacet = self._addNode('bondFacet', 90.0)
self.bond_edge_type = self._addNode('bond_edge_type', 90.0)
self.initiallyClampedSlipnodes = [
self.letterCategory,
@ -222,9 +222,9 @@ class SlipnetExporter:
(self.groupCategory, self.predecessorGroup),
(self.groupCategory, self.successorGroup),
(self.groupCategory, self.samenessGroup),
# bond facets
(self.bondFacet, self.letterCategory),
(self.bondFacet, self.length),
# bond edge types
(self.bond_edge_type, self.letterCategory),
(self.bond_edge_type, self.length),
]
for a, b in links:
self._addInstanceLink(a, b)

View File

@ -11,528 +11,229 @@
"name": "a",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"a"
],
"nearestLetter": "a"
}
"shrunkLinkLength": 0.0
},
{
"name": "b",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"b"
],
"nearestLetter": "b"
}
"shrunkLinkLength": 0.0
},
{
"name": "c",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"c"
],
"nearestLetter": "c"
}
"shrunkLinkLength": 0.0
},
{
"name": "d",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"d"
],
"nearestLetter": "d"
}
"shrunkLinkLength": 0.0
},
{
"name": "e",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"e"
],
"nearestLetter": "e"
}
"shrunkLinkLength": 0.0
},
{
"name": "f",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"f"
],
"nearestLetter": "f"
}
"shrunkLinkLength": 0.0
},
{
"name": "g",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"g"
],
"nearestLetter": "g"
}
"shrunkLinkLength": 0.0
},
{
"name": "h",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"h"
],
"nearestLetter": "h"
}
"shrunkLinkLength": 0.0
},
{
"name": "i",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"i"
],
"nearestLetter": "i"
}
"shrunkLinkLength": 0.0
},
{
"name": "j",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "k",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"k"
],
"nearestLetter": "k"
}
"shrunkLinkLength": 0.0
},
{
"name": "l",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"l"
],
"nearestLetter": "l"
}
"shrunkLinkLength": 0.0
},
{
"name": "m",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"m"
],
"nearestLetter": "m"
}
"shrunkLinkLength": 0.0
},
{
"name": "n",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"n"
],
"nearestLetter": "n"
}
"shrunkLinkLength": 0.0
},
{
"name": "o",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"o"
],
"nearestLetter": "o"
}
"shrunkLinkLength": 0.0
},
{
"name": "p",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"p"
],
"nearestLetter": "p"
}
"shrunkLinkLength": 0.0
},
{
"name": "q",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"q"
],
"nearestLetter": "q"
}
"shrunkLinkLength": 0.0
},
{
"name": "r",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"r"
],
"nearestLetter": "r"
}
"shrunkLinkLength": 0.0
},
{
"name": "s",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"s"
],
"nearestLetter": "s"
}
"shrunkLinkLength": 0.0
},
{
"name": "t",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"t"
],
"nearestLetter": "t"
}
"shrunkLinkLength": 0.0
},
{
"name": "u",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"u"
],
"nearestLetter": "u"
}
"shrunkLinkLength": 0.0
},
{
"name": "v",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"v"
],
"nearestLetter": "v"
}
"shrunkLinkLength": 0.0
},
{
"name": "w",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"w"
],
"nearestLetter": "w"
}
"shrunkLinkLength": 0.0
},
{
"name": "x",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"x"
],
"nearestLetter": "x"
}
"shrunkLinkLength": 0.0
},
{
"name": "y",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"y"
],
"nearestLetter": "y"
}
"shrunkLinkLength": 0.0
},
{
"name": "z",
"conceptualDepth": 10.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 0,
"path": [
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "1",
"conceptualDepth": 30.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 3,
"path": [
"1",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "2",
"conceptualDepth": 30.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 3,
"path": [
"2",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "3",
"conceptualDepth": 30.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 3,
"path": [
"3",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "4",
"conceptualDepth": 30.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 3,
"path": [
"4",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "5",
"conceptualDepth": 30.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 3,
"path": [
"5",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "leftmost",
"conceptualDepth": 40.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 2,
"path": [
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "rightmost",
"conceptualDepth": 40.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 2,
"path": [
"rightmost",
"last",
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "middle",
"conceptualDepth": 40.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 4,
"path": [
"middle",
"stringPositionCategory",
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "single",
"conceptualDepth": 40.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 4,
"path": [
"single",
"stringPositionCategory",
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "whole",
"conceptualDepth": 40.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 4,
"path": [
"whole",
"stringPositionCategory",
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "first",
"conceptualDepth": 60.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 1,
"path": [
"first",
"a"
],
"nearestLetter": "a"
}
"shrunkLinkLength": 0.0
},
{
"name": "last",
"conceptualDepth": 60.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 1,
"path": [
"last",
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "left",
@ -542,17 +243,7 @@
"codelets": [
"top-down-bond-scout--direction",
"top-down-group-scout--direction"
],
"minPathToLetter": {
"hops": 3,
"path": [
"left",
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
]
},
{
"name": "right",
@ -562,17 +253,7 @@
"codelets": [
"top-down-bond-scout--direction",
"top-down-group-scout--direction"
],
"minPathToLetter": {
"hops": 3,
"path": [
"right",
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
]
},
{
"name": "predecessor",
@ -581,18 +262,7 @@
"shrunkLinkLength": 24.0,
"codelets": [
"top-down-bond-scout--category"
],
"minPathToLetter": {
"hops": 4,
"path": [
"predecessor",
"predecessorGroup",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
]
},
{
"name": "successor",
@ -601,18 +271,7 @@
"shrunkLinkLength": 24.0,
"codelets": [
"top-down-bond-scout--category"
],
"minPathToLetter": {
"hops": 4,
"path": [
"successor",
"successorGroup",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
]
},
{
"name": "sameness",
@ -621,17 +280,7 @@
"shrunkLinkLength": 0.0,
"codelets": [
"top-down-bond-scout--category"
],
"minPathToLetter": {
"hops": 3,
"path": [
"sameness",
"samenessGroup",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
]
},
{
"name": "predecessorGroup",
@ -640,17 +289,7 @@
"shrunkLinkLength": 0.0,
"codelets": [
"top-down-group-scout--category"
],
"minPathToLetter": {
"hops": 3,
"path": [
"predecessorGroup",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
]
},
{
"name": "successorGroup",
@ -659,17 +298,7 @@
"shrunkLinkLength": 0.0,
"codelets": [
"top-down-group-scout--category"
],
"minPathToLetter": {
"hops": 3,
"path": [
"successorGroup",
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
]
},
{
"name": "samenessGroup",
@ -678,74 +307,37 @@
"shrunkLinkLength": 0.0,
"codelets": [
"top-down-group-scout--category"
],
"minPathToLetter": {
"hops": 2,
"path": [
"samenessGroup",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
]
},
{
"name": "identity",
"conceptualDepth": 90.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 8,
"path": null,
"nearestLetter": null
}
"shrunkLinkLength": 0.0
},
{
"name": "opposite",
"conceptualDepth": 90.0,
"intrinsicLinkLength": 80.0,
"shrunkLinkLength": 32.0,
"minPathToLetter": {
"hops": 8,
"path": null,
"nearestLetter": null
}
"shrunkLinkLength": 32.0
},
{
"name": "letter",
"conceptualDepth": 20.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 8,
"path": null,
"nearestLetter": null
}
"shrunkLinkLength": 0.0
},
{
"name": "group",
"conceptualDepth": 80.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 8,
"path": null,
"nearestLetter": null
}
"shrunkLinkLength": 0.0
},
{
"name": "letterCategory",
"conceptualDepth": 30.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 1,
"path": [
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "stringPositionCategory",
@ -754,17 +346,7 @@
"shrunkLinkLength": 0.0,
"codelets": [
"top-down-description-scout"
],
"minPathToLetter": {
"hops": 3,
"path": [
"stringPositionCategory",
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
]
},
{
"name": "alphabeticPositionCategory",
@ -773,107 +355,43 @@
"shrunkLinkLength": 0.0,
"codelets": [
"top-down-description-scout"
],
"minPathToLetter": {
"hops": 2,
"path": [
"alphabeticPositionCategory",
"last",
"z"
],
"nearestLetter": "z"
}
]
},
{
"name": "directionCategory",
"conceptualDepth": 70.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 4,
"path": [
"directionCategory",
"left",
"leftmost",
"last",
"z"
],
"nearestLetter": "z"
}
"shrunkLinkLength": 0.0
},
{
"name": "bondCategory",
"conceptualDepth": 80.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 4,
"path": [
"bondCategory",
"sameness",
"samenessGroup",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "groupCategory",
"conceptualDepth": 80.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 3,
"path": [
"groupCategory",
"samenessGroup",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "length",
"conceptualDepth": 60.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 2,
"path": [
"length",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
},
{
"name": "objectCategory",
"conceptualDepth": 90.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 8,
"path": null,
"nearestLetter": null
}
"shrunkLinkLength": 0.0
},
{
"name": "bondFacet",
"name": "bond_edge_type",
"conceptualDepth": 90.0,
"intrinsicLinkLength": 0,
"shrunkLinkLength": 0.0,
"minPathToLetter": {
"hops": 2,
"path": [
"bondFacet",
"letterCategory",
"j"
],
"nearestLetter": "j"
}
"shrunkLinkLength": 0.0
}
],
"links": [
@ -1967,24 +1485,24 @@
},
{
"source": "letterCategory",
"destination": "bondFacet",
"destination": "bond_edge_type",
"fixedLength": 60.0,
"type": "category"
},
{
"source": "bondFacet",
"source": "bond_edge_type",
"destination": "letterCategory",
"fixedLength": 100.0,
"type": "instance"
},
{
"source": "length",
"destination": "bondFacet",
"destination": "bond_edge_type",
"fixedLength": 30.0,
"type": "category"
},
{
"source": "bondFacet",
"source": "bond_edge_type",
"destination": "length",
"fixedLength": 100.0,
"type": "instance"

View File

@ -120,7 +120,7 @@ Figure~\ref{fig:comparison} shows scatter plots for all metrics. The eccentricit
The hop distance analysis ($r = 0.281$, $p = 0.113$) found no significant relationship between conceptual depth and distance to letter nodes. This weak positive trend fails significance, with $R^2 = 0.079$ explaining less than 8\% of variance.
Counterexamples abound: \texttt{bondFacet} (depth=90) is only 2 hops from letters, while \texttt{middle} (depth=40) requires 4 hops.
Counterexamples abound: \texttt{bond\_edge\_type} (depth=90) is only 2 hops from letters, while \texttt{middle} (depth=40) requires 4 hops.
\subsection{Eccentricity: The Significant Finding}
@ -143,7 +143,7 @@ Node & Depth & Eccentricity \\
\midrule
letterCategory & 30 & 4 \\
length & 60 & 5 \\
bondFacet & 90 & 5 \\
bond\_edge\_type & 90 & 5 \\
\midrule
middle & 40 & 7 \\
identity & 90 & 3 (isolated) \\
@ -170,7 +170,7 @@ Standard centrality measures show weak negative correlations but none reach sign
The eccentricity finding reveals that conceptual depth partially reflects \emph{global} network position. Nodes with high depth tend to have lower eccentricity, meaning they are never ``too far'' from any other node. This differs from local centrality (degree, clustering), which shows no relationship.
Intuitively, abstract concepts like \texttt{bondFacet} or \texttt{samenessGroup} may have been positioned to be accessible from many parts of the conceptual space, even if they don't have many direct connections.
Intuitively, abstract concepts like \texttt{bond\_edge\_type} or \texttt{samenessGroup} may have been positioned to be accessible from many parts of the conceptual space, even if they don't have many direct connections.
\subsection{Local vs Global Structure}
@ -255,7 +255,7 @@ Node & Depth & Deg & Btw & Ecc \\
\midrule
letterCategory & 30 & 0.50 & 0.68 & 4 \\
length & 60 & 0.17 & 0.25 & 5 \\
bondFacet & 90 & 0.03 & 0.00 & 5 \\
bond\_edge\_type & 90 & 0.03 & 0.00 & 5 \\
middle & 40 & 0.02 & 0.00 & 7 \\
identity & 90 & 0.00 & 0.00 & 3 \\
opposite & 90 & 0.00 & 0.00 & 3 \\