Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

510 B
Raw Blame
// Reject nonpositive/invalid run counts; a zero-iteration verification would silently pass without recording anything.
export function determinismRuns(): number {
  const raw = process.env.RPC_FOUNDATION_DETERMINISM_RUNS
  if (raw === undefined) {
    return 2
  }
  const runs = Number(raw)
  if (!Number.isInteger(runs) || runs < 2) {
    throw new Error(
      `RPC_FOUNDATION_DETERMINISM_RUNS must be an integer >= 2 to compare a run against another; got ${JSON.stringify(raw)}`
    )
  }
  return runs
}