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

Incorrect change in efficiency when marking a task with modified deadline #5588

Open
nus-pe-bot opened this issue Apr 19, 2024 · 1 comment

Comments

@nus-pe-bot
Copy link

nus-pe-bot commented Apr 19, 2024

Describe the bug
The app allows editing the deadline of a task to a past timestamp. When marking a task with modified deadline like this, the efficiency of the task owner does not change (decrease) as specified in the UG.

To Reproduce
Steps to reproduce the behavior:

  1. Assign a task to an employee:
    assign task/Complete Project Proposal 2 by/20-05-2024 2359 to/1

  2. Edit the deadline to the past:
    edit_deadline 1 by/12-02-2020 2320

  3. Mark that task as done:
    mark task/Complete Project Proposal 2 o/1

  4. Observe the efficiency of the task owner.

Expected behavior
The efficiency of the task owner should decrease.

Actual behavior
The efficiency of the task owner increased.

Screenshots
Before marking:

image.png

After marking:

image.png

Efficiency of Alex Yeoh increased from 80% to 100%

Desktop:

  • OS: Windows 10
  • Browser
  • Version

[original: nus-cs2103-AY2324S2/pe-interim#5586] [original labels: type.FunctionalityBug severity.Medium]
@wolffe88
Copy link

Team's Response

No details provided by team.

Duplicate status (if any):

--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants