Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37484036
en ru br
Репозитории ALT

Группа :: Обучение
Пакет: moodle-qtype_coderunner

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:    moodle-qtype_coderunner
Version: 4.0.2
Release: alt2

Summary: A moodle quiz question type that runs student-submitted program code in a sandbox to check if it satisfies a given set of tests
License: GPL-3.0+
Group:   Education
Url:     http://coderunner.org.nz/
# VCS: https://github.com/trampgeek/moodle-qtype_coderunner

Packager: Andrey Cherepanov <cas at altlinux.org>

Source: %name-%version.tar
Patch1: alt-jobe-host-default.patch

BuildArch: noarch

BuildRequires(pre): rpm-macros-moodle
BuildRequires: rpm-build-python
BuildRequires: rpm-build-python3

Requires: moodle-base >= 3.8.0
Requires: moodle-qbehaviour_adaptive_adapted_for_coderunner
Requires: jobe
Requires: jobe-apache2

%description
CodeRunner is a Moodle question type that allows teachers to run a program in
order to grade a student's answer. By far the most common use of CodeRunner is
in programming courses where students are asked to write program code to some
specification and that code is then graded by running it in a series of tests.
CodeRunner questions have also been used in other areas of computer science and
engineering to grade questions in which many different correct answers are
possible and a program must be used to assess correctness.

Regardless of the behaviour chosen for a quiz, CodeRunner questions always run
in an adaptive mode, in which students can click a Check button to see if their
code passes the tests defined in the question. If not, students can  resubmit,
typically for a small penalty. In the typical 'all-or-nothing' mode, all test
cases must pass if the submission is to be awarded any marks. The mark for a
set of questions in a quiz is then determined primarily by which questions the
student is able to solve successfully and then secondarily by how many
submissions the student makes on each question. However, it is also possible to
configure CodeRunner questions so that the mark is determined by how many of
the tests the code successfully passes.

%prep
%setup
%patch1 -p1

%install
mkdir -p %buildroot%moodle_questiondir/type/coderunner
cp -a * %buildroot%moodle_questiondir/type/coderunner

%files
%doc *.md
%moodle_questiondir/type/coderunner

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin