@extends('layouts.master') @section('navigation') @include('local.managers.admins._navigation') @stop @section('main')

This report contains performance information for all Schools and Programs with assessed courses during the following semester(s):

Unlinked programs did not assess this outcome.

{{ $outcome->name }}

@foreach ($schools as $school) @foreach ($school->programs as $program) @if($program->assessesOutcome($outcome->id)) @else @endif @endforeach @endforeach
School or College Academic Program Assesses Outcome Findings
{{ $school->name }} {{ $program->name }} Yes @foreach($program->courses as $course_index => $course) whereNotNull('outcomes_attempted') // ->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\'') ->with(array('activities'=>function($query) use(&$outcome){ // $query->whereNotNull('outcomes_attempted'); // $query->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\'');} )) // $query->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\''); } )) ->where('code', $course->code)->where('number',$course->number) ->whereIn('semester_id', Session::get('semesters_ids')) ->get();*/ $sections_evaluating_outcome = Course::has('activities') ->with(array('activities'=>function($query) use(&$outcome, &$course){ $activities = DB::table('activities') ->join('activity_criterion', 'activity_criterion.activity_id', '=', 'activities.id') ->join('assessments', 'assessments.activity_criterion_id', '=','activity_criterion.id') ->join('criterion_objective_outcome', 'activity_criterion.criterion_id', '=', 'criterion_objective_outcome.criterion_id') ->join('courses','courses.id','=','activities.course_id') ->where('courses.code', $course->code) ->where('courses.number',$course->number) ->where('criterion_objective_outcome.outcome_id', $outcome->id) ->select('activity_id') ->lists('activity_id'); $query->whereIn('id', $activities); } )) ->where('code', $course->code)->where('number',$course->number) ->whereIn('semester_id', Session::get('semesters_ids')) ->get(); ?> @if(count($sections_evaluating_outcome))

{{ $course->code}}-{{ $course->number }}

@foreach($sections_evaluating_outcome as $section_index => $section)
Instance {{ $section_index + 1}}
@foreach($section->activities as $activity_index => $activity) o_att_array); Log::info(array_key_exists($outcome->id, $activity->o_att_array)); Log::info($activity->o_att_array[$outcome->id] >=1); Log::info(isset($section)); Log::info($activity->rubric[0]); ?> @if($activity->draft == 0 &&$activity->diagnostic==0 && array_key_exists($outcome->id, $activity->o_att_array) && $activity->o_att_array[$outcome->id] >=1 && isset($section)&& isset($activity->rubric[0]))
Measure {{ $activity_index + 1 }}
code); var_dump($section->number); var_dump($section->name); var_dump($outcome->name); var_dump(date('M Y', strtotime($activity->date))); var_dump($activity->name); var_dump(count($section->students)); print"
"; print "A rubric was used in the $section->code-$section->number ($section->name) course (". date('M Y', strtotime($activity->date)).") to assess students’ ". strtolower($outcome->name) ." in the activity: '$activity->name '. N= ". count($section->students); exit(); */ ?>

A rubric was used in the {{ $section->code }}-{{ $section->number }} ({{ $section->name }}) course ({{ date('M Y', strtotime($activity->date))}}) to assess students’ {{ strtolower($outcome->name) }} in the activity: "{{ $activity->name }}". N= {{ count($section->students) }}.

The expected performance level was that {{ $activity->rubric[0]->expected_percentage }}% of students participating in the activity would score {{ $activity->rubric[0]->expected_points }} points or more in the 1-{{$activity->rubric[0]->max_score}} point scale used.

The results for each criterion were as follows:

rubric->contents); ?> @foreach((array)$activity->cap_array as $criterion_id => $criterion) @if(in_array($outcome->id, json_decode($criterion->outcome_id)) /*== $outcome->id*/ && $criterion->score_percentage >= $activity->rubric[0]->expected_percentage ) @elseif(in_array($outcome->id, json_decode($criterion->outcome_id)) && $criterion->score_percentage < $activity->rubric[0]->expected_percentage ) @endif @endforeach
{{ $criterion->name }} {{ $criterion->score_percentage }}%
{{ $criterion->name }} {{ $criterion->score_percentage }}%

o_att_array; $o_ach_array = $activity->o_ach_array; $percentage = ($o_ach_array[$outcome->id]/$o_att_array[$outcome->id])*100; ?> @if($percentage >= 100) The expected goal was reached in all (100%) of the criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was met. @elseif ($percentage < 1) The expected goal was reached in none (0%) of the criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was not met. @elseif ($percentage >= $outcome->expected_outcome) The expected goal was reached in {{ $o_ach_array[$outcome->id] }} out of the {{ $o_att_array[$outcome->id] }} ({{ round($percentage, 2) }}%) criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was met. @elseif ($percentage < $outcome->expected_outcome) The expected goal was reached in {{ $o_ach_array[$outcome->id] }} out of the {{ $o_att_array[$outcome->id] }} ({{ round($percentage, 2) }}%) criteria assessed. Therefore, the goal for this outcome ({{ $outcome->expected_outcome }}%) was not met. @endif

Transformative Actions
@if($activity->transforming_actions) {{ $activity->transforming_actions }} @else None @endif

@else
Measure {{ $activity_index + 1 }}
Outcome not measured. @endif @endforeach @endforeach
@endif @endforeach
{{ $school->name }} {{ $program->name }} No This program did not assess {{ $outcome->name }}.
@stop @section('included-js') @include('global._datatables_js') @stop @section('javascript') // Build table of contents var outcome = $('.outcome'); var str =''; str+='
  • '+outcome.text()+'
      '; /*$('[id^='+outcome.attr('id')+'-].school:visible').each(function(e){ var school = $(this); str+='
    1. '+school.text()+'
        '; $('[id^='+school.attr('id')+'-].program:visible').each(function(e){ var program = $(this); if(!program.hasClass('no-courses')) str+='
      1. '+program.text()+'
      2. '; else str+='
      3. '+program.text()+'
      4. '; }); str+='
    2. '; });*/ str+='
  • '; //$('#table-of-contents').append(str); // ---------------------------------------------------------------------------- // Events // $('.to-top').on('click', function(e) { e.preventDefault(); $(this).scrollTop(0); $('html').animate({scrollTop:0}, 1); $('body').animate({scrollTop:0}, 1); }) @stop