Damien Elmes
99693fb277
Update stats.py
...
disable spurious pylint warning
2019-03-11 15:12:21 +10:00
Jian Li
08e51f220f
Clean up code
2019-03-10 18:20:08 -07:00
Jian Li
c4f9a35af4
Restrict bin count to 100
2019-03-10 17:30:14 -07:00
Jian Li
64064410a3
Change bin width (chunk) based on deck age
2019-03-10 17:19:16 -07:00
Jian Li
66aef160b3
Refactor chunk calculation
2019-03-10 16:37:06 -07:00
Damien Elmes
f6b2135129
fix some warnings
2019-03-04 16:01:10 +10:00
Damien Elmes
5632babee6
rollover may not be set
2019-02-08 16:31:56 +10:00
Damien Elmes
372d5ed6e8
update copyright and clarify licenses
2019-02-05 14:01:33 +10:00
Damien Elmes
d57511713c
don't outline answer buttons graph
...
small numbers lead to the outline overlapping the graph bounds
2019-02-05 12:40:05 +10:00
Damien Elmes
c38af98f53
show all four possible eases in v2 sched learning ease graph
2019-02-05 12:27:17 +10:00
Damien Elmes
d51cdec73e
fix v2 sched+hourly retention graph issue
2019-02-05 12:26:36 +10:00
Damien Elmes
6d7dd08e1e
include average answer time for today
2018-01-31 17:35:22 +10:00
Piotr Kubowicz
879ca0b72b
Allow to better translate "in x minutes"
...
"There is 1 minute" and "in 1 minute" need to be translated
differently in Slavic languages.
Additionally remove unused afterTimeTable.
2017-11-30 20:03:51 +01:00
Rémy Léone
9e574a448b
Remove trailing semicolon
2017-09-10 14:41:38 +02:00
Damien Elmes
ff2e7b9e81
typo in stats
2017-08-21 11:29:54 +10:00
Damien Elmes
7ad6966943
split js code out into separate files, mathjax improvements
...
- js code that was previously bundled in .py files is now in the
web folder
- add helpers to create links to bundled files, and update
stdHtml() to accept a list of javascript files to include
instead of text
- render MathJax in card layout and preview screens - these should be
updated in the future to update the document dynamically like the
reviewer does
- start media server earlier so it can be used to serve content for
the toolbar, etc
- work around a bug in WebEngine on Windows that could cause the
media server to hang
2017-07-28 16:35:45 +10:00
Illia Volochii
13b7e01044
Stop inheriting from object
...
It is not needed in Python 3.
2017-02-07 00:21:33 +02:00
Damien Elmes
ed07a147f9
support for saving stats to a pdf
2017-01-13 17:36:26 +10:00
Damien Elmes
9de08e243e
Merge pull request #134 from matthayes/master
...
Fix y axis tick rendering
2016-07-04 16:29:17 +10:00
Matthew Hayes
d3d9ce24d5
Fix y axis tick rendering
...
Previously, y axis ticks could be fractional. Fractional ticks were always rounded to the nearest whole number for display. This leads to confusing graphs where the bar and ticks do not match up. For example, if the bar is 3 and the tick is 2.5, then the bar renders just above the tick but the tick is rendered as 3. They both then appear to have value 3 but don't line up.
To fix this behavior, we now indicate to flot that for the y axis we don't want fractional tick values (by setting tickDecimals to 0). flot will pick tick values to accommodate this setting. If for some reason the ticks are fractional, which shouldn't happen, we will render to one decimal place. Otherwise we render whole numbers without the decimal. Since we are counting reviews, this behavior makes more sense, because reviews are always whole numbers and never fractional.
2016-06-24 17:59:46 -07:00
Damien Elmes
15b349e3a8
start port to python 3
...
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
Derbeth
d2b1d187da
allow better translations of added cards statistics
2014-08-28 08:16:12 +02:00
Soren I. Bjornstad
408fc63b48
create "added" graph
...
This simple graph shows how many new cards you have added to a deck or
collection over time.
2014-08-05 09:50:09 -05:00
Soren I. Bjornstad
1fc1c56aa9
fix error on stats when translation had %f in different place
2014-07-05 10:39:00 -05:00
Soren I. Bjornstad
2d7e1ad017
another translation fix
2014-06-30 09:25:19 -05:00
Soren I. Bjornstad
0071ddfb89
fix ngettext mistake in cards/minute stat
...
introduced in 46a38f843e
2014-06-29 12:56:05 -05:00
Soren I. Bjornstad
46a38f843e
fix rounding of cards/minute; use 1 decimal place
2014-06-26 10:07:58 -05:00
Soren I. Bjornstad
71ff86e3f3
change "suspended" label to "suspended+buried"
2014-06-20 19:23:53 -05:00
dae
cda86307c0
round cards/minute (thanks to Markus)
2014-05-25 14:55:29 +09:00
Damien Elmes
b1cb07077a
include buried in suspended count
2014-03-14 11:56:15 +09:00
Damien Elmes
32147b2d76
buggy i18n def
2013-11-01 03:09:20 +09:00
Damien Elmes
04ff4cc3fc
make 's' translatable in stats
...
thanks to "lumininous spice" for the heads up
2013-10-26 10:53:15 +09:00
Damien Elmes
0fbc94c186
more logging tweaks
...
- disable in browser, note.cards()
- in getCard() we want the calling frame, not us
- log current day
- show card/note id in card info stat
2013-10-18 14:20:20 +09:00
Soren I. Bjornstad
6c07a58c2a
display "if you studied every day" only when appropriate
...
(If you in fact did study every day during the period shown, it looks
silly.)
2013-10-10 10:42:58 -05:00
Damien Elmes
a3190d52f1
make sure we include 'px' in stats (thanks to steveaw)
2013-07-09 08:14:13 +09:00
Damien Elmes
adaf951a5a
force y axis min of 0 in reps graph too
2013-06-06 08:19:32 +09:00
Damien Elmes
97a92e5ea9
translation issues
2013-05-24 10:46:44 +09:00
Damien Elmes
81b4e521cc
fix float issue in stats
...
[Beta Testing #23 ]
2013-05-22 08:56:15 +09:00
Damien Elmes
f97abacb4a
add mature today stat
2013-05-18 18:37:17 +09:00
Damien Elmes
9875e26e06
make sure y axis starts at 0
...
https://anki.tenderapp.com/discussions/ankidesktop/793-strange-scaling-in-statistics-bar-bug
2013-05-04 15:45:57 +09:00
Damien Elmes
9642ce9337
fixed off by one err in collection start date calc
2013-02-25 16:13:50 +09:00
Piotr Kubowicz
12bde7b40f
allow 'Studied 1 card in ...' to be translated properly
2013-01-13 20:20:17 +01:00
Damien Elmes
b2457811a2
optimize imports
2012-12-22 09:17:10 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00