Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Code that get's approved - Experiment  (Read 321 times)

0 Members and 1 Guest are viewing this topic.

Offline bluebit

  • Sr. Member
  • ****
  • Posts: 271
    • View Profile
Code that get's approved - Experiment
« on: November 01, 2014, 04:59:34 PM »

In the Bitshares client, could it be possible to have place for people to improve the Bitshares code. The user could submit the code to the community, community checks and verfies the code for errors, after approval the code is implementing into the next update.

We could make this experiment to learn if this could work.
BTSX TipMe: bluebit

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
Re: Code that get's approved - Experiment
« Reply #1 on: November 01, 2014, 05:00:24 PM »
lol

-5%
I speak for myself and only myself.

Offline bluebit

  • Sr. Member
  • ****
  • Posts: 271
    • View Profile
Re: Code that get's approved - Experiment
« Reply #2 on: November 01, 2014, 05:05:57 PM »
I think it would be cool to have "checkers", people that get paid a small amount to check for malicious code and errors.
BTSX TipMe: bluebit

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
Re: Code that get's approved - Experiment
« Reply #3 on: November 01, 2014, 05:12:05 PM »
I think it would be cool to have "checkers", people that get paid a small amount to check for malicious code and errors.

THis isn't a bad idea, but what if they never find anything?  How do you know how hard they checked?

I think voting on proposals then finding developers to work on it is a lot better than expecting community to look at code though.
I speak for myself and only myself.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12336
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Code that get's approved - Experiment
« Reply #4 on: November 01, 2014, 05:13:32 PM »
That is the whole purpose of DEVSHARES!!!!

every 6 or 12 months .. the changes will be implemented on the main net .. and the hardfork will ONLY be applied on stakeholders' approval!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline bluebit

  • Sr. Member
  • ****
  • Posts: 271
    • View Profile
Re: Code that get's approved - Experiment
« Reply #5 on: November 01, 2014, 05:16:54 PM »
They could get paid only if they find an error or bad code. The community could also decide on how much they get paid. There could be levels, level 1 small errors: get paid small amount. I'm just brainstorming. :)
« Last Edit: November 01, 2014, 05:19:11 PM by bluebit »
BTSX TipMe: bluebit

Offline bluebit

  • Sr. Member
  • ****
  • Posts: 271
    • View Profile
Re: Code that get's approved - Experiment
« Reply #6 on: November 01, 2014, 06:42:43 PM »
so the problem is how do you verify if someone has checked the code...

Here is how: At the end of each line of code, there is a checkbox, green for ok, red for bad. With each line you can see how many people checked the code. Those that find the most mistakes get rewarded the most.

If you have checked over 100 lines of code that have no errors you get a small reward. If you find an error you get rewarded a lot more. Each "checker" adds to the value of the code. The more a line has been approved the less likely it contains errors.

Also, say 100 checkers have checked the box green, and then one checker comes along and sees an error. This checker gains 1 point of reputation, while the other 100 checkers lose 1 point of reputation. So if you lose a lot of reputation you could lose your status as a checker, since you probably aren't good at coding. Also, the first person to find the error get's the most pay and reputation, those that verify after his confirmed error get less pay, since he found it first. This way there is a race to find the first error.

Finally, if a line of code has been checked let's say over 5,000 times. This line of code will be declared 100% error free. Error free lines have the boxes removed/no more rewards for this line, this helps checkers go over newer lines of code.

This "Code Checking System" could also bring more developers to Bitshares as they would be attracted to getting paid to check code.... "I can get paid for checking code, what is bitshares,....very cool, let me look at this code.... :) oh one error here :)"

Also, later down the road, you could add the ability for a checker to add a line of code or change a line. And this line can get voted up or down by the other checkers. If your line get's approved over 1,000 times it get's added to the next update and you get paid for changing or adding the line.
 
« Last Edit: November 01, 2014, 07:18:48 PM by bluebit »
BTSX TipMe: bluebit

Offline fluxer555

  • Hero Member
  • *****
  • Posts: 745
    • View Profile
Re: Code that get's approved - Experiment
« Reply #7 on: November 01, 2014, 07:39:20 PM »
I really, really like this idea.

This could be it's own DAC, or maybe part of the SuperDAC, but somehow contained within itself.

Ideas:

- Once an error is found, there needs to be a process of confirming that the error is indeed an error.
- There should be different weights and distinctions to the kinds of errors
- The error should be rewarded somehow factoring in (importance x elusiveness)
- 'Finding an error' and 'proposing a fix' should be two separate events, which should be rewarded independently
- Incentivize things that are beneficial to the code that aren't error-fixes, such as commenting, refactoring, simplifying, making more efficient

We could probably extend the functionality of Git to bootstrap development of this. GitShares?

 

Google+