Coder Social home page Coder Social logo

augur.jl's Introduction

Augur Simulator

Build Status Coverage Status Augur

Monte Carlo simulations, statistics and plotting tools for the Augur event consensus algorithm.

Installation

julia> Pkg.add("Augur")

Usage

Run simulations with default settings using all available cores:

$ julia -p `nproc` test/controller.jl

Simulation results are automatically saved to test/data. If sim.SAVE_RAW_DATA = true, in addition to the output data, full time traces will be saved to test/data/raw. (Caution: this option both slows down the simulations and requires considerable storage space to store the results.)

Augur.jl includes plotters written for PyPlot and Gadfly. To generate plots, just specify pyplot or gadfly when you run the simulations:

$ julia -p `nproc` test/controller.jl pyplot

Plots are saved to test/plots.

Tests

Unit tests are included with Augur.jl, and can be run from the test/runtests.jl script:

$ julia test/runtests.jl

augur.jl's People

Contributors

joeykrug avatar tinybike avatar tkelman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

augur.jl's Issues

Info about upcoming removal of packages in the General registry

As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.

To transition to the new Pkg system using Project.toml, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.

If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.

Changed meaning of .-= in Julia 0.5

Your code uses x .-= y, so you should know that in Julia 0.5 this has changed meaning to be equivalent to broadcast!(identity, x, x .- y), so that it mutates the x array (see JuliaLang/julia#17510 โ€ฆ in Julia 0.6 the whole operation will occur in-place without temporaries). So .- should only be used if the left-hand side is a mutable array, and you don't mind mutating it.

At first glance, this looks like it is okay for you, because you use it in cases where it looks like you want to work in-place anyway? But if it were a problem you could always change it to -=.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.