summaryrefslogtreecommitdiff
path: root/monkey
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-12-10 14:06:17 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-12-10 14:06:17 +0100
commitdd7cb0ffbb8c5b3bad320e4d27bd81cced3a9038 (patch)
tree563697c8c7b946ea674925a9a8aaedfe92e23e2a /monkey
parent655d894cce5b0f01567d0a3e94bbb9cad024ad3e (diff)
Add copyright info
Diffstat (limited to 'monkey')
-rwxr-xr-xmonkey/__init__.py16
-rw-r--r--[-rwxr-xr-x]monkey/action.py16
-rw-r--r--monkey/edits.py16
-rw-r--r--monkey/graph.py16
-rwxr-xr-xmonkey/test.py16
-rw-r--r--monkey/util.py16
6 files changed, 91 insertions, 5 deletions
diff --git a/monkey/__init__.py b/monkey/__init__.py
index 6577450..09f77b0 100755
--- a/monkey/__init__.py
+++ b/monkey/__init__.py
@@ -1,4 +1,18 @@
-#!/usr/bin/python3
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import math
import time
diff --git a/monkey/action.py b/monkey/action.py
index 1b036d6..4ad0f6c 100755..100644
--- a/monkey/action.py
+++ b/monkey/action.py
@@ -1,5 +1,21 @@
#!/usr/bin/python3
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
class Action:
# type ∈ ['insert', 'remove', 'solve', 'solve_all', 'next', 'stop', 'test', 'hint']
# time: absolute elapsed time since the attempt started, in ms
diff --git a/monkey/edits.py b/monkey/edits.py
index 5d07bfd..17f13d3 100644
--- a/monkey/edits.py
+++ b/monkey/edits.py
@@ -1,4 +1,18 @@
-#!/usr/bin/python3
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import collections
import math
diff --git a/monkey/graph.py b/monkey/graph.py
index 7f02c60..8929047 100644
--- a/monkey/graph.py
+++ b/monkey/graph.py
@@ -1,4 +1,18 @@
-#!/usr/bin/python3
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
class Node(object):
def __init__(self, data, eout=None):
diff --git a/monkey/test.py b/monkey/test.py
index 03f3571..58989d8 100755
--- a/monkey/test.py
+++ b/monkey/test.py
@@ -1,4 +1,18 @@
-#!/usr/bin/python3
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
import pickle
diff --git a/monkey/util.py b/monkey/util.py
index 93c6d94..da04828 100644
--- a/monkey/util.py
+++ b/monkey/util.py
@@ -1,4 +1,18 @@
-#!/usr/bin/python3
+# CodeQ: an online programming tutor.
+# Copyright (C) 2015 UL FRI
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
from heapq import heappush, heappop
import itertools