* @method task:get_metric_score(name)
* Get the current score of metric `name`. Should be used in post-filters only.
* @param {string} name name of a metric
- * @return {number} the current score of the metric
+ * @return {table} table containing the current score and required score of the metric
*/
LUA_FUNCTION_DEF (task, get_metric_score);
/***
lua_rawseti (L, -2, 1);
lua_pushnumber (L, rs);
lua_rawseti (L, -2, 2);
- lua_pushnumber (L, rs);
- lua_rawseti (L, -2, 3);
}
else {
lua_pushnil (L);