Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: waiting time and turnaround time calculation #101

Merged
merged 1 commit into from
May 2, 2024

Conversation

dongyuanjushi
Copy link
Collaborator

fix the calculation with following two points

  1. accumulation_time should be accumulation_time += (agent_turnaround_time. - agent_waiting_time)
  2. In sequential execution, only the first request of the agent will wait much longer, as an agent's remaining request will be executed once they have been put into the queue, so only the first element of request_waiting_times and request_turnaround_times should add the accumulated time

@dongyuanjushi dongyuanjushi added the bug report bugs that need to be fixed label May 2, 2024
@dongyuanjushi dongyuanjushi requested a review from TataKKKL May 2, 2024 14:10
@TataKKKL TataKKKL merged commit b8c12cd into agiresearch:main May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report bugs that need to be fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants