summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
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