<commit_before># STA

```
npm i sta

sta test/path1.json > path1.svg
```

Altera Quartus report parser.

```
bin/quartus.js prj.sta.rpt > prj.json
```

![ISA](https://rawgit.com/drom/sta/master/path1.svg)
<commit_msg>Added example of JSON format<commit_after># STA

```
npm i sta

sta test/path1.json > path1.svg
```

Altera Quartus report parser.

```
bin/quartus.js prj.sta.rpt > prj.json
```

![ISA](https://rawgit.com/drom/sta/master/path1.svg)

## JSON format

```js
[ <-- group of paths
  [ <-- each path
    { <-- each time interval
      "total": 2.41,
      "incr": 0,
      "meta": "RR",
      "type": "CELL", <-- cell
      "element": [
        "ir0[8]",
        "q"
      ]
    },
    {
      "total": 3.017,
      "incr": 0.607,
      "meta": "RR",
      "type": "IC", <-- wire
      "element": [
        "u_tail_offset",
        "u_len0010",
        "len[0]~0",
        "dataa"
      ]
    }
    ...
  ]
  ...
]
```

{'fraction_non_alphanumeric': 0.2086021505376344, 'fraction_numerical': 0.02795698924731183, 'mean_word_length': 1.9276729559748427, 'pattern_counts': {'":': 10, '<': 8, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7159913', 'n_tokens_mistral': 411, 'n_tokens_neox': 380, 'n_words': 73}