Skip to content

Computation

True Coherence computation and cognitive analysis are performed entirely server-side using proprietary algorithms. The SDK does not expose local computation functions.

Server-Side Analysis

All cognitive scoring — including coherence evaluation, function-level analysis, and diagnostic breakdowns — is handled by the AIME LOC API. Use LOC.scan() or AsyncLOC.scan() to obtain results.

from aime_loc import LOC

loc = LOC()
profile = loc.scan("model-id")

# All scores are computed server-side and returned in the profile
print(profile.tc_score)
print(profile.per_function_scores)

Stubbed Modules

The aime_loc.compute package contains stub modules that raise NotImplementedError if called directly. This is by design — computation is a server-side capability.

  • aime_loc.compute.true_coherence — Stub; use LOC.scan() instead
  • aime_loc.compute.diagnostics — Stub; diagnostics are returned in the CognitiveProfile