       ${performance.partitionsScanned ? `${performance.partitionsScanned} partitions scanned` : ''}
            `;

            // Clear and populate results
            resultsContainer.innerHTML = '';

            results.forEach(result => {
                const resultElement = document.createElement('div');
                resultElement.className = 'result-item';
                
                const metadata = result.metadata || {};
                const priceChange = metadata.price_change || 0;
    