Commit a3a9d06
committed
refactor(docs): code analysis engine
changes:
- file: ast_helpers.py
area: analyzer
added: [ast_unparse]
- file: cli_analysis.py
area: analyzer
modified: [_build_config]
- file: cli_commands.py
area: cli
added: [handle_cache_command]
modified: [handle_special_commands]
- file: orchestrator.py
area: cli
added: [_export_readme, _export_mermaid_pngs, _get_format_kwargs, _export_single, _export_calls, _expand_all_formats, +8 more]
modified: [_get_filtered_subprojects, _run_exports]
removed: [_export_chunked_results, _export_single_project, _process_subproject_result]
- file: cli_parser.py
area: analyzer
modified: [create_parser]
- file: analyzer.py
area: analyzer
added: [_print_summary, _build_stats, _load_from_persistent_cache, _resolve_call, _store_to_persistent_cache, _find_entry_points, +4 more]
modified: [analyze_project, _build_call_graph, ProjectAnalyzer]
- file: file_filter.py
area: core
added: [_passes_gitignore, _passes_excludes, _passes_line_count, _passes_visibility, _passes_includes]
modified: [FastFileFilter, should_process, should_skip_function]
- file: gitignore.py
area: core
added: [_pattern_to_regex, _parse_entry, _GitIgnoreEntry]
modified: [_load_gitignore, GitIgnoreParser, is_ignored, __init__]
removed: [_parse_pattern, _wildcard_to_regex]
- file: persistent_cache.py
area: core
added: [save, get_changed_files, put_file_result, content_hash, gc, cache_size_mb, +13 more]
- file: base.py
area: core
added: [generate, get_exporter, _write_text, export_format, BaseExporter, decorator, +2 more]
modified: [export]
removed: [Exporter]
- file: context_exporter.py
area: core
modified: [export, ContextExporter]
- file: evolution_exporter.py
area: core
modified: [export, EvolutionExporter]
- file: flow_exporter.py
area: core
modified: [FlowExporter, export]
- file: json_exporter.py
area: core
modified: [export, JSONExporter]
- file: map_exporter.py
area: core
modified: [export, MapExporter]
- file: mermaid_exporter.py
area: core
added: [_build_callers_graph, _find_leaves, _longest_path_dfs, _select_longest_path]
modified: [export, _find_critical_path, MermaidExporter, _write]
removed: [longest_path_dfs]
- file: core.py
area: core
modified: [export, ProjectYAMLExporter]
- file: readme_exporter.py
area: docs
modified: [READMEExporter, export]
- file: helpers.py
area: util
modified: [_scan_line_counts]
- file: yaml_exporter.py
area: core
modified: [export, YAMLExporter]
- file: mermaid.py
area: core
added: [_prepare_and_render]
modified: [generate_pngs]
- file: sample.py
area: test
added: [add, list_all, Product, find_by_id, ProductRepository]
modified: [__init__, main]
removed: [process_users, UserService, get_user, add_user, User]
- file: test_persistent_cache.py
area: test
added: [TestClear, tmp_project, TestFileResultRoundtrip, cache, TestGetChangedFiles, TestContentHash, +4 more]
new_tests: 20
- file: test_project_toon_export.py
area: test
modified: [test_export_single_project_all_triggers_project_toon]
testing:
new_tests: 20
scenarios:
- version_mismatch_resets_manifest
- manifest_updated_after_put
- new_files_are_changed
- gc_removes_old_exports
- put_then_get
- get_all_projects_after_save
- different_config_different_dir
- missing_export_returns_none
- modified_file_is_changed
- save_creates_manifest
# +10 more
dependencies:
flow: "orchestrator→prompt, analyzer→file_filter→gitignore"
- orchestrator.py -> prompt.py
- analyzer.py -> file_filter.py
- analyzer.py -> persistent_cache.py
- file_filter.py -> gitignore.py
stats:
lines: "+10853/-2205 (net +8648)"
files: 54
complexity: "Large structural change (normalized)"1 parent 9a3b7f7 commit a3a9d06
80 files changed
Lines changed: 10896 additions & 2209 deletions
File tree
- batch_1
- code2llm
- analysis/utils
- cli_exports
- core
- exporters
- project_yaml
- toon
- generators
- nlp
- demo_langs/valid
- docs
- project
- batch_1
- root
- test_python_only_examples_tests
- test_python_only_examples
- root
- test_langs/valid
- test_python_only_examples_tests
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
3 | 37 | | |
4 | 38 | | |
5 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
3 | 18 | | |
4 | 19 | | |
5 | 20 | | |
| |||
10 | 25 | | |
11 | 26 | | |
12 | 27 | | |
13 | | - | |
| 28 | + | |
14 | 29 | | |
15 | 30 | | |
16 | 31 | | |
| |||
22 | 37 | | |
23 | 38 | | |
24 | 39 | | |
25 | | - | |
26 | 40 | | |
27 | | - | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
| |||
329 | 342 | | |
330 | 343 | | |
331 | 344 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
336 | 349 | | |
337 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
0 commit comments