Вы находитесь на странице: 1из 68

2007

Unit Code: ISY10056


Unit Title: Intelligent Decision Systems

Queensland
Student Details:
Peter Axon 21314601 p.axon.10@scu.edu.au
Anne McCloghry 21314999 a.mccloghry.10@scu.edu.au

Police Service
Michael Macdonald 21243831 m.macdonald.10@scu.edu.au

Entrance Expert
Study Period: Semester 1, 2007
Mode: External
Assessment Due: Wednesday, 16th May, 2007
System
Assessor Name: John Roche

Submitted: Wednesday, 16th May, 2007


Intelligent Decision Systems
(ISY10056)

Assignment 2

Tutor: John Roche

Student Details:
Anne McCloghry 21314999 -
A.McCloghry.10@scu.edu.au
Michael Macdonald 21243831 -
M.Macdonald.10@scu.edu.au
Peter Axon 21314601 - P.Axon.10@scu.edu.au

Due Date: 16 May 2007


Submitted: 16 May 2007
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

Table of Contents
Table of Contents............................................................................................................................. 2
1. EXPERT SYSTEM OVERVIEW............................................................................................... 3
.................................................................................................................................................3
1.1 Problem Domain.................................................................................................................... 3
1.2 Source of Expertise................................................................................................................ 4
1.3 Knowledge Engineering Process........................................................................................... 5
2. DEPENDENCY DIAGRAM AND DECISION TABLES......................................................... 7
2.1 Dependency Diagram ............................................................................................................7
2.2 Decision Tables...................................................................................................................... 9
2.2.1 Rule Set 1 – Recommendation to Selection Committee (Yes/No)................................ 9
2.2.2 Rule Set 2 – Testing (Yes / No) .................................................................................... 9
2.2.3 Rule Set 3 – Application (Yes / No) ............................................................................. 9
2.2.4 Rule Set 4 – Panel Interview (Yes / No)........................................................................ 9
2.2.5 Rule Set 5 – Physical (Yes /No).................................................................................... 9
2.2.6 Rule Set 6 – Psychometric Testing (Yes / No)............................................................ 10
2.2.7 Rule Set 7 – Employment / Education (Yes / No)....................................................... 10
2.2.8 Rule Set 8 – Licence (Yes / No).................................................................................. 10
3. RESULTS.................................................................................................................................. 11
3.1 Value Usage......................................................................................................................... 11
3.2 Knowledge Base Files..........................................................................................................13
3.2.1 Police.kb.......................................................................................................................13
3.2.2 Police2.kb.....................................................................................................................20
4. EXPERT SYSTEM EVALUATION......................................................................................... 30
5. TESTING................................................................................................................................... 31
5.1 User Input.............................................................................................................................31
5.2 Expected Test Results.......................................................................................................... 35
5.2.1 TEST 1 ......................................................................................................................... 35
5.2.2 TEST 2 ......................................................................................................................... 39
5.2.3 TEST 3 ......................................................................................................................... 44
5.2.4 TEST 4 ......................................................................................................................... 46
5.2.5 TEST 5.......................................................................................................................... 52
5.2.6 TEST 6 ......................................................................................................................... 56
5.2.7 TEST 7 ......................................................................................................................... 60
6. BIBLIOGRAPHY...................................................................................................................... 68

2
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

1. EXPERT SYSTEM OVERVIEW

1.1 Problem Domain

The Queensland Police Service (QPS) has a stringent application procedure for persons who do
not have any policing experience. The Police Services Administration Act 1990 (QLD) forms the
basis of the recruiting process to ensure that all applicants are fairly and equitably screened, that
discrimination is prevented and applicants are chosen on the basis of merit.

The selection process is conducted in three stages, all of which must be completely and
thoroughly satisfied. A brief description of the stages is as follows:
Stage1: Minimum Application Requirements must be met before submitting an
application. These include Australian or New Zealand residency, type of driver’s licence,
education level and employment details, life experience, integrity and personal conduct,
health, First Aid certificate and swimming proficiency.
Stage 2: Only after an applicant is successful in Stage 1 are they invited to undertake Stage
2 – Application Testing. This stage involves an assessment to determine suitability to become
a police officer. It involves psychometric testing, health assessment, panel interview,
integrity/conduct review and community/background enquiries. Again, progression through
to the next stage depends upon successful completion of all of these evaluations.
Stage 3: The Selection Committee is the final stage of the police recruiting process. The
committee assesses the applicants who have effectively passed the previous 2 stages and
makes a recommendation to the Manager of the Human Resources Development Branch
(HRDB). The Manager then decides whether to appoint the applicant as a recruit.

