experimentConfig.default.js 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. export const mixins = {
  2. ExperimentBase: {
  3. defaultConfig: {},
  4. scenesConfig: {}
  5. },
  6. ExperimentBaseAreSameImages: {
  7. defaultConfig: {
  8. maxTestCount: 10
  9. },
  10. scenesConfig: {
  11. // bathroom: {
  12. // maxTestCount: 5
  13. // }
  14. }
  15. },
  16. ExperimentBaseExtracts: {
  17. defaultConfig: {
  18. lockConfig: false,
  19. showHoverBorder: false,
  20. extractConfig: {
  21. x: 4,
  22. y: 4
  23. }
  24. },
  25. scenesConfig: {
  26. // bathroom: {
  27. // lockConfig: false,
  28. // showHoverBorder: false,
  29. // extractConfig: {
  30. // x: 4,
  31. // y: 10
  32. // }
  33. // }
  34. }
  35. }
  36. }
  37. export const experiments = {
  38. MatchExtractsWithReference: {
  39. mixins: [mixins.ExperimentBaseExtracts],
  40. defaultConfig: {
  41. lockConfig: true,
  42. showHoverBorder: false,
  43. extractConfig: {
  44. x: 4,
  45. y: 4
  46. }
  47. },
  48. calibrationScene: '50_shades_of_grey',
  49. showCalibrationEvery: 5,
  50. scenesConfig: {},
  51. availableScenes: {
  52. whitelist: [
  53. 'p3d_bunny-fur-view0_part6',
  54. 'p3d_coffee-splash-view0_part6',
  55. 'p3d_ecosys-view0_part6',
  56. 'p3d_eponge-fractal-6-view0_part6',
  57. 'p3d_arcsphere-view0_part6',
  58. 'p3d_car2-view0_part6',
  59. 'p3d_caustic-view0_part6',
  60. 'p3d_crown-view0_part6',
  61. 'p3d_dragon-view0_part6',
  62. 'p3d_dragon_250-view0_part6',
  63. 'p3d_eponge-fractal-6-view1_part6',
  64. 'p3d_ganesha-view0_part6',
  65. 'p3d_glass-of-water-view0_part6',
  66. 'p3d_indirect-view0_part6',
  67. 'p3d_landscape-view3_part6',
  68. 'p3d_pavilion-day-view0_part6',
  69. 'p3d_pavilion-day-view1_part6',
  70. 'p3d_pavilion-day-view2_part6',
  71. 'p3d_pavilion-night-view0_part6',
  72. 'p3d_pavilion-night-view1_part6',
  73. 'p3d_pavilion-night-view2_part6',
  74. 'p3d_staircase-view1_part6',
  75. 'p3d_staircase2-view0_part6',
  76. 'p3d_tt-view0_part6',
  77. 'p3d_vw-van-view0_part6',
  78. 'p3d_low_table_2spheric_view0_part6',
  79. 'p3d_bathroom-view0_part6',
  80. 'p3d_classroom-view0_part6',
  81. 'p3d_classroom-view1_part6',
  82. 'p3d_contemporary-bathroom-view0_part6',
  83. 'p3d_contemporary-bathroom-view1_part6',
  84. 'p3d_glass-view0_part6',
  85. 'p3d_kitchen-view0_part6',
  86. 'p3d_kitchen-view1_part6',
  87. 'p3d_living-room-3-view0_part6',
  88. 'p3d_living-room-3-view1_part6',
  89. 'p3d_sanmiguel-view1_part6',
  90. 'p3d_sanmiguel-view2_part6'
  91. ],
  92. blacklist: null
  93. // No whitelist = Select all scenes
  94. // Whitelist = Only select some scenes
  95. // Blacklist = remove scenes
  96. // whitelist: ['Appart1opt02', 'contemporary', 'bathroom', 'SdbDroite'],
  97. // blacklist: ['Appart1opt02']
  98. }
  99. },
  100. AreSameImagesRandom: {
  101. mixins: [mixins.ExperimentBaseAreSameImages],
  102. defaultConfig: {},
  103. scenesConfig: {},
  104. calibrationScene: '50_shades_of_grey',
  105. showCalibrationEvery: 5,
  106. availableScenes: {
  107. whitelist: null,
  108. blacklist: null
  109. }
  110. },
  111. AreSameImagesReference: {
  112. mixins: [mixins.ExperimentBaseAreSameImages],
  113. defaultConfig: {},
  114. scenesConfig: {},
  115. calibrationScene: '50_shades_of_grey',
  116. showCalibrationEvery: 5,
  117. availableScenes: {
  118. whitelist: null,
  119. blacklist: null
  120. }
  121. },
  122. AreSameImagesReferenceOneExtract: {
  123. mixins: [mixins.ExperimentBaseAreSameImages, mixins.ExperimentBaseExtracts],
  124. defaultConfig: {},
  125. scenesConfig: {},
  126. calibrationScene: '50_shades_of_grey',
  127. showCalibrationEvery: 5,
  128. availableScenes: {
  129. whitelist: null,
  130. blacklist: null
  131. }
  132. },
  133. PercentQualityRandom: {
  134. mixins: [mixins.ExperimentBase],
  135. defaultConfig: {},
  136. scenesConfig: {},
  137. calibrationScene: '50_shades_of_grey',
  138. showCalibrationEvery: 5,
  139. availableScenes: {
  140. whitelist: ['Appart1opt02', 'EchecsBas'],
  141. blacklist: null
  142. }
  143. },
  144. IsImageCorrect: {
  145. mixins: [mixins.ExperimentBase, mixins.ExperimentBaseExtracts],
  146. defaultConfig: {
  147. lockConfig: false,
  148. showHoverBorder: false,
  149. extractConfig: {
  150. x: 2,
  151. y: 1
  152. }
  153. },
  154. scenesConfig: {},
  155. calibrationScene: '50_shades_of_grey',
  156. showCalibrationEvery: 5,
  157. availableScenes: {
  158. whitelist: ['Appart1opt02', 'EchecsBas'],
  159. blacklist: null
  160. }
  161. },
  162. IsImageCorrectOneExtract: {
  163. mixins: [mixins.ExperimentBase, mixins.ExperimentBaseExtracts],
  164. defaultConfig: {
  165. lockConfig: false,
  166. showHoverBorder: false,
  167. extractConfig: {
  168. x: 4,
  169. y: 4
  170. }
  171. },
  172. scenesConfig: {},
  173. calibrationScene: '50_shades_of_grey',
  174. showCalibrationEvery: 5,
  175. availableScenes: {
  176. whitelist: null,
  177. blacklist: null
  178. }
  179. },
  180. CalibrationMeasurement: {
  181. mixins: [mixins.ExperimentBaseExtracts],
  182. defaultConfig: {
  183. lockConfig: true
  184. },
  185. scenesConfig: {},
  186. calibrationScene: '50_shades_of_grey',
  187. showCalibrationEvery: 5,
  188. availableScenes: {
  189. whitelist: ['50_shades_of_grey'],
  190. blacklist: null
  191. }
  192. }
  193. }