cosmic-ray icon indicating copy to clipboard operation
cosmic-ray copied to clipboard

Allow filtering for results in cr-report

Open Varriount opened this issue 6 years ago • 4 comments

Curently, cr-report will display all the results of a run. It would be nice if there were options that would filter output (for example, to display only results from cases that survived, or from a particular file).

Varriount avatar Jan 09 '19 21:01 Varriount

Do you have a proposal for the command-line options you'd like, etc? I'm happy to consider ideas and PRs. The place you want to look for cr-report is in cosmic_ray.tools.report.py.

Another thing to consider is doing this in cr-html instead. It might be nice to enhance it such that the generated HTML includes tools for filtering, sorting, and so forth at the top of the report, e.g. in a drop-down panel.

Finally, depending on your needs, it might be simpler for you to design you own reporting tool that takes input from cosmic-ray dump. You could filter the dump stream with grep or whatever, and then feed that into your tool.

abingham avatar Jan 10 '19 05:01 abingham

@LLKoder If you're actively working on cr-html, this might be another set of functionality to consider. It's not critical, but it would be an interesting bit of work and potentially very useful.

abingham avatar May 23 '19 06:05 abingham

It is a good idea to filter the job list. I promise nothing, but I'll see what I can do.

LLKoder avatar May 23 '19 08:05 LLKoder

Something like: PR https://github.com/sixty-north/cosmic-ray/pull/461 in cr-html

Alcolo47 avatar Oct 08 '19 17:10 Alcolo47