summaryrefslogtreecommitdiff
path: root/assignments
diff options
context:
space:
mode:
authorErin van der Veen2017-10-16 15:21:22 +0200
committerErin van der Veen2017-10-16 15:21:22 +0200
commit25c286696e507e57309fb2f3a5fe4618a6c10ef4 (patch)
treeb284f415e59a920633d8b1ffc85aaa99b1aa733d /assignments
parentMove assignment1 to own dir; Setup assignment2.tex; Add 4 hypotheses of Rives... (diff)
Add counterexamples and Hypotheses for TTT
Diffstat (limited to 'assignments')
-rw-r--r--assignments/assignment2/TTT_counterexamples.txt43
-rw-r--r--assignments/assignment2/TTT_hypothesis0.dot12
-rw-r--r--assignments/assignment2/TTT_hypothesis1.dot18
-rw-r--r--assignments/assignment2/TTT_hypothesis2.dot30
-rw-r--r--assignments/assignment2/TTT_hypothesis3.dot42
5 files changed, 145 insertions, 0 deletions
diff --git a/assignments/assignment2/TTT_counterexamples.txt b/assignments/assignment2/TTT_counterexamples.txt
new file mode 100644
index 0000000..a251de7
--- /dev/null
+++ b/assignments/assignment2/TTT_counterexamples.txt
@@ -0,0 +1,43 @@
+1508159843675 geckodriver INFO Listening on 127.0.0.1:28835
+1508159844019 geckodriver::marionette INFO Starting browser /usr/bin/firefox with args ["-marionette"]
+1508159844827 Marionette INFO Listening on port 44047
+1508159844935 Marionette WARN TLS certificate errors will be ignored for this session
+Oct 16, 2017 3:17:25 PM org.openqa.selenium.remote.ProtocolHandshake createSession
+INFO: Detected dialect: W3C
+model size 1
+0: Mon Oct 16 15:17:26 CEST 2017
+Hypothesis size: 1 states
+learning queries/symbols: 5/5(5/5 this learning round)
+Enter space-separated input sequence to try as a counter-example, or 'stop' to stop learning
+10ct mars
+SUL output: OK OK
+
+testing queries/symbols: 6/7(1/2 this testing round)
+
+model size 2
+1: Mon Oct 16 15:17:46 CEST 2017
+Hypothesis size: 2 states
+learning queries/symbols: 20/40(14/33 this learning round)
+Enter space-separated input sequence to try as a counter-example, or 'stop' to stop learning
+10ct 10ct 5ct snickers
+SUL output: OK OK OK OK
+
+testing queries/symbols: 21/44(1/4 this testing round)
+
+model size 4
+2: Mon Oct 16 15:18:41 CEST 2017
+Hypothesis size: 4 states
+learning queries/symbols: 62/210(41/166 this learning round)
+Enter space-separated input sequence to try as a counter-example, or 'stop' to stop learning
+10ct 10ct 10ct 10ct 5ct
+SUL output: OK OK OK OK NOK
+
+testing queries/symbols: 63/215(1/5 this testing round)
+
+model size 6
+3: Mon Oct 16 15:19:04 CEST 2017
+Hypothesis size: 6 states
+learning queries/symbols: 121/530(58/315 this learning round)
+Enter space-separated input sequence to try as a counter-example, or 'stop' to stop learning
+
+Process finished with exit code 130 (interrupted by signal 2: SIGINT)
diff --git a/assignments/assignment2/TTT_hypothesis0.dot b/assignments/assignment2/TTT_hypothesis0.dot
new file mode 100644
index 0000000..d0b4002
--- /dev/null
+++ b/assignments/assignment2/TTT_hypothesis0.dot
@@ -0,0 +1,12 @@
+digraph g {
+__start0 [label="" shape="none"];
+
+ s0 [shape="circle" label="s0"];
+ s0 -> s0 [label="5ct / OK"];
+ s0 -> s0 [label="10ct / OK"];
+ s0 -> s0 [label="mars / NOK"];
+ s0 -> s0 [label="snickers / NOK"];
+ s0 -> s0 [label="twix / NOK"];
+
+__start0 -> s0;
+}
diff --git a/assignments/assignment2/TTT_hypothesis1.dot b/assignments/assignment2/TTT_hypothesis1.dot
new file mode 100644
index 0000000..1602ee7
--- /dev/null
+++ b/assignments/assignment2/TTT_hypothesis1.dot
@@ -0,0 +1,18 @@
+digraph g {
+__start0 [label="" shape="none"];
+
+ s0 [shape="circle" label="s0"];
+ s1 [shape="circle" label="s1"];
+ s0 -> s0 [label="5ct / OK"];
+ s0 -> s1 [label="10ct / OK"];
+ s0 -> s0 [label="mars / NOK"];
+ s0 -> s0 [label="snickers / NOK"];
+ s0 -> s0 [label="twix / NOK"];
+ s1 -> s1 [label="5ct / OK"];
+ s1 -> s1 [label="10ct / OK"];
+ s1 -> s0 [label="mars / OK"];
+ s1 -> s1 [label="snickers / NOK"];
+ s1 -> s1 [label="twix / NOK"];
+
+__start0 -> s0;
+}
diff --git a/assignments/assignment2/TTT_hypothesis2.dot b/assignments/assignment2/TTT_hypothesis2.dot
new file mode 100644
index 0000000..2d672fa
--- /dev/null
+++ b/assignments/assignment2/TTT_hypothesis2.dot
@@ -0,0 +1,30 @@
+digraph g {
+__start0 [label="" shape="none"];
+
+ s0 [shape="circle" label="s0"];
+ s1 [shape="circle" label="s1"];
+ s2 [shape="circle" label="s2"];
+ s3 [shape="circle" label="s3"];
+ s0 -> s0 [label="5ct / OK"];
+ s0 -> s1 [label="10ct / OK"];
+ s0 -> s0 [label="mars / NOK"];
+ s0 -> s0 [label="snickers / NOK"];
+ s0 -> s0 [label="twix / NOK"];
+ s1 -> s2 [label="5ct / OK"];
+ s1 -> s2 [label="10ct / OK"];
+ s1 -> s0 [label="mars / OK"];
+ s1 -> s1 [label="snickers / NOK"];
+ s1 -> s1 [label="twix / NOK"];
+ s2 -> s3 [label="5ct / OK"];
+ s2 -> s3 [label="10ct / OK"];
+ s2 -> s1 [label="mars / OK"];
+ s2 -> s2 [label="snickers / NOK"];
+ s2 -> s0 [label="twix / OK"];
+ s3 -> s3 [label="5ct / OK"];
+ s3 -> s3 [label="10ct / OK"];
+ s3 -> s2 [label="mars / OK"];
+ s3 -> s0 [label="snickers / OK"];
+ s3 -> s1 [label="twix / OK"];
+
+__start0 -> s0;
+}
diff --git a/assignments/assignment2/TTT_hypothesis3.dot b/assignments/assignment2/TTT_hypothesis3.dot
new file mode 100644
index 0000000..63acbc1
--- /dev/null
+++ b/assignments/assignment2/TTT_hypothesis3.dot
@@ -0,0 +1,42 @@
+digraph g {
+__start0 [label="" shape="none"];
+
+ s0 [shape="circle" label="s0"];
+ s1 [shape="circle" label="s1"];
+ s2 [shape="circle" label="s2"];
+ s3 [shape="circle" label="s3"];
+ s4 [shape="circle" label="s4"];
+ s5 [shape="circle" label="s5"];
+ s0 -> s0 [label="5ct / OK"];
+ s0 -> s1 [label="10ct / OK"];
+ s0 -> s0 [label="mars / NOK"];
+ s0 -> s0 [label="snickers / NOK"];
+ s0 -> s0 [label="twix / NOK"];
+ s1 -> s2 [label="5ct / OK"];
+ s1 -> s2 [label="10ct / OK"];
+ s1 -> s0 [label="mars / OK"];
+ s1 -> s1 [label="snickers / NOK"];
+ s1 -> s1 [label="twix / NOK"];
+ s2 -> s3 [label="5ct / OK"];
+ s2 -> s4 [label="10ct / OK"];
+ s2 -> s1 [label="mars / OK"];
+ s2 -> s2 [label="snickers / NOK"];
+ s2 -> s0 [label="twix / OK"];
+ s3 -> s4 [label="5ct / OK"];
+ s3 -> s4 [label="10ct / OK"];
+ s3 -> s2 [label="mars / OK"];
+ s3 -> s0 [label="snickers / OK"];
+ s3 -> s1 [label="twix / OK"];
+ s4 -> s5 [label="5ct / OK"];
+ s4 -> s5 [label="10ct / OK"];
+ s4 -> s2 [label="mars / OK"];
+ s4 -> s0 [label="snickers / OK"];
+ s4 -> s2 [label="twix / OK"];
+ s5 -> s5 [label="5ct / NOK"];
+ s5 -> s5 [label="10ct / NOK"];
+ s5 -> s4 [label="mars / OK"];
+ s5 -> s2 [label="snickers / OK"];
+ s5 -> s3 [label="twix / OK"];
+
+__start0 -> s0;
+}