scoring_config.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. {
  2. "base_score": 10.0,
  3. "corners": {
  4. "rules": {
  5. "wear_area": [
  6. [
  7. 0.05,
  8. -0.1
  9. ],
  10. [
  11. 0.1,
  12. -0.5
  13. ],
  14. [
  15. 0.25,
  16. -1.5
  17. ],
  18. [
  19. 0.5,
  20. -3.0
  21. ],
  22. [
  23. "inf",
  24. -5.0
  25. ]
  26. ],
  27. "sharp_loss_area": [
  28. [
  29. 0.05,
  30. -0.1
  31. ],
  32. [
  33. 0.1,
  34. -0.5
  35. ],
  36. [
  37. 0.25,
  38. -1.5
  39. ],
  40. [
  41. 0.5,
  42. -3.0
  43. ],
  44. [
  45. "inf",
  46. -5.0
  47. ]
  48. ]
  49. },
  50. "front_weights": {
  51. "wear_area": 0.3,
  52. "sharp_loss_area": 0.7
  53. },
  54. "back_weights": {
  55. "wear_area": 0.3,
  56. "sharp_loss_area": 0.7
  57. },
  58. "final_weights": {
  59. "front": 0.7,
  60. "back": 0.3
  61. }
  62. },
  63. "edges": {
  64. "rules": {
  65. "wear_area": [
  66. [
  67. 0.05,
  68. -0.1
  69. ],
  70. [
  71. 0.1,
  72. -0.5
  73. ],
  74. [
  75. 0.25,
  76. -1.5
  77. ],
  78. [
  79. 0.5,
  80. -3.0
  81. ],
  82. [
  83. "inf",
  84. -5.0
  85. ]
  86. ],
  87. "block_loss_area": [
  88. [
  89. 0.05,
  90. -0.1
  91. ],
  92. [
  93. 0.1,
  94. -0.5
  95. ],
  96. [
  97. 0.25,
  98. -1.5
  99. ],
  100. [
  101. 0.5,
  102. -3.0
  103. ],
  104. [
  105. "inf",
  106. -5.0
  107. ]
  108. ]
  109. },
  110. "front_weights": {
  111. "wear_area": 0.4,
  112. "block_loss_area": 0.6
  113. },
  114. "back_weights": {
  115. "wear_area": 0.4,
  116. "block_loss_area": 0.6
  117. },
  118. "final_weights": {
  119. "front": 0.7,
  120. "back": 0.3
  121. }
  122. },
  123. "face": {
  124. "rules": {
  125. "dent_area": [
  126. [
  127. 0.05,
  128. -0.1
  129. ],
  130. [
  131. 0.1,
  132. -0.5
  133. ],
  134. [
  135. 0.25,
  136. -1.5
  137. ],
  138. [
  139. 0.5,
  140. -3.0
  141. ],
  142. [
  143. "inf",
  144. -5.0
  145. ]
  146. ],
  147. "stain_area": [
  148. [
  149. 0.05,
  150. -0.1
  151. ],
  152. [
  153. 0.1,
  154. -0.5
  155. ],
  156. [
  157. 0.25,
  158. -1.5
  159. ],
  160. [
  161. 0.5,
  162. -3.0
  163. ],
  164. [
  165. "inf",
  166. -5.0
  167. ]
  168. ],
  169. "scratch_length": [
  170. [
  171. 1.0,
  172. -0.5
  173. ],
  174. [
  175. 3.0,
  176. -1.5
  177. ],
  178. [
  179. 5.0,
  180. -3.0
  181. ],
  182. [
  183. "inf",
  184. -5.0
  185. ]
  186. ]
  187. },
  188. "coefficients": {
  189. "scratch_length": 1.0,
  190. "dent_area": 1.0,
  191. "stain_area": 1.0
  192. },
  193. "final_weights": {
  194. "front": 0.75,
  195. "back": 0.25
  196. }
  197. },
  198. "centering": {
  199. "front": {
  200. "rules": [
  201. [
  202. 52,
  203. 0
  204. ],
  205. [
  206. 55,
  207. -0.5
  208. ],
  209. [
  210. 60,
  211. -1.0
  212. ],
  213. [
  214. 62.5,
  215. -1.5
  216. ],
  217. [
  218. 65,
  219. -2.0
  220. ],
  221. [
  222. 67.5,
  223. -2.5
  224. ],
  225. [
  226. 70,
  227. -3.0
  228. ],
  229. [
  230. 72.5,
  231. -3.5
  232. ],
  233. [
  234. 75,
  235. -4.0
  236. ],
  237. [
  238. 77.5,
  239. -4.5
  240. ],
  241. [
  242. 80,
  243. -5.0
  244. ],
  245. [
  246. 82.5,
  247. -5.5
  248. ],
  249. [
  250. 85,
  251. -6.0
  252. ],
  253. [
  254. 87.5,
  255. -6.5
  256. ],
  257. [
  258. 90,
  259. -7.0
  260. ],
  261. [
  262. 92.5,
  263. -7.5
  264. ],
  265. [
  266. 95,
  267. -8.0
  268. ],
  269. [
  270. 97.5,
  271. -8.5
  272. ],
  273. [
  274. "inf",
  275. -9.0
  276. ]
  277. ],
  278. "coefficients": {
  279. "horizontal": 1.2,
  280. "vertical": 0.9
  281. }
  282. },
  283. "back": {
  284. "rules": [
  285. [
  286. 60,
  287. -0.5
  288. ],
  289. [
  290. 70,
  291. -1.0
  292. ],
  293. [
  294. 75,
  295. -1.5
  296. ],
  297. [
  298. 85,
  299. -2.0
  300. ],
  301. [
  302. 95,
  303. -2.5
  304. ],
  305. [
  306. "inf",
  307. -3.0
  308. ]
  309. ],
  310. "coefficients": {
  311. "horizontal": 1.2,
  312. "vertical": 0.9
  313. }
  314. },
  315. "tilt_penalty": -1.5,
  316. "tilt_threshold_degrees": 0.5,
  317. "final_weights": {
  318. "front": 0.75,
  319. "back": 0.25
  320. }
  321. }
  322. }