experimentConfig.default.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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: true,
  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. scenesConfig: {},
  42. availableScenes: {
  43. whitelist: null,
  44. blacklist: null
  45. // No whitelist = Select all scenes
  46. // Whitelist = Only select some scenes
  47. // Blacklist = remove scenes
  48. // whitelist: ['Appart1opt02', 'contemporary', 'bathroom', 'SdbDroite'],
  49. // blacklist: ['Appart1opt02']
  50. }
  51. },
  52. AreSameImagesRandom: {
  53. mixins: [mixins.ExperimentBaseAreSameImages],
  54. defaultConfig: {},
  55. scenesConfig: {},
  56. availableScenes: {
  57. whitelist: null,
  58. blacklist: null
  59. }
  60. },
  61. AreSameImagesReference: {
  62. mixins: [mixins.ExperimentBaseAreSameImages],
  63. defaultConfig: {},
  64. scenesConfig: {},
  65. availableScenes: {
  66. whitelist: null,
  67. blacklist: null
  68. }
  69. },
  70. AreSameImagesReferenceOneExtract: {
  71. mixins: [mixins.ExperimentBaseAreSameImages, mixins.ExperimentBaseExtracts],
  72. defaultConfig: {},
  73. scenesConfig: {},
  74. availableScenes: {
  75. whitelist: null,
  76. blacklist: null
  77. }
  78. },
  79. PercentQualityRandom: {
  80. mixins: [mixins.ExperimentBase],
  81. defaultConfig: {},
  82. scenesConfig: {},
  83. availableScenes: {
  84. whitelist: ['Appart1opt02', 'EchecsBas'],
  85. blacklist: null
  86. }
  87. },
  88. IsImageCorrect: {
  89. mixins: [mixins.ExperimentBase, mixins.ExperimentBaseExtracts],
  90. defaultConfig: {
  91. lockConfig: false,
  92. showHoverBorder: false,
  93. extractConfig: {
  94. x: 2,
  95. y: 1
  96. }
  97. },
  98. scenesConfig: {},
  99. availableScenes: {
  100. whitelist: ['Appart1opt02', 'EchecsBas'],
  101. blacklist: null
  102. }
  103. },
  104. IsImageCorrectOneExtract: {
  105. mixins: [mixins.ExperimentBase, mixins.ExperimentBaseExtracts],
  106. defaultConfig: {
  107. lockConfig: false,
  108. showHoverBorder: false,
  109. extractConfig: {
  110. x: 4,
  111. y: 4
  112. }
  113. },
  114. scenesConfig: {},
  115. availableScenes: {
  116. whitelist: null,
  117. blacklist: null
  118. }
  119. },
  120. CalibrationMeasurement: {
  121. mixins: [mixins.ExperimentBaseExtracts],
  122. defaultConfig: {
  123. lockConfig: true
  124. },
  125. scenesConfig: {},
  126. availableScenes: {
  127. whitelist: ['50_shades_of_grey'],
  128. blacklist: null
  129. }
  130. }
  131. }