summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-05-10 10:59:49 +0200
committerPatrick Simianer <p@simianer.de>2016-05-10 10:59:49 +0200
commit8dd7a811559deafbe9262f11be2d592617b030a1 (patch)
treee30c76fbbea82f89dd10e56c35e70ec357bb24b4 /views
parent189698c044eb3362e65d213c35f425694eba9f27 (diff)
parent6bd7135e6039b0682f49234e42451077413f0bd9 (diff)
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'views')
-rw-r--r--views/debug.haml15
1 files changed, 10 insertions, 5 deletions
diff --git a/views/debug.haml b/views/debug.haml
index 4ebb0a0..3c1e006 100644
--- a/views/debug.haml
+++ b/views/debug.haml
@@ -43,10 +43,13 @@
%a.ajax{:tgt => "/reset_weights", :href => "#controls"} Reset weights
%li
%a.ajax{:tgt => "/reset_learning_rates", :href => "#controls"} Reset learning rates
+ /
+ %li
+ %a.ajax{:tgt => "/reset_extractor", :href => "#controls"} Reset extractor
%li
- %a.ajax{:tgt => "/reset_extractor", :href => "#controls"} Reset extractor
+ %a.ajax{:tgt => "/reset_grammars", :href => "#controls"} Reset grammars
%li
- %a.ajax{:tgt => "/reset_new_rules", :href => "#controls"} Reset new rules
+ %a.ajax{:tgt => "/reset_new_rules", :href => "#controls"} Reset new rules
/
%li
%a.ajax{:tgt => "/shutdown", :href => "#controls"} Initiate shutdown
@@ -141,6 +144,8 @@
%p.updated <strong>Number of updates:</strong> #{pairwise_ranking_data["num_up"]}
%p.updated <strong>Updated features:</strong> #{pairwise_ranking_data["updated_features"]}
%p <strong>Duration:</strong> #{data["durations"][progress]}ms
+ %p <strong>Keypresses:</strong> #{data["count_kbd"][progress]}
+ %p <strong>Clicks:</strong> #{data["count_click"][progress]}
%h3 Derivation
%p
@@ -299,9 +304,9 @@
%tr
%td Shape_*
%td.left Indicator features for rule shapes (39 in total)
- %tr
- %td IsSupportedOnline
- %td.left Rules with support from local context (added by Denkowski's online suffix array extractor)
+ /=%tr
+ /= %td IsSupportedOnline
+ /= %td.left Rules with support from local context (added by Denkowski's online suffix array extractor)
%p.up
%a{ :href => "#" } ^ up