Even though there are strict criteria for moving from one stage of the recruitment process to the
next, it is stated on the web site for QPS recruitment
(http://www.police.qld.gov.au/join/recruitment/selectionProcess.htm) that
"Successful completion of all or any part of the selection process does not guarantee that
you will be selected or appointed as a police recruit. A limited number of positions are
available for each recruit intake and appointments are made on the basis of merit."
For the purpose of this report, this could be taken to mean that even though you may answer
“Yes” to a certain question, or “pass” a requirement, there are various levels of qualifying for
some of the conditions. For example, a candidate may do well in a physical examination, but if
they are exceeded by another candidate their ranking may be reduced. Similarly with the
integrity and conduct review – the scores awarded may be relative to other applicants.

Developing an expert system (ES) for this problem domain would assist the QPS committee
throughout the interview and screening processes, in all stages of assessment. The results would
then be used to inform their decision about whether to recommend an applicant to the HRDB.
Questions in all stages of the ES would result in either a “knock-out”, not to continue on to the

3
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
next stage, or a continuation on to answer further questions. The results in various tests,
examinations and questionnaires may be ranked and these could be translated into confidence
factors (CF) when answering the ES questions in the user interface. At the completion of the
analysis, the system will give a final confidence factor, which will be similar to a score. The
higher confidence factors will be awarded to those applicants who meet requirements and display
personal traits that make them desirable recruits.

The user would enter “Yes” / “No” answers for Stage 1 questions, mostly with CFs of 100
percent – residency, driver’s licence, First Aid certificate. Stages 2 and 3 would lend more
towards results with varying CFs, depending upon the more abstract assessments – integrity,
conduct, health, interviews and psychometrics. Thus, even though an applicant may extend all
the way through the 3 stages, their suitability may not be so high.

This expert system will assist in the process of screening an applicant for the process of joining
the QPS. Its intended users are members of the committee and/or management of the HRDB and
they are not expected to have any knowledge of the mechanism of the system. A simple user
interface will be designed for use within a web site and a series of questions will be asked of the
user. A confidence level will be required with each answer, from 60% confident to 100%
confident - complete certainty. The knowledge base will use pre-programmed rules to make a
decision on the applicant’s suitability and its degree. If there is a lack of information in any area
or question, the system should deem the applicant as inconsistent with its standards – the QPS
requires all conditions to be met.

1.2 Source of Expertise

The web site for the Queensland Police Service (http://www.police.qld.gov.au/join/recruitment/)


details the entire process for an applicant to join.

In developing the knowledge base for the expert system we also contacted two people who hold
varying levels of expertise on this subject, and for the purposes of this report, are considered
“experts”.

The first expert was Constable Simon Trapp who was recently accepted into the Queensland
Police Force by undergoing the exact process that the system describes. His input was invaluable
in verifying that the stages of the procedure were accurate and in the correct order.

The second expert was Helen who is employed by the Queensland Police Service in their
recruiting section and the questions asked of her were limited to clarifying the elimination
procedure if an applicant did not meet all criteria. She also verified the fact that, despite all
criteria being met, all applicants are not automatically accepted and the final decision to
recommend is made by the panel.

4
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
The benefits of acquiring the knowledge in this manner included:
- the information was readily available and did not have to be extracted using a lengthy
interviewing process, in which it often occurs that the expert is unable to clearly
articulate their knowledge;
- any statement from the web site that gave cause to question could be verified with a
human expert who was involved in the process;
- the web site contained a vast and easily understood quantity of information;
- the knowledge is well-stored, structured and quickly recovered if lost or forgotten.

1.3 Knowledge Engineering Process

The depth of information contained on the QPS web site was actually quite sufficient for the
expert system to be built in its initial stage. The site contains a flow chart and step-by-step
processes for a potential applicant to follow.

The initial stage in the knowledge engineering process was to extract the facts from the
information in the web site. As mentioned above, the majority of the information was acquired in
this way – an authoritative and endorsed web site proved to be highly informative and less prone
to any error in extraction or translation from a human expert. The site contained several
important types of knowledge in order for the system to be developed:
- rules and procedures regarding the general problem domain; in this instance, what the
expectations were of a recruit from the Queensland Police Service;
- rules or heuristics about what should be done in a given situation; for example, what
decision to make in the interviewing process if an applicant only narrowly passed a
particular test;

The facts were then represented as a set of IF-THEN rules in the knowledge base. These are the
conditions and conclusions for all of the specific situations that the system will handle.
Confidence factors were applied to each rule as we thought an expert (or panel of experts) may
apply a rating scale to an applicant’s criteria. An example of this would be the psychometric test
where there is a range of results, not just a simple “yes / no” answer. The higher confidence
factors indicate a better result or score.

To validate the knowledge we communicated with two “experts” – a newly successful applicant
and an employee who is involved in the actual process. The experts were given the sequencing of
the system to verify that the output was accurate given various scenarios and input. Helen from
QPS was also briefly questioned to clarify some ambiguities in the final stage of the application
process. Both experts agreed that the quality and logic of the system was acceptable and that the
facts were accurate.

The final expert system was developed using e2gLite, a computer application developed by
expertise2Go, who specialise in web-enabled Expert Systems. The shell enables the developer to

5
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
build a knowledge base within the shell, which is then accessed by the inference engine during
the decision-making process.

In developing this system, we had to make a decision with regards to how much information was
given to the user at the conclusion of the system’s procedure. In many cases, the inference engine
will perform a complete “knock-out” from the system, sometimes quite early – when the
applicant has not supplied enough information or has failed a section of the process, the system
will eliminate that applicant immediately, based on the QPS recruitment standards. In order to
enable a failed applicant to determine which part was insufficient or where they needed
improvement, we developed a second expert system to continue through the process to the last
criteria. Even in the event of an unsuccessful application, the candidate would receive output
stating all of the unsatisfied conditions as reasons for rejection.

6
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

2. DEPENDENCY DIAGRAM AND DECISION TABLES


2.1 Dependency Diagram
? Application received (Y/N)
v
? Residency (Ac/Ar/NZv/O)
v
? Licence Type (Op/Pr/L/N)
v
? Years Driving (Numeric)
Rules
8.1 to
Licence (Y/N)
? Defensive Driving Course (Y/N) 8.3
? Full Time Employment (in years, numeric)
? Level of Study (B/D/N/O)
Rules Application
v? Semesters completed (numeric)
Rules Employment / 3.1 to (Y/N)
7.1 to 3.2
v? Hours Studied (in hours, numeric) Education (Y/N)
7.9
v
? Security Clearance (Y/N) Recommend to
Rules Selection
? Senior First Aid Certificate Passed (Y/N) 1.1 to 1.2
Committee (Y/N)
? Swimming Proficiency Passed (Y/N)
? Psychometric assessment (U/S/G/Vg/Ex) Rules
v Psych Testing
6.1 to
? Medical Examination passed (Y/N) 6.4 (Y/N)
v
? Sex (M/F)
? Age (in years, Numeric) Rules Physical Testing
5.1 to Rules (Y/N)
Competency (Y/N)
? Time (in minutes, Numeric) 5.6 2.1 to
2.2
? Panel Interview (U/S/G/Vg/Ex) Rules
v Panel Interview
4.1 to
? Final Approval by Selection Committee (Y/N) 4.4 (Y/N)
v

7
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Dependency Diagram Key

Ac Australian Citizen
Ar Australian Resident
B Bachelor Degree
D Diploma
Ex Excellent
F Female
G Good
L Learners Permit
M Male
N No / None
NZv New Zealand Visa
O Other
Op Open Licence
Pr Provisional Licence
S Satisfactory
U Unsatisfactory
VG Very Good
Y Yes

8
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

2.2 Decision Tables

2.2.1 Rule Set 1 – Recommendation to Selection Committee


(Yes/No)

Application Application Testing


RESULTS: Selection CF Rule
Received? criteria? Criteria?
Y Y Y Yes 100 1.1
In all other cases, the Selection will be No

2.2.2 Rule Set 2 – Testing (Yes / No)

Psych Medical Physical Panel


RESULTS: Testing CF Rule
Passed? Passed? Passed? Interview?
Y Y Y Y Yes 100 2.1
In all other cases, Testing will be No

2.2.3 Rule Set 3 – Application (Yes / No)

First RESULTS:
Residency? Security? Swimming? Licence? Emp/ Ed? CF Rule
Aid? Application
Ac, Ar, NZv Y Y Y Y Y Yes 100 3.1
In all other cases, the Application will be No

2.2.4 Rule Set 4 – Panel Interview (Yes / No)

Panel? RESULTS: Panel Interview CF Rule


S Yes 70 4.1
G Yes 80 4.2
Vg Yes 90 4.3
Ex Yes 100 4.4
In all other cases, Panel Interview will be No

2.2.5 Rule Set 5 – Physical (Yes /No)

In all
Sex?other cases, Physical
Age? will be No
Time? RESULTS: Physical CF Rule
M <30 <12 Yes 100 5.1
M >=30 & <40 <13 Yes 100 5.2
M >=40 <14 Yes 100 5.3
F <30 <14 Yes 100 5.4
F >=30 & <40 <15 Yes 100 5.5
F >=40 <16 Yes 100 5.6

9
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

2.2.6 Rule Set 6 – Psychometric Testing (Yes / No)

Psych? RESULTS: Psychometric Testing CF Rule


S Yes 70 6.1
G Yes 80 6.2
Vg Yes 90 6.3
Ex Yes 100 6.4
In all other cases, Psychometric Testing will be No

2.2.7 Rule Set 7 – Employment / Education (Yes / No)

Level RESULTS:
Full time Completed Completed Completed
of Employment / CF Rule
Employment? Course? Semesters? hours?
study? Education
- N,O - - - No 100 7.1
- B Y - - Yes 100 7.2
- D Y - - Yes 95 7.3
<3 D - - - No 100 7.4
<3 B - >=3 - Yes 80 7.5
>=3 and <5 B - >=2 - Yes 90 7.6
>=3 and <5 D - - >=400 Yes 85 7.7
>=5 B - >=1 - Yes 100 7.8
>=5 D - - >=200 Yes 95 7.9
In all other cases, the Employment/Education will be No @100

2.2.8 Rule Set 8 – Licence (Yes / No)

Defensive Driving
Licence Type? Years Driving? RESULTS: Licence CF Rule
Course?
O - N Yes 95 8.1
O - Y Yes 100 8.2
Pr >=1 Y Yes 95 8.3
In all other cases, the Licence will be No

10
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

3. RESULTS

3.1 Value Usage

VALUE USAGE - Look for similar strings that should be identical:


"Australian Citizen" (18) prompt 2 value of [Residency] "Other" (5) prompt 2 value of [Residency]
"Australian Citizen" (18) rule 5 premise value of [Residency] "Other" (5) prompt 7 value of [Study level]
"Australian Resident" (19) prompt 2 value of [Residency] "Other" (5) rule 6 premise value of [Residency]
"Bachelor Degree" (15) prompt 7 value of [Study level] "Provisional Licence" (19) prompt 11 value of [Licence Type]
"Bachelor Degree" (15) rule 22 premise value of [Study level] "Provisional Licence" (19) rule 32 premise value of [Licence Type]
"Bachelor Degree" (15) rule 25 premise value of [Study level] "Satisfactory" (12) prompt 14 value of [Psych Test]
"Bachelor Degree" (15) rule 26 premise value of [Study level] "Satisfactory" (12) prompt 16 value of [Panel Interview]
"Bachelor Degree" (15) rule 28 premise value of [Study level] "Satisfactory" (12) rule 17 premise value of [Psych Test]
"Diploma" (7) prompt 7 value of [Study level] "Satisfactory" (12) rule 7 premise value of [Panel Interview]
"Diploma" (7) rule 23 premise value of [Study level] "Unsatisfactory" (14) prompt 14 value of [Psych Test]
"Diploma" (7) rule 24 premise value of [Study level] "Unsatisfactory" (14) prompt 16 value of [Panel Interview]
"Diploma" (7) rule 27 premise value of [Study level] "Very Good" (9) prompt 14 value of [Psych Test]
"Diploma" (7) rule 29 premise value of [Study level] "Very Good" (9) prompt 16 value of [Panel Interview]
"Excellent" (9) prompt 14 value of [Psych Test] "Very Good" (9) rule 19 premise value of [Psych Test]
"Excellent" (9) prompt 16 value of [Panel Interview] "Very Good" (9) rule 9 premise value of [Panel Interview]
"Excellent" (9) rule 10 premise value of [Panel Interview] "Yes" (3) prompt 13 value of [Defensive Driving]
"Excellent" (9) rule 20 premise value of [Psych Test] "Yes" (3) rule 1 consequent value of [Recommend]
"Female" (6) prompt 17 value of [Sex] "Yes" (3) rule 1 premise value of [Application received]
"Female" (6) rule 14 premise value of [Sex] "Yes" (3) rule 1 premise value of [application]
"Female" (6) rule 15 premise value of [Sex] "Yes" (3) rule 1 premise value of [Final Approval]
"Female" (6) rule 16 premise value of [Sex] "Yes" (3) rule 1 premise value of [Testing]
"Good" (4) prompt 14 value of [Psych Test] "Yes" (3) rule 10 consequent value of [Panel]
"Good" (4) prompt 16 value of [Panel Interview] "Yes" (3) rule 11 consequent value of [Physical]
"Good" (4) rule 18 premise value of [Psych Test] "Yes" (3) rule 12 consequent value of [Physical]
"Good" (4) rule 8 premise value of [Panel Interview] "Yes" (3) rule 13 consequent value of [Physical]
"Learners Permit" (15) prompt 11 value of [Licence Type] "Yes" (3) rule 14 consequent value of [Physical]
"Male" (4) prompt 17 value of [Sex] "Yes" (3) rule 15 consequent value of [Physical]
"Male" (4) rule 11 premise value of [Sex] "Yes" (3) rule 16 consequent value of [Physical]
"Male" (4) rule 12 premise value of [Sex] "Yes" (3) rule 17 consequent value of [Psych]
"Male" (4) rule 13 premise value of [Sex] "Yes" (3) rule 18 consequent value of [Psych]
"New Zealand citizen holding a special category visa" (51) "Yes" (3) rule 19 consequent value of [Psych]
prompt 2 value of [Residency] "Yes" (3) rule 20 consequent value of [Psych]
"No - Not all requirements to join have been met." (48) rule 2 "Yes" (3) rule 22 consequent value of [Emp Ed]
consequent value of [Recommend] "Yes" (3) rule 22 premise value of [Study Completed]
"No" (2) prompt 13 value of [Defensive Driving] "Yes" (3) rule 23 consequent value of [Emp Ed]
"No" (2) rule 2 premise value of [Application received] "Yes" (3) rule 23 premise value of [Study Completed]
"No" (2) rule 2 premise value of [application] "Yes" (3) rule 25 consequent value of [Emp Ed]
"No" (2) rule 2 premise value of [Final Approval] "Yes" (3) rule 26 consequent value of [Emp Ed]
"No" (2) rule 2 premise value of [Testing] "Yes" (3) rule 27 consequent value of [Emp Ed]
"No" (2) rule 21 consequent value of [Emp Ed] "Yes" (3) rule 28 consequent value of [Emp Ed]
"No" (2) rule 24 consequent value of [Emp Ed] "Yes" (3) rule 29 consequent value of [Emp Ed]
"No" (2) rule 24 premise value of [Study Completed] "Yes" (3) rule 3 consequent value of [Testing]
"No" (2) rule 30 premise value of [Defensive Driving] "Yes" (3) rule 3 premise value of [Medical]
"No" (2) rule 4 consequent value of [Testing] "Yes" (3) rule 3 premise value of [Panel]
"No" (2) rule 4 premise value of [Medical] "Yes" (3) rule 3 premise value of [Physical]
"No" (2) rule 4 premise value of [Panel] "Yes" (3) rule 3 premise value of [Psych]
"No" (2) rule 4 premise value of [Physical] "Yes" (3) rule 30 consequent value of [Licence]

11
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
"No" (2) rule 4 premise value of [Psych] "Yes" (3) rule 31 consequent value of [Licence]
"No" (2) rule 6 consequent value of [application] "Yes" (3) rule 31 premise value of [Defensive Driving]
"No" (2) rule 6 premise value of [Emp Ed] "Yes" (3) rule 32 consequent value of [Licence]
"No" (2) rule 6 premise value of [First Aid] "Yes" (3) rule 32 premise value of [Defensive Driving]
"No" (2) rule 6 premise value of [Licence] "Yes" (3) rule 5 consequent value of [application]
"No" (2) rule 6 premise value of [Security Clearance] "Yes" (3) rule 5 premise value of [Emp Ed]
"No" (2) rule 6 premise value of [Swimming] "Yes" (3) rule 5 premise value of [First Aid]
"None" (4) prompt 11 value of [Licence Type] "Yes" (3) rule 5 premise value of [Licence]
"None" (4) prompt 7 value of [Study level] "Yes" (3) rule 5 premise value of [Security Clearance]
"None" (4) rule 21 premise value of [Study level] "Yes" (3) rule 5 premise value of [Swimming]
"Open Licence" (12) prompt 11 value of [Licence Type] "Yes" (3) rule 7 consequent value of [Panel]
"Open Licence" (12) rule 30 premise value of [Licence Type] "Yes" (3) rule 8 consequent value of [Panel]
"Open Licence" (12) rule 31 premise value of [Licence Type] "Yes" (3) rule 9 consequent value of [Panel]
*** KNOWLEDGE BASE ANALYSIS ***

12
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

3.2 Knowledge Base Files

3.2.1 Police.kb
REM QLD Police Entrance ES
REM This system is designed to determine an applicant's suitability to join the QLD Police Force
REM This is the simple version of the ES where any unsatisfactory answer will stop the ES

REM Created by: Michael Macdonald 21243831 m.macdonald.10@scu.edu.au


REM Anne McCloghry 21314999 a.mccloghry.10@scu.edu.au
REM Peter Axon 21314601 p.axon.10@scu.edu.au

REM Date Created: 25 April 2007


REM Unit Name: Intelligent Decision Systems - ISY10056
REM Assignment: 2007 Assignment 2

REM ***************************************************************************
REM * Rules 1.1 to 1.2 - Rules to establish Final Recommendation
REM ***************************************************************************

RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"

RULE [1.2]
if [Application received] = "No" Or
[Testing] = "No" Or
[application] = "No" Or
[Final Approval] = "No"
Then [Recommend] = "No - Not all requirements to join have been met."

REM ***************************************************************************
REM * Rules 2.1 to 2.2 - Rules to establish Testing criteria
REM ***************************************************************************

RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes"

RULE [2.2]
if [Psych] = "No" or
[Medical] = "No" or
[Physical] = "No" or
[Panel] = "No"
Then [Testing] = "No"

13
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

REM ***************************************************************************
REM * Rules 3.1 to 3.2 - Rules to establish Application criteria
REM ***************************************************************************

RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand citizen holding a special
category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes"

RULE [3.2]
if [Residency] = "Other" Or
[Security Clearance] = "No" Or
[First Aid] = "No" Or
[Swimming] = "No" Or
[Licence] = "No" Or
[Emp Ed] = "No"
Then [Application] = "No"

REM ***************************************************************************
REM * Rules 4.1 to 4.4 - Rules to establish Panel interview criteria
REM ***************************************************************************

RULE [4.1]
If [Panel Interview] = "Satisfactory"
Then [Panel] = "Yes" @70

RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80

RULE [4.3]
If [Panel Interview] = "Very Good"
Then [Panel] = "Yes" @90

RULE [4.4]
If [Panel Interview] = "Excellent"
Then [Panel] = "Yes" @100

REM ***************************************************************************
REM * Rules 5.1 to 5.6 - Rules to establish Physical Assessment criteria
REM ***************************************************************************

RULE [5.1]
If [Sex] = "Male" and

14
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Age] < 30 and
[Time] < 12
then [Physical] = "Yes"

RULE [5.2]
If [Sex] = "Male" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 13
then [Physical] = "Yes"

RULE [5.3]
If [Sex] = "Male" and
[Age] > 39.999 and
[Time] < 14
then [Physical] = "Yes"

RULE [5.4]
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"

RULE [5.5]
If [Sex] = "Female" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 15
then [Physical] = "Yes"

RULE [5.6]
If [Sex] = "Female" and
[Age] > 39.999 and
[Time] < 16
then [Physical] = "Yes"

REM ***************************************************************************
REM * Rules 6.1 to 6.4 - Rules to establish Psych testing criteria
REM ***************************************************************************

RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70

RULE [6.2]
If [Psych Test] = "Good"
Then [Psych] = "Yes" @80

RULE [6.3]
If [Psych Test] = "Very Good"
Then [Psych] = "Yes" @90

RULE [6.4]
If [Psych Test] = "Excellent"

15
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Then [Psych] = "Yes" @100

REM ***************************************************************************
REM * Rules 7.1 to 7.9 - Rules to establish Employment/Education criteria
REM ***************************************************************************

RULE [7.1]
If [Study level] : "None" "Other"
then [Emp Ed] = "No"

RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes"

RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95

RULE [7.4]
If [Employment Years] <3 and
[Study level] = "Diploma" and
[Study Completed] = "No"
then [Emp Ed] = "No"

RULE [7.5]
If [Employment Years] < 3 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 2.999
then [Emp Ed] = "Yes" @80

RULE [7.6]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 1.999
then [Emp Ed] = "Yes" @90

RULE [7.7]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Diploma" and
[Completed Hours] > 399.999
then [Emp Ed] = "Yes" @85

RULE [7.8]
If [Employment Years] > 4.999 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 0.999
then [Emp Ed] = "Yes"

RULE [7.9]
If [Employment Years] > 4.999 and

16
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Study level] = "Diploma" and
[Completed Hours] > 199.999
then [Emp Ed] = "Yes" @95

