code: public EnvironmentMode determineEnvironmentMode() {
          if (environmentMode == EnvironmentMode.PRODUCTION) {
              environmentMode = EnvironmentMode.NON_REPRODUCIBLE;
          }
          return defaultIfNull(environmentMode, EnvironmentMode.REPRODUCIBLE);
      }
docs: ************************************************************************