Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bionicles committed Dec 29, 2024
2 parents c8e6962 + 26b0256 commit 90606a8
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 18 deletions.
87 changes: 70 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ Options:
'gpt4o' works
--timeout FLOAT regex timeout in seconds (optional, default
0.7)
-h, -H, --help Show this message and exit.
-H, -h, --help Show this message and exit.

v(1.0.58) --- https://github.com/bionicles/tree_plus/blob/main/README.md
v(1.0.59) --- https://github.com/bionicles/tree_plus/blob/main/README.md

```
<!-- t5-end -->
Expand Down Expand Up @@ -208,7 +208,7 @@ tree_plus -i tests
│ ├── func_timeout
│ └── regex
├── 📄 pytest.ini (20 tokens, 4 lines)
├── 📄 README.md (35,968 tokens, 3,520 lines)
├── 📄 README.md (36,974 tokens, 3,639 lines)
│ ├── TODO: research various kwargs for huggingface
│ ├── TODO: fix this path
│ ├── TODO: fill in these stubs
Expand Down Expand Up @@ -359,6 +359,37 @@ tree_plus -i tests
│ ├── TODO: This todo tests parse_todo
│ ├── TODO: technically we should use a proper parser
│ ├── TODO: This todo tests parse_todo
│ ├── TODO: research various kwargs for huggingface
│ ├── TODO: fix this path
│ ├── TODO: fill in these stubs
│ ├── TODO: fix this path
│ ├── TODO: fill in these stubs
│ ├── TODO: show off how well we parse_todo
│ ├── TODO: MOVE TIMEOUT_SECONDS TO ENV VAR
│ ├── NOTE: you can customize the color here
│ ├── TODO: clarify subtree types
│ ├── NOTE: sometimes we need wider trees
│ ├── TODO: research
│ ├── NOTE: directly add input file_paths to the amortized glob matches
│ ├── TODO: decide to apply glob patterns to glob paths
│ ├── TODO: decide between glob and rglob in _from_glob
│ ├── TODO: decide if we need to re
│ ├── TODO: clarify ignore in glob seed context
│ ├── NOTE: this is only to satisfy the type checker
│ ├── TODO: incorporate gitignore
│ ├── BUG: HTML tree doesn
│ ├── TODO: Fix HTML in TreePlus
│ ├── BUG: this repeatedly finds tags
│ ├── TODO: gather requirements for C namespace visualization
│ ├── TODO: update parse_objective_c to avoid fixed unrolling
│ ├── TODO: update parse_ocaml to avoid forced unrolling
│ ├── TODO: fix parse_apl to avoid forced unrolling
│ ├── TODO: fix parse_perl to avoid forced unrolling
│ ├── TODO: re
│ ├── NOTE: no point in the answers since there
│ ├── TODO: This todo tests parse_todo
│ ├── TODO: technically we should use a proper parser
│ ├── TODO: This todo tests parse_todo
│ ├── # Tree Plus
│ ├── ## Usage
│ ├── ## Example Output:
Expand Down Expand Up @@ -780,7 +811,7 @@ tree_plus -i tests
│ ├── @lru_cache
│ │ def _replace_symbol(match: re.Match) -> str
│ └── def replace_isabelle_symbols(content: str) -> str
├── 📄 parse_file.py (24,615 tokens, 2,713 lines)
├── 📄 parse_file.py (24,619 tokens, 2,713 lines)
│ ├── BUG: HTML tree doesn
│ ├── TODO: Fix HTML in TreePlus
│ ├── BUG: this repeatedly finds tags
Expand Down Expand Up @@ -926,7 +957,7 @@ tree_plus -i tests
│ ├── add_alias()
│ └── create_conda_env()
├── 📄 version.py (12 tokens, 1 line)
│ └── __version__ = "1.0.58"
│ └── __version__ = "1.0.59"
└── 📄 web.py (2,409 tokens, 321 lines)
├── TODO: re
├── NOTE: no point in the answers since there
Expand Down Expand Up @@ -989,8 +1020,8 @@ tree_plus -i tests
sleep_time: float,
) -> Tuple[HList, ...]

tree_plus v(1.0.58) ignore=('tests',) globs=() syntax=False paths=()
7 folder(s), 27 file(s), 12,985 line(s), 113,825 token(s) in 0.32 second(s).
tree_plus v(1.0.59) ignore=('tests',) globs=() syntax=False paths=()
7 folder(s), 27 file(s), 13,104 line(s), 114,835 token(s) in 0.31 second(s).

```
<!-- t1-end -->
Expand Down Expand Up @@ -1172,7 +1203,7 @@ tree_plus -c -i group_todo tests/more_languages
│ ├── 📄 testPackage.json (349 tokens, 43 lines)
│ └── 📄 tickets.component.ts (7,160 tokens, 903 lines)
├── 📁 group6 (1 folder, 13 files)
│ ├── 📄 catastrophic.c (5,067 tokens, 725 lines)
│ ├── 📄 catastrophic.c (5,339 tokens, 754 lines)
│ ├── 📄 cpp_examples_impl.cc (60 tokens, 10 lines)
│ ├── 📄 cpp_examples_impl.cu (37 tokens, 10 lines)
│ ├── 📄 cpp_examples_impl.h (22 tokens, 6 lines)
Expand All @@ -1195,8 +1226,8 @@ tree_plus -c -i group_todo tests/more_languages
├── 📄 racket_struct.rkt (14 tokens, 1 line)
└── 📄 test_scheme.scm (360 tokens, 44 lines)
tree_plus v(1.0.58) ignore=('group_todo',) globs=() concise=True paths=('tests/more_languages',)
9 folder(s), 84 file(s), 7,129 line(s), 67,746 token(s) in 0.22 second(s).
tree_plus v(1.0.59) ignore=('group_todo',) globs=() concise=True paths=('tests/more_languages',)
9 folder(s), 84 file(s), 7,158 line(s), 68,018 token(s) in 0.21 second(s).
```
<!-- t6-end -->
Expand Down Expand Up @@ -2469,7 +2500,7 @@ tree_plus -i group_todo tests/more_languages
│ ├── const mockTickets = async () =>
│ └── const renderQRCode = async (text: String): Promise<string> =>
├── 📁 group6 (1 folder, 13 files)
│ ├── 📄 catastrophic.c (5,067 tokens, 725 lines)
│ ├── 📄 catastrophic.c (5,339 tokens, 754 lines)
│ │ ├── TODO: technically we should use a proper parser
│ │ ├── struct Point
│ │ ├── int x;
Expand Down Expand Up @@ -2653,7 +2684,29 @@ tree_plus -i group_todo tests/more_languages
│ │ ├── static struct PyModuleDef cpu_feature_guard_module
│ │ ├── #define EXPORT_SYMBOL __declspec(dllexport)
│ │ ├── #define EXPORT_SYMBOL __attribute__ ((visibility("default")))
│ │ └── EXPORT_SYMBOL PyMODINIT_FUNC PyInit_cpu_feature_guard(void)
│ │ ├── EXPORT_SYMBOL PyMODINIT_FUNC PyInit_cpu_feature_guard(void)
│ │ ├── typedef struct
│ │ ├── GPT2Config config;
│ │ ├── ParameterTensors params;
│ │ ├── size_t param_sizes[NUM_PARAMETER_TENSORS];
│ │ ├── float* params_memory;
│ │ ├── size_t num_parameters;
│ │ ├── ParameterTensors grads;
│ │ ├── float* grads_memory;
│ │ ├── float* m_memory;
│ │ ├── float* v_memory;
│ │ ├── ActivationTensors acts;
│ │ ├── size_t act_sizes[NUM_ACTIVATION_TENSORS];
│ │ ├── float* acts_memory;
│ │ ├── size_t num_activations;
│ │ ├── ActivationTensors grads_acts;
│ │ ├── float* grads_acts_memory;
│ │ ├── int batch_size;
│ │ ├── int seq_len;
│ │ ├── int* inputs;
│ │ ├── int* targets;
│ │ ├── float mean_loss;
│ │ └── } GPT2;
│ ├── 📄 cpp_examples_impl.cc (60 tokens, 10 lines)
│ │ ├── PYBIND11_MODULE(cpp_examples, m)
│ │ └── m.def("add", &add<int>, "An example function to add two numbers.")
Expand Down Expand Up @@ -3106,8 +3159,8 @@ tree_plus -i group_todo tests/more_languages
├── define set-up
└── define traverse
tree_plus v(1.0.58) ignore=('group_todo',) globs=() syntax=False paths=('tests/more_languages',)
9 folder(s), 84 file(s), 7,129 line(s), 67,746 token(s) in 0.76 second(s).
tree_plus v(1.0.59) ignore=('group_todo',) globs=() syntax=False paths=('tests/more_languages',)
9 folder(s), 84 file(s), 7,158 line(s), 68,018 token(s) in 0.77 second(s).
```
<!-- t2-end -->
Expand Down Expand Up @@ -3597,8 +3650,8 @@ tree_plus -g "*.*s" -i group_todo tests/more_languages
│ }: DBCommand & { where?: { : string | number } })
└── async search_table(criteria: SearchCriteria)
tree_plus v(1.0.58) ignore=('group_todo',) globs=('*.*s',) syntax=False paths=('tests/more_languages',)
7 folder(s), 17 file(s), 2,090 line(s), 14,928 token(s) in 0.20 second(s).
tree_plus v(1.0.59) ignore=('group_todo',) globs=('*.*s',) syntax=False paths=('tests/more_languages',)
7 folder(s), 17 file(s), 2,090 line(s), 14,928 token(s) in 0.21 second(s).
```
<!-- t3-end -->
Expand Down Expand Up @@ -3627,7 +3680,7 @@ tree_plus tests/more_languages/group_todo
├── 📄 vba_test.bas (67 tokens, 16 lines)
└── 📄 wgsl_test.wgsl (94 tokens, 17 lines)
tree_plus v(1.0.58) ignore=() globs=() syntax=False paths=('tests/more_languages/group_todo',)
tree_plus v(1.0.59) ignore=() globs=() syntax=False paths=('tests/more_languages/group_todo',)
1 folder(s), 12 file(s), 872 line(s), 7,740 token(s) in 0.04 second(s).
```
Expand Down
2 changes: 1 addition & 1 deletion tree_plus_src/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# tree_plus_src/version.py
__version__ = "1.0.58"
__version__ = "1.0.59"

0 comments on commit 90606a8

Please sign in to comment.