Skip to content

Instantly share code, notes, and snippets.

@bengarvey
bengarvey / gist:3a8f9dda21362c5bef92686ddf93b67e
Created April 16, 2024 00:14
NJ State Finals odyssey of the mind 2024
[{"problemId": "1D1", "name": "PRINCETON JUNIOR SCHOOL 44017", "position": 1.0, "city": "Princeton", "state": "NJ", "rawWeight": null, "rawLongForm": 161.99, "rawStyle": 39.66, "rawSpontaneous": 119.0, "calcWeight": null, "calcLongForm": 200.0, "calcStyle": 47.97, "calcSpontaneous": 91.54, "penalty": 0.0, "tournament name": "NJ State Finals", "level": "state", "year": 2024.0, "renatra_fusca": false, "spirit_award": false, "problem": 1.0, "division": 1.0}, {"problemId": "1D1", "name": "WASHINGTON SCHOOL 45282", "position": 2.0, "city": "Millburn", "state": "NJ", "rawWeight": null, "rawLongForm": 153.99, "rawStyle": 37.99, "rawSpontaneous": 130.0, "calcWeight": null, "calcLongForm": 190.12, "calcStyle": 45.95, "calcSpontaneous": 100.0, "penalty": 0.0, "tournament name": "NJ State Finals", "level": "state", "year": 2024.0, "renatra_fusca": false, "spirit_award": false, "problem": 1.0, "division": 1.0}, {"problemId": "1D1", "name": "GLENWOOD SCHOOL B 49005", "pos
@bengarvey
bengarvey / gist:5421ec4f4b681172b4dc6f07432c962b
Created March 17, 2024 04:38
NJ Coastal Plains Odyssey of the Mind scores 2024
[
{
"problemId": "1D1",
"name": "COLLINGSWOOD REC PROG GOLD 44325",
"position": 1,
"city": "Collingswood",
"state": "NJ",
"rawWeight": null,
"rawLongForm": 135.5,
"rawStyle": 30.67,
[
{
"problemId": "1D1",
"name": "PRINCETON JUNIOR SCHOOL 44017",
"position": 1,
"city": "Princeton",
"state": "NJ",
"rawWeight": null,
"rawLongForm": 147.34,
"rawStyle": 40,
[
{
"problemId": "1D1",
"name": "WASHINGTON SCHOOL BLUE 45283",
"position": 1,
"city": "Millburn",
"state": "NJ",
"rawWeight": null,
"rawLongForm": 153.5,
"rawStyle": 40.32,
@bengarvey
bengarvey / scores.json
Last active April 9, 2023 19:25
2023 NJ Coastal Plains Odyssey of the Mind Scores
[
{
"problemId": "1D1",
"name": "PRINCETON JUNIOR SCHOOL 44017",
"position": 1,
"city": "Princeton",
"state": "NJ",
"rawWeight": null,
"rawLongForm": 147.34,
"rawStyle": 40,
@bengarvey
bengarvey / gist:268a33b86d9154f0d4f2fb280426417e
Created April 2, 2023 21:32
NJ Odyssey of the Mind State Finals scores 2023
<hr width="600" align=left>Advancing teams in <b>BOLD</b>
<a name="P1D1"></a><hr width="600" align=left><h3 align=left>Pirates and the Treasure Div I</h3><pre>
Pos Name &amp; Location Number Long Style Spont Total/
Term Pnlty
<b> 1 WASHINGTON SCHOOL BLUE 45283 Calc: 200.00 42.29 100.00 336.29
Millburn, NJ Raw: 153.50 40.32 125.60 6</b>
<b> 2 MENLO PARK ELEMENTARY SCH 11636 Calc: 199.35 50.00 59.39 308.74
Edison, NJ Raw: 153.00 47.67 74.60 0</b>
[
{
"problemId": "1D1",
"name": "GLENWOOD SCH 35162",
"position": null,
"city": "Short Hills",
"state": "NJ",
"rawWeight": null,
"rawLongForm": 173.67,
"rawStyle": 44.2,
@bengarvey
bengarvey / tocsv.js
Created March 9, 2019 21:07
Convert some text to csv
function toCsv(ob) {
var result = "";
Object.keys(ob).forEach( key => { result += `${ob[key]},` });
return result.substring(0, result.length - 1);
}
///// PASTE YOUR DATA HERE ///
var rawData = `(not set)
Member
someemail@email.com
@bengarvey
bengarvey / njootm_coastalplains_2019.json
Last active March 6, 2019 14:20
2019 NJ Coastal Plains Odyssey of the Mind Tournament
[
{
"problemId": "1D1",
"name": "MIDDLE ROAD SCH 32250",
"position": 1,
"city": "Hazlet",
"state": "NJ",
"rawWeight": null,
"rawLongForm": 122,
"rawStyle": 32.34,
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
place,firstname,lastname,town,state,age,sex,number,clocktime,chiptime,pace,agegroupplace,agegroup,sexplace,sex
"1","TYLER","PARSONS","CHERRY HILL","NJ","19","M","429","15:57","15:56","5:08","1/21","M1519","1/360","M"
"2","JEFF","BRAUN","CHERRY HILL","NJ","22","M","42","16:02","16:01","5:10","1/26","M2024","2/360","M"
"3","SHAWN","DANDREA","COLLINGSWOOD","NJ","31","M","891","16:06","16:05","5:11","1/40","M3034","3/360","M"
"4","JOSEPH","DOMANICO","HADDON TOWNSHIP","NJ","20","M","616","16:13","16:11","5:13","2/26","M2024","4/360","M"
"5","NICK","FALK","MARLTON","NJ","20","M","152","16:33","16:31","5:19","3/26","M2024","5/360","M"
"6","JACOB","DINERMAN","HADDON TWP.","NJ","20","M","653","16:48","16:47","5:24","4/26","M2024","6/360","M"
"7","PATRICK","MULLIGAN","HADDONFIELD","NJ","18","M","748","17:03","17:02","5:29","2/21","M1519","7/360","M"
"8","DAVE","WELSH","HADDON TWP","NJ","41","M","771","17:05","17:04","5:30","1/36","M4044","8/360","M"
"9","TIM","PAGANO","HADDON HEIGHTS","NJ","33","M","820","17:15","17:13