Skip to content

Commit

Permalink
adding readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 21, 2023
1 parent a115f49 commit 54ff8ce
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pyre/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,40 @@ pyre-check query "types_in_file('tests.py')"
# produce graphs

`python ./graphs.py ./function_calls2.csv `

strong graphs with

`python ./strong_graphs.py ./function_calls2.csv `

# split by autogpt

now we can split by the autogpt name


# index

Manually update the index with `tree -H "." > index.html`

published in webpage: https://jmikedupont2.github.io/ai-ticket/pyre/


# Split out autogpt

```
grep autogpt function_calls2.csv > autogpt_function_calls.csv
mkdir autogpt
cd autogpt/
mv ../autogpt_function_calls.csv .
mkdir graphs
python ../graphs.py autogpt_function_calls.csv
tree -H "." > index.html
git add autogpt/
```

# analyse sub graphs

```
jq ".edges[]|.from" graphComponent*.json |sort |uniq -c | sort -n |grep autogpt
jq ".edges[]|.to" graphComponent*.json |sort |uniq -c | sort -n |grep autogpt
```

0 comments on commit 54ff8ce

Please sign in to comment.