Thibault Duplessis
e00cdca300
Revert "Revert "no longer log insights invalid games""
...
This reverts commit c3e264188f
.
2016-01-24 12:35:28 +07:00
Thibault Duplessis
8f3c44c745
Entirely remove relation cache, carefully fetch from the DB
...
The relation cache wasn't scaling. With this commit, the database
is going to work more, but the JVM tenured heap should be less
solicited. And performances should be more predictable.
2016-01-24 04:33:41 +07:00
Thibault Duplessis
b4836d0b17
use BSON.asStringSet in insights
2016-01-24 02:18:23 +07:00
Thibault Duplessis
c3e264188f
Revert "no longer log insights invalid games"
...
This reverts commit 35dd2316a5
.
2016-01-23 13:16:15 +07:00
Thibault Duplessis
38f720fbf4
demonstrate that opening moves are not used
2016-01-23 11:27:39 +07:00
Thibault Duplessis
874f7d94e8
fix mongodb aggregation framework imports
2016-01-06 11:56:51 +07:00
Thibault Duplessis
35dd2316a5
no longer log insights invalid games
2016-01-04 11:42:16 +07:00
Thibault Duplessis
ef8cdb4dfe
use mongo distinct and lila.db.BSON.asStrings
2016-01-03 20:21:21 +07:00
Thibault Duplessis
b9f62b3321
more perf stat wip
2015-12-24 10:41:28 +07:00
Thibault Duplessis
4c35d8d715
rename insights RageQuit => Disconnect
2015-12-21 12:43:16 +07:00
Thibault Duplessis
033f3d4ac1
fix insights sequencer
2015-12-20 12:32:59 +07:00
Thibault Duplessis
8e811ea52a
user tournament stats
2015-12-12 15:51:14 +07:00
Thibault Duplessis
f4adbbf49c
remove insights notifier
2015-12-11 03:58:43 +07:00
Thibault Duplessis
4a8a3c85ce
no longer log insights indexer actions
2015-12-10 15:18:49 +07:00
Thibault Duplessis
0aec2e9579
make insights depend on security and refactor access granting
2015-12-09 00:20:15 +07:00
Thibault Duplessis
4efc307cc8
fix typo
2015-12-08 16:00:06 +07:00
Thibault Duplessis
bced481114
update insights descriptions
2015-12-08 13:48:28 +07:00
Ross J
19da5a41d4
Update Preset.scala
...
Minor language changes
2015-12-07 19:13:29 +11:00
Thibault Duplessis
7734642a99
prevent unwanted chart redraw on insights
2015-12-06 23:01:54 +07:00
Thibault Duplessis
f2aef8065a
reorder presets
2015-12-06 17:25:18 +07:00
Thibault Duplessis
36c9b8a8b6
more insights presets
2015-12-06 17:25:18 +07:00
Thibault Duplessis
25e70738a5
more insights stuff
2015-12-05 22:45:51 +07:00
Thibault Duplessis
da9c283695
insights presets WIP
2015-12-05 19:32:37 +07:00
Thibault Duplessis
336645e00e
fix NbMoves metric aggregation group
2015-12-05 19:23:31 +07:00
Thibault Duplessis
71be0bf9eb
insights: add rating diff metric
2015-12-05 16:10:59 +07:00
Thibault Duplessis
7b6731391e
categorise insights metrics
2015-12-05 15:36:46 +07:00
Thibault Duplessis
6f97b4c9a0
categorise insights dimension selector
2015-12-05 14:45:35 +07:00
Thibault Duplessis
737e9bd27a
categorise insights filters and hide them by default
2015-12-05 14:34:22 +07:00
Thibault Duplessis
f821d65587
give insights entries an auto-incremented value for date dimension
2015-12-02 18:59:56 +07:00
Thibault Duplessis
d2e9ccc698
insights: fix updating provisional ratings
2015-12-02 18:06:22 +07:00
Thibault Duplessis
14bfbd25fd
insights: precise aggregation optimization
2015-12-02 17:19:59 +07:00
Thibault Duplessis
5efa92c5e9
insights: optimize aggregation projection
2015-12-02 16:36:49 +07:00
Thibault Duplessis
77feeeb74d
insights material imbalance metric
2015-12-02 15:15:24 +07:00
Thibault Duplessis
4c828d19ff
aggregate material imbalance
2015-12-02 14:10:50 +07:00
Thibault Duplessis
b78dbddf6b
insights queen trade dimension
2015-12-02 13:07:59 +07:00
Thibault Duplessis
67fb0820e6
insights: cap eval diff to 10 (so going from +10 to -5 is still 10)
2015-12-02 13:00:46 +07:00
Thibault Duplessis
ca89ade674
insights castling dimensions
2015-12-02 12:10:51 +07:00
Thibault Duplessis
fa7d8e49b7
Merge branch 'master' into insights-castling
...
* master:
refactor insights aggregation pipeline
fix insights charts by movetime
2015-12-02 11:40:11 +07:00
Thibault Duplessis
8ffd3601a1
refactor insights aggregation pipeline
2015-12-02 11:39:44 +07:00
Thibault Duplessis
29cf490034
fix insights charts by movetime
2015-12-02 10:57:06 +07:00
Thibault Duplessis
9a50286303
insights castling wip
2015-12-02 10:33:52 +07:00
Thibault Duplessis
b891a6ec68
insights fixes
2015-12-01 13:31:41 +07:00
Thibault Duplessis
d85dd3ec90
optimize insights storage
2015-12-01 13:03:33 +07:00
Thibault Duplessis
cce2542755
insights: remove unused final phase
2015-12-01 12:53:18 +07:00
Thibault Duplessis
3f5b8e2f4e
account for provisional games in insights rating based metrics
2015-12-01 12:49:38 +07:00
Thibault Duplessis
22ba6ca838
fix nb games order when metric is stacked and dimension is opening
2015-12-01 11:44:41 +07:00
Thibault Duplessis
fca41fce2c
rename metric
2015-12-01 11:17:27 +07:00
Thibault Duplessis
c7d62fd399
implement insights luck - but is it accurate?
2015-11-30 20:30:36 +07:00
Thibault Duplessis
05c6d23b17
implement insights opportunism
2015-11-30 20:30:29 +07:00
Thibault Duplessis
4ba78c99a6
remove wrong analysis while indexing insights
2015-11-30 14:24:00 +07:00
Thibault Duplessis
c0128ba7f9
insert insight entries by batches of 200
2015-11-30 13:54:54 +07:00
Thibault Duplessis
782cf69e64
run insights aggregation on 4 threads and bulk mongodb inserts
2015-11-30 13:53:10 +07:00
Thibault Duplessis
37587bd46b
notify user of insights data availability
2015-11-30 12:27:28 +07:00
Thibault Duplessis
de343e067d
complete insights movetime dimension implementation, tough bitch
2015-11-30 11:55:32 +07:00
Thibault Duplessis
c0bb6f8434
allow disk use for insight aggregation to work around the 100MB limit
2015-11-30 03:21:57 +07:00
Thibault Duplessis
2badde0a8d
NbMoves metric is an average
2015-11-29 22:09:36 +07:00
Thibault Duplessis
360062c588
add Termination insights dimension
2015-11-29 20:10:39 +07:00
Thibault Duplessis
bd7fe5c6b0
display insights miniboards
2015-11-29 19:59:11 +07:00
Thibault Duplessis
9e078a9b73
insights: discard horde games before pawns were white
2015-11-29 14:38:11 +07:00
Thibault Duplessis
7c350d4e8c
fix detection of much stronger opponents in insights
2015-11-29 12:44:29 +07:00
Thibault Duplessis
f50fa7ba7b
fix stale insights detection
2015-11-29 11:57:59 +07:00
Thibault Duplessis
af4b2dea74
only include openings a user has played, cache insights user data
2015-11-29 11:50:54 +07:00
Thibault Duplessis
78053a4e13
fix insights indexer query
2015-11-29 10:33:28 +07:00
Thibault Duplessis
f40dbdd3cc
change insights opponent strengths thresholds
2015-11-29 10:33:04 +07:00
Thibault Duplessis
b5c098982b
insights sharing info and link
2015-11-28 23:04:10 +07:00
Thibault Duplessis
30b0cc8bd4
provide definitions of metrics and dimensions
2015-11-28 22:19:50 +07:00
Thibault Duplessis
56f0a58b65
more insights UI
2015-11-28 21:23:47 +07:00
Thibault Duplessis
cbb7431d33
better handling of moves per game
2015-11-28 18:37:45 +07:00
Thibault Duplessis
5e30eaded8
insights moves per game
2015-11-28 18:21:13 +07:00
Thibault Duplessis
7baa0d92bd
update insight game when analysis completes
2015-11-28 17:50:11 +07:00
Thibault Duplessis
723a22aade
new Termination metric
2015-11-28 17:03:19 +07:00
Thibault Duplessis
8f56d1f00a
fix sorting of insights metric values
2015-11-28 15:34:39 +07:00
Thibault Duplessis
2699098aee
bind insight questions to URLs
2015-11-28 15:12:11 +07:00
Thibault Duplessis
84c23117de
optimize insights mongo aggregation pipeline
2015-11-28 13:15:51 +07:00
Thibault Duplessis
bde19ea1ed
fix dimension names
2015-11-28 13:02:30 +07:00
Thibault Duplessis
fa03976edd
sample insights aggregation
2015-11-28 12:39:10 +07:00
Thibault Duplessis
93952cf574
refactor and rename
2015-11-28 11:52:49 +07:00
Thibault Duplessis
eb657cdc87
more insight metrics
2015-11-28 10:42:56 +07:00
Thibault Duplessis
522691ee68
fix insight result sorting
2015-11-27 16:49:37 +07:00
Thibault Duplessis
42abae79b7
better insight number formatting
2015-11-27 16:17:05 +07:00
Thibault Duplessis
3c19f80a0b
fully support stacked metrics like Result
2015-11-27 15:24:40 +07:00
Thibault Duplessis
fad985ec27
refactor insights answer and chart to account for stacked metrics
2015-11-27 14:08:31 +07:00
Thibault Duplessis
9dc9eeb5fd
rename coach to insights
2015-11-27 11:11:51 +07:00