REM ***************************************************************************
REM * Rules 8.1 to 8.3 - Rules to establish Licence criteria
REM ***************************************************************************

RULE [8.1]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "No"
then [Licence] = "Yes" @95

RULE [8.2]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "Yes"
then [Licence] = "Yes" @100

RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes"

REM ***************************************************************************
REM * Prompts for user input
REM ***************************************************************************

PROMPT [Application received] yesno CF


"Has the application been received and completed correctly?"

PROMPT [Residency] MultChoice CF


"What is the applicant's current residency status?"
"Australian Citizen"
"Australian Resident"
"New Zealand citizen holding a special category visa"
"Other"

PROMPT [Security Clearance] yesno CF


"Has the Security clearance been received without any issues?"

PROMPT [First Aid] yesno CF


"Has a Senior First Aid Certificate been provided?"

PROMPT [Swimming] yesno CF


"Has the applicant passed the swimming proficiency test?"

PROMPT [Employment Years] Numeric CF


"How many years of full time employment has the applicant had (0-60)?"
"0"
"60"

17
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
PROMPT [Study Level] MultChoice CF
"What Level of Tertiary study has the applicant completed/are currently studying?"
"Bachelor Degree"
"Diploma"
"Other"
"None"

PROMPT [Study Completed] yesno CF


"has the applicant completed the Diploma/Degree?"

PROMPT [Completed Semesters] Numeric CF


"How many semesters of fulltime equivalent study has been completed (0-24)?"
"0"
"24"

PROMPT [Completed Hours] Numeric CF


"How many hours has the applicant completed for your Diploma (0-1000)?"
"0"
"1000"

PROMPT [Licence Type] MultChoice CF


"What type of drivers licence does the applicant hold?"
"Open Licence"
"Provisional Licence"
"Learners Permit"
"None"

PROMPT [Years Driving] Numeric CF


"How many years driving experience does the applicant have (0 - 60)?"
"0"
"60"

PROMPT [Defensive Driving] MultChoice CF


"Has the applicant completed a Defensive Driving course?"
"Yes"
"No"

PROMPT [Psych Test] MultChoice


"What was the applicant's Psychometric assessment rating?"
"Excellent"
"Very Good"
"Good"
"Satisfactory"
"Unsatisfactory"

PROMPT [Medical] yesno CF


"Has the applicant passed the Medical Examination?"

PROMPT [Panel Interview] MultChoice


"What was the applicant's Panel Interview rating?"
"Excellent"
"Very Good"
"Good"
"Satisfactory"
"Unsatisfactory"

18
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
PROMPT [Sex] MultChoice CF
"Please select the applicant's Gender?"
"Male"
"Female"

PROMPT [Age] Numeric CF


"How old is the applicant, in years (18-60)?"
"18"
"60"

PROMPT [Time] Numeric CF


"What time was achieved in the 2.4 kilometre run, in minutes (5-25)?"
"5"
"25"

PROMPT [Final Approval] yesno CF


"Has the Selection Committee given their final recommendation to HR?"

REM ***************************************************************************
REM * Default values
REM ***************************************************************************

DEFAULT [Application] = "No"


DEFAULT [Physical] = "No"
DEFAULT [Emp Ed] = "No"
DEFAULT [Licence] = "No"

REM *** The following default values are to cater for the user selecting ***
REM *** I dont know ***

DEFAULT [Application received] = "No"


DEFAULT [Residency] = "Other"
DEFAULT [Licence Type] = "None"
DEFAULT [Employment Years] = 0
DEFAULT [First Aid] = "No"
DEFAULT [Medical] = "No"
DEFAULT [Panel] = "No"
DEFAULT [Psych] = "Unsatisfactory"
DEFAULT [Security Clearance] = "No"
DEFAULT [Study level] = "None"
DEFAULT [Swimming] = "No"
DEFAULT [Testing] = "No"
DEFAULT [Time] = 25
DEFAULT [Final Approval] = "No"

REM ***************************************************************************
REM * Translate Commands
REM ***************************************************************************

TRANSLATE TR_RESULTS = "Applicant's suitability to join QLD Police:"


TRANSLATE TR_NORESP = "I Don't Know (Use Defaults)"
TRANSLATE TR_HOWCONF = "How confident are you of your response?"
TRANSLATE TR_ISRESULT = ":"

19
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
TRANSLATE TR_VALUE = ""
TRANSLATE TR_OF = ". "
TRANSLATE B_SUBMIT = "Submit response"

REM ***************************************************************************
REM * Goal and Min Confidence values
REM ***************************************************************************

MAXVALS [Application] 1
MAXVALS [Testing] 1

GOAL [Recommend]
MINCF [1]

REM ***************************************************************************
REM * End of code
REM ***************************************************************************

3.2.2 Police2.kb
REM QLD Police Entrance ES
REM This system is designed to determine an applicant's suitability to join the QLD Police Force
REM This is the Alternate version of the ES where all unsatisfactory answers are reported to the user

REM Created by: Michael Macdonald 21243831 m.macdonald.10@scu.edu.au


REM Anne McCloghry 21314999 a.mccloghry.10@scu.edu.au
REM Peter Axon 21314601 p.axon.10@scu.edu.au

REM Date Created: 25 April 2007


REM Unit Name: Intelligent Decision Systems - ISY10056
REM Assignment: 2007 Assignment 2

REM ***************************************************************************
REM * Rules 1.1 to 1.13 - Rules to establish Final Recommendation
REM ***************************************************************************

RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"

RULE [1.2]
If [Application received] = "No"
Then [Recommend] = "No - Application not received or completed correctly."

RULE [1.3]

20
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
If [Application] = "No - Residency Not Met"
Then [Recommend] = "No - Residency Not Met"

RULE [1.4]
if [Application] = "No - Security Clearance concerns"
Then [Recommend] = "No - Security Clearance concerns"

RULE [1.5]
if [Application] = "No - First Aid Certificate Required"
Then [Recommend] = "No - First Aid Certificate Required"

RULE [1.6]
if [Application] = "No - swimming proficiency test failed or not complete"
Then [Recommend] = "No - swimming proficiency test failed or not complete"

RULE [1.7]
if [Application] = "No - Licence requirements not met"
Then [Recommend] = "No - Licence requirements not met"

RULE [1.8]
if [Application] = "No - Employment / Education requirements not met"
Then [Recommend] = "No - Employment / Education requirements not met"

RULE [1.9]
if [Testing] = "No - Failed Psych Testing"
Then [Recommend] = "No - Failed Psych Testing"

RULE [1.10]
if [Testing] = "No - Failed Medical Testing"
Then [Recommend] = "No - Failed Medical Testing"

RULE [1.11]
if [Testing] = "No - Failed Physical Testing"
Then [Recommend] = "No - Failed Physical Testing"

RULE [1.12]
if [Testing] = "No - Failed Panel Interview"
Then [Recommend] = "No - Failed Panel Interview"

RULE [1.13]
if [Final Approval] = "No"
Then [Recommend] = "No - The selection committee has not recommended you."

REM ***************************************************************************
REM * Rules 2.1 to 1.4 - Rules to establish Testing criteria
REM ***************************************************************************

RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and

21
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Panel] = "Yes"
Then [Testing] = "Yes"

RULE [2.2]
if [Psych] = "Unsatisfactory"
Then [Testing] = "No - Failed Psych Testing"

RULE [2.3]
if [Medical] = "No"
Then [Testing] = "No - Failed Medical Testing"

RULE [2.4]
if [Physical] = "No"
Then [Testing] = "No - Failed Physical Testing"

RULE [2.5]
if [Panel] = "No"
Then [Testing] = "No - Failed Panel Interview"

REM ***************************************************************************
REM * Rules 3.1 to 3.7 - Rules to establish Application criteria
REM ***************************************************************************

RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand citizen holding a special
category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes"

RULE [3.2]
if [Residency] = "Other"
Then [Application] = "No - Residency Not Met"

RULE [3.3]
if [Security Clearance] = "No"
Then [Application] = "No - Security Clearance concerns"

RULE [3.4]
if [First Aid] = "No"
Then [Application] = "No - First Aid Certificate Required"

RULE [3.5]
if [Swimming] = "No"
Then [Application] = "No - swimming proficiency test failed or not complete"

RULE [3.6]
if [Licence] = "No"
Then [Application] = "No - Licence requirements not met"

22
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

RULE [3.7]
if [Emp Ed] = "No"
Then [Application] = "No - Employment / Education requirements not met"

REM ***************************************************************************
REM * Rules 4.1 to 4.4 - Rules to establish Panel interview criteria
REM ***************************************************************************

RULE [4.1]
If [Panel Interview] = "Satisfactory"
Then [Panel] = "Yes" @70

RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80

RULE [4.3]
If [Panel Interview] = "Very Good"
Then [Panel] = "Yes" @90

RULE [4.4]
If [Panel Interview] = "Excellent"
Then [Panel] = "Yes" @100

REM ***************************************************************************
REM * Rules 5.1 to 5.6 - Rules to establish Physical Assessment criteria
REM ***************************************************************************

RULE [5.1]
If [Sex] = "Male" and
[Age] < 30 and
[Time] < 12
then [Physical] = "Yes"

RULE [5.2]
If [Sex] = "Male" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 13
then [Physical] = "Yes"

RULE [5.3]
If [Sex] = "Male" and
[Age] > 39.999 and
[Time] < 14
then [Physical] = "Yes"

RULE [5.4]

23
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"

RULE [5.5]
If [Sex] = "Female" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 15
then [Physical] = "Yes"

RULE [5.6]
If [Sex] = "Female" and
[Age] > 39.999 and
[Time] < 16
then [Physical] = "Yes"

REM ***************************************************************************
REM * Rules 6.1 to 6.4 - Rules to establish Psych testing criteria
REM ***************************************************************************

RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70

RULE [6.2]
If [Psych Test] = "Good"
Then [Psych] = "Yes" @80

RULE [6.3]
If [Psych Test] = "Very Good"
Then [Psych] = "Yes" @90

RULE [6.4]
If [Psych Test] = "Excellent"
Then [Psych] = "Yes" @100

REM ***************************************************************************
REM * Rules 7.1 to 7.9 - Rules to establish Employment/Education criteria
REM ***************************************************************************

RULE [7.1]
If [Study level] : "None" "Other"
then [Emp Ed] = "No"

RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"

24
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
then [Emp Ed] = "Yes"

RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95

RULE [7.4]
If [Employment Years] <3 and
[Study level] = "Diploma" and
[Study Completed] = "No"
then [Emp Ed] = "No"

RULE [7.5]
If [Employment Years] < 3 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 2.999
then [Emp Ed] = "Yes" @80

RULE [7.6]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 1.999
then [Emp Ed] = "Yes" @90

RULE [7.7]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Diploma" and
[Completed Hours] > 399.999
then [Emp Ed] = "Yes" @85

RULE [7.8]
If [Employment Years] > 4.999 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 0.999
then [Emp Ed] = "Yes"

RULE [7.9]
If [Employment Years] > 4.999 and
[Study level] = "Diploma" and
[Completed Hours] > 199.999
then [Emp Ed] = "Yes" @95

REM ***************************************************************************
REM * Rules 8.1 to 8.3 - Rules to establish Licence criteria
REM ***************************************************************************

RULE [8.1]
If [Licence Type] = "Open Licence" and

25
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Defensive Driving] = "No"
then [Licence] = "Yes" @95

RULE [8.2]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "Yes"
then [Licence] = "Yes" @100

RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes"

REM ***************************************************************************
REM * Prompts for user input
REM ***************************************************************************

PROMPT [Application received] yesno CF


"Has the application been received and completed correctly?"

PROMPT [Residency] MultChoice CF


"What is the applicant's current residency status?"
"Australian Citizen"
"Australian Resident"
"New Zealand citizen holding a special category visa"
"Other"

PROMPT [Security Clearance] yesno CF


"Has the Security clearance been received without any issues?"

PROMPT [First Aid] yesno CF


"Has a Senior First Aid Certificate been provided?"

PROMPT [Swimming] yesno CF


"Has the applicant passed the swimming proficiency test?"

PROMPT [Employment Years] Numeric CF


"How many years of full time employment has the applicant had (0-60)?"
"0"
"60"

PROMPT [Study Level] MultChoice CF


"What Level of Tertiary study has the applicant completed/is currently studying?"
"Bachelor Degree"
"Diploma"
"Other"
"None"

PROMPT [Study Completed] yesno CF


"has the applicant completed the Diploma/Degree?"

26
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

PROMPT [Completed Semesters] Numeric CF


