secreek / hackatus

Hackathon status shown in Panic Status Board!
hackatus.com
1 stars 0 forks source link

Feature Request - Gamification of Open Source Development #4

Open zhf opened 11 years ago

zhf commented 11 years ago

API for user contribution to our organization

INPUT

http://developer.github.com/v3/activity/events/ http://developer.github.com/v3/activity/events/types/

How to calculate the scores

void-main commented 11 years ago

@zhf 全部数据的版本现在能用了~~地址在这里~~正在研究如何通过url的请求参数来设置是一天还是一周还是全时间~~目测不太好办。。

PS:被 @hit9 成功刷榜了~~

现在的结果是:

➜ voidmain@MBP  ~  curl -X GET "http://61.167.60.58:5984/secreek-event-dump/_design/secreek-event-dump/_view/status"
{"rows":[
{"key":null,"value":{"zhf":179,"wangxiaomo":3,"void-main":184,"ultragtx":119,"tonyzhu":6,"tonyseek":1,"takanoter":1,"secreek":10,"KJlmfe":23,"hit9":331,"DeathKing":2,"cliffwoo":28}}
]}
zhf commented 11 years ago

@void-main http://stackoverflow.com/questions/4513255/couchdb-filter-and-group-in-a-single-view?rq=1

http://wiki.apache.org/couchdb/Formatting_with_Show_and_List

zhf commented 11 years ago

过去的数据源格式权且叫做 Hackatus for Hackathon 吧。这里的数据源今后称为 Hackatus for Leaderboard,同样要符合 Panic 的协议。


Hackatus for Leaderboard

统计个人活跃程度的 Leaderboard。

Table

字段:

Chart

显示每个人的 Score。算法见上面的定义。

void-main commented 11 years ago

@zhf , I've implemented the hackatus for leaderboard, and made some modifications to hackatus for hackathon.


Hackatus for Hackathon

Charts

Tables

Hackathon for Leaderboard

Chart

Table


Please test them, and post some screenshots, thanks!

:)

cliffwoo commented 11 years ago

Hotness table (Chrome) screen shot 2013-05-13 at 1 26 26

cliffwoo commented 11 years ago

Last Hackathon (Chrome) screen shot 2013-05-13 at 1 27 39

cliffwoo commented 11 years ago

Explore Github (Chrome) fancy ,libgit2 这几个是placeholder ? screen shot 2013-05-13 at 1 31 10

void-main commented 11 years ago

@cliffwoo 谢谢老师~~

这些得放到那个Panic的应用里面~~不然没有css所以看着比较奇怪~~

至于explore那个,看来是他们页面改版了。。之前的正则出问题了。。

zhf commented 11 years ago

photo may 13 3 37 28 pm

整体效果完全符合期待, hotness 的跨度看起来很完美,赞数学家。

马上要去 review 耿彪的项目,晚上回来聊。

PS: 今晚发两个外包做 Badges。