PID temperature controller

I have a vendor-programmed PID loop within some of my robots that seems slightly off. For example, they are not using time to calculate the Kd part correctly. It oscillates pretty badly when near the set point. Does anyone have a working implementation of a PID loop for temperature control in polyscope they can share? It is running in a thread.