Skip to content

HASTE-project/haste-report-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prints a summary of computed interestingness values to the console.

(for AZN/microscopy use case).

Contributors: Ben Blamey

Usage

Connects to metadata-db on localhost:27017 - you need to forward the port!

(for given stream_id without a 'strm_' prefix!):

python3 -m haste.report_generator 2018_03_05__14_35_26_from_al

Expected Result:

legend: 
{'-': 'missing document',
 '0.5': 'both interesting and uninteresting',
 '0.9': 'neither interesting nor uninteresting',
 '1': 'interesting',
 'GdTth': 'ground truth interestingness',
 'T': 'timestamp'}


GdTth     1     1     1     0     0     0     1     0     0     0     0     0 
    T   B05   C02   C03   C04   C09   D04   D06   E10   F09   G02   G10   G11 

    1    -      1     1    -      1     1     1    -     -      1    -     -  
    2     1     1     1     1     1     1     1     1     1     1     1     1 
    3     1     1     1     1     1     1     1     1     1     1     1     1 
    4     1     1     1     1     1     1     1     1     1     1     1     1 
    5     1     1     1     1     1     1     1     1     1     1     1     1 
    6     1     1     1     1     1     1     1     1     1     1     1     1 
    7     1     1     1     1     1     1     1     1     1     1     1     1 
    8   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 

    9   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 
   10   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 
   11   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 
   12   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 
   13   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 
   14   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 
   15   0.5     0   0.5     0   0.5     1     1     0   0.5   0.5     0     0 
   16     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 

   17     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 
   18     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 
   19     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 
   20     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 
   21     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 
   22     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 
   23     0   0.5     0     1   0.5     1     0     0     0     0   0.5     0 
   24   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 

   25   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 
   26   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 
   27   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 
   28   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 
   29   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 
   30   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 
   31   0.9     1     1   0.5     0   0.5     0     0     0     0   0.5   0.5 
   32     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 

   33     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 
   34     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 
   35     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 
   36     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 
   37     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 
   38     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 
   39     1     1     1   0.5   0.5   0.5   0.5     0   0.5   0.5     0   0.9 
   40     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 

GdTth     1     1     1     0     0     0     1     0     0     0     0     0 
    T   B05   C02   C03   C04   C09   D04   D06   E10   F09   G02   G10   G11 

   41     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 
   42     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 
   43     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 
   44     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 
   45     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 
   46     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 
   47     1     1     1   0.5     0   0.5     1     0   0.9   0.9     0     0 
   48     1     1     1     0   0.5     0     1     0     1     0     0     0 

   49     1     1     1     0   0.5     0     1     0     1     0     0     0 
   50     1     1     1     0   0.5     0     1     0     1     0     0     0 
   51     1     1     1     0   0.5     0     1     0     1     0     0     0 
   52     1     1     1     0   0.5     0     1     0     1     0     0     0 
   53     1     1     1     0   0.5     0     1     0     1     0     0     0 
   54     1     1     1     0   0.5     0     1     0     1     0     0     0 
   55     1     1     1     0   0.5     0     1     0     1     0     0     0 
   56     1     1     1     0     0     0     1     0   0.9     0     0     0 

   57     1     1     1     0     0     0     1     0   0.9     0     0     0 
   58     1     1     1     0     0     0     1     0   0.9     0     0     0 
   59     1     1     1     0     0     0     1     0   0.9     0     0     0 
   60     1     1     1     0     0     0     1     0   0.9     0     0     0 
   61     1     1     1     0     0     0     1     0   0.9     0     0     0 
   62     1     1     1     0     0     0     1     0   0.9     0     0     0 
   63     1     1     1     0     0     0     1     0   0.9     0     0     0 
   64     1     1     1     0     0     0     1     0   0.9     0     0     0 

   65     1     1     1     0     0     0     1     0   0.9     0     0     0 
   66     1     1     1     0     0     0     1     0   0.9     0     0     0 
   67     1     1     1     0     0     0     1     0   0.9     0     0     0 
   68     1     1     1     0     0     0     1     0   0.9     0     0     0 
   69     1     1     1     0     0     0     1     0   0.9     0     0     0 
   70     1     1     1     0     0     0     1     0   0.9     0     0     0 
   71     1     1     1     0     0     0     1     0   0.9     0     0     0 
   72     1     1     1     0     0     0     1     0   0.9     0     0     0 

   73     1     1     1     0     0     0     1     0   0.9     0     0     0 
   74     1     1     1     0     0     0     1     0   0.9     0     0     0 
   75     1     1     1     0     0     0     1     0   0.9     0     0     0 
   76     1     1     1     0     0     0     1     0   0.9     0     0     0 
   77     1     1     1     0     0     0     1     0   0.9     0     0     0 
   78     1     1     1     0     0     0     1     0   0.9     0     0     0 
   79     1     1     1     0     0     0     1     0   0.9     0     0     0 
   80     1     1     1   0.9     0     0     1     0   0.9     0     0     0 

GdTth     1     1     1     0     0     0     1     0     0     0     0     0 
    T   B05   C02   C03   C04   C09   D04   D06   E10   F09   G02   G10   G11 

   81     1     1     1   0.9     0     0     1     0   0.9     0     0     0 
   82     1     1     1   0.9     0     0     1     0   0.9     0     0     0 
   83     1     1     1   0.9     0     0     1     0   0.9     0     0     0 
   84     1     1     1   0.9     0     0     1     0   0.9     0     0     0 
   85     1     1     1   0.9     0     0     1     0   0.9     0     0     0 
   86     1     1     1   0.9     0     0     1     0   0.9     0     0     0 
   87     1     1     1   0.9     0     0     1     0   0.9     0     0     0 
   88     1     1     1     0     0     0   0.9     0   0.9     0     0     0 

Usage with watch (experimental)

Can be used to show 'live progress' of a test run (needs a decent internet connection) watch can be installed on macosx with brew install watch

watch --interval 2 "python3 -m haste.report_generator 2018_03_18__13_16_21_from_al | tail -n 50"

About

Tool to generate report of stream processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages