copilotl1 and l2 regularization implementation - Search