Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EthicalControl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
EthicalControl
Commits
06101685
Commit
06101685
authored
4 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
Exhaustive mission testing using python MissionExecutionEngine (thanks Jon)
parent
d685a53d
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
EthicalControl.html
+1
-1
1 addition, 1 deletion
EthicalControl.html
build.all.log.txt
+6303
-28
6303 additions, 28 deletions
build.all.log.txt
build.xml
+5
-3
5 additions, 3 deletions
build.xml
missions/python/MissionExecutionEngine.py
+1
-1
1 addition, 1 deletion
missions/python/MissionExecutionEngine.py
with
6310 additions
and
33 deletions
EthicalControl.html
+
1
−
1
View file @
06101685
...
...
@@ -1229,7 +1229,7 @@ multiple key scenarios demonstrates these principles in action.
</p>
<p>
Updated:
18 Jan
uary 2021
Updated:
4 Febr
uary 2021
</p>
</body>
</html>
This diff is collapsed.
Click to expand it.
build.all.log.txt
+
6303
−
28
View file @
06101685
This diff is collapsed.
Click to expand it.
build.xml
+
5
−
3
View file @
06101685
...
...
@@ -226,8 +226,10 @@ POSSIBILITY OF SUCH DAMAGE.
<!-- ======================================================================================== -->
<target
name=
"all"
depends=
"convertAvclToMeoTurtle.examples.all,convertAvclToLisp.examples.all,convertAvclToProlog.examples.all,SPARQL.query.tests.all,zip"
/>
<target
name=
"all"
depends=
"convert.all,SPARQL.query.tests.all,test.all.missions.python,zip"
/>
<target
name=
"convert.all"
depends=
"convertAvclToMeoTurtle.examples.all,convertAvclToLisp.examples.all,convertAvclToProlog.examples.all"
/>
<target
name=
"deploy"
description=
"build all and upload"
depends=
"all,upload"
/>
<target
name=
"build"
description=
"shortcut to build all mission checks"
depends=
"convertAvclToMeoTurtle.examples.all,SPARQL.query.tests.all"
/>
...
...
@@ -657,7 +659,7 @@ POSSIBILITY OF SUCH DAMAGE.
<arg
value=
"missions/python/MissionExecutionEngine.py"
/>
<arg
value=
"--exhaustively-test-all-standard-library-missions"
/>
<arg
value=
"--exhaustive-testing-max-runs-per-mission"
/>
<arg
value=
"2000"
/>
<arg
value=
"2000"
/>
<!-- debatable, what is best? want to find significant errors so verbose is OK -->
</exec>
<!-- verbose results are OK, they go into the build log for ongoing comparison/confirmation -->
</target>
...
...
This diff is collapsed.
Click to expand it.
missions/python/MissionExecutionEngine.py
+
1
−
1
View file @
06101685
...
...
@@ -375,7 +375,7 @@ class ExhaustiveTestingMockTacticalEngine(TacticalEngine):
inf_loop_description
+=
letter
self
.
printing_function
(
"
\n
INFINITE LOOP DETECTED, CAUSED BY OUTCOME SEQUENCE:
"
+
inf_loop_description
+
"
\n
"
+
\
self
.
phase_just_before_cycle_gets_closed
.
command
.
human_readable_order_indented
(
"
=>
"
)
+
\
'
\n
UPON OUTCOME
'
+
last_outcome_letter
+
'
, LOOPS BACK TO
\n
'
+
'
\n
UPON OUTCOME
'
+
last_outcome_letter
+
'
, LOOPS BACK TO
:
\n
'
+
self
.
phase_closing_cycle
.
command
.
human_readable_order_indented
(
"
<=
"
)
+
\
"
\n
WHICH (counting starting with initial phase = step # 1) was previously visited at step #
"
+
str
(
1
+
self
.
cycle_closing_point_step_number
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment