Prepare the scoring variables for a new script execution.
()
| 292 | num_instr_samples = 0 |
| 293 | |
| 294 | def resetScoring(): |
| 295 | """Prepare the scoring variables for a new script execution.""" |
| 296 | global num_neighbours_matched, num_neighbours_mismatched |
| 297 | # same as the init list on the top of the file |
| 298 | num_neighbours_matched = 0 |
| 299 | num_neighbours_mismatched = 0 |
| 300 | |
| 301 | def getNeighbourScore(): |
| 302 | """Return the current (scaled) score boost for neighbours. |