This file is indexed.

/usr/share/pybik/tests/selectmodel is in pybik 2.1-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Constants:
  ctypes = 'Cube Tower Brick Tetrahedron Cube3Void Prism3 Prism3Complex Prism5 Prism5M'.split()
  csize = [(3,),(2,3),(4,2,3),(3,),(),(3,2),(3,2),(2,2),(2,2)]
  cdsize = [(s+(None,None,None))[:3] for s in csize]
  cpsizes = [(3, 3, 3), (2, 3, 2), (4, 2, 3), (3, 3, 3, 3), (3, 2, 3, 3), (2, 2, 2, 2, 2, 2)]
  cmodels1 = [i for i,s in enumerate(cdsize) if s[0] is not None]
  cmodels2 = [i for i,s in enumerate(cdsize) if s[1] is not None]
  cmodels3 = [i for i,s in enumerate(cdsize) if s[2] is not None]
  ctypesizes = {ctypes[ti]:cpsizes[si] for ti,si in enumerate([0,1,2,3,0,4,4,5,5])}
Fields:
  selectdlg_exists = [True]
  selectdlg_visible = [False, True]
  solved = [True]
  type = ctypes
  sizes = cpsizes
  dlg_model = list(range(len(ctypes)))
  lblsize1 = [False, True]
  lblsize2 = [False, True]
  lblsize3 = [False, True]
  size1 = [None, 2, 3, 4]
  size2 = [None, 2, 3]
  size3 = [None, 3]
Conditions:
  not selectdlg_exists or (lblsize1 == (size1 is not None) == (dlg_model in cmodels1))
  not selectdlg_exists or (lblsize2 == (size2 is not None) == (dlg_model in cmodels2))
  not selectdlg_exists or (lblsize3 == (size3 is not None) == (dlg_model in cmodels3))
  not selectdlg_exists or (size1,size2,size3) == cdsize[dlg_model]
  sizes == ctypesizes[type]
Limits:
Initial: dialog_selectmodel
  State: selectdlg_exists=False, selectdlg_visible=False, solved=True, type='Cube', sizes=(3, 3, 3), dlg_model=None, lblsize1=None, lblsize2=None, lblsize3=None, size1=None, size2=None, size3=None
         selectdlg_exists=True, selectdlg_visible=True,                               dlg_model=0, lblsize1=True, lblsize2=False, lblsize3=False, size1=3, size2=None, size3=None
Transition: action_selectmodel
  State: 
         selectdlg_visible=True
Transition: dialog_selectmodel_cancel
  State: 
         selectdlg_visible=False
Transition: dialog_selectmodel_changemodel Qt.Key_Down
  Expression: dlg_model = min(len(ctypes)-1, dlg_model+1)  if selectdlg_visible else dlg_model
  Expression: size1 = cdsize[min(len(ctypes)-1, dlg_model+1)][0]  if selectdlg_visible else size1
  Expression: size2 = cdsize[min(len(ctypes)-1, dlg_model+1)][1]  if selectdlg_visible else size2
  Expression: size3 = cdsize[min(len(ctypes)-1, dlg_model+1)][2]  if selectdlg_visible else size3
  Expression: lblsize1 = cdsize[min(len(ctypes)-1, dlg_model+1)][0] is not None  if selectdlg_visible else lblsize1
  Expression: lblsize2 = cdsize[min(len(ctypes)-1, dlg_model+1)][1] is not None  if selectdlg_visible else lblsize2
  Expression: lblsize3 = cdsize[min(len(ctypes)-1, dlg_model+1)][2] is not None  if selectdlg_visible else lblsize3
  State: 
Transition: dialog_selectmodel_changemodel Qt.Key_Up
  Expression: dlg_model = max(0, dlg_model-1) if selectdlg_visible else dlg_model
  Expression: size1 = cdsize[max(0, dlg_model-1)][0]  if selectdlg_visible else size1
  Expression: size2 = cdsize[max(0, dlg_model-1)][1]  if selectdlg_visible else size2
  Expression: size3 = cdsize[max(0, dlg_model-1)][2]  if selectdlg_visible else size3
  Expression: lblsize1 = cdsize[max(0, dlg_model-1)][0] is not None  if selectdlg_visible else lblsize1
  Expression: lblsize2 = cdsize[max(0, dlg_model-1)][1] is not None  if selectdlg_visible else lblsize2
  Expression: lblsize3 = cdsize[max(0, dlg_model-1)][2] is not None  if selectdlg_visible else lblsize3
  State: 
Transition: dialog_selectmodel_ok
  Expression: type = ctypes[dlg_model] if selectdlg_visible else type
  Expression: sizes = ctypesizes[ctypes[dlg_model]] if selectdlg_visible else sizes
  State:
         selectdlg_visible=False