Skip to main content
1 of 2

Are Monte Carlo algorithms off-topic by definition?

One of the key requirements for posting here is

working code to the best of our knowledge

Where working means that the code compiles and returns correct results.

Where does that put Monte Carlo algorithms

whose output may be incorrect with a certain (typically small) probability.

Does that mean that they are by default off-topic? (Because they return the wrong result with a certain small probability.)

Is the definition of "working code" another one in this context and if so what should it be?