#!/usr/bin/env python3 """ Update coverage gutters configuration and fix coverage paths. This script ensures Coverage Gutters can properly display coverage information. """ import os import json def main(): """Main function to fix coverage gutters configuration.""" print("=== Coverage Gutters Fix ===") print(f"Current working directory: {os.getcwd()}") # 1. Check if coverage.xml exists if os.path.exists('coverage.xml'): print("✓ coverage.xml exists") # Check file size and basic content size = os.path.getsize('coverage.xml') print(f"✓ coverage.xml size: {size} bytes") # Read first few lines to verify it's valid XML try: with open('coverage.xml', 'r') as f: first_line = f.readline().strip() if first_line.startswith('