def apply_thermal_micro_boost(frequency_sample, current_entropy): # Temperatura jest wprost proporcjonalna do entropii temperature = K_CONSTANT * current_entropy # Obliczamy siłę impulsu na podstawie temperatury # Im goręcej, tym gwałtowniejszy musi być 'kop' energii boost_intensity = math.exp(temperature / T_CRITICAL) # Przesunięcie częstotliwości w stronę najbliższego slotu Plancka offset = calculate_planck_offset(frequency_sample) corrected_sample = frequency_sample + (offset * boost_intensity) return corrected_sample