| Revision 551,
458 bytes
checked in by jdalbey, 6 years ago
(diff) |
|
Multi-file commit to implement saving evaluation ratings from einotebook to a log file and merging with unified log. Also fix defect #212. cgi-bin/saveEvals.py cgi-bin/saveRatingsToLog.py common/js/displayutils.js common/js/fileutils.js common/js/revision_number.dat common/unifiedlog.css dynamicdata/CADcomments.log dynamicdata/caddetails.csv dynamicdata cms_messages.json dynamicdata/har_messages.json dynamicdata highway_status.json dynamicdata/ratings.csv dynamicdata/unifiedlog.csv dynamicdata/unifiedlog_final.csv einotebook/roles/index.html einotebook roles/roles.js einotebook/script/index.html einotebook/script scrollframe.js einotebook/scripts/Evaluation.js einotebook/scripts/Event.js mergelogs.bash unifiedlogdisplay.html unifiedlogmonitor.html
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | # Merge log files and sort by timestamp |
|---|
| 2 | # Invoke from 'trunk' folder |
|---|
| 3 | # TODO: Add error handling - missing files, not executed from 'trunk', ... |
|---|
| 4 | |
|---|
| 5 | # 1. Extract CAD DETAIL lines from incident_script.xml |
|---|
| 6 | PYTHONPATH=webapps/unifiedlogger.zip python -m extract_caddetails |
|---|
| 7 | dir="webapps/dynamicdata" |
|---|
| 8 | # 2. Merge the unified log with cad details and evaluation ratings |
|---|
| 9 | cat $dir/unifiedlog.csv $dir/caddetails.csv $dir/ratings.csv | sort > $dir/unifiedlog_final.csv |
|---|
| 10 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.