debtmap 0.16.7

Code complexity and technical debt analyzer
Documentation
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
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
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
{
  "chapters": [
    {
      "id": "introduction",
      "title": "Introduction",
      "file": "book/src/introduction.md",
      "topics": [
        "What is Debtmap",
        "Why use it",
        "Key features",
        "Target audience"
      ],
      "validation": "Ensure introduction covers project purpose and main features",
      "auto_generated": false
    },
    {
      "id": "getting-started",
      "title": "Getting Started",
      "file": "book/src/getting-started.md",
      "topics": [
        "Installation",
        "Quick start",
        "First analysis",
        "Basic usage"
      ],
      "validation": "Check installation instructions and quick start examples are current",
      "auto_generated": false
    },
    {
      "id": "cli-reference",
      "title": "CLI Reference",
      "file": "book/src/cli-reference.md",
      "topics": [
        "Commands",
        "Arguments",
        "Options",
        "Configuration"
      ],
      "validation": "Verify all CLI commands from src/cli/ are documented with current options",
      "auto_generated": false
    },
    {
      "id": "analysis-guide",
      "title": "Analysis Guide",
      "type": "multi-subsection",
      "index_file": "book/src/analysis-guide/index.md",
      "topics": [
        "Complexity metrics",
        "Debt patterns",
        "Risk scoring",
        "Interpreting results"
      ],
      "validation": "Ensure all analyzer types and metrics are explained",
      "auto_generated": false,
      "subsections": [
        {
          "id": "overview",
          "title": "Overview",
          "file": "book/src/analysis-guide/overview.md",
          "topics": ["Analysis capabilities", "Overall approach"],
          "validation": "Check introduction covers analysis fundamentals"
        },
        {
          "id": "complexity-metrics",
          "title": "Complexity Metrics",
          "file": "book/src/analysis-guide/complexity-metrics.md",
          "topics": ["Cyclomatic complexity", "Cognitive complexity", "Entropy analysis", "Constructor detection"],
          "validation": "Verify all complexity metric types are documented with examples"
        },
        {
          "id": "debt-patterns",
          "title": "Debt Patterns",
          "file": "book/src/analysis-guide/debt-patterns.md",
          "topics": ["Debt types", "Debt categories", "Detection criteria", "Examples by category"],
          "validation": "Ensure all 25 debt types are documented with detection criteria"
        },
        {
          "id": "risk-scoring",
          "title": "Risk Scoring",
          "file": "book/src/analysis-guide/risk-scoring.md",
          "topics": ["Unified scoring system", "Risk categories", "Coverage propagation", "ROI calculation"],
          "validation": "Check risk scoring formulas and prioritization strategies"
        },
        {
          "id": "interpreting-results",
          "title": "Interpreting Results",
          "file": "book/src/analysis-guide/interpreting-results.md",
          "topics": ["Output formats", "JSON structure", "Prioritization strategies", "Actionable insights"],
          "validation": "Verify result interpretation guidance is comprehensive"
        },
        {
          "id": "analyzer-types",
          "title": "Analyzer Types",
          "file": "book/src/analysis-guide/analyzer-types.md",
          "topics": ["Supported languages", "Language detection", "Analyzer capabilities"],
          "validation": "Check analyzer type documentation is current"
        },
        {
          "id": "advanced-features",
          "title": "Advanced Features",
          "file": "book/src/analysis-guide/advanced-features.md",
          "topics": ["Purity detection", "Data flow analysis", "Entropy caching", "Context-aware analysis"],
          "validation": "Ensure advanced features are fully documented"
        },
        {
          "id": "example-outputs",
          "title": "Example Outputs",
          "file": "book/src/analysis-guide/example-outputs.md",
          "topics": ["Terminal output examples", "JSON output examples", "Before/after comparisons"],
          "validation": "Verify examples are realistic and helpful"
        }
      ]
    },
    {
      "id": "configuration",
      "title": "Configuration",
      "type": "multi-subsection",
      "index_file": "book/src/configuration/index.md",
      "topics": [
        "Config files",
        "Options reference",
        "Exclusion patterns",
        "Customization"
      ],
      "validation": "Check config options match implementation in src/config/",
      "auto_generated": false,
      "subsections": [
        {
          "id": "scoring",
          "title": "Scoring Configuration",
          "file": "book/src/configuration/scoring.md",
          "topics": ["Scoring weights", "Role multipliers", "Coverage weights", "Role-based adjustments"],
          "validation": "Check scoring configuration options"
        },
        {
          "id": "thresholds",
          "title": "Thresholds Configuration",
          "file": "book/src/configuration/thresholds.md",
          "topics": ["Basic thresholds", "Minimum thresholds", "Validation thresholds", "Coverage expectations"],
          "validation": "Check threshold configuration options"
        },
        {
          "id": "languages",
          "title": "Language Configuration",
          "file": "book/src/configuration/languages.md",
          "topics": ["Enabled languages", "Language-specific features", "Exclusion patterns", "Classification"],
          "validation": "Check language configuration options"
        },
        {
          "id": "display-output",
          "title": "Display and Output",
          "file": "book/src/configuration/display-output.md",
          "topics": ["Display configuration", "Output formats", "Normalization"],
          "validation": "Check display and output configuration"
        },
        {
          "id": "advanced",
          "title": "Advanced Options",
          "file": "book/src/configuration/advanced.md",
          "topics": ["Entropy analysis", "God object detection", "Context-aware detection", "Parallel processing"],
          "validation": "Check advanced configuration options"
        },
        {
          "id": "best-practices",
          "title": "Best Practices",
          "file": "book/src/configuration/best-practices.md",
          "topics": ["Strict quality standards", "Legacy codebases", "Open source libraries", "CI/CD"],
          "validation": "Check configuration best practices"
        }
      ]
    },
    {
      "id": "output-formats",
      "title": "Output Formats",
      "file": "book/src/output-formats.md",
      "topics": [
        "JSON output",
        "Text reports",
        "Integration with tools",
        "Custom formatting"
      ],
      "validation": "Verify output format documentation matches src/io/ implementation",
      "auto_generated": false
    },
    {
      "id": "examples",
      "title": "Examples",
      "file": "book/src/examples.md",
      "topics": [
        "Analyzing Rust projects",
        "Python analysis",
        "JavaScript/TypeScript",
        "CI integration"
      ],
      "validation": "Ensure examples use current CLI syntax and options",
      "auto_generated": false
    },
    {
      "id": "troubleshooting",
      "title": "Troubleshooting",
      "type": "multi-subsection",
      "index_file": "book/src/troubleshooting/index.md",
      "topics": [
        "Common issues",
        "Debug mode",
        "Performance tips",
        "FAQ"
      ],
      "validation": "Check troubleshooting covers common user issues",
      "auto_generated": false,
      "subsections": [
        {
          "id": "quick-fixes",
          "title": "Quick Fixes",
          "file": "book/src/troubleshooting/quick-fixes.md",
          "topics": ["Quick fixes", "Common issues", "Parse errors", "Coverage issues"],
          "validation": "Check quick fixes are current and comprehensive"
        },
        {
          "id": "debug-mode",
          "title": "Debug Mode",
          "file": "book/src/troubleshooting/debug-mode.md",
          "topics": ["Verbosity levels", "Diagnostic options", "Performance tips", "Environment variables"],
          "validation": "Check debug options and performance tips are documented"
        },
        {
          "id": "context-providers",
          "title": "Context Provider Issues",
          "file": "book/src/troubleshooting/context-providers.md",
          "topics": ["Context provider errors", "Git history issues", "Dependency issues", "Critical path issues"],
          "validation": "Check context provider troubleshooting is complete"
        },
        {
          "id": "advanced-analysis",
          "title": "Advanced Analysis Issues",
          "file": "book/src/troubleshooting/advanced-analysis.md",
          "topics": ["Multi-pass analysis", "Attribution", "God object detection", "Functional analysis"],
          "validation": "Check advanced analysis troubleshooting is comprehensive"
        },
        {
          "id": "error-messages",
          "title": "Error Messages Reference",
          "file": "book/src/troubleshooting/error-messages.md",
          "topics": ["Error types", "Language-specific issues", "Boilerplate detection", "False positives"],
          "validation": "Check error messages and language issues are documented"
        },
        {
          "id": "output-issues",
          "title": "Output and Command Issues",
          "file": "book/src/troubleshooting/output-issues.md",
          "topics": ["Output formatting", "Compare command", "Validate command", "Validate-improvement command"],
          "validation": "Check output and command troubleshooting is complete"
        },
        {
          "id": "faq",
          "title": "FAQ",
          "file": "book/src/troubleshooting/faq.md",
          "topics": ["General questions", "Coverage questions", "Scoring questions", "Bug reports"],
          "validation": "Check FAQ covers common user questions"
        }
      ]
    },
    {
      "id": "tiered-prioritization",
      "title": "Tiered Prioritization",
      "file": "book/src/tiered-prioritization.md",
      "topics": [
        "Tier 1: Critical Architecture",
        "Tier 2: Complex Untested",
        "Tier 3: Testing Gaps",
        "Tier 4: Maintenance",
        "Tier weights and configuration",
        "Customizing tier thresholds"
      ],
      "validation": "Check that tier strategy, weights, and configuration options are documented with examples",
      "auto_generated": true,
      "source_feature": "tiered_prioritization"
    },
    {
      "id": "scoring-strategies",
      "title": "Scoring Strategies",
      "type": "multi-subsection",
      "index_file": "book/src/scoring-strategies/index.md",
      "topics": [
        "File-level scoring",
        "Function-level scoring",
        "When to use each approach",
        "Aggregation methods",
        "Score normalization",
        "Use case comparison"
      ],
      "validation": "Check that file-level and function-level scoring differences are explained with use cases",
      "auto_generated": true,
      "source_feature": "scoring_comparison",
      "subsections": [
        {
          "id": "file-level",
          "title": "File-Level Scoring",
          "file": "book/src/scoring-strategies/file-level.md",
          "topics": ["File aggregation", "Aggregation methods", "God object detection", "Architectural scoring"],
          "validation": "Check file-level scoring formula and aggregation methods"
        },
        {
          "id": "function-level",
          "title": "Function-Level Scoring",
          "file": "book/src/scoring-strategies/function-level.md",
          "topics": ["Function scoring formula", "Constructor detection", "Role multipliers", "Metrics"],
          "validation": "Check function-level scoring formula and constructor detection"
        },
        {
          "id": "role-based",
          "title": "Role-Based Adjustments",
          "file": "book/src/scoring-strategies/role-based.md",
          "topics": ["Coverage weighting", "Role multipliers", "Two-stage adjustments", "False positive reduction"],
          "validation": "Check role-based adjustments and coverage weighting"
        },
        {
          "id": "rebalanced",
          "title": "Rebalanced Scoring",
          "file": "book/src/scoring-strategies/rebalanced.md",
          "topics": ["Multi-dimensional scoring", "Severity levels", "Generated code detection", "Presets"],
          "validation": "Check rebalanced scoring presets and configuration"
        },
        {
          "id": "exponential-scaling",
          "title": "Exponential Scaling",
          "file": "book/src/scoring-strategies/exponential-scaling.md",
          "topics": ["Exponential scaling", "Risk boosting", "Pattern-specific exponents", "Score amplification"],
          "validation": "Check exponential scaling configuration and examples"
        },
        {
          "id": "data-flow",
          "title": "Data Flow Scoring",
          "file": "book/src/scoring-strategies/data-flow.md",
          "topics": ["Purity spectrum", "Refactorability factor", "Pattern factor", "Data flow analysis"],
          "validation": "Check data flow scoring configuration and examples"
        }
      ]
    },
    {
      "id": "prodigy-integration",
      "title": "Prodigy Integration",
      "file": "book/src/prodigy-integration.md",
      "topics": [
        "What is Prodigy",
        "Automated debt reduction",
        "Map-reduce workflows",
        "Setting up Prodigy",
        "Running debtmap workflows",
        "Iterative improvement",
        "Validation and testing"
      ],
      "validation": "Check that Prodigy workflow integration is documented with workflow file examples",
      "auto_generated": true,
      "source_feature": "prodigy_workflows"
    },
    {
      "id": "parallel-processing",
      "title": "Parallel Processing",
      "file": "book/src/parallel-processing.md",
      "topics": [
        "Rayon parallel iterators",
        "Thread pool configuration",
        "Worker thread tuning",
        "Lock-free concurrent access with DashMap",
        "Performance benchmarks",
        "Scaling strategies"
      ],
      "validation": "Check that parallel processing features, thread configuration, and performance characteristics are documented",
      "auto_generated": true,
      "source_feature": "parallel_processing"
    },
    {
      "id": "entropy-analysis",
      "title": "Entropy Analysis",
      "file": "book/src/entropy-analysis.md",
      "topics": [
        "Shannon entropy calculation",
        "Pattern repetition detection",
        "Branch similarity analysis",
        "Token classification",
        "Effective complexity adjustment",
        "Configuration options",
        "False positive reduction"
      ],
      "validation": "Check that entropy analysis algorithm, components, and configuration are documented with examples",
      "auto_generated": true,
      "source_feature": "entropy_based_analysis"
    },
    {
      "id": "coverage-integration",
      "title": "Coverage Integration",
      "file": "book/src/coverage-integration.md",
      "topics": [
        "LCOV format support",
        "Generating coverage with cargo-tarpaulin",
        "Coverage for other languages (pytest, jest, go test)",
        "Coverage index performance",
        "Transitive coverage propagation",
        "Troubleshooting coverage correlation",
        "Best practices"
      ],
      "validation": "Check that coverage setup, tool integration, and troubleshooting are documented for all supported languages",
      "auto_generated": true,
      "source_feature": "coverage_integration"
    },
    {
      "id": "god-object-detection",
      "title": "God Object Detection",
      "file": "book/src/god-object-detection.md",
      "topics": [
        "Detection criteria (method count, field count, responsibilities)",
        "God object scoring algorithm",
        "Thresholds and configuration",
        "File-level aggregation",
        "Refactoring recommendations",
        "Examples and case studies"
      ],
      "validation": "Check that god object detection algorithm, scoring, and configuration options are documented",
      "auto_generated": true,
      "source_feature": "god_object_detection"
    },
    {
      "id": "suppression-patterns",
      "title": "Suppression Patterns",
      "file": "book/src/suppression-patterns.md",
      "topics": [
        "Inline comment suppression",
        "Suppression formats (ignore, ignore-next-line, ignore blocks)",
        "Type-specific suppression",
        "Config file exclusion patterns",
        "Glob pattern syntax",
        "Best practices for suppression"
      ],
      "validation": "Check that all suppression formats and config patterns are documented with examples",
      "auto_generated": true,
      "source_feature": "suppression"
    },
    {
      "id": "context-providers",
      "title": "Context Providers",
      "file": "book/src/context-providers.md",
      "topics": [
        "Critical path detection",
        "Dependency analysis",
        "Git history integration",
        "Change frequency analysis",
        "Context-aware risk adjustment",
        "Enabling and disabling providers"
      ],
      "validation": "Check that all context providers are documented with configuration and use cases",
      "auto_generated": true,
      "source_feature": "context_providers"
    },
    {
      "id": "design-patterns",
      "title": "Design Pattern Detection",
      "file": "book/src/design-patterns.md",
      "topics": [
        "Observer pattern detection",
        "Singleton pattern detection",
        "Factory pattern detection",
        "Strategy pattern detection",
        "Callback pattern detection",
        "Template method pattern detection",
        "Dependency injection detection",
        "Builder pattern detection",
        "Pattern confidence thresholds",
        "Configuration options"
      ],
      "validation": "Check that all 8 design patterns are documented with detection criteria and examples",
      "auto_generated": true,
      "source_feature": "design_patterns_detected"
    },
    {
      "id": "compare-analysis",
      "title": "Compare Analysis",
      "file": "book/src/compare-analysis.md",
      "topics": [
        "Compare command usage",
        "Target location tracking",
        "Project health trends",
        "Regression detection",
        "Before/after metrics comparison",
        "Improvement percentage calculations",
        "Integration with CI/CD"
      ],
      "validation": "Check that compare command features and workflow integration are documented",
      "auto_generated": true,
      "source_feature": "compare_command"
    },
    {
      "id": "validation-gates",
      "title": "Validation and Quality Gates",
      "file": "book/src/validation-gates.md",
      "topics": [
        "Validate command usage",
        "Debt density thresholds",
        "Quality gate configuration",
        "CI/CD integration",
        "Exit codes and automation",
        "Custom validation rules"
      ],
      "validation": "Check that validate command and quality gate configuration are documented",
      "auto_generated": true,
      "source_feature": "validate_command"
    },
    {
      "id": "error-handling-analysis",
      "title": "Error Handling Analysis",
      "file": "book/src/error-handling-analysis.md",
      "topics": [
        "Error swallowing detection",
        "Error propagation patterns",
        "Panic pattern detection",
        "Python error handling patterns",
        "Best practices",
        "Severity levels",
        "Recommendations"
      ],
      "validation": "Check that all error handling patterns are documented with detection criteria",
      "auto_generated": true,
      "source_feature": "error_handling_patterns"
    },
    {
      "id": "architectural-analysis",
      "title": "Architectural Analysis",
      "file": "book/src/architectural-analysis.md",
      "topics": [
        "Circular dependency detection",
        "Coupling metrics (afferent, efferent)",
        "Bidirectional dependencies",
        "Stable dependencies principle",
        "Zone of pain detection",
        "Zone of uselessness detection",
        "Code duplication detection",
        "Refactoring recommendations"
      ],
      "validation": "Check that architectural pattern detection and coupling analysis are documented",
      "auto_generated": true,
      "source_feature": "architectural_patterns"
    },
    {
      "id": "multi-pass-analysis",
      "title": "Multi-Pass Analysis",
      "file": "book/src/multi-pass-analysis.md",
      "topics": [
        "Multi-pass analysis overview",
        "Complexity attribution",
        "Attribution display options",
        "Configuration and usage",
        "Performance considerations"
      ],
      "validation": "Check that multi-pass analysis and attribution features are documented",
      "auto_generated": true,
      "source_feature": "multi_pass_analysis"
    },
    {
      "id": "functional-analysis",
      "title": "Functional Composition Analysis",
      "file": "book/src/functional-analysis.md",
      "topics": [
        "AST-based functional analysis",
        "Pure function detection",
        "Side effect detection",
        "Composition pattern recognition",
        "Purity profiles (strict, balanced, lenient)",
        "Scoring and distribution analysis"
      ],
      "validation": "Check that functional composition analysis features are documented",
      "auto_generated": true,
      "source_feature": "functional_composition"
    },
    {
      "id": "threshold-configuration",
      "title": "Threshold Configuration",
      "file": "book/src/threshold-configuration.md",
      "topics": [
        "Threshold presets (strict, balanced, lenient)",
        "Custom threshold configuration",
        "Language-specific thresholds",
        "Cyclomatic complexity thresholds",
        "God object thresholds",
        "Tuning guidelines"
      ],
      "validation": "Check that all threshold presets and configuration options are documented",
      "auto_generated": true,
      "source_feature": "threshold_presets"
    },
    {
      "id": "dead-code-analysis",
      "title": "Dead Code Analysis",
      "file": "book/src/dead-code-analysis.md",
      "topics": [
        "Public API detection heuristics",
        "Confidence thresholds",
        "Dead code identification",
        "Configuration options",
        "Best practices"
      ],
      "validation": "Check that dead code analysis and public API detection are documented",
      "auto_generated": true,
      "source_feature": "dead_code_analysis"
    },
    {
      "id": "call-graph-analysis",
      "title": "Call Graph Analysis",
      "file": "book/src/call-graph-analysis.md",
      "topics": [
        "AST-based call graph construction",
        "Trait method resolution",
        "Macro expansion tracking",
        "Import and module path resolution",
        "Caller/callee relationship tracking",
        "Critical path identification",
        "Circular dependency detection",
        "Call graph validation and debugging",
        "Parallel call graph construction",
        "External crate call filtering",
        "Dependency display in output",
        "Configurable caller/callee limits"
      ],
      "validation": "Check that call graph construction, resolution mechanisms, and visualization options are documented",
      "auto_generated": true,
      "source_feature": "call_graph_analysis"
    },
    {
      "id": "boilerplate-detection",
      "title": "Boilerplate Detection",
      "file": "book/src/boilerplate-detection.md",
      "topics": [
        "Detection criteria for repetitive patterns",
        "Trait implementation analysis",
        "Method uniformity calculation",
        "Pattern types (trait implementations, builders, state machines)",
        "Boilerplate scoring algorithm",
        "Macro-ification recommendations",
        "Configuration and thresholds",
        "Alternative approaches (code generation, generics)"
      ],
      "validation": "Check that boilerplate detection criteria, pattern types, and macro recommendations are documented",
      "auto_generated": true,
      "source_feature": "boilerplate_detection"
    },
    {
      "id": "test-quality-analysis",
      "title": "Test Quality Analysis",
      "file": "book/src/test-quality-analysis.md",
      "topics": [
        "Assertion pattern detection",
        "Test complexity analysis",
        "Flaky test detection",
        "Framework detection",
        "Test type classification (unit, integration, property)",
        "Fast vs slow test detection",
        "Test quality recommendations"
      ],
      "validation": "Check that test quality detection patterns and classification are documented",
      "auto_generated": true,
      "source_feature": "test_quality_analysis"
    },
    {
      "id": "semantic-classification",
      "title": "Semantic Classification",
      "file": "book/src/semantic-classification.md",
      "topics": [
        "Function role detection",
        "Pure logic functions",
        "Orchestrator functions",
        "I/O wrapper functions",
        "Entry point detection",
        "Pattern match functions",
        "AST-based role detection",
        "Role-specific coverage expectations",
        "Scoring adjustments by role"
      ],
      "validation": "Check that semantic role classification and detection criteria are documented",
      "auto_generated": true,
      "source_feature": "semantic_classification"
    }
  ]
}