When developing short-run cost curves, it is assumed that all firms in perfect competition have the same cost curves and they all make identical short-run profits or losses.
Contrast this to the real world and why individual firms might experience different cost curves and different profits.