MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / resetScoring

Function resetScoring

src/config/utils.py:294–299  ·  view source on GitHub ↗

Prepare the scoring variables for a new script execution.

()

Source from the content-addressed store, hash-verified

292 num_instr_samples = 0
293
294def 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
301def getNeighbourScore():
302 """Return the current (scaled) score boost for neighbours.

Callers 1

initUtilsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected