Skip to content

Refactor E2509 Reimplement feedback_response_map.rb#293

Open
aanand-1706 wants to merge 36 commits intoexpertiza:mainfrom
aanand-1706:refactor-2509
Open

Refactor E2509 Reimplement feedback_response_map.rb#293
aanand-1706 wants to merge 36 commits intoexpertiza:mainfrom
aanand-1706:refactor-2509

Conversation

@aanand-1706
Copy link
Copy Markdown
Contributor

@aanand-1706 aanand-1706 commented Feb 23, 2026

PR being refactored: #182

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 23, 2026

2 Warnings
⚠️ Pull request is too big (more than 500 LoC).
⚠️ RSpec tests seem shallow (single it blocks or no context). Consider improving test structure.

Generated by 🚫 Danger

@vihar2712 vihar2712 requested a review from efg March 9, 2026 17:47
# Add other response map type email services as needed
end

# Gets all active questions that can be scored
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Isn't the code for calculating scores done with a mixin?

self.responses.where(is_submitted: true).exists?
end

# Generate a report for responses grouped by rounds
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Again, I think reporting should be done in other classes.

# Groups responses by their round number
# @param responses [ActiveRecord::Relation] the responses to group
# @return [Hash] responses grouped by round number
def self.group_responses_by_round(responses)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Six class methods is too many. Refactor.

@aanand-1706 aanand-1706 changed the title Refactor https://github.com/expertiza/reimplementation-back-end/pull/182 Refactor E2509 Reimplement feedback_response_map.rb Mar 11, 2026
@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

1 similar comment
@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present
rspec ./spec/models/response_spec.rb:25 # Response#reportable_difference? when count is 0 returns false
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

1 similar comment
@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present

before_action :set_response_map, only: [:show, :update, :destroy, :submit_response]

# Lists all response maps in the system
# GET /response_maps
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove this method. You would never want to list all response maps.

head :no_content
end

# Handles the submission of a response associated with a response map
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No, this should "obviously" be a method of responses_controller instead.

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

1 similar comment
@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

2 similar comments
@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/feedback_response_map_spec.rb:5 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:15 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:26 # FeedbackResponseMap#get_title returns the correct title constant
rspec ./spec/models/feedback_response_map_spec.rb:57 # FeedbackResponseMap#assignment returns the assignment associated with this FeedbackResponseMap
rspec ./spec/models/feedback_response_map_spec.rb:63 # FeedbackResponseMap#title returns "Feedback"
rspec ./spec/models/feedback_response_map_spec.rb:69 # FeedbackResponseMap#questionnaire returns an AuthorFeedbackQuestionnaire
rspec ./spec/models/feedback_response_map_spec.rb:75 # FeedbackResponseMap#contributor returns the reviewee
rspec ./spec/models/feedback_response_map_spec.rb:81 # FeedbackResponseMap#reviewer returns the reviewer
rspec ./spec/models/feedback_response_map_spec.rb:87 # FeedbackResponseMap#round returns the round number of the original review
rspec ./spec/models/feedback_response_map_spec.rb:93 # FeedbackResponseMap#round returns nil if the round number is not present
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

1 similar comment
@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

1 similar comment
@github-actions
Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true

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.

2 participants