Commit graph

129 commits

Author SHA1 Message Date
Michael Schmatz
47c41e0a6e Added error handling for findNearestBetterSessionID 2014-05-20 15:55:25 -07:00
Michael Schmatz
a6352c214a Add temp error handling for updateSessions 2014-05-20 15:35:44 -07:00
Michael Schmatz
de93dfd357 Stopgap measure for incorrectly formatted session results 2014-05-20 15:12:25 -07:00
Michael Schmatz
6fde166190 Revert "Stop sending out untranspiled code"
This reverts commit f794ec4a46.
2014-05-20 14:59:06 -07:00
Michael Schmatz
f794ec4a46 Stop sending out untranspiled code 2014-05-20 14:33:01 -07:00
Michael Schmatz
e732e7227c Made both game selections random 2014-05-20 12:45:25 -07:00
Michael Schmatz
aba0120e88 Merge branch 'master' of https://github.com/codecombat/codecombat
Conflicts:
	server/queues/scoring.coffee
2014-05-19 19:04:47 -07:00
Michael Schmatz
97cbf55695 Simulator fetch random Greed games when queue empty 2014-05-19 18:58:45 -07:00
Nick Winter
8a5a45950f Simulator now pleads for you to help simulate when your match is being ranked. 2014-05-19 14:59:47 -07:00
Michael Schmatz
6f2fd8e293 Verification simulator changes 2014-05-19 10:11:23 -07:00
Michael Schmatz
a46714b1b6 Patching bug if newScoreObject is incomplete 2014-05-17 12:02:34 -07:00
Michael Schmatz
5b93414862 Add playtime, opponent name, totalScore to match 2014-05-16 14:52:49 -07:00
Michael Schmatz
1e0f220352 Send out transpiled code with simulator task 2014-05-14 16:01:08 -07:00
Michael Schmatz
a1360d6cb8 Include transpiled code in submission process 2014-05-14 11:42:15 -07:00
Michael Schmatz
415e34e701 Fixed isRanking and reduced logging 2014-04-14 11:01:55 -07:00
Michael Schmatz
7ddd84248b Simulator fixes!
Fixed memory bug with aggregation framework
2014-04-11 17:11:57 -07:00
Michael Schmatz
3aa31c7246 Graphs with D3! 2014-04-02 18:41:11 -07:00
Michael Schmatz
f59cb9a743 Removed giant commented code section 2014-04-02 15:02:06 -07:00
Michael Schmatz
33e14ac406 Refactored simulator, removed duplication bug
This merge is going to be terrible
2014-04-02 15:00:45 -07:00
Michael Schmatz
83bfc28a9e Partially refactored scoring callback pyramid of hell 2014-03-24 10:58:43 -07:00
Nick Winter
b922b9dd20 Increased number of matches played. 2014-03-23 15:34:38 -07:00
Michael Schmatz
d0232a36d9 Added resimulateSession method 2014-03-22 09:19:21 -07:00
Michael Schmatz
9e535e19c6 Added resimulateAllSessions route 2014-03-22 09:05:53 -07:00
Michael Schmatz
e56748d2f6 Tweaking scoring queue algorithms 2014-03-20 18:51:11 -07:00
Nick Winter
ca1e3742c0 Added simulation counts. 2014-03-20 15:40:02 -07:00
Michael Schmatz
64aa6c95fd Changed timeouts and initial session visibility time 2014-03-20 08:47:40 -07:00
Michael Schmatz
f479e71cb9 Added score skipping for under 30 2014-03-18 14:25:22 -07:00
Michael Schmatz
0576389ce2 Lowered ratio requirements 2014-03-18 13:16:35 -07:00
Michael Schmatz
326b39b633 Dramatically raised ratio requirements 2014-03-18 13:14:06 -07:00
Michael Schmatz
613439d175 Changed response for count API 2014-03-15 09:40:58 -07:00
Michael Schmatz
2c6e667bb7 Added API for queue messages count 2014-03-15 09:20:13 -07:00
Nick Winter
d44e1aad6a That's not how Mongoose select strings work, now, is it? 2014-03-11 21:48:11 -07:00
Nick Winter
218c542a5a Realized why scoring chains were ending early. 2014-03-11 21:16:53 -07:00
Nick Winter
b7ae1f7e25 The sessions should set isRanking false when they win. 2014-03-11 19:40:22 -07:00
Nick Winter
b560827e32 Working on cleaning up some server errors. 2014-03-11 19:17:58 -07:00
Nick Winter
392534878a Keeping old matches, up to 200, and showing them as stale. Added LevelSession.isRanking for better display of when you're still in the initial ranking phase. 2014-03-11 16:31:39 -07:00
Michael Schmatz
69b902f62a Added support for score history 2014-03-10 08:14:28 -07:00
Michael Schmatz
2f378106ca Added checking level ladder status before submitting 2014-03-07 18:16:50 -08:00
Michael Schmatz
45cd7e31ca Made simulator level-independent 2014-03-06 18:48:41 -08:00
Michael Schmatz
8399667b49 Fixed submit date checks 2014-03-03 08:47:11 -08:00
Michael Schmatz
239ca83a84 Perhaps buggy fix to scheduling 2014-03-02 19:11:42 -08:00
Michael Schmatz
81466675ec Scheduling fixes 2014-03-02 18:55:10 -08:00
Nick Winter
82b250b9a3 protectAPI off again for Brawlwood, too slow for now. 2014-03-02 17:51:57 -08:00
Michael Schmatz
488be26fd3 Tweaked ratio calculation 2014-03-01 16:56:04 -08:00
Michael Schmatz
e69e23115f Improvements to game scheduling, removed cap 2014-03-01 16:52:19 -08:00
Michael Schmatz
24b25b2d27 Replaced project-dota with level id and major version 2014-02-28 13:50:48 -08:00
Michael Schmatz
f82483b905 Changed session scheduling 2014-02-26 17:31:01 -08:00
Michael Schmatz
a052180250 Improved match scheduling 2014-02-26 12:14:02 -08:00
Michael Schmatz
92bec1a95c Added pairwise utility route 2014-02-24 07:50:53 -08:00
Michael Schmatz
aa43d5ddca Added server side submitted code equality check 2014-02-20 10:32:32 -08:00
Michael Schmatz
7c5192820f Put more security on the session submissions and improved simulation status rendering 2014-02-20 09:44:44 -08:00
Michael Schmatz
e593fd23b4 Improved interface for simulating games 2014-02-20 08:06:14 -08:00
Michael Schmatz
11a4c1b6fd Typecast rank to a number 2014-02-19 14:26:49 -08:00
Michael Schmatz
d02d09ae36 Simulation fixes 2014-02-18 11:46:14 -08:00
Michael Schmatz
c5655074e3 Merge branch 'master' into redis
Conflicts:
	server/queues/scoring.coffee
