hunk.code_window: SAMPLE_CLUSTER_CONFIG = copy.deepcopy(MULTI_WORKER_CLUSTER)
   SAMPLE_CLUSTER_CONFIG["min_workers"] = 0
   SAMPLE_CLUSTER_CONFIG["max_workers"] = 9999
   SAMPLE_CLUSTER_CONFIG["target_utilization_fraction"] = 1.0
   SAMPLE_CLUSTER_CONFIG["available_node_types"]["m4.16xlarge"][
       "max_workers"] = 100
   SAMPLE_CLUSTER_CONFIG["available_node_types"]["m4.4xlarge"][
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit: SAMPLE_CLUSTER_CONFIG["target_utilization_fraction"] = 0.5
  
hunk.file_path: python/ray/tests/test_autoscaling_policy.py
hunk.type: replace
file: #pragma once
  
  #include <cstdint>
  #include <iostream>
  
  #define RESOURCE_UNIT_SCALING 10000
  
  /// Fixed point data type.
  class FixedPoint {
   private:
    int64_t i_;
  
   public:
    FixedPoint(double d = 0);
    FixedPoint(int i);
  
    FixedPoint operator+(FixedPoint const &ru);
  
    FixedPoint operator+=(FixedPoint const &ru);
  
    FixedPoint operator-(FixedPoint const &ru);
  
    FixedPoint operator-=(FixedPoint const &ru);
  
    FixedPoint operator-() const;
  
    FixedPoint operator+(double const d);
  
    FixedPoint operator-(double const d);
  
    FixedPoint operator=(double const d);
  
    bool operator<(FixedPoint const &ru1) const;
    bool operator>(FixedPoint const &ru1) const;
    bool operator<=(FixedPoint const &ru1) const;
    bool operator>=(FixedPoint const &ru1) const;
    bool operator==(FixedPoint const &ru1) const;
    bool operator!=(FixedPoint const &ru1) const;
  
    double Double() const;
  
    friend std::ostream &operator<<(std::ostream &out, FixedPoint const &ru1);
  };
  