deterministiccode
nounUK /dɪˌtɜːmɪˈnɪstɪk kəʊd/
US /dɪˌtɜːrmɪˈnɪstɪk koʊd/
Code that always does the same thing when you give it the same input.
Because the program used deterministic code, running the test twice gave the exact same result.
OTHER MEANINGS
2. Software whose behavior is fully decided by its starting state and inputs, with no randomness.
The game's enemy movement uses deterministic code, so players can learn the pattern.
3. A style of programming that avoids random choices so results can be checked again and again.
The team rewrote the simulation with deterministic code to make bugs easier to find.
4. Instructions that produce the same outcome every time they run on the same data.
Our backup script is deterministic code, so we trust it to copy files the same way each night.