GithubHelp home page GithubHelp logo

erikbjare / futarchio Goto Github PK

View Code? Open in Web Editor NEW
6.0 9.0 1.0 335 KB

:earth_americas: Predicting a better future, for most of mankind. (abandoned)

License: MIT License

JavaScript 32.82% CSS 18.19% HTML 42.39% Python 5.83% Shell 0.77%

futarchio's Introduction

Futarchio

Predicting a better future, for most of mankind.

NOTE: Development has seized because the awesome people at Gnosis and Augur were doing such an amazing job that I could not expect to keep up. Those aside, I highly recommend Metaculus if you are interested in prediction markets and don't mind them being no-money markets.

Codeship Status for ErikBjare/Futarchio

Code Climate Codacy Badge

About

For info, the Vision, ToDos and inspirational reading material, check out the wiki.

Developing

For how to set up the development enviroment, check out the Development page on the wiki.

We also have a organization on Trello with a dev planning board. If you don't have a Trello account, use this link to sign up.

futarchio's People

Contributors

erikbjare avatar johan-bjareholt avatar patriklaurell avatar

Stargazers

Aaron Mayzes avatar Eten avatar Shiinon avatar  avatar Kornel Lugosi avatar  avatar

Watchers

James Cloos avatar  avatar Aaron Mayzes avatar  avatar  avatar Måns Magnusson avatar Eten avatar Shiinon avatar  avatar

Forkers

saectar

futarchio's Issues

Code coverage for API

go test has the great -cover flag which does code coverage, but how do we do it properly when we run the server independently of the tests?

Can we have a init() function in the api_test.go which starts the server for us? And if that works, will the -cover flag pick up the lines? Perhaps using the aetest package is the way to go, but how does one find the port it runs on programatically?

Fix mobile layout

Things not looking like they should:

  • Collapse menu like this (shrink viewport to see how it collapses) doesn't work on my Nexus 5 and I'm pretty sure it's not just the Nexus 5.
  • Make user-images not blow up in your face when opening a profile.
  • Fix footer, currently breaks when the col-md-3's collapse as the footer has a fixed size.

Keys for votes aren't random and public keys are generated strangely.

The first problem is probably just an issue of seeding the RNG.

The following private key ag1kZXZ-ZnV0YXJjaGlvcg0LEgRVc2VyIgNlcmIM#5577006791947779410 gets the public key GLia50ry6T8jdYayXXSAQ0qB670UQwtrRERDMmvrfQc= by the Go implementation, but in bash it instead becomes:

$ echo -n "ag1kZXZ-ZnV0YXJjaGlvcg0LEgRVc2VyIgNlcmIM#5577006791947779410" | sha256sum | base64
# MThiODlhZTc0YWYyZTkzZjIzNzU4NmIyNWQ3NDgwNDM0YTgxZWJiZDE0NDMwYjZiNDQ0NDQzMzI2
# YmViN2QwNyAgLQo=

It probably has to do with that I encode the string-encoded SHA256 hash and then turn that into the base64 representation, but this needs to be verified.

TestAuth fails on first try but passes on second

In @318101c48461d0bc87f6ac7f30f93cc8405f57ca

When I run the test the first time it successfully creates the authkey but when it tries to use it in the Authorization header the server rejects it with the test error:

api_test.go:56: Status code was not 200, was 401 with message: 401 Unauthorized

Get advanced predictions working

Comments

Commenting systems, should support nested comments/threads sorted by points.

Tags

Support simple tag system, previous tags should be shared with other systems.

Conditional statements

If X then I am 60% certain that Y will happen.
- Agent

Where X can be a condition supporting the maximum number of expressions possible.

Edit statement

Being able to edit description and title, with visible history in the statement activity feed.

Adjusting for highest reliability score.

Making a score which takes into account the reliability of predictors, take into account reliability of different tags.

More might come here later on.

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.