code: def __init__(self, total_num_samples: int):
      self.total_num_samples = total_num_samples
      self.num_samples_completed_per_task = {}
  
file_path: ray/doc/source/ray-core/doc_code/monte_carlo_pi.py
imports: import ray
  import math
  import time
  import random
label_desc: Use image node_id 1 to create a new ProgressActor object  with example: obj = ProgressActor(total_num_samples)