Skip to content

This repository is intended for sharing and experimenting with different versions of the BF protocol in R.

Notifications You must be signed in to change notification settings

Backfeed/protocol-simulations-R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R - simulations of the Backfeed protocol

The R scripts in this repository allow for defining a scenario of consequential evaluations of contributions, executing the scenario and playing with different functions within the main "evaluate" function. At the end or during a simulation run plots can be made. Results of the simulation are recorded in the file results.csv. The results file contains a listing of the reputation and tokens of each user after each step (evaluation) in the simulation.

  • sim.R - contains the simulation run.
  • evaluate.R - contains the main evaluate function which updates the reputation of users as well as the contributions' data frame.
  • scenario.R - defines all the relevant parameters as well as functional forms for the stake and the dividend.

About

This repository is intended for sharing and experimenting with different versions of the BF protocol in R.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages