Marmot-TS
    Preparing search index...

    Function compareBranchScores

    • Compares two branch scores per convergence.md "Branch selection": higher effectiveCommitDepth, then witness quorum beats none, then higher rawCommitDepth, then higher appWitnessScore, then a privileged tip before an ordinary one, then LOWER tipCommitter, then LOWER tipDigest. Returns a positive number when a ranks above b (so the canonical branch is the maximum under this ordering).

      Parameters

      Returns number

      refs/mdk/crates/cgka-engine/src/convergence.rs compare_scores