[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #21223 [Metrics/Metrics website]: use the empty field consistently throughout the data sets



#21223: use the empty field consistently throughout the data sets
-------------------------------------+------------------------------
 Reporter:  iwakeh                   |          Owner:  metrics-team
     Type:  enhancement              |         Status:  needs_review
 Priority:  Medium                   |      Milestone:
Component:  Metrics/Metrics website  |        Version:
 Severity:  Minor                    |     Resolution:
 Keywords:                           |  Actual Points:
Parent ID:                           |         Points:
 Reviewer:                           |        Sponsor:
-------------------------------------+------------------------------
Changes (by karsten):

 * status:  new => needs_review


Comment:

 Makes sense.  I'm currently running the following patch on the server,
 after testing it locally.  We'll see later today whether that was
 successful or not:

 {{{
 diff --git a/shared/bin/80-run-clients-stats.sh b/shared/bin/80-run-
 clients-stats.sh
 index fe93e44..f0ac1f6 100755
 --- a/shared/bin/80-run-clients-stats.sh
 +++ b/shared/bin/80-run-clients-stats.sh
 @@ -13,7 +13,7 @@ done

  echo `date` "Exporting results."
  psql -c 'COPY (SELECT * FROM estimated) TO STDOUT WITH CSV HEADER;'
 userstats > userstats.csv
 -psql -c 'COPY (SELECT * FROM combined) TO STDOUT WITH CSV HEADER;'
 userstats > userstats-combined.csv
 +psql -c 'COPY (SELECT * FROM combined) TO STDOUT WITH CSV HEADER;'
 userstats | sed 's/""//g' > userstats-combined.csv

  echo `date` "Running censorship detector."
  R --slave -f userstats-detector.R > /dev/null 2>&1
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21223#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs