

def process_iteration_result(self, result, context):
    if (self._last_spec != context.spec):
        self._update_spec(context.spec)
    metrics = [(self._spec_oid, context.current_iteration, m.name, str(m.value), m.units, int(m.lower_is_better)) for m in result.metrics]
    with self._open_connecton() as conn:
        conn.executemany('INSERT INTO metrics VALUES (?,?,?,?,?,?)', context)

dataset/ETHPy150Open ARM-software/workload-automation/wlauto/result_processors/sqlite.py SqliteResultProcessor.process_iteration_result/VarMisuse@96/130 `metrics`->`context`