PARACOSM AGENTOS | API Reference v0.9.1035
Home Simulation API Docs GitHub npm
Home Simulation API Docs GitHub npm AgentOS Discord
paracosm - v0.9.1035
    Preparing search index...

    Function traitsToHexaco

    • Inverse of hexacoToTraits: when an artifact carries a non-HEXACO traitProfile but a consumer wants a HexacoProfile- shaped snapshot for legacy display, project the traits down to the HEXACO axes that exist on this model. Missing axes default to 0.5.

      Used for back-compat dashboard sparkline rendering: the legacy sparkline reads HEXACO axes; until the dashboard generalizes (Phase 6), the resolver projects ai-agent profiles into HEXACO- shaped neutral profiles for display.

      Parameters

      • traits: Record<string, number>

      Returns HexacoProfile