2014-02-17 14:41:35 -08:00
Michael Schmatz
75d8888c92 Refactored scoring 2014-02-17 14:39:21 -08:00
Michael Schmatz
302a13b6e7 Added submitDate to session schema 2014-02-17 09:23:49 -08:00
Scott Erickson
7eee28422a Fixed the submitting of scores to only allow logged in users to get on the leaderboard. 2014-02-15 10:31:24 -08:00
Michael Schmatz
ca7376b794 Worked around mongoose toObject
Also tried elementary memory leak fix
2014-02-13 17:10:01 -08:00
Michael Schmatz
128df09ce3 Fixed session by converting toObject 2014-02-13 16:29:02 -08:00
Michael Schmatz
d33c39c21e Added continuous simulation and fix for "no team" 2014-02-13 15:59:40 -08:00
Michael Schmatz
d6e99273bc Quick fix for team not being detected 2014-02-13 15:42:00 -08:00
Michael Schmatz
480de71eb6 Leaderboard is starting to work 2014-02-13 15:02:49 -08:00
Michael Schmatz
40c26bb395 Scoring queues mostly working 2014-02-13 12:59:24 -08:00
Michael Schmatz
14530b779a Refactored scoring submissions, added beginnings of spectator view 2014-02-13 10:37:44 -08:00
Michael Schmatz
58bfddeebf Background simulation is now showing signs of life! 2014-02-11 12:58:23 -08:00
Michael Schmatz
7faabc37e3 Simulation button 2014-02-10 17:09:51 -08:00
Michael Schmatz
465ea22b1a More progress with queues and client-side simulation 2014-02-10 13:18:39 -08:00
Michael Schmatz
824af18e39 Improved Mongo queueing and various refactors 2014-02-10 10:30:08 -08:00
Michael Schmatz
8c2926c300 Replaced capped collection with 1-hour expiry index 2014-02-08 14:21:37 -08:00
Michael Schmatz
aabc8324c1 Session ranking is now functional
Need to add database persistence next
2014-02-08 14:21:16 -08:00
Michael Schmatz
9742923ad6 Fixed typo 2014-02-08 10:18:41 -08:00
Michael Schmatz
b9569a310a Implemented task logging and new score calculations 2014-02-08 10:11:43 -08:00
Michael Schmatz
350384f5cb Implementing task log object 2014-02-07 15:52:24 -08:00
Michael Schmatz
f87d25c192 Updated level session schema to contain scoring metrics 2014-02-07 14:29:20 -08:00
Michael Schmatz
ecf578ad3c Prototyped client response methods, refactored queue routes 2014-02-07 14:24:42 -08:00
Michael Schmatz
4b0e384668 Refactored and added sample objects/errors 2014-02-07 12:36:56 -08:00
Michael Schmatz
24043eaee9 Refactored queue files and moved scoring queue out of commons queue 2014-02-06 14:32:35 -08:00
Michael Schmatz
609547a37c Refactored queue routing structure 2014-02-06 13:25:11 -08:00