Commit a76b50a
committed
refactor(examples): code analysis engine
changes:
- file: advanced_usage_examples.py
area: core
added: [example_4_batch_processing, example_5_custom_metrics, example_2_focus_area_strategies, example_1_custom_file_patterns, example_6_workflow_automation, main, +1 more]
- file: cli_command_examples.py
area: cli
added: [run_command, main]
- file: external_tools_examples.py
area: util
added: [example_2_run_individual_tools, example_5_custom_analysis, example_1_check_external_tools, example_3_run_all_tools, example_4_generate_strategy_with_tools, main]
- file: integrated_functionality_examples.py
area: core
added: [example_2_template_generation, example_7_external_tools, example_3_strategy_comparison, example_5_strategy_stats, main, example_4_export_formats, +2 more]
- file: quick_start_examples.py
area: core
added: [quick_start_4, quick_start_1, quick_start_2, quick_start_5, quick_start_3, main]
- file: file_analyzer.py
area: analyzer
modified: [_extract_from_json_structure, _analyze_toon, _analyze_text, _analyze_json, _extract_from_yaml_structure, FileAnalyzer, +3 more]
- file: generator.py
area: analyzer
modified: [_generate_goal, _generate_tasks, _make_serializable, PlanfileGenerator, _generate_target_metrics, _generate_quality_gates, +9 more]
- file: metrics_extractor.py
area: analyzer
added: [_extract_critical_metrics, _extract_cc_metrics, _extract_duplication_metrics, extract_key_metrics, _extract_coverage_metrics, _extract_validation_metrics]
- file: strategy_builder.py
area: analyzer
added: [generate_tasks, parse_effort, generate_quality_gates, generate_risks, generate_success_criteria, generate_target_metrics, +2 more]
- file: json_parser.py
area: analyzer
added: [analyze_json]
- file: text_parser.py
area: analyzer
added: [analyze_text]
- file: toon_parser.py
area: analyzer
added: [_parse_toon_header, _parse_toon_sections, analyze_toon]
- file: yaml_parser.py
area: analyzer
added: [extract_from_yaml_structure, analyze_yaml]
- file: cmd_apply.py
area: cli
added: [_execute_apply_strategy, apply_strategy_cli, _display_apply_results, _save_results]
- file: cmd_generate.py
area: cli
added: [generate_strategy_cli, generate_from_files_cmd]
- file: cmd_review.py
area: cli
added: [review_strategy_cli]
- file: cmd_utils.py
area: cli
added: [_select_backend, _load_backend_config, _load_and_validate_strategy, _parse_sprint_filter, get_backend]
- file: cmd_validate.py
area: cli
added: [validate_strategy_cli]
- file: commands.py
area: cli
removed: [validate_strategy_cli, _load_backend_config, _load_and_validate_strategy, _display_apply_results, _execute_apply_strategy, review_strategy_cli, +7 more]
dependencies:
flow: "external_tools_examples→generator→file_analyzer, advanced_usage_examples→generator→file_analyzer, toon_parser→text_parser, integrated_functionality_examples→generator→file_analyzer, json_parser→yaml_parser→text_parser, quick_start_examples→generator→file_analyzer"
- advanced_usage_examples.py -> generator.py
- external_tools_examples.py -> generator.py
- integrated_functionality_examples.py -> generator.py
- quick_start_examples.py -> generator.py
- generator.py -> file_analyzer.py
- json_parser.py -> yaml_parser.py
- toon_parser.py -> text_parser.py
- yaml_parser.py -> text_parser.py
stats:
lines: "+5027/-1184 (net +3843)"
files: 27
complexity: "+127% complexity (monitor)"1 parent 0dafe96 commit a76b50a
File tree
42 files changed
+5055
-1187
lines changed- examples
- advanced-usage
- cli-commands
- external-tools
- integrated-functionality
- quick-start
- strategies/.planfile_analysis
- planfile
- analysis
- generators
- parsers
- cli
- cmd
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+5055
-1187
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 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 | + | |
10 | 35 | | |
11 | 36 | | |
12 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 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 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
31 | 51 | | |
32 | 52 | | |
33 | 53 | | |
| |||
48 | 68 | | |
49 | 69 | | |
50 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
51 | 77 | | |
52 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
53 | 97 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 98 | + | |
| 99 | + | |
59 | 100 | | |
60 | 101 | | |
61 | 102 | | |
| |||
117 | 158 | | |
118 | 159 | | |
119 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
120 | 232 | | |
121 | 233 | | |
122 | 234 | | |
| |||
241 | 353 | | |
242 | 354 | | |
243 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
244 | 444 | | |
245 | 445 | | |
246 | 446 | | |
| |||
0 commit comments