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: rules for deleting SCORE and MAXSCORE outcomes #405

Conversation

viktar-dzmitryieu-tao
Copy link
Contributor

@viktar-dzmitryieu-tao viktar-dzmitryieu-tao commented Jun 13, 2024

Ticket: https://oat-sa.atlassian.net/browse/AUT-3693

What's Changed

  • Fixed rules for Deleting SCORE and MAX_SCORE and applying Default SCORE Value
  • The SCORE and MAX_SCORE will be deleted when response processing is none and all other outcomes marked with External scored = none
  • The SCORE and MAX_SCORE will NOT be deleted when response processing is none and at least one outcome marked with External scored with Human or External machine
  • The default value 0 will be applied for SCORE outcome for the case described just above

How to test

  • Create a test and check the cases described in What's Changed section.

The changes applied in scope of oat-sa/extension-tao-itemqti#2524
Deployed to http://test-viktar.playground.kitchen.it.taocloud.org:41531/tao/Main/login

Copy link

github-actions bot commented Jun 13, 2024

Coverage Report

Totals Coverage
Statements: 67.53% ( 9180 / 13593 )
Methods: 69.57% ( 1056 / 1518 )
Lines: 72.03% ( 5449 / 7565 )
Branches: 59.31% ( 2675 / 4510 )

StandWithUkraine

Copy link
Contributor

@jsconan jsconan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks ok. Validated with unit tests.

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code respects code style rules
  • New code respects best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic

Copy link

Version

Target Version 2.3.2
Last version 2.3.1

There are 0 BREAKING CHANGE, 0 feature, 3 fixes

@viktar-dzmitryieu-tao viktar-dzmitryieu-tao merged commit 1d33fa9 into develop Jun 24, 2024
1 of 2 checks passed
@viktar-dzmitryieu-tao viktar-dzmitryieu-tao deleted the fix/AUT-3693/score-and-maxscore-variables-deleting branch June 24, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants