code: def test_strict_value_repr(ray_start_regular_shared):
      ds = ray.data.from_items([{"__value__": np.ones(10)}])
  
      ds = ds.map_batches(lambda x: {"__value__": x["__value__"] * 2})
      ds = ds.map(lambda x: {"x": x["__value__"] * 2})
      assert np.array_equal(ds.take()[0]["x"], 4 * np.ones(10))
      assert np.array_equal(ds.take_batch()["x"][0], 4 * np.ones(10))
  
file_path: ray/python/ray/data/tests/test_strict_mode.py
imports: from collections import UserDict
  import numpy
  import pytest
  import ray
  from ray.data.tests.conftest import *
  from ray.tests.conftest import *
label_desc: Use image node_id 7 for calling a global function with example usage: test_strict_value_repr(ray_start_regular_shared) without return types