Skip to content

Random seeds are reused between experiments in same Ert instance #12538

@SAKavli

Description

@SAKavli

I added:

print(random_seed)

to sample_prior() in sample_prior.py.

When I run multiple experiments using the same Ert instance, they have the same random seed.
I would expect the sampled values between experiments to be different, but they are the same.

This can be recreated by running a test-data example without hardcoded random seed twice.

Screen.Recording.2025-12-21.at.11.12.01.mov

I was curious if this is a bug or not, hence needs-discussion label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions