Re: [Discuss] Exercism.io

2014-11-24 Thread Luiz Irber
Hi Aleksandra, On Fri, Nov 21, 2014 at 2:17 PM, Aleksandra Pawlik aleksandra.n.paw...@gmail.com wrote: Exercism.io came up in the discussion about lesson package manager and solutions to kind of pick'n'mix of training materials. They have a similar mechanism (I think). It's just a bit buried

Re: [Discuss] Reference for statement in R lesson material.

2014-11-24 Thread Aron Ahmadia
It's a function of statistics, assuming each of the lines of code is an independent distribution that is either correct or wrong. Given the input assumption (95% of all source code lines are correct as written the first time), then the code is correct if the individual lines are all correct,

Re: [Discuss] Reference for statement in R lesson material.

2014-11-24 Thread Shoaib Sufi
Hi Aron, What I mean is where does the assumption of a line of code being 95% correct come from. Thank you for helping me think more clearly about the question I wanted to ask. Best Shoaib On Mon, Nov 24, 2014 at 5:38 PM, Aron Ahmadia a...@ahmadia.net wrote: It's a function of statistics,

Re: [Discuss] Reference for statement in R lesson material.

2014-11-24 Thread Aron Ahmadia
Replying to the entire list this time: From McConnell's summary in Code Complete 2nd Edition, p. 521 Industry average experience is about 1-25 errors per 1000 lines of code for delivered software. (cites 6 surveys in the literature from 1981 to 2003) Of course, that's production code that has

Re: [Discuss] Reference for statement in R lesson material.

2014-11-24 Thread Greg Wilson
Hi all, The 95% figure comes out of thin air - if you'd like to adjust it to 99%, and recalculate the overall odds of correctness, that would be fine. In fact, I believe the original version of the text was something like: ...if there's a 95% chance of each line being correct, the odds of

Re: [Discuss] Reference for statement in R lesson material.

2014-11-24 Thread Shoaib Sufi
Thanks Greg, The intent and argument is much clearer with the text you refer to. : ) On 24 Nov 2014 18:47, Greg Wilson gvwil...@software-carpentry.org wrote: Hi all, The 95% figure comes out of thin air - if you'd like to adjust it to 99%, and recalculate the overall odds of correctness,

Re: [Discuss] Reference for statement in R lesson material.

2014-11-24 Thread Greg Wilson
Thanks - I'll PR. G On 2014-11-24 2:56 PM, Shoaib Sufi wrote: Thanks Greg, The intent and argument is much clearer with the text you refer to. : ) On 24 Nov 2014 18:47, Greg Wilson gvwil...@software-carpentry.org mailto:gvwil...@software-carpentry.org wrote: Hi all, The 95%

Re: [Discuss] Reference for statement in R lesson material.

2014-11-24 Thread Shoaib Sufi
I didn't assert that it was the point. Thanks for the reference. On 24 Nov 2014 17:51, Aron Ahmadia a...@ahmadia.net wrote: From McConnell's summary in Code Complete: Industry average experience is about 1-25 errors per 1000 lines of code for delivered software. Of course, that's