class_docstr: State transition logic
class_docstr_tok: ["State","transition","logic"]
docstr: Check if we have exceeded the rate limit of bisects per day.
docstr_tok: ["Check","if","we","have","exceeded","the","rate","limit","of","bisects","per","day","."]
code: def _bisect_rate_limit_exceeded(self) -> bool:
      """
      Check if we have exceeded the rate limit of bisects per day.
      """
      builds = self.ray_buildkite.builds().list_all_for_pipeline(
          BUILDKITE_ORGANIZATION,
          BUILDKITE_BISECT_PIPELINE,
          created_from=datetime.now() - timedelta(days=1),
          branch="master",
      )
      return len(builds) >= MAX_BISECT_PER_DAY
  
file_path: ray/release/ray_release/test_automation/release_state_machine.py
imports: from datetime import datetime, timedelta
  from ray_release.test_automation.state_machine import TestStateMachine, DEFAULT_ISSUE_OWNER
  from ray_release.test import Test, TestState
  from ray_release.logger import logger
label_desc: Use image node_id 9 for calling the ReleaseTestStateMachine obj's underlying member method code with example usage: obj._bisect_rate_limit_exceeded() and returns: unknown