Skip to content

Commit

Permalink
Remove confidence score manager or team leader and other files (#1391)
Browse files Browse the repository at this point in the history
  • Loading branch information
martikat authored Nov 19, 2024
1 parent ca43eff commit d747979
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 107 deletions.

This file was deleted.

3 changes: 0 additions & 3 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ def test_user?
scope :with_feedback, -> { joins(:responses).merge(Response.feedback) }

# confidence
scope :role_type_leader, -> { where("lower(role_type_other) LIKE '%lead%'") }
scope :role_type_manager, -> { where("lower(role_type_other) LIKE '%manager%'") }
scope :leader_or_manager_only, -> { where(role_type: 'Manager or team leader') }
scope :leader_or_manager_and_other, -> { where(role_type: 'Manager or team leader').or(role_type_leader).or(role_type_manager) }
scope :with_confidence_score, -> { joins(:responses).merge(Response.confidence) }

# account status
Expand Down
1 change: 0 additions & 1 deletion app/services/dashboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class Dashboard
{ model: 'DataAnalysis::AssessmentForLeadersAndManagers', folder: 'training', file: 'assessments_managers_and_leaders' },
{ model: 'DataAnalysis::ConfidenceCheckScores', folder: 'training', file: 'confidence_check_scores' },
{ model: 'DataAnalysis::ConfidenceCheckScoresForManagerOrLeaderOnly', folder: 'training', file: 'confidence_check_scores_for_manager_or_leader_only' },
{ model: 'DataAnalysis::ConfidenceCheckScoresForManagerOrLeaderAndOther', folder: 'training', file: 'confidence_check_scores_for_manager_or_leader_and_other' },
# { model: 'DataAnalysis::AveragePassScores', folder: 'training', file: 'average_pass_scores' },
# { model: 'DataAnalysis::HighFailQuestions', folder: 'training', file: 'high_fail_questions' },
# { model: 'DataAnalysis::SettingPassRate', folder: 'training', file: 'setting_pass_rate' },
Expand Down

This file was deleted.

0 comments on commit d747979

Please sign in to comment.