Closed adamjanovsky closed 2 years ago
I will add the heuristicaly-extracted SARs into the page. I would like to also keep the raw extracted SARs in the page, as we display all of the regex matches currently.
Btw. do we also do something for SFRs?
This is now done, see e.g.: https://seccerts.org/cc/131f67a45cd91c49/#heuristics-info
Given a certificate, we currently show SARs extracted from pdfs on the web. These are slightly unreliable and should be ideally replaced with SARs processed by SARTransformer. These SARs reside in
CCHeuristics.extracted_sars
variable.https://github.com/crocs-muni/sec-certs/blob/299c02136a303c49b6f2cf03423332125a9a8f62/sec_certs/sample/common_criteria.py#L307
@J08nY, could we please display these SARs instead of those extracted from pdfs?
I think that displaying them in "Heuristics Summary" at the top of the page would be just fine.