diff --git a/pcta/__init__.py b/pcta/__init__.py index 3a47ffd..49a27e6 100644 --- a/pcta/__init__.py +++ b/pcta/__init__.py @@ -1,3 +1,4 @@ +# ratios: loc_comments=35:23 imports_exports=4:1 calls_definitions=1:0 """pcta — **PCTA: Prime Circled Tensor Architecture** (prime-tensor stack layer 2). Covers circles carried by UCNS objects and composes them into **seeds**. It @@ -63,3 +64,4 @@ "coherence_primes_up_to", "nth_coherence_prime", ] +# ratios: loc_comments=35:23 imports_exports=4:1 calls_definitions=1:0 diff --git a/pcta/compose.py b/pcta/compose.py index cb2cf7d..2026cfc 100644 --- a/pcta/compose.py +++ b/pcta/compose.py @@ -1,3 +1,4 @@ +# ratios: loc_comments=56:36 imports_exports=5:4 calls_definitions=21:4 """The layer-2 composition operator: circles -> seed. `compose_seed` is the structural ``⊠`` operator for layer 2. It is **purely @@ -105,3 +106,4 @@ def seed_motion(seed: Seed) -> SeedMotion: anchor_order=seed.anchor_order, circle_identities=tuple(c.identity for c in seed.circle_tensors()), ) +# ratios: loc_comments=56:36 imports_exports=5:4 calls_definitions=21:4 diff --git a/pcta/constants.py b/pcta/constants.py index 7467ea9..f49a386 100644 --- a/pcta/constants.py +++ b/pcta/constants.py @@ -1,3 +1,4 @@ +# ratios: loc_comments=69:90 imports_exports=3:3 calls_definitions=20:6 """Composition routing and the coherence-prime guard. `pcta` (**PCTA — Prime Circled Tensor Architecture**) is **layer 2** of the @@ -180,3 +181,4 @@ def nth_coherence_prime(n: int) -> int: if len(ladder) > n: return ladder[n] limit *= 2 +# ratios: loc_comments=69:90 imports_exports=3:3 calls_definitions=20:6 diff --git a/pcta/tensor.py b/pcta/tensor.py index 61001f5..8a17f43 100644 --- a/pcta/tensor.py +++ b/pcta/tensor.py @@ -1,3 +1,4 @@ +# ratios: loc_comments=47:37 imports_exports=3:3 calls_definitions=6:10 """Layer-2 tensor objects: the opaque circle carrier and the seed it produces. pcta consumes **circle-tensors** (layer-1 / `pcna` output — circles carried by @@ -104,3 +105,4 @@ class SeedMotion: routing_step: int anchor_order: Tuple[int, ...] circle_identities: Tuple[Optional[str], ...] = field(default_factory=tuple) +# ratios: loc_comments=47:37 imports_exports=3:3 calls_definitions=6:10