From dd7cb0ffbb8c5b3bad320e4d27bd81cced3a9038 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 10 Dec 2015 14:06:17 +0100 Subject: Add copyright info --- monkey/__init__.py | 16 +++++++++++++++- monkey/action.py | 16 ++++++++++++++++ monkey/edits.py | 16 +++++++++++++++- monkey/graph.py | 16 +++++++++++++++- monkey/test.py | 16 +++++++++++++++- monkey/util.py | 16 +++++++++++++++- 6 files changed, 91 insertions(+), 5 deletions(-) mode change 100755 => 100644 monkey/action.py (limited to 'monkey') 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 . import math import time diff --git a/monkey/action.py b/monkey/action.py old mode 100755 new mode 100644 index 1b036d6..4ad0f6c --- 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 . + 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 . 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 . 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 . 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 . from heapq import heappush, heappop import itertools -- cgit v1.2.1