@extends('layouts.app') @section('content')

{{ __('Algorithms') }}: {{ $test->trans('name') }}

@if(session('success')) @endif
{{ __('About Algorithms') }}: {{ __('Algorithms generate feedback text based on test scores. Each algorithm has conditions that must all be met for its feedback to be shown.') }}
@if($algorithms->count() > 0) @foreach($algorithms as $index => $algorithm) @endforeach
# {{ __('Name') }} {{ __('Conditions') }} {{ __('Summary') }} {{ __('Actions') }}
{{ $index + 1 }} {{ $algorithm->name }} {{ $algorithm->conditions->count() }} @if($algorithm->is_summary) {{ __('Yes') }} @else {{ __('No') }} @endif {{ __('Edit') }}
@csrf @method('DELETE')
@else

{{ __('No algorithms yet. Algorithms are optional - they generate automatic feedback based on scores.') }}

@endif
@endsection