"How many semesters of fulltime equivalent study has been completed (0-24)?"
"0"
"24"

PROMPT [Completed Hours] Numeric CF


"How many hours has the applicant completed for your Diploma (0-1000)?"
"0"
"1000"

PROMPT [Licence Type] MultChoice CF


"What type of drivers licence does the applicant hold?"
"Open Licence"
"Provisional Licence"
"Learners Permit"
"None"

PROMPT [Years Driving] Numeric CF


"How many years driving experience does the applicant have (0 - 60)?"
"0"
"60"

PROMPT [Defensive Driving] MultChoice CF


"Has the applicant completed a Defensive Driving course?"
"Yes"
"No"

PROMPT [Psych Test] MultChoice


"What was the applicant's Psychometric assessment rating?"
"Excellent"
"Very Good"
"Good"
"Satisfactory"
"Unsatisfactory"

PROMPT [Medical] yesno CF


"Has the applicant passed the Medical Examination?"

PROMPT [Panel Interview] MultChoice


"What was the applicant's Panel Interview rating?"
"Excellent"
"Very Good"
"Good"
"Satisfactory"
"Unsatisfactory"

PROMPT [Sex] MultChoice CF


"Please select the applicant's Gender?"
"Male"
"Female"

PROMPT [Age] Numeric CF

27
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
"How old is the applicant, in years (18-60)?"
"18"
"60"

PROMPT [Time] Numeric CF


"What time was achieved in the 2.4 kilometre run, in minutes (5-25)?"
"5"
"25"

PROMPT [Final Approval] yesno CF


"Has the Selection Committee given their final recommendation to HR?"

REM ***************************************************************************
REM * Default values
REM ***************************************************************************

DEFAULT [Application] = "No"


DEFAULT [Physical] = "No"
DEFAULT [Emp Ed] = "No"
DEFAULT [Licence] = "No"

REM *** The following default values are to cater for the user selecting "I dont know"

DEFAULT [Application received] = "No"


DEFAULT [Residency] = "Other"
DEFAULT [Licence Type] = "None"
DEFAULT [Employment Years] = 0
DEFAULT [First Aid] = "No"
DEFAULT [Medical] = "No"
DEFAULT [Panel] = "No"
DEFAULT [Psych] = "Unsatisfactory"
DEFAULT [Security Clearance] = "No"
DEFAULT [Study level] = "None"
DEFAULT [Swimming] = "No"
DEFAULT [Testing] = "No"
DEFAULT [Time] = 25
DEFAULT [Final Approval] = "No"

REM ***************************************************************************
REM * Translate Commands
REM ***************************************************************************

TRANSLATE TR_RESULTS = "Applicant's suitability to join QLD Police:"


TRANSLATE TR_NORESP = "I Don't Know (Use Defaults)"
TRANSLATE TR_HOWCONF = "How confident are you of your response?"
TRANSLATE TR_ISRESULT = ":"
TRANSLATE TR_VALUE = ""
TRANSLATE TR_OF = ". "

28
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
TRANSLATE B_SUBMIT = "Submit response"

REM ***************************************************************************
REM * Goal and Min Confidence values
REM ***************************************************************************

MAXVALS [Application] 6
MAXVALS [Testing] 4
MAXVALS [Recommend] 12

GOAL [Recommend]
MINCF [1]

REM ***************************************************************************
REM * End of code
REM ***************************************************************************

29
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

4. EXPERT SYSTEM EVALUATION

The prototype system developed to this stage has a number of attributes that would make it
beneficial for use in the recruitment process of the Queensland Police Service.

The dual-system feature allows for better communication between would-be recruits and the
selection panel. Each unsuccessful applicant could be presented with a list of reasons why they
were eliminated, which enables both a positive dismissal and a chance for improvement should
they wish to re-apply.

The information contained in the knowledge base enables recruiters to immediately assess an
applicant’s suitability given the system input. The system is portable, accurate and easy to use
for novice and expert users alike.

The problems that we foresee in the current prototype are based on any changes that would need
to be made to the expert system. These changes would occur if the application process of the
Queensland Police Service were to alter in some way. The existing rules would need to be
adapted to accommodate a changed selection process and some would need to be re-ordered to
allow for different dependencies on other criteria

30
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

5. TESTING

5.1 User Input

The following prompts will be asked of the user within the expert system and the possible
answers or value ranges are shown:

PROMPT [Application received] YesNo CF


"Has the application been received and completed correctly?"
"yes"
"no"
"I Don’t Know (Use Defaults)"

PROMPT [Residency] Multchoice CF


"What is the applicant’s current residency status?"
"Australian Citizen"
"Australian Resident"
“New Zealand citizen holding a special category visa”
“Other”
“I Don’t Know (Use Defaults)”

PROMPT [security clearance] YesNo CF


“Has the security clearance been received without any issues?"
"yes"
"no"
“I Don’t Know (Use Defaults)”

PROMPT [First Aid] YesNo CF


"Has a senior First Aid certificate been provided?"
"yes"
"no"
“I Don’t Know (Use Defaults)”

PROMPT [swimming] YesNo CF


"Has the applicant passed the swimming proficiency test?"
"yes"
"no"
“I Don’t Know (Use Defaults)”

PROMPT [Licence Type] MultChoice CF


"What type of drivers licence does the applicant hold?"
"Open Licence"
"Provisional Licence"
"Learners Permit"
"None"
“I Don’t Know (Use Defaults)”

PROMPT [Years Driving] Numeric CF


"How many years driving experience does the applicant have (0 - 60)?"
"0"

31
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
"60"

PROMPT [Defensive Driving] MultChoice CF


"Has the applicant completed a Defensive Driving course?"
"Yes"
"No"
“I Don’t Know (Use Defaults)”

PROMPT [Study Level] MultChoice CF


"What Level of Tertiary study has the applicant completed/are currently studying?"
"Bachelor Degree"
"Diploma"
"Other"
"None"
“I Don’t Know (Use Defaults)”

PROMPT [Study Completed] YesNo CF


"Has the applicant completed the Diploma/Degree?"
“yes”
“no”
“I Don’t Know (Use Defaults)”

PROMPT [Employment Years] Numeric CF


"How many years of full time employment has the applicant had (0-60) ?"
"0"
"60"

PROMPT [Completed Semesters] Numeric CF


"How many semesters of fulltime equivalent study has been completed (0-24)?"
"0"
"24"

PROMPT [Completed Hours] Numeric CF


"How many hours has the applicant completed for your Diploma (0-1000)?"
"0"
"1000"

PROMPT [Psych Test] MultChoice


"What was the applicant's Psychometric assessment rating?"
"Excellent"
"Very Good"
"Good"
"Satisfactory"
"Unsatisfactory"
“I Don’t Know (Use Defaults)”

PROMPT [Medical] YesNo CF


"Has the applicant passed the Medical Examination?"
“yes”
“no”

32
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
“I Don’t Know (Use Defaults)”

PROMPT [Sex] MultChoice CF


"Please select the applicant's Gender?"
"Male"
"Female"

PROMPT [Age] Numeric CF


"How old is the applicant, in years (18-60)?"
"18"
"60"

PROMPT [Time] Numeric CF


"What time was achieved in the 2.4 kilometre run, in minutes (5-25)?"
"5"
"25"

PROMPT [Panel Interview] MultChoice


"What was the applicant's Panel Interview rating?"
"Excellent"
"Very Good"
"Good"
"Satisfactory"
"Unsatisfactory"
“I Don’t Know (Use Defaults)”

PROMPT [Final Approval] YesNo CF


"Has the Selection Committee given their final recommendation to HR?"
“yes”
“no”
“I Don’t Know (Use Defaults)”

The default values of the variables are as follows:

DEFAULT [Application] = "No"


DEFAULT [Physical] = "No"
DEFAULT [Emp Ed] = "No"
DEFAULT [Licence] = "No"

The following default values are to cater for the user selecting I don’t know

DEFAULT [Application received] = "No"


DEFAULT [Residency] = "Other"
DEFAULT [Licence Type] = "None"
DEFAULT [Employment Years] = 0
DEFAULT [First Aid] = "No"
DEFAULT [Medical] = "No"
DEFAULT [Panel] = "No"
DEFAULT [Psych] = "Unsatisfactory"
DEFAULT [Security Clearance] = "No"
DEFAULT [Study level] = "None"

33
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
DEFAULT [Swimming] = "No"
DEFAULT [Testing] = "No"
DEFAULT [Time] = 25
DEFAULT [Final Approval] = "No"

34
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

5.2 Expected Test Results


Testing of the Expert System will be conducted by selecting certain scenarios, desk
checking them to establish the expected result, and then comparing this to the output
from E2gLite.

Various scenarios will be chosen to select as many variations as possible to ensure


accuracy of the system.

5.2.1 TEST 1
This test is for an excellent applicant.

Data Input at Prompts


Application Received > Yes
Residency > Australian Citizen
Security Clearance > Yes
First Aid > Yes
Swimming > Yes
License Type > Open
Defensive Driving > Yes
Study Level > Bachelor
Study Completed >Yes
Psych Test > Excellent
Medical > Yes
Sex > Male
Age > 22
Time >6
Panel Interview > Excellent
Final Approval > Yes

Expected Result
RULE [8.2]
If [License Type] = "Open Licence" and
[Defensive Driving] = "Yes"
then [License] = "Yes" @100
RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes"
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"

35
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Then [Application] = "Yes"
RULE [6.4]
If [Psych Test] = "Excellent"
Then [Psych] = "Yes" @100
RULE [5.1]
If [Sex] = "Male" and
[Age] < 30 and
[Time] < 12
then [Physical] = "Yes

RULE [4.4]
If [Panel Interview] = "Excellent"
Then [Panel] = "Yes" @100
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes"
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"

Actual Result
Recommend = “Yes” CF = 100%

E2GLite Output
(condensed to show only the output where a rule or prompt has been assigned or fired True)

STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):


>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown

PROMPT FOR: Application received


*Prompt assigned: Application received=yes (100.0%)
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Application received


TRYING RULE: 1.1
>Add to goal stack: application
>Rule status after evaluation is: Unknown
TRYING RULE: 3.1
>Add to goal stack: Residency
>Rule status after evaluation is: Unknown

PROMPT FOR: Residency


