Skip to content

Commit c27363c

Browse files
authored
Fix inconsistencies in information about the thief
The find-the-thief exercise is inconsistent. The first part lists 10 answered questions about the thief, but later discussion silently adds a new question as question 8, so there are a total of 11 answered questions. This commit updates the first list of answered questions so that it matches later discussions and the sample solution.
1 parent 0f141ed commit c27363c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/codeql/writing-codeql-queries/find-the-thief.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ You start asking some creative questions and making notes of the answers so you
3939
+------+--------------------------------------------------------------------+--------+
4040
| (7) | Is the thief taller than 180cm and shorter than 190cm? | no |
4141
+------+--------------------------------------------------------------------+--------+
42-
| (8) | Is the thief the tallest person in the village? | no |
42+
| (8) | Is the thief the oldest person in the village? | no |
4343
+------+--------------------------------------------------------------------+--------+
44-
| (9) | Is the thief shorter than the average villager? | yes |
44+
| (9) | Is the thief the tallest person in the village? | no |
4545
+------+--------------------------------------------------------------------+--------+
46-
| (10) | Is the thief the oldest person in the eastern part of the village? | yes |
46+
| (10) | Is the thief shorter than the average villager? | yes |
47+
+------+--------------------------------------------------------------------+--------+
48+
| (11) | Is the thief the oldest person in the eastern part of the village? | yes |
4749
+------+--------------------------------------------------------------------+--------+
4850

4951
There is too much information to search through by hand, so you decide to use your newly acquired QL skills to help you with your investigation...

0 commit comments

Comments
 (0)