[{"data":1,"prerenderedAt":247},["ShallowReactive",2],{"project-10395694":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":41,"post_text":43,"what":44,"said":72,"maker_in_thread":148,"shape":156,"grid":159,"attempts":204,"same_week":210,"maker_shows":238,"maker_hidden":239,"reader_version":240,"card":241},"10395694","stats","Golang statistics package with 100% code coverage","title","Show HN: Golang statistics package with 100% code coverage","https:\u002F\u002Fgithub.com\u002Fmontanaflynn\u002Fstats","github.com","anonfunction",1444940188,2015,40,22,720,2565,29,"shown","languages","statistics library","library",[24,25,26,27],"golang statistics","go stats package","statistics library go","regression go","mixed",0.125,{"positive":31,"neutral":32,"mixed":33,"critical":33},4,2,1,8,{"execution":36,"idea":37,"design":40},{"positive":33,"critical":33},{"positive":38,"critical":39},3,0,{"positive":39,"critical":39},[39,38,39,42,42,39,42,39,38,42,39,39,39,33,39,38,39,39,39,39,39,39],5,null,{"problem":45,"audience":56,"pricing":43,"motivation":62,"time_to_build":43,"stack":66,"openness":71,"stage":71,"team_size":71},{"value":46,"source":47,"evidence":48},"Go standard library lacks many common statistics functions.","maker",[49,52],{"id":50,"by":11,"text":51},"10395705","Hey Hackers, this is my first full-featured Golang package. I took a lot of care to ensure it was well tested and provided a lot of common functions that I felt were missing from…",{"id":53,"by":54,"text":55},"10396691","jaytaylor","I've been using this package for awhile now and I can attest to the quality: It is great! It has powerful and easy to use statistics tools which IMHO should've been included in…",{"value":57,"source":58,"evidence":59},"Go programmers needing statistics functions.","inferred",[60,61],{"id":50,"by":11,"text":51},{"id":53,"by":54,"text":55},{"value":63,"source":47,"evidence":64},"Maker wanted well-tested functions missing from the standard library.",[65],{"id":50,"by":11,"text":51},[67],{"value":68,"source":47,"evidence":69},"Go",[70],{"id":50,"by":11,"text":51},"unknown",{"praise":73,"objections":87,"requests":105,"questions":122,"alternatives":134},[74,83],{"value":75,"source":76,"evidence":77},"Well tested, high quality package.","commenter",[78,79],{"id":53,"by":54,"text":55},{"id":80,"by":81,"text":82},"10396066","djs070","Nicely done. Is returning error common in go (as opposed to raising)?",{"value":84,"source":76,"evidence":85},"Statistics tools should have been in the standard library.",[86],{"id":53,"by":54,"text":55},[88,98],{"value":89,"source":76,"evidence":90},"Example output had errors in Round and Median, since fixed.",[91,95],{"id":92,"by":93,"text":94},"10396568","fogleman","Regarding your examples, shouldn't Round return 3.17 and shouldn't Median be 3.5?",{"id":96,"by":11,"text":97},"10396697","You are correct, it's been fixed with this commit[1]. My excuse is it was late when I added those output comments. 1.…",{"value":99,"source":76,"evidence":100},"Coverage is line-based only, no branch coverage.",[101],{"id":102,"by":103,"text":104},"10396004","Mithaldu","The coverage seems to be only line-based. I don't know if it's relevant for Go, but you might want to see how the coverage looks like for branch-based analysis (if Go has…",[106,116],{"value":107,"source":76,"evidence":108},"Contributions to statistics work in Gonum.",[109,113],{"id":110,"by":111,"text":112},"10396574","howeman","I mentioned elsewhere in the thread, but if you're interested in help buliding statistical tools for go, Gonum is always looking for more hands. Look at what we have in…",{"id":114,"by":111,"text":115},"10396564","If you're interested in developing more stats stuff, we'd love to have you as part of the effort. gonum\u002Fstat\u002Fdist in particular needs a lot more functionality.",{"value":117,"source":76,"evidence":118},"Better documentation and a centralized docs location.",[119],{"id":120,"by":93,"text":121},"10396623","Why are these all separate repos? And is there any centralized documentation? Can't find any.",[123,127],{"value":124,"source":76,"evidence":125},"Whether returning errors is common in Go rather than raising exceptions.",[126],{"id":80,"by":81,"text":82},{"value":128,"source":76,"evidence":129},"What the next steps for the project are.",[130],{"id":131,"by":132,"text":133},"10396543","faitswulff","This seems like a really cool project to hack on. I noticed you have no issues on the github repo, but where do you want to go with it next? Or what would you like more eyes on?",[135,142],{"value":136,"source":76,"evidence":137},"Gonum statistics packages.",[138,141],{"id":139,"by":111,"text":140},"10396552","Gonum has many of these capabilities, but with a slightly different mentality (gonum has weights and sticks to pure []float64 while this defines types and methods, i.e.…",{"id":110,"by":111,"text":112},{"value":143,"source":47,"evidence":144},"GNU GSL Statistics.",[145],{"id":146,"by":11,"text":147},"10401433","Thanks for your interest! I think the biggest thing to do is finalize the public API and release v1.0.0. I started with only functions but have since added types, so I'd like to…",{"comments":149,"answered":38,"key":150},9,[151,152,155],{"id":50,"text":51},{"id":153,"text":154},"10396199","The coverage is based on the built in go tooling, which supports line or function based analysis. In addition it can start a webserver where you can browse coverage by file with…",{"id":146,"text":147},{"commenters":149,"max_depth":157,"maker_replies":149,"first_comment_mins":32,"lifespan_hours":158},6,23,[160,162,164,166,168,169,171,172,175,176,177,179,181,183,185,187,188,191,195,197,199,201],[50,39,39,161,11,33],"project\u002Fpositive\u002Fexecution",[102,39,38,163,103,39],"project\u002Fmixed\u002Fexecution",[153,39,39,165,11,33],"project\u002Fneutral\u002Fdocs",[131,39,42,167,132,39],"project\u002Fpositive\u002Fidea",[110,39,42,167,111,39],[146,39,39,170,11,33],"project\u002Fneutral\u002Fdesign",[53,33,42,161,54,39],[173,33,39,174,11,33],"10397012","maker\u002Fpositive\u002Fnone",[139,32,38,170,111,39],[114,32,42,167,111,39],[120,32,39,178,93,39],"other\u002Fneutral\u002Fdocs",[180,32,39,178,111,39],"10396775",[182,32,39,170,11,33],"10396847",[92,38,33,184,93,39],"project\u002Fcritical\u002Fexecution",[96,38,39,186,11,33],"maker\u002Fneutral\u002Fexecution",[80,31,38,170,81,39],[189,31,39,190,11,33],"10396123","commenter\u002Fneutral\u002Fdesign",[192,31,39,193,194,39],"10396188","commenter\u002Fneutral\u002Fnone","dragonwriter",[196,31,39,193,11,33],"10396238",[198,31,39,193,194,39],"10396419",[200,31,39,193,11,33],"10396652",[202,31,39,193,203,39],"10396508","libria",[205,206],{"id":4,"t":12,"points":14,"comments":15},{"id":207,"t":208,"points":209,"comments":32},"18910999",1547559276,11,[211,216,221,225,229,233],{"id":212,"name":213,"points":214,"category":215},"10425959","Metabase",287,"data",{"id":217,"name":218,"points":219,"category":220},"10426106","Clojure for the Brave and True",224,"learning_science",{"id":222,"name":223,"points":224,"category":220},"10405288","Arguman",170,{"id":226,"name":227,"points":228,"category":215},"10403820","CloudScrape",116,{"id":230,"name":231,"points":232,"category":220},"10406165","clock",109,{"id":234,"name":235,"points":236,"category":237},"10420329","Apifier",101,"infrastructure",7,false,"v2",{"id":242,"name":5,"line":6,"ai":239,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":243,"top":18,"kw":244,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":245,"url":9,"mix":246,"praise":75,"objection":89,"sub":21},10395694,0.13,[24,25,26,27],"0305505035000103000000",[31,32,33,33],1793990932060]