Live data from Hacker News

Show HN: GitBattle – Battle two Github accounts

gitbattle.com

41–45 of 45 posts

Re: Show HN: GitBattle – Battle two Github accounts

#41
post #40

Neat! It'd be really cool to see the top-scorer in an organization. Trying to compute the score of tobytripp (a coworker) leaves me at the secret of life with both "Error in event handler for 'undefined': Cannot read property 'qrstr' of undefined TypeError: Cannot read property 'qrstr' of undefined " and "Uncaught SyntaxError: Unexpected token ILLEGAL" in my console.

Any idea what line numbers those came on? I'll try and fix it!

Re: Show HN: GitBattle – Battle two Github accounts

#42
post #40

Neat! It'd be really cool to see the top-scorer in an organization. Trying to compute the score of tobytripp (a coworker) leaves me at the secret of life with both "Error in event handler for 'undefined': Cannot read property 'qrstr' of undefined TypeError: Cannot read property 'qrstr' of undefined " and "Uncaught SyntaxError: Unexpected token ILLEGAL" in my console.

Any idea what line numbers those came on? I'll try and fix it!

The event_handler is in event_bindings:369, and the unexpected token is in line 711 of the api response, apparently? bit.ly/Tt9exN

Re: Show HN: GitBattle – Battle two Github accounts

#44
post #39

Well, this makes my devops decisions no easier as it's pretty much a dead heat: http://www.gitbattle.com/?u1=puppetlabs&u2=opscode (incidentally, there appears to be a UI bug where it lists some repos multiple times - at the end the list looked like puppet/chef/puppet/chef/puppet/chef )

I've been thinking about a similar hack for awhile, but my idea was to measure/compare code cleanliness (in the agile sense of the word) and expressiveness between two chunks of code written by two different developers, in the same programming language and with the same number of SLOC.

I believe something like this to be a much more reliable metric of code quality than commits per day and what have you.

If someone else has already done this, I'd be fascinated to take a look at how you measure those things. The problem would require a non-trivial amount of AI.

Re: Show HN: GitBattle – Battle two Github accounts

#45
post #7

Looks like everyone else has discovered this too. I'm getting back messages that I've discovered the secret of life and still no results...

are there still repos left under the processing box? if so, would you mind checking your console?

Sorry, failed to follow up on this. It does work well now.
Post reply on HN