*Prompt assigned: Residency=Australian Citizen (100.0%)
FORWARD CHAIN: Residency=Australian Citizen (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Residency


TRYING RULE: 3.1
>Add to goal stack: Security Clearance
>Rule status after evaluation is: Unknown

PROMPT FOR: Security Clearance


*Prompt assigned: Security Clearance=yes (100.0%)
FORWARD CHAIN: Security Clearance=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

36
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Security Clearance
TRYING RULE: 3.1
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown

PROMPT FOR: First Aid


*Prompt assigned: First Aid=yes (100.0%)
FORWARD CHAIN: First Aid=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
REMOVE FROM GOAL STACK (Resolved): First Aid
TRYING RULE: 3.1
>Add to goal stack: Swimming
>Rule status after evaluation is: Unknown

PROMPT FOR: Swimming


*Prompt assigned: Swimming=yes (100.0%)
FORWARD CHAIN: Swimming=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Swimming


TRYING RULE: 3.1
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown

PROMPT FOR: License Type


*Prompt assigned: Licence Type=Open License (100.0%)
FORWARD CHAIN: License Type=Open License (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): License Type


TRYING RULE: 8.1
>Add to goal stack: Defensive Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Defensive Driving


*Prompt assigned: Defensive Driving=Yes (100.0%)
FORWARD CHAIN: Defensive Driving=Yes (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: False/Failed

>Forward chain - trying rule: 8.2


>Rule status after evaluation is: True/Fired
*Rule assigned: License=Yes (100.0%)
FORWARD CHAIN: License=Yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Defensive Driving


FORWARD CHAIN: License=Yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License


TRYING RULE: 3.1
>Add to goal stack: Emp Ed
>Rule status after evaluation is: Unknown
TRYING RULE: 7.1
>Add to goal stack: Study level
>Rule status after evaluation is: Unknown

PROMPT FOR: Study level


*Prompt assigned: Study level=Bachelor Degree (100.0%)
FORWARD CHAIN: Study level=Bachelor Degree (100.0%)
>Forward chain - trying rule: 7.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study level


TRYING RULE: 7.1
>Rule status after evaluation is: Failed
TRYING RULE: 7.2
>Add to goal stack: Study Completed
>Rule status after evaluation is: Unknown

PROMPT FOR: Study Completed


*Prompt assigned: Study Completed=yes (100.0%)
FORWARD CHAIN: Study Completed=yes (100.0%)
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: True/Fired
*Rule assigned: Emp Ed=Yes (100.0%)
FORWARD CHAIN: Emp Ed=Yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: True/Fired
*Rule assigned: application=Yes (100.0%)
FORWARD CHAIN: application=Yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Study Completed


FORWARD CHAIN: Emp Ed=Yes (100.0%)
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Emp Ed


FORWARD CHAIN: application=Yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


TRYING RULE: 1.1
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test

37
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Rule status after evaluation is: Unknown

PROMPT FOR: Psych Test


*Prompt assigned: Psych Test=Excellent (100.0%)
FORWARD CHAIN: Psych Test=Excellent (100.0%)
>Forward chain - trying rule: 6.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.3
>Rule status after evaluation is: Unknown

>Forward chain - trying rule: 6.4


>Rule status after evaluation is: True/Fired
*Rule assigned: Psych=Yes (100.0%)
FORWARD CHAIN: Psych=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych Test


FORWARD CHAIN: Psych=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych


TRYING RULE: 2.1
>Add to goal stack: Medical
>Rule status after evaluation is: Unknown

PROMPT FOR: Medical


*Prompt assigned: Medical=yes (100.0%)
FORWARD CHAIN: Medical=yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Medical


TRYING RULE: 2.1
>Add to goal stack: Physical
>Rule status after evaluation is: Unknown
TRYING RULE: 5.1
>Add to goal stack: Sex
>Rule status after evaluation is: Unknown

PROMPT FOR: Sex


*Prompt assigned: Sex=Male (100.0%)
FORWARD CHAIN: Sex=Male (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Sex


TRYING RULE: 5.1
>Add to goal stack: Age
>Rule status after evaluation is: Unknown

PROMPT FOR: Age


*Prompt assigned: Age=22.0 (100.0%)
FORWARD CHAIN: Age=22.0 (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Age


TRYING RULE: 5.1
>Add to goal stack: Time
>Rule status after evaluation is: Unknown

PROMPT FOR: Time


*Prompt assigned: Time=6.0 (100.0%)
FORWARD CHAIN: Time=6.0 (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Physical=Yes (100.0%)
FORWARD CHAIN: Physical=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Time


FORWARD CHAIN: Physical=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Physical


TRYING RULE: 2.1
>Add to goal stack: Panel
>Rule status after evaluation is: Unknown
TRYING RULE: 4.1
>Add to goal stack: Panel Interview
>Rule status after evaluation is: Unknown

PROMPT FOR: Panel Interview


*Prompt assigned: Panel Interview=Excellent (100.0%)
FORWARD CHAIN: Panel Interview=Excellent (100.0%)
>Forward chain - trying rule: 4.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.3
>Rule status after evaluation is: Unknown

>Forward chain - trying rule: 4.4


>Rule status after evaluation is: True/Fired
*Rule assigned: Panel=Yes (100.0%)
FORWARD CHAIN: Panel=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=Yes (100.0%)
FORWARD CHAIN: Testing=Yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

38
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Panel Interview
FORWARD CHAIN: Panel=Yes (100.0%)
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
REMOVE FROM GOAL STACK (Resolved): Panel
FORWARD CHAIN: Testing=Yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Testing


TRYING RULE: 1.1
>Add to goal stack: Final Approval
>Rule status after evaluation is: Unknown

PROMPT FOR: Final Approval


*Prompt assigned: Final Approval=yes (100.0%)
FORWARD CHAIN: Final Approval=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=Yes (100.0%)
FORWARD CHAIN: Recommend=Yes (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Final Approval


FORWARD CHAIN: Recommend=Yes (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION

5.2.2 TEST 2
This test is for a poor applicant, aimed at testing the Testing section (rule set 2).

Data Input at Prompts


Application Received > Yes
Residency > Australian Citizen
Security Clearance > Yes
First Aid > Yes
Swimming > Yes
License Type > Provisional
Years Driving >3
Defensive Driving > Yes
Study Level > Diploma
Study Completed >Yes
Psych Test > Satisfactory
Medical > Yes
Sex > Male
Age > 40
Time > 15

Expected Result

RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes"
RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95

39
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes"
RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70
No rule fires in rule set 5 default assigned to Physical = “No”
RULE [2.2]
if [Psych] = "No" or
[Medical] = "No" or
[Physical] = "No" or
[Panel] = "No"
Then [Testing] = "No"
RULE [1.2]
if [Application received] = "No" Or
[Testing] = "No" Or
[application] = "No" Or
[Final Approval] = "No"
Then [Recommend] = "No - Not all requirements to join have been met."

Actual Result
Recommend = “No” CF = 100%

E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown

PROMPT FOR: Application received


*Prompt assigned: Application received=yes (100.0%)
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Application received


TRYING RULE: 1.1
>Add to goal stack: application
>Rule status after evaluation is: Unknown
TRYING RULE: 3.1
>Add to goal stack: Residency
>Rule status after evaluation is: Unknown

PROMPT FOR: Residency


*Prompt assigned: Residency=Australian Citizen (100.0%)
FORWARD CHAIN: Residency=Australian Citizen (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Residency


TRYING RULE: 3.1
>Add to goal stack: Security Clearance
>Rule status after evaluation is: Unknown

PROMPT FOR: Security Clearance


*Prompt assigned: Security Clearance=yes (100.0%)
FORWARD CHAIN: Security Clearance=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Security Clearance


TRYING RULE: 3.1
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown

PROMPT FOR: First Aid


*Prompt assigned: First Aid=yes (100.0%)

40
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: First Aid=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): First Aid


TRYING RULE: 3.1
>Add to goal stack: Swimming
>Rule status after evaluation is: Unknown

PROMPT FOR: Swimming


*Prompt assigned: Swimming=yes (100.0%)
FORWARD CHAIN: Swimming=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Swimming


TRYING RULE: 3.1
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown

PROMPT FOR: License Type


*Prompt assigned: License Type=Provisional License (100.0%)
FORWARD CHAIN: License Type=Provisional License (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License Type


TRYING RULE: 8.3
>Add to goal stack: Years Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Years Driving


*Prompt assigned: Years Driving=3.0 (100.0%)
FORWARD CHAIN: Years Driving=3.0 (100.0%)
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Years Driving


TRYING RULE: 8.3
>Add to goal stack: Defensive Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Defensive Driving


*Prompt assigned: Defensive Driving=Yes (100.0%)
FORWARD CHAIN: Defensive Driving=Yes (100.0%)
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: True/Fired
*Rule assigned: License=Yes (100.0%)
FORWARD CHAIN: License=Yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Defensive Driving


FORWARD CHAIN: License=Yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License


TRYING RULE: 3.1
>Add to goal stack: Emp Ed
>Rule status after evaluation is: Unknown
TRYING RULE: 7.1
>Add to goal stack: Study level
>Rule status after evaluation is: Unknown

PROMPT FOR: Study level


*Prompt assigned: Study level=Diploma (100.0%)
FORWARD CHAIN: Study level=Diploma (100.0%)
>Forward chain - trying rule: 7.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Study level


TRYING RULE: 7.1
>Rule status after evaluation is: Failed
TRYING RULE: 7.3
>Add to goal stack: Study Completed
>Rule status after evaluation is: Unknown

PROMPT FOR: Study Completed


*Prompt assigned: Study Completed=yes (100.0%)
FORWARD CHAIN: Study Completed=yes (100.0%)
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: True/Fired
*Rule assigned: Emp Ed=Yes (95.0%)
FORWARD CHAIN: Emp Ed=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: True/Fired
*Rule assigned: application=Yes (95.0%)
FORWARD CHAIN: application=Yes (95.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study Completed


FORWARD CHAIN: Emp Ed=Yes (95.0%)
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Emp Ed


FORWARD CHAIN: application=Yes (95.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

41
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): application
TRYING RULE: 1.1
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test
>Rule status after evaluation is: Unknown

PROMPT FOR: Psych Test


*Prompt assigned: Psych Test=Satisfactory (100.0%)
FORWARD CHAIN: Psych Test=Satisfactory (100.0%)
>Forward chain - trying rule: 6.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Psych=Yes (70.0%)
FORWARD CHAIN: Psych=Yes (70.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych Test


FORWARD CHAIN: Psych=Yes (70.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych


TRYING RULE: 2.1
>Add to goal stack: Medical
>Rule status after evaluation is: Unknown

PROMPT FOR: Medical


*Prompt assigned: Medical=yes (100.0%)
FORWARD CHAIN: Medical=yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Medical


TRYING RULE: 2.1
>Add to goal stack: Physical
>Rule status after evaluation is: Unknown
TRYING RULE: 5.1
>Add to goal stack: Sex
>Rule status after evaluation is: Unknown

PROMPT FOR: Sex


*Prompt assigned: Sex=Male (100.0%)
FORWARD CHAIN: Sex=Male (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Sex


TRYING RULE: 5.1
>Add to goal stack: Age
>Rule status after evaluation is: Unknown

PROMPT FOR: Age


*Prompt assigned: Age=40.0 (100.0%)
FORWARD CHAIN: Age=40.0 (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Age


TRYING RULE: 5.3
>Add to goal stack: Time
>Rule status after evaluation is: Unknown

PROMPT FOR: Time


*Prompt assigned: Time=15.0 (100.0%)
FORWARD CHAIN: Time=15.0 (100.0%)
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Time


*Default assigned: Physical=No
FORWARD CHAIN: Physical=No (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: False/Failed

>Forward chain - trying rule: 2.2


>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=No (100.0%)
FORWARD CHAIN: Testing=No (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: False/Failed

>Forward chain - trying rule: 1.2


>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Not all requirements to join have been met.
(100.0%)
FORWARD CHAIN: Recommend=No - Not all requirements to join have been met.
(100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Physical
FORWARD CHAIN: Testing=No (100.0%)
>No eligible rules for: Testing
REMOVE FROM GOAL STACK (Resolved): Testing
FORWARD CHAIN: Recommend=No - Not all requirements to join have been met.
(100.0%)

42
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION

43
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

5.2.3 TEST 3
This test is for a poor applicant, aimed at testing the Employment/Education
section (rule set 7).

Data Input at Prompts


Application Received > Yes
Residency > Australian Citizen
Security Clearance > Yes
First Aid > Yes
Swimming > Yes
License Type > Open
Defensive Driving > No
Study Level > None

Expected Result
RULE [8.1]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "No"
then [Licence] = "Yes" @95

RULE [7.1]
If [Study level] : "None" "Other"
then [Emp Ed] = "No"
RULE [3.2]
if [Residency] = "Other" Or
[Security Clearance] = "No" Or
[First Aid] = "No" Or
[Swimming] = "No" Or
[Licence] = "No" Or
[Emp Ed] = "No"
Then [Application] = "No"
RULE [1.2]
if [Application received] = "No" Or
[Testing] = "No" Or
[application] = "No" Or
[Final Approval] = "No"
Then [Recommend] = "No - Not all requirements to join have been met."
So Recommend = “No” @100

Actual Result
Recommend = “No” CF = 100%

E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown

PROMPT FOR: Application received


*Prompt assigned: Application received=yes (100.0%)

44
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Application received


TRYING RULE: 1.1
>Add to goal stack: application
>Rule status after evaluation is: Unknown
TRYING RULE: 3.1
>Add to goal stack: Residency
>Rule status after evaluation is: Unknown

PROMPT FOR: Residency


*Prompt assigned: Residency=Australian Citizen (100.0%)
FORWARD CHAIN: Residency=Australian Citizen (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Residency


TRYING RULE: 3.1
>Add to goal stack: Security Clearance
>Rule status after evaluation is: Unknown

PROMPT FOR: Security Clearance


*Prompt assigned: Security Clearance=yes (100.0%)
FORWARD CHAIN: Security Clearance=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Security Clearance


TRYING RULE: 3.1
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown

PROMPT FOR: First Aid


*Prompt assigned: First Aid=yes (100.0%)
FORWARD CHAIN: First Aid=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): First Aid


TRYING RULE: 3.1
>Add to goal stack: Swimming
>Rule status after evaluation is: Unknown

PROMPT FOR: Swimming


*Prompt assigned: Swimming=yes (100.0%)
FORWARD CHAIN: Swimming=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Swimming


TRYING RULE: 3.1
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown

PROMPT FOR: License Type


*Prompt assigned: License Type=Open License (100.0%)
FORWARD CHAIN: License Type=Open License (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): License Type


TRYING RULE: 8.1
>Add to goal stack: Defensive Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Defensive Driving


*Prompt assigned: Defensive Driving=No (100.0%)
FORWARD CHAIN: Defensive Driving=No (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: True/Fired
*Rule assigned: License=Yes (95.0%)
FORWARD CHAIN: License=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Defensive Driving


FORWARD CHAIN: License=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License


TRYING RULE: 3.1
>Add to goal stack: Emp Ed
>Rule status after evaluation is: Unknown
TRYING RULE: 7.1
>Add to goal stack: Study level
>Rule status after evaluation is: Unknown

PROMPT FOR: Study level


*Prompt assigned: Study level=None (100.0%)
FORWARD CHAIN: Study level=None (100.0%)
>Forward chain - trying rule: 7.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Emp Ed=No (100.0%)
FORWARD CHAIN: Emp Ed=No (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: False/Failed

>Forward chain - trying rule: 3.2


>Rule status after evaluation is: True/Fired
*Rule assigned: application=No (100.0%)
FORWARD CHAIN: application=No (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: False/Failed

45
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Not all requirements to join have been met.
(100.0%)
FORWARD CHAIN: Recommend=No - Not all requirements to join have been met.
(100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study level


FORWARD CHAIN: Emp Ed=No (100.0%)
>No eligible rules for: Emp Ed
REMOVE FROM GOAL STACK (Resolved): Emp Ed
FORWARD CHAIN: application=No (100.0%)
>No eligible rules for: application
REMOVE FROM GOAL STACK (Resolved): application
FORWARD CHAIN: Recommend=No - Not all requirements to join have been met.
(100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION

5.2.4 TEST 4
This test is for an average applicant, it also tests various confidence factors.

Data Input at Prompts

Application Received > Yes


Residency > Australian Citizen
Security Clearance > Yes
First Aid > Yes
Swimming > Yes @80
License Type > Open
Defensive Driving > No
Study Level > Bachelor
Study Completed >No
Years of Employment > 7 @90
Years of Study Completed > 2
Psych Test > Very Good
Medical > Yes
Sex > Female
Age > 26
Time >8
Panel Interview > Very Good
Final Approval > Yes

Expected Result
RULE [8.2]
If [License Type] = "Open License" and
[Defensive Driving] = "Yes"
then [License] = "Yes" @95

46
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [7.8]
If [Employment Years] > 4.999 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 0.999
then [Emp Ed] = "Yes"@90
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[License] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes" @68.4 - CF's for License (95), Emp Ed (90),
Residency
Security, First Aid and Swimming (80) combined – 0.95 x 0.9 x 0.8 = 0.684
RULE [6.3]
If [Psych Test] = "Very Good"
Then [Psych] = "Yes" @90

RULE [5.4]
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"
RULE [4.3]
If [Panel Interview] = "Very Good"
Then [Panel] = "Yes" @90
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes" ” @81 - CF's for Psych (90), Physical, Panel (90)
and Medical combined – 0.9 x 0.9 = 0.81
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
Combining CF's for Testing and Application gives 0.684 * 0.81 = 0.55404
So Recommend = “Yes” @55.404

Actual Result
Recommend = “Yes” CF = 55.404%

E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown

47
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
PROMPT FOR: Application received
*Prompt assigned: Application received=yes (100.0%)
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Application received


TRYING RULE: 1.1
>Add to goal stack: application
>Rule status after evaluation is: Unknown
TRYING RULE: 3.1
>Add to goal stack: Residency
>Rule status after evaluation is: Unknown

PROMPT FOR: Residency


*Prompt assigned: Residency=Australian Citizen (100.0%)
FORWARD CHAIN: Residency=Australian Citizen (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Residency


TRYING RULE: 3.1
>Add to goal stack: Security Clearance
>Rule status after evaluation is: Unknown

PROMPT FOR: Security Clearance


*Prompt assigned: Security Clearance=yes (100.0%)
FORWARD CHAIN: Security Clearance=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Security Clearance


TRYING RULE: 3.1
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown

PROMPT FOR: First Aid


*Prompt assigned: First Aid=yes (100.0%)
FORWARD CHAIN: First Aid=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): First Aid


TRYING RULE: 3.1
>Add to goal stack: Swimming
>Rule status after evaluation is: Unknown

PROMPT FOR: Swimming


*Prompt assigned: Swimming=yes (80.0%)
FORWARD CHAIN: Swimming=yes (80.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Swimming


TRYING RULE: 3.1
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown

PROMPT FOR: License Type


*Prompt assigned: License Type=Open License (100.0%)
FORWARD CHAIN: License Type=Open License (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): License Type


TRYING RULE: 8.1
>Add to goal stack: Defensive Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Defensive Driving


*Prompt assigned: Defensive Driving=No (100.0%)
FORWARD CHAIN: Defensive Driving=No (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: True/Fired
*Rule assigned: License=Yes (95.0%)
FORWARD CHAIN: License=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Defensive Driving


FORWARD CHAIN: License=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License


TRYING RULE: 3.1
>Add to goal stack: Emp Ed
>Rule status after evaluation is: Unknown
TRYING RULE: 7.1
>Add to goal stack: Study level
>Rule status after evaluation is: Unknown

PROMPT FOR: Study level


*Prompt assigned: Study level=Bachelor Degree (100.0%)
FORWARD CHAIN: Study level=Bachelor Degree (100.0%)
>Forward chain - trying rule: 7.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study level


TRYING RULE: 7.1
>Rule status after evaluation is: Failed
TRYING RULE: 7.2
>Add to goal stack: Study Completed
>Rule status after evaluation is: Unknown

PROMPT FOR: Study Completed


*Prompt assigned: Study Completed=no (100.0%)

48
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: Study Completed=no (100.0%)
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study Completed


TRYING RULE: 7.5
>Add to goal stack: Employment Years
>Rule status after evaluation is: Unknown

PROMPT FOR: Employment Years


*Prompt assigned: Employment Years=7.0 (90.0%)
FORWARD CHAIN: Employment Years=7.0 (90.0%)
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Employment Years


TRYING RULE: 7.8
>Add to goal stack: Completed Semesters
>Rule status after evaluation is: Unknown

PROMPT FOR: Completed Semesters


*Prompt assigned: Completed Semesters=2.0 (100.0%)
FORWARD CHAIN: Completed Semesters=2.0 (100.0%)
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: True/Fired
*Rule assigned: Emp Ed=Yes (90.0%)
FORWARD CHAIN: Emp Ed=Yes (90.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: True/Fired
*Rule assigned: application=Yes (68.4%)
FORWARD CHAIN: application=Yes (68.4%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Completed Semesters


FORWARD CHAIN: Emp Ed=Yes (90.0%)
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Emp Ed


FORWARD CHAIN: application=Yes (68.4%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


TRYING RULE: 1.1
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test
>Rule status after evaluation is: Unknown

PROMPT FOR: Psych Test


*Prompt assigned: Psych Test=Very Good (100.0%)
FORWARD CHAIN: Psych Test=Very Good (100.0%)
>Forward chain - trying rule: 6.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.2
>Rule status after evaluation is: Unknown

>Forward chain - trying rule: 6.3


>Rule status after evaluation is: True/Fired
*Rule assigned: Psych=Yes (90.0%)
FORWARD CHAIN: Psych=Yes (90.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych Test


FORWARD CHAIN: Psych=Yes (90.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych


TRYING RULE: 2.1
>Add to goal stack: Medical
>Rule status after evaluation is: Unknown

PROMPT FOR: Medical


*Prompt assigned: Medical=yes (100.0%)
FORWARD CHAIN: Medical=yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Medical


TRYING RULE: 2.1
>Add to goal stack: Physical
>Rule status after evaluation is: Unknown
TRYING RULE: 5.1
>Add to goal stack: Sex
>Rule status after evaluation is: Unknown

PROMPT FOR: Sex


*Prompt assigned: Sex=Female (100.0%)
FORWARD CHAIN: Sex=Female (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Sex


TRYING RULE: 5.4
>Add to goal stack: Age
>Rule status after evaluation is: Unknown

PROMPT FOR: Age


*Prompt assigned: Age=26.0 (100.0%)
FORWARD CHAIN: Age=26.0 (100.0%)
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: Unknown

49
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Age


TRYING RULE: 5.4
>Add to goal stack: Time
>Rule status after evaluation is: Unknown

PROMPT FOR: Time


*Prompt assigned: Time=8.0 (100.0%)
FORWARD CHAIN: Time=8.0 (100.0%)
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: True/Fired
*Rule assigned: Physical=Yes (100.0%)
FORWARD CHAIN: Physical=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Time


FORWARD CHAIN: Physical=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Physical


TRYING RULE: 2.1
>Add to goal stack: Panel
>Rule status after evaluation is: Unknown
TRYING RULE: 4.1
>Add to goal stack: Panel Interview
>Rule status after evaluation is: Unknown

PROMPT FOR: Panel Interview


*Prompt assigned: Panel Interview=Very Good (100.0%)
FORWARD CHAIN: Panel Interview=Very Good (100.0%)
>Forward chain - trying rule: 4.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.2
>Rule status after evaluation is: Unknown

>Forward chain - trying rule: 4.3


>Rule status after evaluation is: True/Fired
*Rule assigned: Panel=Yes (90.0%)
FORWARD CHAIN: Panel=Yes (90.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=Yes (81.0%)
FORWARD CHAIN: Testing=Yes (81.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Panel Interview


FORWARD CHAIN: Panel=Yes (90.0%)
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Panel


FORWARD CHAIN: Testing=Yes (81.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Testing


TRYING RULE: 1.1
>Add to goal stack: Final Approval
>Rule status after evaluation is: Unknown

PROMPT FOR: Final Approval


*Prompt assigned: Final Approval=yes (100.0%)
FORWARD CHAIN: Final Approval=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=Yes (55.404%)
FORWARD CHAIN: Recommend=Yes (55.404%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Final Approval


FORWARD CHAIN: Recommend=Yes (55.404%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION

50
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

51
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

5.2.5 TEST 5
This test is for another average applicant, it further tests various confidence
factors.

Data Input at Prompts

Application Received > Yes


Residency > New Zealand Citizen holding special visa
Security Clearance > Yes
First Aid > Yes @90
Swimming > Yes
License Type > Open
Defensive Driving > No
Study Level > Diploma
Study Completed >Yes
Psych Test > Good
Medical > Yes
Sex > Female
Age > 26
Time > 10
Panel Interview > Good
Final Approval > Yes

Expected Result
RULE [8.2]
If [License Type] = "Open License" and
[Defensive Driving] = "Yes"
then [License] = "Yes" @95
RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[License] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes" @81.225
Residency, Security, First Aid (90) and Swimming combined – 0.95 x 0.95 x 0.90 = 0.81225

RULE [6.2]
If [Psych Test] = "Good"
Then [Psych] = "Yes" @80
RULE [5.4]
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"

52
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes" @64
CF's for Psych (80), Physical, Panel (80) and Medical combined – 0.8 x 0.8 = 0.64
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
Combining CF's for Testing and Application gives 0.81225 * 0.64 = 0.51984
So Recommend = “Yes” @51.984

Actual Result
Recommend = “Yes” CF = 51.983997%

E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown

PROMPT FOR: Application received


*Prompt assigned: Application received=yes (100.0%)
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Application received


TRYING RULE: 1.1
>Add to goal stack: application
>Rule status after evaluation is: Unknown
TRYING RULE: 3.1
>Add to goal stack: Residency
>Rule status after evaluation is: Unknown

PROMPT FOR: Residency


*Prompt assigned: Residency=New Zealand citizen holding a special category
visa (100.0%)
FORWARD CHAIN: Residency=New Zealand citizen holding a special category visa
(100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Residency


TRYING RULE: 3.1
>Add to goal stack: Security Clearance
>Rule status after evaluation is: Unknown

PROMPT FOR: Security Clearance


*Prompt assigned: Security Clearance=yes (100.0%)
FORWARD CHAIN: Security Clearance=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Security Clearance


TRYING RULE: 3.1
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown

PROMPT FOR: First Aid


*Prompt assigned: First Aid=yes (90.0%)
FORWARD CHAIN: First Aid=yes (90.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): First Aid


TRYING RULE: 3.1
>Add to goal stack: Swimming
>Rule status after evaluation is: Unknown

PROMPT FOR: Swimming


*Prompt assigned: Swimming=yes (100.0%)
FORWARD CHAIN: Swimming=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

53
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Swimming
TRYING RULE: 3.1
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown

PROMPT FOR: License Type


*Prompt assigned: License Type=Open License (100.0%)
FORWARD CHAIN: License Type=Open License (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): License Type


TRYING RULE: 8.1
>Add to goal stack: Defensive Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Defensive Driving


*Prompt assigned: Defensive Driving=No (100.0%)
FORWARD CHAIN: Defensive Driving=No (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: True/Fired
*Rule assigned: License=Yes (95.0%)
FORWARD CHAIN: License=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Defensive Driving


FORWARD CHAIN: License=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License


TRYING RULE: 3.1
>Add to goal stack: Emp Ed
>Rule status after evaluation is: Unknown
TRYING RULE: 7.1
>Add to goal stack: Study level
>Rule status after evaluation is: Unknown

PROMPT FOR: Study level


*Prompt assigned: Study level=Diploma (100.0%)
FORWARD CHAIN: Study level=Diploma (100.0%)
>Forward chain - trying rule: 7.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Study level


TRYING RULE: 7.1
>Rule status after evaluation is: Failed
TRYING RULE: 7.3
>Add to goal stack: Study Completed
>Rule status after evaluation is: Unknown

PROMPT FOR: Study Completed


*Prompt assigned: Study Completed=yes (100.0%)
FORWARD CHAIN: Study Completed=yes (100.0%)
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: True/Fired
*Rule assigned: Emp Ed=Yes (95.0%)
FORWARD CHAIN: Emp Ed=Yes (95.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: True/Fired
*Rule assigned: application=Yes (81.225%)
FORWARD CHAIN: application=Yes (81.225%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study Completed


FORWARD CHAIN: Emp Ed=Yes (95.0%)
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Emp Ed


FORWARD CHAIN: application=Yes (81.225%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


TRYING RULE: 1.1
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test
>Rule status after evaluation is: Unknown

PROMPT FOR: Psych Test


*Prompt assigned: Psych Test=Good (100.0%)
FORWARD CHAIN: Psych Test=Good (100.0%)
>Forward chain - trying rule: 6.1
>Rule status after evaluation is: Unknown

>Forward chain - trying rule: 6.2


>Rule status after evaluation is: True/Fired
*Rule assigned: Psych=Yes (80.0%)
FORWARD CHAIN: Psych=Yes (80.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych Test

54
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: Psych=Yes (80.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych


TRYING RULE: 2.1
>Add to goal stack: Medical
>Rule status after evaluation is: Unknown

PROMPT FOR: Medical


*Prompt assigned: Medical=yes (100.0%)
FORWARD CHAIN: Medical=yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Medical


TRYING RULE: 2.1
>Add to goal stack: Physical
>Rule status after evaluation is: Unknown
TRYING RULE: 5.1
>Add to goal stack: Sex
>Rule status after evaluation is: Unknown

PROMPT FOR: Sex


*Prompt assigned: Sex=Female (100.0%)
FORWARD CHAIN: Sex=Female (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Sex


TRYING RULE: 5.4
>Add to goal stack: Age
>Rule status after evaluation is: Unknown

PROMPT FOR: Age


*Prompt assigned: Age=26.0 (100.0%)
FORWARD CHAIN: Age=26.0 (100.0%)
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Age


TRYING RULE: 5.4
>Add to goal stack: Time
>Rule status after evaluation is: Unknown

PROMPT FOR: Time


*Prompt assigned: Time=10.0 (100.0%)
FORWARD CHAIN: Time=10.0 (100.0%)
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: True/Fired
*Rule assigned: Physical=Yes (100.0%)
FORWARD CHAIN: Physical=Yes (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
REMOVE FROM GOAL STACK (Resolved): Time

FORWARD CHAIN: Physical=Yes (100.0%)


>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Physical


TRYING RULE: 2.1
>Add to goal stack: Panel
>Rule status after evaluation is: Unknown
TRYING RULE: 4.1
>Add to goal stack: Panel Interview
>Rule status after evaluation is: Unknown

PROMPT FOR: Panel Interview


*Prompt assigned: Panel Interview=Good (100.0%)
FORWARD CHAIN: Panel Interview=Good (100.0%)
>Forward chain - trying rule: 4.1
>Rule status after evaluation is: Unknown

>Forward chain - trying rule: 4.2


>Rule status after evaluation is: True/Fired
*Rule assigned: Panel=Yes (80.0%)
FORWARD CHAIN: Panel=Yes (80.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=Yes (64.0%)
FORWARD CHAIN: Testing=Yes (64.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Panel Interview


FORWARD CHAIN: Panel=Yes (80.0%)
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Panel


FORWARD CHAIN: Testing=Yes (64.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Testing


TRYING RULE: 1.1
>Add to goal stack: Final Approval
>Rule status after evaluation is: Unknown

PROMPT FOR: Final Approval


*Prompt assigned: Final Approval=yes (100.0%)
FORWARD CHAIN: Final Approval=yes (100.0%)
>Forward chain - trying rule: 1.1

55
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=Yes (51.983997%)
FORWARD CHAIN: Recommend=Yes (51.983997%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Final Approval


FORWARD CHAIN: Recommend=Yes (51.983997%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION

5.2.6 TEST 6
This test is for another average applicant, it further tests various confidence
factors.

Data Input at Prompts

Application Received > Yes


Residency > Australian Resident
Security Clearance > Yes
First Aid > Yes @90
Swimming > Yes @80
License Type > Provisional
Years Driving > 1.5 @ 90
Defensive Driving > Yes
Study Level > Bachelor
Study Completed >Yes
Psych Test > Satisfactory
Medical > Yes @90
Sex > Male
Age > 35
Time > 8 @70
Panel Interview > Good
Final Approval > Yes

Expected Result
RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes" @90
RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes"
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and

56
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Emp Ed] = "Yes"
Then [Application] = "Yes" @64.8

CF's for License (90), Emp Ed, Residency, Security, First Aid (90) and Swimming (80) combined
0.9 x 0.9 x 0.8 = 0.648
RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70
RULE [5.2]
If [Sex] = "Male" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 13
then [Physical] = "Yes" @70
RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes" @35.28 –
CF's for Psych (70), Physical (70), Panel (80) and Medical (90) combined –
0.7 x 0.7 x 0.8 x 0.9 = 0.3528
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
Combining CF's for Testing and Application gives 0.648 * 0.3528 = 0.2286144
So Recommend = “Yes” @22.86144

Actual Result
Recommend = “Yes” CF = 22.86144%

E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown

PROMPT FOR: Application received


*Prompt assigned: Application received=yes (100.0%)
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Application received


TRYING RULE: 1.1
>Add to goal stack: application
>Rule status after evaluation is: Unknown
TRYING RULE: 3.1
>Add to goal stack: Residency
>Rule status after evaluation is: Unknown

PROMPT FOR: Residency


*Prompt assigned: Residency=Australian Resident (100.0%)
FORWARD CHAIN: Residency=Australian Resident (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Residency


TRYING RULE: 3.1
>Add to goal stack: Security Clearance
>Rule status after evaluation is: Unknown

PROMPT FOR: Security Clearance

57
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
*Prompt assigned: Security Clearance=yes (100.0%)
FORWARD CHAIN: Security Clearance=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Security Clearance


TRYING RULE: 3.1
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown

PROMPT FOR: First Aid


*Prompt assigned: First Aid=yes (90.0%)
FORWARD CHAIN: First Aid=yes (90.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): First Aid


TRYING RULE: 3.1
>Add to goal stack: Swimming
>Rule status after evaluation is: Unknown

PROMPT FOR: Swimming


*Prompt assigned: Swimming=yes (80.0%)
FORWARD CHAIN: Swimming=yes (80.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Swimming


TRYING RULE: 3.1
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown

PROMPT FOR: License Type


*Prompt assigned: License Type=Provisional License (100.0%)
FORWARD CHAIN: License Type=Provisional License (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License Type


TRYING RULE: 8.3
>Add to goal stack: Years Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Years Driving


*Prompt assigned: Years Driving=1.5 (90.0%)
FORWARD CHAIN: Years Driving=1.5 (90.0%)
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Years Driving


TRYING RULE: 8.3
>Add to goal stack: Defensive Driving
>Rule status after evaluation is: Unknown

PROMPT FOR: Defensive Driving


*Prompt assigned: Defensive Driving=Yes (100.0%)
FORWARD CHAIN: Defensive Driving=Yes (100.0%)
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: True/Fired
*Rule assigned: License=Yes (90.0%)
FORWARD CHAIN: License=Yes (90.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Defensive Driving


FORWARD CHAIN: License=Yes (90.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License


TRYING RULE: 3.1
>Add to goal stack: Emp Ed
>Rule status after evaluation is: Unknown
TRYING RULE: 7.1
>Add to goal stack: Study level
>Rule status after evaluation is: Unknown

PROMPT FOR: Study level


*Prompt assigned: Study level=Bachelor Degree (100.0%)
FORWARD CHAIN: Study level=Bachelor Degree (100.0%)
>Forward chain - trying rule: 7.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study level


TRYING RULE: 7.1
>Rule status after evaluation is: Failed
TRYING RULE: 7.2
>Add to goal stack: Study Completed
>Rule status after evaluation is: Unknown

PROMPT FOR: Study Completed


*Prompt assigned: Study Completed=yes (100.0%)
FORWARD CHAIN: Study Completed=yes (100.0%)
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: True/Fired
*Rule assigned: Emp Ed=Yes (100.0%)
FORWARD CHAIN: Emp Ed=Yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: True/Fired

58
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
*Rule assigned: application=Yes (64.8%)
FORWARD CHAIN: application=Yes (64.8%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Study Completed


FORWARD CHAIN: Emp Ed=Yes (100.0%)
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Emp Ed


FORWARD CHAIN: application=Yes (64.8%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


TRYING RULE: 1.1
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test
>Rule status after evaluation is: Unknown

PROMPT FOR: Psych Test


*Prompt assigned: Psych Test=Satisfactory (100.0%)
FORWARD CHAIN: Psych Test=Satisfactory (100.0%)
>Forward chain - trying rule: 6.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Psych=Yes (70.0%)
FORWARD CHAIN: Psych=Yes (70.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych Test


FORWARD CHAIN: Psych=Yes (70.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych


TRYING RULE: 2.1
>Add to goal stack: Medical
>Rule status after evaluation is: Unknown

PROMPT FOR: Medical


*Prompt assigned: Medical=yes (90.0%)
FORWARD CHAIN: Medical=yes (90.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Medical


TRYING RULE: 2.1
>Add to goal stack: Physical
>Rule status after evaluation is: Unknown
TRYING RULE: 5.1
>Add to goal stack: Sex
>Rule status after evaluation is: Unknown

PROMPT FOR: Sex


*Prompt assigned: Sex=Male (100.0%)
FORWARD CHAIN: Sex=Male (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Sex


TRYING RULE: 5.1
>Add to goal stack: Age
>Rule status after evaluation is: Unknown

PROMPT FOR: Age


*Prompt assigned: Age=35.0 (100.0%)
FORWARD CHAIN: Age=35.0 (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Age


TRYING RULE: 5.2
>Add to goal stack: Time
>Rule status after evaluation is: Unknown

PROMPT FOR: Time


*Prompt assigned: Time=8.0 (70.0%)
FORWARD CHAIN: Time=8.0 (70.0%)
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: True/Fired
*Rule assigned: Physical=Yes (70.0%)
FORWARD CHAIN: Physical=Yes (70.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Time


FORWARD CHAIN: Physical=Yes (70.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Physical


TRYING RULE: 2.1
>Add to goal stack: Panel
>Rule status after evaluation is: Unknown
TRYING RULE: 4.1
>Add to goal stack: Panel Interview
>Rule status after evaluation is: Unknown

PROMPT FOR: Panel Interview


*Prompt assigned: Panel Interview=Good (100.0%)
FORWARD CHAIN: Panel Interview=Good (100.0%)
>Forward chain - trying rule: 4.1
>Rule status after evaluation is: Unknown

59
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Forward chain - trying rule: 4.2
>Rule status after evaluation is: True/Fired
*Rule assigned: Panel=Yes (80.0%)
FORWARD CHAIN: Panel=Yes (80.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=Yes (35.28%)
FORWARD CHAIN: Testing=Yes (35.28%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Panel Interview


FORWARD CHAIN: Panel=Yes (80.0%)
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Panel


FORWARD CHAIN: Testing=Yes (35.28%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Testing


TRYING RULE: 1.1
>Add to goal stack: Final Approval
>Rule status after evaluation is: Unknown

PROMPT FOR: Final Approval


*Prompt assigned: Final Approval=yes (100.0%)
FORWARD CHAIN: Final Approval=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=Yes (22.86144%)
FORWARD CHAIN: Recommend=Yes (22.86144%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Final Approval


FORWARD CHAIN: Recommend=Yes (22.86144%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION

5.2.7 TEST 7
This test is used to check the Alternative ES for all negative responses

Data Input at Prompts

Application Received > No


Residency > I Don’t Know
Security Clearance > No
First Aid > No
Swimming > No
License Type > Learner’s Permit
Study Level > Other
Psych Test > Unsatisfactory
Medical > No
Sex > Male
Age > 22
Time > 16
Panel Interview > Unsatisfactory
Final Approval > No

Expected Result

60
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

RULE [1.2]
If [Application received] = "No"
Then [Recommend] = "No - Application not received or completed
correctly."
RULE [1.3]
If [Application] = "No - Residency Not Met"
Then [Recommend] = "No - Residency Not Met"
RULE [1.4]
if [Application] = "No - Security Clearance concerns"
Then [Recommend] = "No - Security Clearance concerns"
RULE [1.5]
if [Application] = "No - First Aid Certificate Required"
Then [Recommend] = "No - First Aid Certificate Required"
RULE [1.6]
if [Application] = "No - swimming proficiency test failed or not
complete"
Then [Recommend] = "No - swimming proficiency test failed or not
complete"
RULE [1.7]
if [Application] = "No - License requirements not met"
Then [Recommend] = "No - License requirements not met"
RULE [1.8]
if [Application] = "No - Employment / Education requirements not met"
Then [Recommend] = "No - Employment / Education requirements not met"
RULE [1.9]
if [Testing] = "No - Failed Psych Testing"
Then [Recommend] = "No - Failed Psych Testing"
RULE [1.10]
if [Testing] = "No - Failed Medical Testing"
Then [Recommend] = "No - Failed Medical Testing"
RULE [1.11]
if [Testing] = "No - Failed Physical Testing"
Then [Recommend] = "No - Failed Physical Testing
RULE [1.12]
if [Testing] = "No - Failed Panel Interview"
Then [Recommend] = "No - Failed Panel Interview"
RULE [1.13]
if [Final Approval] = "No"
Then [Recommend] = "No - The selection committee has not recommended
you."

Actual Result
Recommend = “No - Application not received or completed correctly.”
Recommend = “No - Residency Not Met.”
Recommend = “No - Security Clearance concerns.”
Recommend = “No - First Aid Certificate Required.”
Recommend = “No - swimming proficiency test failed or not complete.”
Recommend = “No - License requirements not met.”
Recommend = “No - Employment / Education requirements not met.”
Recommend = “No - Failed Psych Testing.”

61
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Recommend = “No - Failed Medical Testing.”
Recommend = “No - Failed Physical Testing.”
Recommend = “No - Failed Panel Interview.”
Recommend = “No - The selection committee has not recommended you.”
E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown

PROMPT FOR: Application received


*Prompt assigned: Application received=no (100.0%)
FORWARD CHAIN: Application received=no (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: False/Failed

>Forward chain - trying rule: 1.2


>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Application not received or completed
correctly. (100.0%)
FORWARD CHAIN: Recommend=No - Application not received or completed
correctly. (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Application received
FORWARD CHAIN: Recommend=No - Application not received or completed
correctly. (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
TRYING RULE: 1.3
>Add to goal stack: application
>Rule status after evaluation is: Unknown
TRYING RULE: 3.1
>Add to goal stack: Residency
>Rule status after evaluation is: Unknown

PROMPT FOR: Residency


*Prompt assigned: Residency=Unknown
*Default assigned: Residency=Other
FORWARD CHAIN: Residency=Other (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: False/Failed

>Forward chain - trying rule: 3.2


>Rule status after evaluation is: True/Fired
*Rule assigned: application=No - Residency Not Met (100.0%)
FORWARD CHAIN: application=No - Residency Not Met (100.0%)
>Forward chain - trying rule: 1.3
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Residency Not Met (100.0%)
FORWARD CHAIN: Recommend=No - Residency Not Met (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.4
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Residency


FORWARD CHAIN: application=No - Residency Not Met (100.0%)
>Forward chain - trying rule: 1.4
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


REPLACE ON GOAL STACK: application
TRYING RULE: 3.3
>Add to goal stack: Security Clearance
>Rule status after evaluation is: Unknown

PROMPT FOR: Security Clearance


*Prompt assigned: Security Clearance=Unknown
*Default assigned: Security Clearance=No
FORWARD CHAIN: Security Clearance=No (100.0%)
>Forward chain - trying rule: 3.3
>Rule status after evaluation is: True/Fired
*Rule assigned: application=No - Security Clearance concerns (100.0%)

62
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: application=No - Security Clearance concerns (100.0%)
>Forward chain - trying rule: 1.4
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Security Clearance concerns (100.0%)
FORWARD CHAIN: Recommend=No - Security Clearance concerns (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Security Clearance


FORWARD CHAIN: application=No - Security Clearance concerns (100.0%)
>Forward chain - trying rule: 1.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


REPLACE ON GOAL STACK: application
TRYING RULE: 3.4
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown

PROMPT FOR: First Aid


*Prompt assigned: First Aid=no (100.0%)
FORWARD CHAIN: First Aid=no (100.0%)
>Forward chain - trying rule: 3.4
>Rule status after evaluation is: True/Fired
*Rule assigned: application=No - First Aid Certificate Required (100.0%)
FORWARD CHAIN: application=No - First Aid Certificate Required (100.0%)
>Forward chain - trying rule: 1.5
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - First Aid Certificate Required (100.0%)
FORWARD CHAIN: Recommend=No - First Aid Certificate Required (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): First Aid


FORWARD CHAIN: application=No - First Aid Certificate Required (100.0%)
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


REPLACE ON GOAL STACK: application
TRYING RULE: 3.5
>Add to goal stack: Swimming
>Rule status after evaluation is: Unknown

PROMPT FOR: Swimming


*Prompt assigned: Swimming=no (100.0%)
FORWARD CHAIN: Swimming=no (100.0%)
>Forward chain - trying rule: 3.5
>Rule status after evaluation is: True/Fired
*Rule assigned: application=No - swimming proficiency test failed or not
complete (100.0%)
FORWARD CHAIN: application=No - swimming proficiency test failed or not
complete (100.0%)
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - swimming proficiency test failed or not
complete (100.0%)
FORWARD CHAIN: Recommend=No - swimming proficiency test failed or not
complete (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Swimming


FORWARD CHAIN: application=No - swimming proficiency test failed or not
complete (100.0%)
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


REPLACE ON GOAL STACK: application
TRYING RULE: 3.6
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown

PROMPT FOR: License Type


*Prompt assigned: License Type=Learners Permit (100.0%)

63
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: License Type=Learners Permit (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): License Type


*Default assigned: License=No
FORWARD CHAIN: License=No (100.0%)
>Forward chain - trying rule: 3.6
>Rule status after evaluation is: True/Fired
*Rule assigned: application=No - License requirements not met (100.0%)
FORWARD CHAIN: application=No - License requirements not met (100.0%)
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - License requirements not met (100.0%)
FORWARD CHAIN: Recommend=No - License requirements not met (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): License


FORWARD CHAIN: application=No - License requirements not met (100.0%)
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): application


REPLACE ON GOAL STACK: application
TRYING RULE: 3.7
>Add to goal stack: Emp Ed
>Rule status after evaluation is: Unknown
TRYING RULE: 7.1
>Add to goal stack: Study level
>Rule status after evaluation is: Unknown

PROMPT FOR: Study level


*Prompt assigned: Study level=Other (100.0%)
FORWARD CHAIN: Study level=Other (100.0%)
>Forward chain - trying rule: 7.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Emp Ed=No (100.0%)
FORWARD CHAIN: Emp Ed=No (100.0%)
>Forward chain - trying rule: 3.7
>Rule status after evaluation is: True/Fired
*Rule assigned: application=No - Employment / Education requirements not met
(100.0%)
FORWARD CHAIN: application=No - Employment / Education requirements not met
(100.0%)
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Employment / Education requirements not met
(100.0%)
FORWARD CHAIN: Recommend=No - Employment / Education requirements not met
(100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Study level


FORWARD CHAIN: Emp Ed=No (100.0%)
>No eligible rules for: Emp Ed
REMOVE FROM GOAL STACK (Resolved): Emp Ed
FORWARD CHAIN: application=No - Employment / Education requirements not met
(100.0%)
>No eligible rules for: application
REMOVE FROM GOAL STACK (Resolved): application
FORWARD CHAIN: Recommend=No - Residency Not Met (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Security Clearance concerns (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend

64
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - First Aid Certificate Required (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - swimming proficiency test failed or not
complete (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - License requirements not met (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Employment / Education requirements not met
(100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
TRYING RULE: 1.9
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test
>Rule status after evaluation is: Unknown

PROMPT FOR: Psych Test


*Prompt assigned: Psych Test=Unsatisfactory (100.0%)
FORWARD CHAIN: Psych Test=Unsatisfactory (100.0%)
>Forward chain - trying rule: 6.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 6.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych Test


TRYING RULE: 6.1
>Rule status after evaluation is: Failed
TRYING RULE: 6.2
>Rule status after evaluation is: Failed
TRYING RULE: 6.3
>Rule status after evaluation is: Failed
TRYING RULE: 6.4
>Rule status after evaluation is: Failed

*Default assigned: Psych=Unsatisfactory


FORWARD CHAIN: Psych=Unsatisfactory (100.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: False/Failed

>Forward chain - trying rule: 2.2


>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=No - Failed Psych Testing (100.0%)
FORWARD CHAIN: Testing=No - Failed Psych Testing (100.0%)
>Forward chain - trying rule: 1.9
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Failed Psych Testing (100.0%)
FORWARD CHAIN: Recommend=No - Failed Psych Testing (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.10
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.11
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Psych


FORWARD CHAIN: Testing=No - Failed Psych Testing (100.0%)
>Forward chain - trying rule: 1.10
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.11
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Testing


REPLACE ON GOAL STACK: Testing
TRYING RULE: 2.3
>Add to goal stack: Medical
>Rule status after evaluation is: Unknown

PROMPT FOR: Medical


*Prompt assigned: Medical=no (100.0%)
FORWARD CHAIN: Medical=no (100.0%)
>Forward chain - trying rule: 2.3
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=No - Failed Medical Testing (100.0%)
FORWARD CHAIN: Testing=No - Failed Medical Testing (100.0%)
>Forward chain - trying rule: 1.10
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Failed Medical Testing (100.0%)
FORWARD CHAIN: Recommend=No - Failed Medical Testing (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.11
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: Unknown

65
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Medical
FORWARD CHAIN: Testing=No - Failed Medical Testing (100.0%)
>Forward chain - trying rule: 1.11
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Testing


REPLACE ON GOAL STACK: Testing
TRYING RULE: 2.4
>Add to goal stack: Physical
>Rule status after evaluation is: Unknown
TRYING RULE: 5.1
>Add to goal stack: Sex
>Rule status after evaluation is: Unknown

PROMPT FOR: Sex


*Prompt assigned: Sex=Male (100.0%)
FORWARD CHAIN: Sex=Male (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Sex


TRYING RULE: 5.1
>Add to goal stack: Age
>Rule status after evaluation is: Unknown

PROMPT FOR: Age


*Prompt assigned: Age=22.0 (100.0%)
FORWARD CHAIN: Age=22.0 (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 5.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.3
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Age


TRYING RULE: 5.1
>Add to goal stack: Time
>Rule status after evaluation is: Unknown

PROMPT FOR: Time


*Prompt assigned: Time=16.0 (100.0%)
FORWARD CHAIN: Time=16.0 (100.0%)
>Forward chain - trying rule: 5.1
>Rule status after evaluation is: False/Failed

REMOVE FROM GOAL STACK (Resolved): Time


*Default assigned: Physical=No
FORWARD CHAIN: Physical=No (100.0%)
>Forward chain - trying rule: 2.4
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=No - Failed Physical Testing (100.0%)
FORWARD CHAIN: Testing=No - Failed Physical Testing (100.0%)
>Forward chain - trying rule: 1.11
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Failed Physical Testing (100.0%)
FORWARD CHAIN: Recommend=No - Failed Physical Testing (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Physical


FORWARD CHAIN: Testing=No - Failed Physical Testing (100.0%)
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Testing


REPLACE ON GOAL STACK: Testing
TRYING RULE: 2.5
>Add to goal stack: Panel
>Rule status after evaluation is: Unknown
TRYING RULE: 4.1
>Add to goal stack: Panel Interview
>Rule status after evaluation is: Unknown

PROMPT FOR: Panel Interview


*Prompt assigned: Panel Interview=Unsatisfactory (100.0%)
FORWARD CHAIN: Panel Interview=Unsatisfactory (100.0%)
>Forward chain - trying rule: 4.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.4
>Rule status after evaluation is: Unknown

REMOVE FROM GOAL STACK (Resolved): Panel Interview


TRYING RULE: 4.1
>Rule status after evaluation is: Failed
TRYING RULE: 4.2
>Rule status after evaluation is: Failed
TRYING RULE: 4.3
>Rule status after evaluation is: Failed
TRYING RULE: 4.4
>Rule status after evaluation is: Failed

*Default assigned: Panel=No


FORWARD CHAIN: Panel=No (100.0%)
>Forward chain - trying rule: 2.5
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=No - Failed Panel Interview (100.0%)
FORWARD CHAIN: Testing=No - Failed Panel Interview (100.0%)
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Failed Panel Interview (100.0%)
FORWARD CHAIN: Recommend=No - Failed Panel Interview (100.0%)
>No eligible rules for: Recommend

66
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Panel
FORWARD CHAIN: Testing=No - Failed Panel Interview (100.0%)
>No eligible rules for: Testing
REMOVE FROM GOAL STACK (Resolved): Testing
FORWARD CHAIN: Recommend=No - Failed Psych Testing (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Failed Medical Testing (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Failed Physical Testing (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Failed Panel Interview (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
TRYING RULE: 1.13
>Add to goal stack: Final Approval
>Rule status after evaluation is: Unknown

PROMPT FOR: Final Approval


*Prompt assigned: Final Approval=no (100.0%)
FORWARD CHAIN: Final Approval=no (100.0%)
>Forward chain - trying rule: 1.13
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - The selection committee has not recommended
you. (100.0%)
FORWARD CHAIN: Recommend=No - The selection committee has not recommended
you. (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Final Approval
FORWARD CHAIN: Recommend=No - The selection committee has not recommended
you. (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION

67
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry

6. BIBLIOGRAPHY

Become a Queensland Police Officer; Recruiting Information Contents; Recruit Selection


Process
The State of Queensland (Queensland Police Service)
[Online] http://www.police.qld.gov.au/join/recruitment/
last viewed 10/05/07

Turban, E., Aronson, J., Liang, T-P (2005) Decision Support Systems and Intelligent Systems
Pearson Education Inc.

68

Вам также может понравиться