<commit_before>---
title: Tree Tool
category: Instructor
order: 9
---

make_tree.js and make_tree_interactive.py are tools to visualize the json output from [commonAST](/intstructor/commonAST.md) and [static analysis](/instructor/static_analysis.md) as trees.<commit_msg>fixed link<commit_after>---
title: Tree Tool
category: Instructor
order: 9
---

make_tree.js and make_tree_interactive.py are tools to visualize the json output from [commonAST](/intstructor/commonAST) and [static analysis](/instructor/static_analysis) as trees.
{'fraction_non_alphanumeric': 0.1050656660412758, 'fraction_numerical': 0.00375234521575985, 'mean_word_length': 5.512195121951219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2108056', 'n_tokens_mistral': 161, 'n_tokens_neox': 156, 'n_words': 50}