Analyzes the density of code applications across the text by calculating overall density metrics and identifying regions of dense coding activity.
analyze_code_distribution(annotations)List containing:
overall_density: Numeric value representing the proportion of text covered by codes
dense_regions: List of vector pairs indicating start and end positions of dense regions
Data frame containing annotations with columns:
start: numeric, starting position of annotation
end: numeric, ending position of annotation