summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prolog/common.py2
-rw-r--r--prolog/problems/clp_fd/common.py2
-rw-r--r--prolog/problems/clp_r/common.py2
-rw-r--r--prolog/problems/dcg/common.py2
-rw-r--r--prolog/problems/denotational_semantics/common.py2
-rw-r--r--prolog/problems/family_relations/common.py2
-rw-r--r--prolog/problems/license_plates/common.py2
-rw-r--r--prolog/problems/lists/common.py2
-rw-r--r--prolog/problems/old_exams/common.py1
-rw-r--r--prolog/problems/other/common.py1
-rw-r--r--prolog/problems/sets/common.py2
-rw-r--r--prolog/problems/sorting/common.py2
-rw-r--r--prolog/problems/trees/common.py2
-rw-r--r--python/common.py2
-rw-r--r--python/problems/functions/common.py1
-rw-r--r--python/problems/introduction/common.py2
-rw-r--r--python/problems/lists_and_for/common.py1
-rw-r--r--python/problems/while_and_if/common.py1
-rw-r--r--robot/common.py2
-rw-r--r--robot/problems/introduction/common.py2
20 files changed, 35 insertions, 0 deletions
diff --git a/prolog/common.py b/prolog/common.py
index 654ab81..1ab4522 100644
--- a/prolog/common.py
+++ b/prolog/common.py
@@ -4,6 +4,8 @@ import operator
import prolog.engine
from server.hints import Hint, HintSequence
+id = 1
+
hint_type = {
'no_hint': Hint('no_hint'),
'program_already_correct': Hint('program_already_correct'),
diff --git a/prolog/problems/clp_fd/common.py b/prolog/problems/clp_fd/common.py
new file mode 100644
index 0000000..3b1f9cf
--- /dev/null
+++ b/prolog/problems/clp_fd/common.py
@@ -0,0 +1,2 @@
+id = 8
+number = 7
diff --git a/prolog/problems/clp_r/common.py b/prolog/problems/clp_r/common.py
new file mode 100644
index 0000000..2238250
--- /dev/null
+++ b/prolog/problems/clp_r/common.py
@@ -0,0 +1,2 @@
+id = 9
+number = 8
diff --git a/prolog/problems/dcg/common.py b/prolog/problems/dcg/common.py
new file mode 100644
index 0000000..4992f2d
--- /dev/null
+++ b/prolog/problems/dcg/common.py
@@ -0,0 +1,2 @@
+id = 10
+number = 9
diff --git a/prolog/problems/denotational_semantics/common.py b/prolog/problems/denotational_semantics/common.py
new file mode 100644
index 0000000..e2c420e
--- /dev/null
+++ b/prolog/problems/denotational_semantics/common.py
@@ -0,0 +1,2 @@
+id = 11
+number = 10
diff --git a/prolog/problems/family_relations/common.py b/prolog/problems/family_relations/common.py
new file mode 100644
index 0000000..5aff819
--- /dev/null
+++ b/prolog/problems/family_relations/common.py
@@ -0,0 +1,2 @@
+id = 1
+number = 1
diff --git a/prolog/problems/license_plates/common.py b/prolog/problems/license_plates/common.py
new file mode 100644
index 0000000..3d15487
--- /dev/null
+++ b/prolog/problems/license_plates/common.py
@@ -0,0 +1,2 @@
+id = 7
+number = 6
diff --git a/prolog/problems/lists/common.py b/prolog/problems/lists/common.py
new file mode 100644
index 0000000..4788fc4
--- /dev/null
+++ b/prolog/problems/lists/common.py
@@ -0,0 +1,2 @@
+id = 2
+number = 2
diff --git a/prolog/problems/old_exams/common.py b/prolog/problems/old_exams/common.py
new file mode 100644
index 0000000..56857ba
--- /dev/null
+++ b/prolog/problems/old_exams/common.py
@@ -0,0 +1 @@
+id = 12
diff --git a/prolog/problems/other/common.py b/prolog/problems/other/common.py
new file mode 100644
index 0000000..50384ad
--- /dev/null
+++ b/prolog/problems/other/common.py
@@ -0,0 +1 @@
+id = 4
diff --git a/prolog/problems/sets/common.py b/prolog/problems/sets/common.py
new file mode 100644
index 0000000..104aa9d
--- /dev/null
+++ b/prolog/problems/sets/common.py
@@ -0,0 +1,2 @@
+id = 5
+number = 4
diff --git a/prolog/problems/sorting/common.py b/prolog/problems/sorting/common.py
new file mode 100644
index 0000000..f006f10
--- /dev/null
+++ b/prolog/problems/sorting/common.py
@@ -0,0 +1,2 @@
+id = 3
+number = 3
diff --git a/prolog/problems/trees/common.py b/prolog/problems/trees/common.py
new file mode 100644
index 0000000..a519878
--- /dev/null
+++ b/prolog/problems/trees/common.py
@@ -0,0 +1,2 @@
+id = 6
+number = 5
diff --git a/python/common.py b/python/common.py
index c754a1a..2d89c19 100644
--- a/python/common.py
+++ b/python/common.py
@@ -3,6 +3,8 @@
import ast
from server.hints import Hint
+id = 2
+
hint_type = {
'no_hint': Hint('no_hint'),
'program_already_correct': Hint('program_already_correct'),
diff --git a/python/problems/functions/common.py b/python/problems/functions/common.py
new file mode 100644
index 0000000..1367877
--- /dev/null
+++ b/python/problems/functions/common.py
@@ -0,0 +1 @@
+id = 17
diff --git a/python/problems/introduction/common.py b/python/problems/introduction/common.py
new file mode 100644
index 0000000..8498d9c
--- /dev/null
+++ b/python/problems/introduction/common.py
@@ -0,0 +1,2 @@
+id = 13
+number = 1
diff --git a/python/problems/lists_and_for/common.py b/python/problems/lists_and_for/common.py
new file mode 100644
index 0000000..b490107
--- /dev/null
+++ b/python/problems/lists_and_for/common.py
@@ -0,0 +1 @@
+id = 16
diff --git a/python/problems/while_and_if/common.py b/python/problems/while_and_if/common.py
new file mode 100644
index 0000000..3ca8844
--- /dev/null
+++ b/python/problems/while_and_if/common.py
@@ -0,0 +1 @@
+id = 14
diff --git a/robot/common.py b/robot/common.py
index 45dbfc3..1e7e818 100644
--- a/robot/common.py
+++ b/robot/common.py
@@ -2,6 +2,8 @@
from server.hints import Hint, HintSequence
+id = 3
+
hint_type = {
'no_hint': Hint('no_hint'),
'system_error': Hint('system_error'),
diff --git a/robot/problems/introduction/common.py b/robot/problems/introduction/common.py
new file mode 100644
index 0000000..8498d9c
--- /dev/null
+++ b/robot/problems/introduction/common.py
@@ -0,0 +1,2 @@
+id = 13
+number = 1