Skip to content

sgns::neoswarm::NodeReputation

#include <types.hpp>

Public Attributes

Name
std::string m_identityKey
double m_globalScore
double m_mathScore
double m_grammarScore
double m_latencyScore
double m_consistencyScore
uint64_t m_taskCount
uint64_t m_lastUpdatedMs
Unix epoch ms.
constexpr uint64_t kMinTasksForHighTrust
Minimum tasks before high-trust (anti-gaming)

Public Attributes Documentation

variable m_identityKey

std::string m_identityKey;

variable m_globalScore

double m_globalScore = 0.5;

variable m_mathScore

double m_mathScore = 0.5;

variable m_grammarScore

double m_grammarScore = 0.5;

variable m_latencyScore

double m_latencyScore = 0.5;

variable m_consistencyScore

double m_consistencyScore = 0.5;

variable m_taskCount

uint64_t m_taskCount = 0;

variable m_lastUpdatedMs

uint64_t m_lastUpdatedMs = 0;

Unix epoch ms.

variable kMinTasksForHighTrust

static constexpr uint64_t kMinTasksForHighTrust = 10;

Minimum tasks before high-trust (anti-gaming)


Updated on 2026-07-25 at 22:56:56 +0000