scoring_config.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. {
  2. "base_score": 10.0,
  3. "corner": {
  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. "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. "loss_area": 0.7
  53. },
  54. "back_weights": {
  55. "wear_area": 0.3,
  56. "loss_area": 0.7
  57. },
  58. "final_weights": {
  59. "front": 0.7,
  60. "back": 0.3
  61. }
  62. },
  63. "edge": {
  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. "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. "loss_area": 0.6
  113. },
  114. "back_weights": {
  115. "wear_area": 0.4,
  116. "loss_area": 0.6
  117. },
  118. "final_weights": {
  119. "front": 0.7,
  120. "back": 0.3
  121. }
  122. },
  123. "face": {
  124. "rules": {
  125. "pit_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.1
  173. ],
  174. [
  175. 2.0,
  176. -0.5
  177. ],
  178. [
  179. 5.0,
  180. -1.0
  181. ],
  182. [
  183. 10.0,
  184. -2.0
  185. ],
  186. [
  187. 20.0,
  188. -3.0
  189. ],
  190. [
  191. 50.0,
  192. -4.0
  193. ],
  194. [
  195. "inf",
  196. -5.0
  197. ]
  198. ]
  199. },
  200. "coefficients": {
  201. "scratch_length": 1.0,
  202. "dent_area": 1.0,
  203. "stain_area": 1.0
  204. },
  205. "final_weights": {
  206. "front": 0.75,
  207. "back": 0.25
  208. }
  209. },
  210. "centering": {
  211. "front": {
  212. "rules": [
  213. [
  214. 52,
  215. 0
  216. ],
  217. [
  218. 55,
  219. -0.5
  220. ],
  221. [
  222. 60,
  223. -1.0
  224. ],
  225. [
  226. 62.5,
  227. -1.5
  228. ],
  229. [
  230. 65,
  231. -2.0
  232. ],
  233. [
  234. 67.5,
  235. -2.5
  236. ],
  237. [
  238. 70,
  239. -3.0
  240. ],
  241. [
  242. 72.5,
  243. -3.5
  244. ],
  245. [
  246. 75,
  247. -4.0
  248. ],
  249. [
  250. 77.5,
  251. -4.5
  252. ],
  253. [
  254. 80,
  255. -5.0
  256. ],
  257. [
  258. 82.5,
  259. -5.5
  260. ],
  261. [
  262. 85,
  263. -6.0
  264. ],
  265. [
  266. 87.5,
  267. -6.5
  268. ],
  269. [
  270. 90,
  271. -7.0
  272. ],
  273. [
  274. 92.5,
  275. -7.5
  276. ],
  277. [
  278. 95,
  279. -8.0
  280. ],
  281. [
  282. 97.5,
  283. -8.5
  284. ],
  285. [
  286. "inf",
  287. -9.0
  288. ]
  289. ],
  290. "coefficients": {
  291. "horizontal": 1.2,
  292. "vertical": 0.9
  293. }
  294. },
  295. "back": {
  296. "rules": [
  297. [
  298. 60,
  299. -0.5
  300. ],
  301. [
  302. 70,
  303. -1.0
  304. ],
  305. [
  306. 75,
  307. -1.5
  308. ],
  309. [
  310. 85,
  311. -2.0
  312. ],
  313. [
  314. 95,
  315. -2.5
  316. ],
  317. [
  318. "inf",
  319. -3.0
  320. ]
  321. ],
  322. "coefficients": {
  323. "horizontal": 1.2,
  324. "vertical": 0.9
  325. }
  326. },
  327. "final_weights": {
  328. "front": 0.75,
  329. "back": 0.25
  330. }
  331. }
  332. }