Skip to content

API reference

Complete reference for every public symbol in backstab.


Protocols

::: backstab.VotingStrategy

::: backstab.MurderStrategy


Exact analysis

::: backstab.traitor_win_prob

::: backstab.faithful_win_prob

::: backstab.comply_value

::: backstab.deviate_value

::: backstab.deviation_gain

::: backstab.deviation_is_profitable

::: backstab.faithful_deviate_value

::: backstab.faithful_deviation_is_profitable

::: backstab.deviation_benefit_bound

::: backstab.deviation_cost


Voting strategies

::: backstab.FixedOrder

::: backstab.RandomVote

::: backstab.Collusion

::: backstab.MixedDeviation

::: backstab.RampDeviation

::: backstab.ThresholdDeviation

::: backstab.OptimalTimingDeviation


Murder strategies

::: backstab.RandomMurder


Detection

::: backstab.detect_deviations

::: backstab.fixed_order_target


Simulation

::: backstab.SimulationResults

::: backstab.TraitorsGame


Analysis

::: backstab.compare

::: backstab.cost_benefit_landscape

::: backstab.find_profitable_states

::: backstab.threshold_sweep

::: backstab.ramp_sweep