{
  "item_type": "subsection",
  "chapter_id": "analysis-guide",
  "subsection_id": "example-outputs",
  "subsection_title": "Example Outputs",
  "subsection_file": "book/src/analysis-guide/example-outputs.md",
  "feature_mappings": [],
  "drift_detected": false,
  "severity": "low",
  "quality_assessment": "Documentation is accurate and comprehensive. JSON examples correctly use the unified format (spec 108) with proper field structure. Terminal examples accurately reflect actual output. All internal links are valid.",
  "issues": [
    {
      "type": "minor_style",
      "severity": "low",
      "section": "Next Steps",
      "description": "Redundant path in Advanced Features link",
      "current_content": "[Advanced Features](../analysis-guide/advanced-features.md)",
      "should_be": "[Advanced Features](./advanced-features.md)",
      "fix_suggestion": "Simplify to relative path within same directory",
      "note": "Link is functional, just unnecessarily complex"
    },
    {
      "type": "minor_accuracy",
      "severity": "low",
      "section": "Source References",
      "description": "Line number references in source documentation may drift as code evolves",
      "affected_references": [
        "src/output/unified.rs:FunctionDebtItemOutput (lines 158-183) - verify periodically",
        "src/priority/semantic_classifier/mod.rs:25-33 - verify periodically"
      ],
      "fix_suggestion": "Consider using function/struct names rather than line numbers for stable references"
    }
  ],
  "positive_aspects": [
    "JSON examples correctly use unified format with 'type': 'Function' tagging (spec 108)",
    "All JSON fields match actual implementation: score, category, priority, location, metrics, debt_type, function_role, dependencies, recommendation, impact, scoring_details",
    "Priority values correctly shown as lowercase: critical, high, medium, low",
    "debt_type correctly shown as tagged enum with variant-specific data (e.g., ComplexityHotspot with cyclomatic and cognitive)",
    "Function role classification accurately documented with all roles: PureLogic, Orchestrator, IOWrapper, EntryPoint, PatternMatch, Debug, Unknown",
    "Entropy-dampened validation example correctly shows adjusted_complexity and dampening_factor fields",
    "Pattern detection example correctly shows pattern_type, pattern_confidence, and pattern_details fields",
    "File-level debt example correctly shows god_object_indicators structure",
    "Summary statistics example correctly shows format_version, metadata, summary, and items structure",
    "Test file detection example correctly shows file_context_label field",
    "Terminal output examples accurately reflect actual formatting with box-drawing characters",
    "Before/after comparison example demonstrates real improvement workflow",
    "Well-tested complex function example effectively demonstrates good practices",
    "All internal links (output-formats.md, configuration.md, advanced-features.md) resolve correctly"
  ],
  "improvement_suggestions": [
    "Simplify the Advanced Features link from '../analysis-guide/advanced-features.md' to './advanced-features.md'",
    "Consider adding example showing cohesion metrics if file has them (spec 198)",
    "Could add example showing context suggestion output for AI agents (spec 263)"
  ],
  "cross_references": [
    "output-formats.md",
    "configuration.md",
    "advanced-features.md"
  ],
  "verified_accuracy": {
    "priority_thresholds": {
      "documented": "critical >= 100, high >= 50, medium >= 20, low < 20",
      "actual": "Matches src/output/unified/priority.rs:16-19",
      "status": "correct"
    },
    "function_role_enum": {
      "documented": "PureLogic, Orchestrator, IOWrapper, EntryPoint, PatternMatch, Debug, Unknown",
      "actual": "Matches src/priority/semantic_classifier/mod.rs:25-33",
      "status": "correct"
    },
    "pattern_confidence_threshold": {
      "documented": "0.7",
      "actual": "Matches src/io/writers/pattern_display.rs:10 PATTERN_CONFIDENCE_THRESHOLD",
      "status": "correct"
    },
    "debt_type_structure": {
      "documented": "Tagged enum with variant-specific data",
      "actual": "Matches src/priority/debt_types.rs DebtType enum serialization",
      "status": "correct"
    },
    "unified_output_structure": {
      "documented": "format_version, metadata, summary, items",
      "actual": "Matches src/output/unified/types.rs:14-20 UnifiedOutput",
      "status": "correct"
    }
  },
  "metadata": {
    "analyzed_at": "2025-12-27T08:30:00Z",
    "feature_inventory": ".prodigy/book-analysis/features.json",
    "topics_covered": [
      "Terminal output examples",
      "JSON output examples",
      "Before/after comparisons"
    ],
    "validation_focus": "Verify examples are realistic and helpful",
    "key_implementation_files_verified": [
      "src/output/unified/types.rs",
      "src/output/unified/func_item.rs",
      "src/output/unified/file_item.rs",
      "src/output/unified/priority.rs",
      "src/priority/semantic_classifier/mod.rs",
      "src/io/writers/pattern_display.rs"
    ]
  }
}
