{
    "file_diffs": [
        {
            "old_file_content": "from Orange.data import Table, ContinuousVariable, StringVariable\nfrom Orange.widgets.settings import (Setting, ContextSetting,\n                                     DomainContextHandler)\nfrom Orange.widgets.utils.itemmodels import DomainModel\nfrom Orange.widgets.utils.widgetpreview import WidgetPreview\nfrom Orange.widgets.widget import OWWidget, Msg\nfrom Orange.widgets import gui\nfrom Orange.widgets.widget import Input, Output\n\n\nclass OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)\n\n\nif __name__ == \"__main__\":  # pragma: no cover\n    WidgetPreview(OWTranspose).run(Table(\"iris\"))\n",
            "new_file_content": "from Orange.data import Table, ContinuousVariable, StringVariable\nfrom Orange.widgets.settings import (Setting, ContextSetting,\n                                     DomainContextHandler)\nfrom Orange.widgets.utils.itemmodels import DomainModel\nfrom Orange.widgets.utils.widgetpreview import WidgetPreview\nfrom Orange.widgets.utils.state_summary import format_summary_details\nfrom Orange.widgets.widget import OWWidget, Msg\nfrom Orange.widgets import gui\nfrom Orange.widgets.widget import Input, Output\n\n\nclass OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_input_summary(self.info.NoInput)\n        self.info.set_output_summary(self.info.NoOutput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data), format_summary_details(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed),\n                                             format_summary_details(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoOutput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)\n\n\nif __name__ == \"__main__\":  # pragma: no cover\n    WidgetPreview(OWTranspose).run(Table(\"iris\"))\n",
            "header": {
                "file": {
                    "path": "Orange/widgets/data/owtranspose.py"
                },
                "misc_line": null
            },
            "index_line": {
                "old_commit_hash": "36da76154",
                "new_commit_hash": "f334bd6a4",
                "mode": "100644"
            },
            "is_binary_file": false,
            "binary_line": null,
            "minus_file": {
                "path": "a/Orange/widgets/data/owtranspose.py"
            },
            "plus_file": {
                "path": "b/Orange/widgets/data/owtranspose.py"
            },
            "hunks": [
                {
                    "descriptor": {
                        "old_range": {
                            "start": 3,
                            "length": 6
                        },
                        "new_range": {
                            "start": 3,
                            "length": 7
                        },
                        "section": "from Orange.widgets.settings import (Setting, ContextSetting,"
                    },
                    "line_group": {
                        "all_lines": [
                            {
                                "content": "                                     DomainContextHandler)",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets.utils.itemmodels import DomainModel",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets.utils.widgetpreview import WidgetPreview",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets.utils.state_summary import format_summary_details",
                                "type": "added"
                            },
                            {
                                "content": "from Orange.widgets.widget import OWWidget, Msg",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets import gui",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets.widget import Input, Output",
                                "type": "context"
                            }
                        ]
                    },
                    "modified_entities": [],
                    "added_entities": [
                        {
                            "file_name": "Orange/widgets/data/owtranspose.py",
                            "type": "statement",
                            "name": "",
                            "content": "from Orange.widgets.utils.state_summary import format_summary_details",
                            "ast_type_str": "ImportFrom",
                            "start_lineno": 6,
                            "end_lineno": 6,
                            "parent": null
                        }
                    ],
                    "deleted_entities": []
                },
                {
                    "descriptor": {
                        "old_range": {
                            "start": 71,
                            "length": 8
                        },
                        "new_range": {
                            "start": 72,
                            "length": 8
                        },
                        "section": "class OWTranspose(OWWidget):"
                    },
                    "line_group": {
                        "all_lines": [
                            {
                                "content": "        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)",
                                "type": "context"
                            },
                            {
                                "content": "        self.apply_button.button.setAutoDefault(False)",
                                "type": "context"
                            },
                            {
                                "content": "",
                                "type": "context"
                            },
                            {
                                "content": "        self.info.set_output_summary(self.info.NoInput)",
                                "type": "deleted"
                            },
                            {
                                "content": "        self.info.set_input_summary(self.info.NoInput)",
                                "type": "context"
                            },
                            {
                                "content": "        self.info.set_output_summary(self.info.NoOutput)",
                                "type": "added"
                            },
                            {
                                "content": "",
                                "type": "context"
                            },
                            {
                                "content": "        self.set_controls()",
                                "type": "context"
                            },
                            {
                                "content": "",
                                "type": "context"
                            }
                        ]
                    },
                    "modified_entities": [
                        {
                            "file_name": "Orange/widgets/data/owtranspose.py",
                            "type": "class",
                            "name": "OWTranspose",
                            "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 11,
                            "end_lineno": 145,
                            "parent": null
                        },
                        {
                            "file_name": "Orange/widgets/data/owtranspose.py",
                            "type": "method",
                            "name": "OWTranspose.__init__",
                            "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 46,
                            "end_lineno": 77,
                            "parent": {
                                "file_name": "Orange/widgets/data/owtranspose.py",
                                "type": "class",
                                "name": "OWTranspose",
                                "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                                "ast_type_str": "ClassDef",
                                "start_lineno": 11,
                                "end_lineno": 145,
                                "parent": null
                            }
                        }
                    ],
                    "added_entities": [],
                    "deleted_entities": []
                },
                {
                    "descriptor": {
                        "old_range": {
                            "start": 93,
                            "length": 7
                        },
                        "new_range": {
                            "start": 94,
                            "length": 7
                        },
                        "section": "class OWTranspose(OWWidget):"
                    },
                    "line_group": {
                        "all_lines": [
                            {
                                "content": "            self.closeContext()",
                                "type": "context"
                            },
                            {
                                "content": "        self.data = data",
                                "type": "context"
                            },
                            {
                                "content": "        if data:",
                                "type": "context"
                            },
                            {
                                "content": "            self.info.set_input_summary(len(data))",
                                "type": "deleted"
                            },
                            {
                                "content": "            self.info.set_input_summary(len(data), format_summary_details(data))",
                                "type": "added"
                            },
                            {
                                "content": "        else:",
                                "type": "context"
                            },
                            {
                                "content": "            self.info.set_input_summary(self.info.NoInput)",
                                "type": "context"
                            },
                            {
                                "content": "        self.set_controls()",
                                "type": "context"
                            }
                        ]
                    },
                    "modified_entities": [
                        {
                            "file_name": "Orange/widgets/data/owtranspose.py",
                            "type": "class",
                            "name": "OWTranspose",
                            "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 11,
                            "end_lineno": 145,
                            "parent": null
                        },
                        {
                            "file_name": "Orange/widgets/data/owtranspose.py",
                            "type": "method",
                            "name": "OWTranspose.set_data",
                            "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 89,
                            "end_lineno": 102,
                            "parent": {
                                "file_name": "Orange/widgets/data/owtranspose.py",
                                "type": "class",
                                "name": "OWTranspose",
                                "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                                "ast_type_str": "ClassDef",
                                "start_lineno": 11,
                                "end_lineno": 145,
                                "parent": null
                            }
                        }
                    ],
                    "added_entities": [],
                    "deleted_entities": []
                },
                {
                    "descriptor": {
                        "old_range": {
                            "start": 126,
                            "length": 11
                        },
                        "new_range": {
                            "start": 127,
                            "length": 12
                        },
                        "section": "class OWTranspose(OWWidget):"
                    },
                    "line_group": {
                        "all_lines": [
                            {
                                "content": "                        self.Warning.duplicate_names(variable)",
                                "type": "context"
                            },
                            {
                                "content": "                if self.data.domain.has_discrete_attributes():",
                                "type": "context"
                            },
                            {
                                "content": "                    self.Warning.discrete_attrs()",
                                "type": "context"
                            },
                            {
                                "content": "                self.info.set_output_summary(len(transposed))",
                                "type": "deleted"
                            },
                            {
                                "content": "                self.info.set_output_summary(len(transposed),",
                                "type": "added"
                            },
                            {
                                "content": "                                             format_summary_details(transposed))",
                                "type": "added"
                            },
                            {
                                "content": "            except ValueError as e:",
                                "type": "context"
                            },
                            {
                                "content": "                self.Error.value_error(e)",
                                "type": "context"
                            },
                            {
                                "content": "        else:",
                                "type": "context"
                            },
                            {
                                "content": "            self.info.set_output_summary(self.info.NoInput)",
                                "type": "deleted"
                            },
                            {
                                "content": "            self.info.set_output_summary(self.info.NoOutput)",
                                "type": "added"
                            },
                            {
                                "content": "        self.Outputs.data.send(transposed)",
                                "type": "context"
                            },
                            {
                                "content": "",
                                "type": "context"
                            },
                            {
                                "content": "    def send_report(self):",
                                "type": "context"
                            }
                        ]
                    },
                    "modified_entities": [
                        {
                            "file_name": "Orange/widgets/data/owtranspose.py",
                            "type": "class",
                            "name": "OWTranspose",
                            "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 11,
                            "end_lineno": 145,
                            "parent": null
                        },
                        {
                            "file_name": "Orange/widgets/data/owtranspose.py",
                            "type": "method",
                            "name": "OWTranspose.apply",
                            "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 113,
                            "end_lineno": 134,
                            "parent": {
                                "file_name": "Orange/widgets/data/owtranspose.py",
                                "type": "class",
                                "name": "OWTranspose",
                                "content": "class OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)",
                                "ast_type_str": "ClassDef",
                                "start_lineno": 11,
                                "end_lineno": 145,
                                "parent": null
                            }
                        }
                    ],
                    "added_entities": [],
                    "deleted_entities": []
                }
            ]
        },
        {
            "old_file_content": "# Test methods with long descriptive names can omit docstrings\n# pylint: disable=missing-docstring,unsubscriptable-object\n\nimport unittest\nfrom unittest.mock import patch, Mock\n\nimport numpy as np\n\nfrom Orange.data import Table\nfrom Orange.widgets.data.owtranspose import OWTranspose\nfrom Orange.widgets.tests.base import WidgetTest\nfrom Orange.tests import test_filename\nfrom orangewidget.widget import StateInfo\n\n\nclass TestOWTranspose(WidgetTest):\n    def setUp(self):\n        self.widget = self.create_widget(OWTranspose)\n        self.zoo = Table(\"zoo\")\n\n    def test_transpose(self):\n        widget = self.widget\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n        self.assertEqual(widget.data, None)\n        self.send_signal(widget.Inputs.data, self.zoo)\n        output = self.get_output(widget.Outputs.data)\n        transpose = Table.transpose(self.zoo)\n        np.testing.assert_array_equal(output.X, transpose.X)\n        np.testing.assert_array_equal(output.Y, transpose.Y)\n        np.testing.assert_array_equal(output.metas, transpose.metas)\n        self.send_signal(widget.Inputs.data, None)\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n\n    def test_feature_type(self):\n        widget = self.widget\n        data = Table(test_filename(\"datasets/test_asn_data_working.csv\"))\n        metas = data.domain.metas\n\n        widget.feature_type = widget.GENERIC\n        self.send_signal(widget.Inputs.data, data)\n\n        # By default, the widget switches from GENERIC to the first meta\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, metas[0])\n        output = self.get_output(widget.Outputs.data)\n        self.assertListEqual(\n            [a.name for a in output.domain.attributes],\n            [metas[0].to_val(m) for m in data.metas[:, 0]])\n\n        # Test that the widget takes the correct column\n        widget.feature_names_column = metas[4]\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(a.name.startswith(metas[1].to_val(m))\n                for a, m in zip(output.domain.attributes, data.metas[:, 4])))\n\n        # Switch to generic\n        self.assertEqual(widget.DEFAULT_PREFIX, \"Feature\")\n        widget.feature_type = widget.GENERIC\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n        # Check that the widget uses the supplied name\n        widget.feature_name = \"Foo\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(\"Foo \") for x in output.domain.attributes))\n\n        # Check that the widget uses default when name is not given\n        widget.feature_name = \"\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n    def test_send_report(self):\n        widget = self.widget\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n        self.send_signal(widget.Inputs.data, self.zoo)\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n    def test_gui_behaviour(self):\n        widget = self.widget\n        widget.unconditional_apply = unittest.mock.Mock()\n\n        # widget.apply must be called\n        widget.auto_apply = False\n\n        # No data: type is generic, meta radio disabled\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.meta_button.isEnabled())\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Data with metas: default type is meta, radio enabled\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertTrue(widget.meta_button.isEnabled())\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, widget.feature_model[0])\n        self.assertTrue(widget.unconditional_apply.called)\n\n        # Editing the line edit changes the radio button to generic\n        widget.unconditional_apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.unconditional_apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        widget.apply = unittest.mock.Mock()\n\n        # Editing the line edit changes the radio button to generic\n        widget.apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertTrue(widget.apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertTrue(widget.apply.called)\n\n    def test_all_whitespace(self):\n        widget = self.widget\n        widget.feature_name = \"  \"\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_name, \"\")\n\n    def test_error(self):\n        widget = self.widget\n        with unittest.mock.patch(\"Orange.data.Table.transpose\",\n                                 side_effect=ValueError(\"foo\")):\n            self.send_signal(widget.Inputs.data, self.zoo)\n            self.assertTrue(widget.Error.value_error.is_shown())\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertFalse(widget.Error.value_error.is_shown())\n\n    def test_feature_names_from_cont_vars(self):\n        table = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, table)\n        self.assertListEqual(self.widget.feature_model[:],\n                             list(table.domain.attributes))\n        self.widget.feature_combo.activated.emit(3)\n        output = self.get_output(self.widget.Outputs.data)\n        self.assertListEqual([f.name for f in output.domain.attributes[:10]],\n                             [\"0.2 (1)\", \"0.2 (2)\", \"0.2 (3)\", \"0.2 (4)\",\n                              \"0.2 (5)\", \"0.4 (1)\", \"0.3 (1)\", \"0.2 (6)\",\n                              \"0.2 (7)\", \"0.1 (1)\"])\n        self.assertTrue(self.widget.Warning.duplicate_names.is_shown())\n\n    def test_unconditional_commit_on_new_signal(self):\n        with patch.object(self.widget, 'unconditional_apply') as apply:\n            self.widget.auto_apply = False\n            apply.reset_mock()\n            self.send_signal(self.widget.Inputs.data, self.zoo)\n            apply.assert_called()\n\n    def test_summary(self):\n        \"\"\"Check if status bar is updated when data is received\"\"\"\n        input_sum = self.widget.info.set_input_summary = Mock()\n        output_sum = self.widget.info.set_output_summary = Mock()\n\n        data = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, data)\n        input_sum.assert_called_with(int(StateInfo.format_number(len(data))))\n        output = self.get_output(self.widget.Outputs.data)\n        output_sum.assert_called_with(int(StateInfo.format_number(len(output))))\n\n        input_sum.reset_mock()\n        output_sum.reset_mock()\n        self.send_signal(self.widget.Inputs.data, None)\n        input_sum.assert_called_once()\n        self.assertEqual(input_sum.call_args[0][0].brief, \"\")\n        output_sum.assert_called_once()\n        self.assertEqual(output_sum.call_args[0][0].brief, \"\")\n\nif __name__ == \"__main__\":\n    unittest.main()\n",
            "new_file_content": "# Test methods with long descriptive names can omit docstrings\n# pylint: disable=missing-docstring,unsubscriptable-object\n\nimport unittest\nfrom unittest.mock import patch, Mock\n\nimport numpy as np\n\nfrom Orange.data import Table\nfrom Orange.widgets.data.owtranspose import OWTranspose\nfrom Orange.widgets.tests.base import WidgetTest\nfrom Orange.widgets.utils.state_summary import format_summary_details\nfrom Orange.tests import test_filename\n\n\nclass TestOWTranspose(WidgetTest):\n    def setUp(self):\n        self.widget = self.create_widget(OWTranspose)\n        self.zoo = Table(\"zoo\")\n\n    def test_transpose(self):\n        widget = self.widget\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n        self.assertEqual(widget.data, None)\n        self.send_signal(widget.Inputs.data, self.zoo)\n        output = self.get_output(widget.Outputs.data)\n        transpose = Table.transpose(self.zoo)\n        np.testing.assert_array_equal(output.X, transpose.X)\n        np.testing.assert_array_equal(output.Y, transpose.Y)\n        np.testing.assert_array_equal(output.metas, transpose.metas)\n        self.send_signal(widget.Inputs.data, None)\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n\n    def test_feature_type(self):\n        widget = self.widget\n        data = Table(test_filename(\"datasets/test_asn_data_working.csv\"))\n        metas = data.domain.metas\n\n        widget.feature_type = widget.GENERIC\n        self.send_signal(widget.Inputs.data, data)\n\n        # By default, the widget switches from GENERIC to the first meta\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, metas[0])\n        output = self.get_output(widget.Outputs.data)\n        self.assertListEqual(\n            [a.name for a in output.domain.attributes],\n            [metas[0].to_val(m) for m in data.metas[:, 0]])\n\n        # Test that the widget takes the correct column\n        widget.feature_names_column = metas[4]\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(a.name.startswith(metas[1].to_val(m))\n                for a, m in zip(output.domain.attributes, data.metas[:, 4])))\n\n        # Switch to generic\n        self.assertEqual(widget.DEFAULT_PREFIX, \"Feature\")\n        widget.feature_type = widget.GENERIC\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n        # Check that the widget uses the supplied name\n        widget.feature_name = \"Foo\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(\"Foo \") for x in output.domain.attributes))\n\n        # Check that the widget uses default when name is not given\n        widget.feature_name = \"\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n    def test_send_report(self):\n        widget = self.widget\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n        self.send_signal(widget.Inputs.data, self.zoo)\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n    def test_gui_behaviour(self):\n        widget = self.widget\n        widget.unconditional_apply = unittest.mock.Mock()\n\n        # widget.apply must be called\n        widget.auto_apply = False\n\n        # No data: type is generic, meta radio disabled\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.meta_button.isEnabled())\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Data with metas: default type is meta, radio enabled\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertTrue(widget.meta_button.isEnabled())\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, widget.feature_model[0])\n        self.assertTrue(widget.unconditional_apply.called)\n\n        # Editing the line edit changes the radio button to generic\n        widget.unconditional_apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.unconditional_apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        widget.apply = unittest.mock.Mock()\n\n        # Editing the line edit changes the radio button to generic\n        widget.apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertTrue(widget.apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertTrue(widget.apply.called)\n\n    def test_all_whitespace(self):\n        widget = self.widget\n        widget.feature_name = \"  \"\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_name, \"\")\n\n    def test_error(self):\n        widget = self.widget\n        with unittest.mock.patch(\"Orange.data.Table.transpose\",\n                                 side_effect=ValueError(\"foo\")):\n            self.send_signal(widget.Inputs.data, self.zoo)\n            self.assertTrue(widget.Error.value_error.is_shown())\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertFalse(widget.Error.value_error.is_shown())\n\n    def test_feature_names_from_cont_vars(self):\n        table = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, table)\n        self.assertListEqual(self.widget.feature_model[:],\n                             list(table.domain.attributes))\n        self.widget.feature_combo.activated.emit(3)\n        output = self.get_output(self.widget.Outputs.data)\n        self.assertListEqual([f.name for f in output.domain.attributes[:10]],\n                             [\"0.2 (1)\", \"0.2 (2)\", \"0.2 (3)\", \"0.2 (4)\",\n                              \"0.2 (5)\", \"0.4 (1)\", \"0.3 (1)\", \"0.2 (6)\",\n                              \"0.2 (7)\", \"0.1 (1)\"])\n        self.assertTrue(self.widget.Warning.duplicate_names.is_shown())\n\n    def test_unconditional_commit_on_new_signal(self):\n        with patch.object(self.widget, 'unconditional_apply') as apply:\n            self.widget.auto_apply = False\n            apply.reset_mock()\n            self.send_signal(self.widget.Inputs.data, self.zoo)\n            apply.assert_called()\n\n    def test_summary(self):\n        \"\"\"Check if status bar is updated when data is received\"\"\"\n        input_sum = self.widget.info.set_input_summary = Mock()\n        output_sum = self.widget.info.set_output_summary = Mock()\n\n        data = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, data)\n        input_sum.assert_called_with(len(data), format_summary_details(data))\n        output = self.get_output(self.widget.Outputs.data)\n        output_sum.assert_called_with(len(output),\n                                      format_summary_details(output))\n\n        input_sum.reset_mock()\n        output_sum.reset_mock()\n        self.send_signal(self.widget.Inputs.data, None)\n        input_sum.assert_called_once()\n        self.assertEqual(input_sum.call_args[0][0].brief, \"\")\n        output_sum.assert_called_once()\n        self.assertEqual(output_sum.call_args[0][0].brief, \"\")\n\nif __name__ == \"__main__\":\n    unittest.main()\n",
            "header": {
                "file": {
                    "path": "Orange/widgets/data/tests/test_owtranspose.py"
                },
                "misc_line": null
            },
            "index_line": {
                "old_commit_hash": "4b31e6a70",
                "new_commit_hash": "d553c65e4",
                "mode": "100644"
            },
            "is_binary_file": false,
            "binary_line": null,
            "minus_file": {
                "path": "a/Orange/widgets/data/tests/test_owtranspose.py"
            },
            "plus_file": {
                "path": "b/Orange/widgets/data/tests/test_owtranspose.py"
            },
            "hunks": [
                {
                    "descriptor": {
                        "old_range": {
                            "start": 9,
                            "length": 8
                        },
                        "new_range": {
                            "start": 9,
                            "length": 8
                        },
                        "section": "import numpy as np"
                    },
                    "line_group": {
                        "all_lines": [
                            {
                                "content": "from Orange.data import Table",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets.data.owtranspose import OWTranspose",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets.tests.base import WidgetTest",
                                "type": "context"
                            },
                            {
                                "content": "from Orange.widgets.utils.state_summary import format_summary_details",
                                "type": "added"
                            },
                            {
                                "content": "from Orange.tests import test_filename",
                                "type": "context"
                            },
                            {
                                "content": "from orangewidget.widget import StateInfo",
                                "type": "deleted"
                            },
                            {
                                "content": "",
                                "type": "context"
                            },
                            {
                                "content": "",
                                "type": "context"
                            },
                            {
                                "content": "class TestOWTranspose(WidgetTest):",
                                "type": "context"
                            }
                        ]
                    },
                    "modified_entities": [],
                    "added_entities": [
                        {
                            "file_name": "Orange/widgets/data/tests/test_owtranspose.py",
                            "type": "statement",
                            "name": "",
                            "content": "from Orange.widgets.utils.state_summary import format_summary_details",
                            "ast_type_str": "ImportFrom",
                            "start_lineno": 12,
                            "end_lineno": 12,
                            "parent": null
                        }
                    ],
                    "deleted_entities": [
                        {
                            "file_name": "Orange/widgets/data/tests/test_owtranspose.py",
                            "type": "statement",
                            "name": "",
                            "content": "from orangewidget.widget import StateInfo",
                            "ast_type_str": "ImportFrom",
                            "start_lineno": 13,
                            "end_lineno": 13,
                            "parent": null
                        }
                    ]
                },
                {
                    "descriptor": {
                        "old_range": {
                            "start": 179,
                            "length": 9
                        },
                        "new_range": {
                            "start": 179,
                            "length": 10
                        },
                        "section": "class TestOWTranspose(WidgetTest):"
                    },
                    "line_group": {
                        "all_lines": [
                            {
                                "content": "",
                                "type": "context"
                            },
                            {
                                "content": "        data = Table(\"iris\")",
                                "type": "context"
                            },
                            {
                                "content": "        self.send_signal(self.widget.Inputs.data, data)",
                                "type": "context"
                            },
                            {
                                "content": "        input_sum.assert_called_with(int(StateInfo.format_number(len(data))))",
                                "type": "deleted"
                            },
                            {
                                "content": "        input_sum.assert_called_with(len(data), format_summary_details(data))",
                                "type": "added"
                            },
                            {
                                "content": "        output = self.get_output(self.widget.Outputs.data)",
                                "type": "context"
                            },
                            {
                                "content": "        output_sum.assert_called_with(int(StateInfo.format_number(len(output))))",
                                "type": "deleted"
                            },
                            {
                                "content": "        output_sum.assert_called_with(len(output),",
                                "type": "added"
                            },
                            {
                                "content": "                                      format_summary_details(output))",
                                "type": "added"
                            },
                            {
                                "content": "",
                                "type": "context"
                            },
                            {
                                "content": "        input_sum.reset_mock()",
                                "type": "context"
                            },
                            {
                                "content": "        output_sum.reset_mock()",
                                "type": "context"
                            },
                            {
                                "content": "",
                                "type": "context"
                            }
                        ]
                    },
                    "modified_entities": [
                        {
                            "file_name": "Orange/widgets/data/tests/test_owtranspose.py",
                            "type": "class",
                            "name": "TestOWTranspose",
                            "content": "class TestOWTranspose(WidgetTest):\n    def setUp(self):\n        self.widget = self.create_widget(OWTranspose)\n        self.zoo = Table(\"zoo\")\n\n    def test_transpose(self):\n        widget = self.widget\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n        self.assertEqual(widget.data, None)\n        self.send_signal(widget.Inputs.data, self.zoo)\n        output = self.get_output(widget.Outputs.data)\n        transpose = Table.transpose(self.zoo)\n        np.testing.assert_array_equal(output.X, transpose.X)\n        np.testing.assert_array_equal(output.Y, transpose.Y)\n        np.testing.assert_array_equal(output.metas, transpose.metas)\n        self.send_signal(widget.Inputs.data, None)\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n\n    def test_feature_type(self):\n        widget = self.widget\n        data = Table(test_filename(\"datasets/test_asn_data_working.csv\"))\n        metas = data.domain.metas\n\n        widget.feature_type = widget.GENERIC\n        self.send_signal(widget.Inputs.data, data)\n\n        # By default, the widget switches from GENERIC to the first meta\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, metas[0])\n        output = self.get_output(widget.Outputs.data)\n        self.assertListEqual(\n            [a.name for a in output.domain.attributes],\n            [metas[0].to_val(m) for m in data.metas[:, 0]])\n\n        # Test that the widget takes the correct column\n        widget.feature_names_column = metas[4]\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(a.name.startswith(metas[1].to_val(m))\n                for a, m in zip(output.domain.attributes, data.metas[:, 4])))\n\n        # Switch to generic\n        self.assertEqual(widget.DEFAULT_PREFIX, \"Feature\")\n        widget.feature_type = widget.GENERIC\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n        # Check that the widget uses the supplied name\n        widget.feature_name = \"Foo\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(\"Foo \") for x in output.domain.attributes))\n\n        # Check that the widget uses default when name is not given\n        widget.feature_name = \"\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n    def test_send_report(self):\n        widget = self.widget\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n        self.send_signal(widget.Inputs.data, self.zoo)\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n    def test_gui_behaviour(self):\n        widget = self.widget\n        widget.unconditional_apply = unittest.mock.Mock()\n\n        # widget.apply must be called\n        widget.auto_apply = False\n\n        # No data: type is generic, meta radio disabled\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.meta_button.isEnabled())\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Data with metas: default type is meta, radio enabled\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertTrue(widget.meta_button.isEnabled())\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, widget.feature_model[0])\n        self.assertTrue(widget.unconditional_apply.called)\n\n        # Editing the line edit changes the radio button to generic\n        widget.unconditional_apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.unconditional_apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        widget.apply = unittest.mock.Mock()\n\n        # Editing the line edit changes the radio button to generic\n        widget.apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertTrue(widget.apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertTrue(widget.apply.called)\n\n    def test_all_whitespace(self):\n        widget = self.widget\n        widget.feature_name = \"  \"\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_name, \"\")\n\n    def test_error(self):\n        widget = self.widget\n        with unittest.mock.patch(\"Orange.data.Table.transpose\",\n                                 side_effect=ValueError(\"foo\")):\n            self.send_signal(widget.Inputs.data, self.zoo)\n            self.assertTrue(widget.Error.value_error.is_shown())\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertFalse(widget.Error.value_error.is_shown())\n\n    def test_feature_names_from_cont_vars(self):\n        table = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, table)\n        self.assertListEqual(self.widget.feature_model[:],\n                             list(table.domain.attributes))\n        self.widget.feature_combo.activated.emit(3)\n        output = self.get_output(self.widget.Outputs.data)\n        self.assertListEqual([f.name for f in output.domain.attributes[:10]],\n                             [\"0.2 (1)\", \"0.2 (2)\", \"0.2 (3)\", \"0.2 (4)\",\n                              \"0.2 (5)\", \"0.4 (1)\", \"0.3 (1)\", \"0.2 (6)\",\n                              \"0.2 (7)\", \"0.1 (1)\"])\n        self.assertTrue(self.widget.Warning.duplicate_names.is_shown())\n\n    def test_unconditional_commit_on_new_signal(self):\n        with patch.object(self.widget, 'unconditional_apply') as apply:\n            self.widget.auto_apply = False\n            apply.reset_mock()\n            self.send_signal(self.widget.Inputs.data, self.zoo)\n            apply.assert_called()\n\n    def test_summary(self):\n        \"\"\"Check if status bar is updated when data is received\"\"\"\n        input_sum = self.widget.info.set_input_summary = Mock()\n        output_sum = self.widget.info.set_output_summary = Mock()\n\n        data = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, data)\n        input_sum.assert_called_with(int(StateInfo.format_number(len(data))))\n        output = self.get_output(self.widget.Outputs.data)\n        output_sum.assert_called_with(int(StateInfo.format_number(len(output))))\n\n        input_sum.reset_mock()\n        output_sum.reset_mock()\n        self.send_signal(self.widget.Inputs.data, None)\n        input_sum.assert_called_once()\n        self.assertEqual(input_sum.call_args[0][0].brief, \"\")\n        output_sum.assert_called_once()\n        self.assertEqual(output_sum.call_args[0][0].brief, \"\")",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 16,
                            "end_lineno": 192,
                            "parent": null
                        },
                        {
                            "file_name": "Orange/widgets/data/tests/test_owtranspose.py",
                            "type": "method",
                            "name": "TestOWTranspose.test_summary",
                            "content": "class TestOWTranspose(WidgetTest):\n    def setUp(self):\n        self.widget = self.create_widget(OWTranspose)\n        self.zoo = Table(\"zoo\")\n\n    def test_transpose(self):\n        widget = self.widget\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n        self.assertEqual(widget.data, None)\n        self.send_signal(widget.Inputs.data, self.zoo)\n        output = self.get_output(widget.Outputs.data)\n        transpose = Table.transpose(self.zoo)\n        np.testing.assert_array_equal(output.X, transpose.X)\n        np.testing.assert_array_equal(output.Y, transpose.Y)\n        np.testing.assert_array_equal(output.metas, transpose.metas)\n        self.send_signal(widget.Inputs.data, None)\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n\n    def test_feature_type(self):\n        widget = self.widget\n        data = Table(test_filename(\"datasets/test_asn_data_working.csv\"))\n        metas = data.domain.metas\n\n        widget.feature_type = widget.GENERIC\n        self.send_signal(widget.Inputs.data, data)\n\n        # By default, the widget switches from GENERIC to the first meta\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, metas[0])\n        output = self.get_output(widget.Outputs.data)\n        self.assertListEqual(\n            [a.name for a in output.domain.attributes],\n            [metas[0].to_val(m) for m in data.metas[:, 0]])\n\n        # Test that the widget takes the correct column\n        widget.feature_names_column = metas[4]\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(a.name.startswith(metas[1].to_val(m))\n                for a, m in zip(output.domain.attributes, data.metas[:, 4])))\n\n        # Switch to generic\n        self.assertEqual(widget.DEFAULT_PREFIX, \"Feature\")\n        widget.feature_type = widget.GENERIC\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n        # Check that the widget uses the supplied name\n        widget.feature_name = \"Foo\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(\"Foo \") for x in output.domain.attributes))\n\n        # Check that the widget uses default when name is not given\n        widget.feature_name = \"\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n    def test_send_report(self):\n        widget = self.widget\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n        self.send_signal(widget.Inputs.data, self.zoo)\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n    def test_gui_behaviour(self):\n        widget = self.widget\n        widget.unconditional_apply = unittest.mock.Mock()\n\n        # widget.apply must be called\n        widget.auto_apply = False\n\n        # No data: type is generic, meta radio disabled\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.meta_button.isEnabled())\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Data with metas: default type is meta, radio enabled\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertTrue(widget.meta_button.isEnabled())\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, widget.feature_model[0])\n        self.assertTrue(widget.unconditional_apply.called)\n\n        # Editing the line edit changes the radio button to generic\n        widget.unconditional_apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.unconditional_apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        widget.apply = unittest.mock.Mock()\n\n        # Editing the line edit changes the radio button to generic\n        widget.apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertTrue(widget.apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertTrue(widget.apply.called)\n\n    def test_all_whitespace(self):\n        widget = self.widget\n        widget.feature_name = \"  \"\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_name, \"\")\n\n    def test_error(self):\n        widget = self.widget\n        with unittest.mock.patch(\"Orange.data.Table.transpose\",\n                                 side_effect=ValueError(\"foo\")):\n            self.send_signal(widget.Inputs.data, self.zoo)\n            self.assertTrue(widget.Error.value_error.is_shown())\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertFalse(widget.Error.value_error.is_shown())\n\n    def test_feature_names_from_cont_vars(self):\n        table = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, table)\n        self.assertListEqual(self.widget.feature_model[:],\n                             list(table.domain.attributes))\n        self.widget.feature_combo.activated.emit(3)\n        output = self.get_output(self.widget.Outputs.data)\n        self.assertListEqual([f.name for f in output.domain.attributes[:10]],\n                             [\"0.2 (1)\", \"0.2 (2)\", \"0.2 (3)\", \"0.2 (4)\",\n                              \"0.2 (5)\", \"0.4 (1)\", \"0.3 (1)\", \"0.2 (6)\",\n                              \"0.2 (7)\", \"0.1 (1)\"])\n        self.assertTrue(self.widget.Warning.duplicate_names.is_shown())\n\n    def test_unconditional_commit_on_new_signal(self):\n        with patch.object(self.widget, 'unconditional_apply') as apply:\n            self.widget.auto_apply = False\n            apply.reset_mock()\n            self.send_signal(self.widget.Inputs.data, self.zoo)\n            apply.assert_called()\n\n    def test_summary(self):\n        \"\"\"Check if status bar is updated when data is received\"\"\"\n        input_sum = self.widget.info.set_input_summary = Mock()\n        output_sum = self.widget.info.set_output_summary = Mock()\n\n        data = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, data)\n        input_sum.assert_called_with(int(StateInfo.format_number(len(data))))\n        output = self.get_output(self.widget.Outputs.data)\n        output_sum.assert_called_with(int(StateInfo.format_number(len(output))))\n\n        input_sum.reset_mock()\n        output_sum.reset_mock()\n        self.send_signal(self.widget.Inputs.data, None)\n        input_sum.assert_called_once()\n        self.assertEqual(input_sum.call_args[0][0].brief, \"\")\n        output_sum.assert_called_once()\n        self.assertEqual(output_sum.call_args[0][0].brief, \"\")",
                            "ast_type_str": "ClassDef",
                            "start_lineno": 175,
                            "end_lineno": 192,
                            "parent": {
                                "file_name": "Orange/widgets/data/tests/test_owtranspose.py",
                                "type": "class",
                                "name": "TestOWTranspose",
                                "content": "class TestOWTranspose(WidgetTest):\n    def setUp(self):\n        self.widget = self.create_widget(OWTranspose)\n        self.zoo = Table(\"zoo\")\n\n    def test_transpose(self):\n        widget = self.widget\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n        self.assertEqual(widget.data, None)\n        self.send_signal(widget.Inputs.data, self.zoo)\n        output = self.get_output(widget.Outputs.data)\n        transpose = Table.transpose(self.zoo)\n        np.testing.assert_array_equal(output.X, transpose.X)\n        np.testing.assert_array_equal(output.Y, transpose.Y)\n        np.testing.assert_array_equal(output.metas, transpose.metas)\n        self.send_signal(widget.Inputs.data, None)\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n\n    def test_feature_type(self):\n        widget = self.widget\n        data = Table(test_filename(\"datasets/test_asn_data_working.csv\"))\n        metas = data.domain.metas\n\n        widget.feature_type = widget.GENERIC\n        self.send_signal(widget.Inputs.data, data)\n\n        # By default, the widget switches from GENERIC to the first meta\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, metas[0])\n        output = self.get_output(widget.Outputs.data)\n        self.assertListEqual(\n            [a.name for a in output.domain.attributes],\n            [metas[0].to_val(m) for m in data.metas[:, 0]])\n\n        # Test that the widget takes the correct column\n        widget.feature_names_column = metas[4]\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(a.name.startswith(metas[1].to_val(m))\n                for a, m in zip(output.domain.attributes, data.metas[:, 4])))\n\n        # Switch to generic\n        self.assertEqual(widget.DEFAULT_PREFIX, \"Feature\")\n        widget.feature_type = widget.GENERIC\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n        # Check that the widget uses the supplied name\n        widget.feature_name = \"Foo\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(\"Foo \") for x in output.domain.attributes))\n\n        # Check that the widget uses default when name is not given\n        widget.feature_name = \"\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n    def test_send_report(self):\n        widget = self.widget\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n        self.send_signal(widget.Inputs.data, self.zoo)\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n    def test_gui_behaviour(self):\n        widget = self.widget\n        widget.unconditional_apply = unittest.mock.Mock()\n\n        # widget.apply must be called\n        widget.auto_apply = False\n\n        # No data: type is generic, meta radio disabled\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.meta_button.isEnabled())\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Data with metas: default type is meta, radio enabled\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertTrue(widget.meta_button.isEnabled())\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, widget.feature_model[0])\n        self.assertTrue(widget.unconditional_apply.called)\n\n        # Editing the line edit changes the radio button to generic\n        widget.unconditional_apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.unconditional_apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        widget.apply = unittest.mock.Mock()\n\n        # Editing the line edit changes the radio button to generic\n        widget.apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertTrue(widget.apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertTrue(widget.apply.called)\n\n    def test_all_whitespace(self):\n        widget = self.widget\n        widget.feature_name = \"  \"\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_name, \"\")\n\n    def test_error(self):\n        widget = self.widget\n        with unittest.mock.patch(\"Orange.data.Table.transpose\",\n                                 side_effect=ValueError(\"foo\")):\n            self.send_signal(widget.Inputs.data, self.zoo)\n            self.assertTrue(widget.Error.value_error.is_shown())\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertFalse(widget.Error.value_error.is_shown())\n\n    def test_feature_names_from_cont_vars(self):\n        table = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, table)\n        self.assertListEqual(self.widget.feature_model[:],\n                             list(table.domain.attributes))\n        self.widget.feature_combo.activated.emit(3)\n        output = self.get_output(self.widget.Outputs.data)\n        self.assertListEqual([f.name for f in output.domain.attributes[:10]],\n                             [\"0.2 (1)\", \"0.2 (2)\", \"0.2 (3)\", \"0.2 (4)\",\n                              \"0.2 (5)\", \"0.4 (1)\", \"0.3 (1)\", \"0.2 (6)\",\n                              \"0.2 (7)\", \"0.1 (1)\"])\n        self.assertTrue(self.widget.Warning.duplicate_names.is_shown())\n\n    def test_unconditional_commit_on_new_signal(self):\n        with patch.object(self.widget, 'unconditional_apply') as apply:\n            self.widget.auto_apply = False\n            apply.reset_mock()\n            self.send_signal(self.widget.Inputs.data, self.zoo)\n            apply.assert_called()\n\n    def test_summary(self):\n        \"\"\"Check if status bar is updated when data is received\"\"\"\n        input_sum = self.widget.info.set_input_summary = Mock()\n        output_sum = self.widget.info.set_output_summary = Mock()\n\n        data = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, data)\n        input_sum.assert_called_with(int(StateInfo.format_number(len(data))))\n        output = self.get_output(self.widget.Outputs.data)\n        output_sum.assert_called_with(int(StateInfo.format_number(len(output))))\n\n        input_sum.reset_mock()\n        output_sum.reset_mock()\n        self.send_signal(self.widget.Inputs.data, None)\n        input_sum.assert_called_once()\n        self.assertEqual(input_sum.call_args[0][0].brief, \"\")\n        output_sum.assert_called_once()\n        self.assertEqual(output_sum.call_args[0][0].brief, \"\")",
                                "ast_type_str": "ClassDef",
                                "start_lineno": 16,
                                "end_lineno": 192,
                                "parent": null
                            }
                        }
                    ],
                    "added_entities": [],
                    "deleted_entities": []
                }
            ]
        }
    ],
    "old_commit_hash": "0336aa7c1db58c78c735f4143738193634a9e8b7^",
    "new_commit_hash": "0336aa7c1db58c78c735f4143738193634a9e8b7",
    "commit_message": "Merge pull request #4413 from aturanjanin/owtransposewidget\n\n[ENH] OWTranspose: Data info displayed in the status bar",
    "commit_date": "2020-02-21T13:56:03+01:00",
    "metadata": {}
}
{
    "repo_name": "orange3",
    "new_commit_hash": "0336aa7c1db58c78c735f4143738193634a9e8b7",
    "test_file_codes": [
        "# Test methods with long descriptive names can omit docstrings\n# pylint: disable=missing-docstring,unsubscriptable-object\n\nimport unittest\nfrom unittest.mock import patch, Mock\n\nimport numpy as np\n\nfrom Orange.data import Table\nfrom Orange.widgets.data.owtranspose import OWTranspose\nfrom Orange.widgets.tests.base import WidgetTest\nfrom Orange.widgets.utils.state_summary import format_summary_details\nfrom Orange.tests import test_filename\n\n\nclass TestOWTranspose(WidgetTest):\n    def setUp(self):\n        self.widget = self.create_widget(OWTranspose)\n        self.zoo = Table(\"zoo\")\n\n    def test_transpose(self):\n        widget = self.widget\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n        self.assertEqual(widget.data, None)\n        self.send_signal(widget.Inputs.data, self.zoo)\n        output = self.get_output(widget.Outputs.data)\n        transpose = Table.transpose(self.zoo)\n        np.testing.assert_array_equal(output.X, transpose.X)\n        np.testing.assert_array_equal(output.Y, transpose.Y)\n        np.testing.assert_array_equal(output.metas, transpose.metas)\n        self.send_signal(widget.Inputs.data, None)\n        self.assertIsNone(self.get_output(widget.Outputs.data))\n\n    def test_feature_type(self):\n        widget = self.widget\n        data = Table(test_filename(\"datasets/test_asn_data_working.csv\"))\n        metas = data.domain.metas\n\n        widget.feature_type = widget.GENERIC\n        self.send_signal(widget.Inputs.data, data)\n\n        # By default, the widget switches from GENERIC to the first meta\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, metas[0])\n        output = self.get_output(widget.Outputs.data)\n        self.assertListEqual(\n            [a.name for a in output.domain.attributes],\n            [metas[0].to_val(m) for m in data.metas[:, 0]])\n\n        # Test that the widget takes the correct column\n        widget.feature_names_column = metas[4]\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(a.name.startswith(metas[1].to_val(m))\n                for a, m in zip(output.domain.attributes, data.metas[:, 4])))\n\n        # Switch to generic\n        self.assertEqual(widget.DEFAULT_PREFIX, \"Feature\")\n        widget.feature_type = widget.GENERIC\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n        # Check that the widget uses the supplied name\n        widget.feature_name = \"Foo\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(\"Foo \") for x in output.domain.attributes))\n\n        # Check that the widget uses default when name is not given\n        widget.feature_name = \"\"\n        widget.apply()\n        output = self.get_output(widget.Outputs.data)\n        self.assertTrue(\n            all(x.name.startswith(widget.DEFAULT_PREFIX)\n                for x in output.domain.attributes))\n\n    def test_send_report(self):\n        widget = self.widget\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n        self.send_signal(widget.Inputs.data, self.zoo)\n        widget.feature_type = widget.FROM_VAR\n        widget.report_button.click()\n        widget.feature_type = widget.GENERIC\n        widget.report_button.click()\n\n    def test_gui_behaviour(self):\n        widget = self.widget\n        widget.unconditional_apply = unittest.mock.Mock()\n\n        # widget.apply must be called\n        widget.auto_apply = False\n\n        # No data: type is generic, meta radio disabled\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.meta_button.isEnabled())\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Data with metas: default type is meta, radio enabled\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertTrue(widget.meta_button.isEnabled())\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertIs(widget.feature_names_column, widget.feature_model[0])\n        self.assertTrue(widget.unconditional_apply.called)\n\n        # Editing the line edit changes the radio button to generic\n        widget.unconditional_apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.unconditional_apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertFalse(widget.unconditional_apply.called)\n\n        widget.apply = unittest.mock.Mock()\n\n        # Editing the line edit changes the radio button to generic\n        widget.apply.reset_mock()\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_type, widget.GENERIC)\n        self.assertTrue(widget.apply.called)\n\n        # Changing combo changes the radio button to meta\n        widget.apply.reset_mock()\n        widget.feature_combo.activated.emit(0)\n        self.assertEqual(widget.feature_type, widget.FROM_VAR)\n        self.assertTrue(widget.apply.called)\n\n    def test_all_whitespace(self):\n        widget = self.widget\n        widget.feature_name = \"  \"\n        widget.controls.feature_name.editingFinished.emit()\n        self.assertEqual(widget.feature_name, \"\")\n\n    def test_error(self):\n        widget = self.widget\n        with unittest.mock.patch(\"Orange.data.Table.transpose\",\n                                 side_effect=ValueError(\"foo\")):\n            self.send_signal(widget.Inputs.data, self.zoo)\n            self.assertTrue(widget.Error.value_error.is_shown())\n        self.send_signal(widget.Inputs.data, self.zoo)\n        self.assertFalse(widget.Error.value_error.is_shown())\n\n    def test_feature_names_from_cont_vars(self):\n        table = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, table)\n        self.assertListEqual(self.widget.feature_model[:],\n                             list(table.domain.attributes))\n        self.widget.feature_combo.activated.emit(3)\n        output = self.get_output(self.widget.Outputs.data)\n        self.assertListEqual([f.name for f in output.domain.attributes[:10]],\n                             [\"0.2 (1)\", \"0.2 (2)\", \"0.2 (3)\", \"0.2 (4)\",\n                              \"0.2 (5)\", \"0.4 (1)\", \"0.3 (1)\", \"0.2 (6)\",\n                              \"0.2 (7)\", \"0.1 (1)\"])\n        self.assertTrue(self.widget.Warning.duplicate_names.is_shown())\n\n    def test_unconditional_commit_on_new_signal(self):\n        with patch.object(self.widget, 'unconditional_apply') as apply:\n            self.widget.auto_apply = False\n            apply.reset_mock()\n            self.send_signal(self.widget.Inputs.data, self.zoo)\n            apply.assert_called()\n\n    def test_summary(self):\n        \"\"\"Check if status bar is updated when data is received\"\"\"\n        input_sum = self.widget.info.set_input_summary = Mock()\n        output_sum = self.widget.info.set_output_summary = Mock()\n\n        data = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, data)\n        input_sum.assert_called_with(len(data), format_summary_details(data))\n        output = self.get_output(self.widget.Outputs.data)\n        output_sum.assert_called_with(len(output),\n                                      format_summary_details(output))\n\n        input_sum.reset_mock()\n        output_sum.reset_mock()\n        self.send_signal(self.widget.Inputs.data, None)\n        input_sum.assert_called_once()\n        self.assertEqual(input_sum.call_args[0][0].brief, \"\")\n        output_sum.assert_called_once()\n        self.assertEqual(output_sum.call_args[0][0].brief, \"\")\n\nif __name__ == \"__main__\":\n    unittest.main()\n"
    ],
    "test_file_names": [
        "test_1.py"
    ],
    "setup_res_code": 0,
    "setup_res_stdout": "Starting Orange installation attempts...\nAttempting installation with Python 3.7...\nrunning build_ext\nrunning build_src\nbuild_src\nbuilding extension \"Orange.classification._simple_tree\" sources\nbuilding extension \"Orange.classification._tree_scorers\" sources\nbuilding extension \"Orange.data._valuecount\" sources\nbuilding extension \"Orange.data._contingency\" sources\nbuilding extension \"Orange.data._io\" sources\nbuilding extension \"Orange.data._variable\" sources\nbuilding extension \"Orange.distance._distance\" sources\nbuilding extension \"Orange.preprocess._discretize\" sources\nbuilding extension \"Orange.preprocess._relieff\" sources\nbuilding extension \"Orange.projection._som\" sources\nbuilding extension \"Orange.widgets.utils._grid_density\" sources\nbuild_src: building npy-pkg config files\ncustomize UnixCCompiler\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating /tmp/tmplbjl8l10/tmp\ncreating /tmp/tmplbjl8l10/tmp/tmplbjl8l10\ncompile options: '-MMD -MF /tmp/tmplbjl8l10/file.c.d -c'\ncc: /tmp/tmplbjl8l10/file.c\ncustomize UnixCCompiler using build_ext\ncustomize UnixCCompiler\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating /tmp/tmp2rkia432/tmp\ncreating /tmp/tmp2rkia432/tmp/tmp2rkia432\ncompile options: '-MMD -MF /tmp/tmp2rkia432/file.c.d -c'\ncc: /tmp/tmp2rkia432/file.c\ncustomize UnixCCompiler using build_ext\nbuilding 'Orange.classification._simple_tree' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating build/temp.linux-x86_64-3.7/Orange\ncreating build/temp.linux-x86_64-3.7/Orange/classification\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/classification/_simple_tree.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/classification/_simple_tree.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/classification/_simple_tree.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.classification._tree_scorers' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/classification/_tree_scorers.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/classification/_tree_scorers.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/classification/_tree_scorers.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.data._valuecount' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating build/temp.linux-x86_64-3.7/Orange/data\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/data/_valuecount.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/data/_valuecount.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/data/_valuecount.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.data._contingency' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/data/_contingency.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/data/_contingency.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/data/_contingency.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.data._io' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/data/_io.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/data/_io.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/data/_io.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.data._variable' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/data/_variable.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/data/_variable.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/data/_variable.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.distance._distance' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating build/temp.linux-x86_64-3.7/Orange/distance\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/distance/_distance.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/distance/_distance.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/distance/_distance.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.preprocess._discretize' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating build/temp.linux-x86_64-3.7/Orange/preprocess\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/preprocess/_discretize.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/preprocess/_discretize.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/preprocess/_discretize.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.preprocess._relieff' extension\ncompiling C++ sources\nC compiler: c++ -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\nc++: Orange/preprocess/_relieff.cpp\nc++ -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/preprocess/_relieff.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/preprocess/_relieff.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.projection._som' extension\ncompiling C sources\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating build/temp.linux-x86_64-3.7/Orange/projection\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\ncc: Orange/projection/_som.c\ncc -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/projection/_som.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/projection/_som.cpython-37m-x86_64-linux-gnu.so\nbuilding 'Orange.widgets.utils._grid_density' extension\ncompiling C++ sources\nC compiler: c++ -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating build/temp.linux-x86_64-3.7/Orange/widgets\ncreating build/temp.linux-x86_64-3.7/Orange/widgets/utils\ncompile options: '-I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include -I/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/include -I/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/include/python3.7m -c'\nc++: Orange/widgets/utils/_grid_density.cpp\nc++ -pthread -shared -L/tools/deps/lib build/temp.linux-x86_64-3.7/Orange/widgets/utils/_grid_density.o -L/home/gcpuser/.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib -lm -lpython3.7m -o Orange/widgets/utils/_grid_density.cpython-37m-x86_64-linux-gnu.so\nrunning develop\nrunning build_scripts\nrunning egg_info\nrunning build_src\nbuild_src\nbuilding extension \"Orange.classification._simple_tree\" sources\nbuilding extension \"Orange.classification._tree_scorers\" sources\nbuilding extension \"Orange.data._valuecount\" sources\nbuilding extension \"Orange.data._contingency\" sources\nbuilding extension \"Orange.data._io\" sources\nbuilding extension \"Orange.data._variable\" sources\nbuilding extension \"Orange.distance._distance\" sources\nbuilding extension \"Orange.preprocess._discretize\" sources\nbuilding extension \"Orange.preprocess._relieff\" sources\nbuilding extension \"Orange.projection._som\" sources\nbuilding extension \"Orange.widgets.utils._grid_density\" sources\nbuild_src: building npy-pkg config files\ncreating Orange3.egg-info\nwriting Orange3.egg-info/PKG-INFO\nwriting dependency_links to Orange3.egg-info/dependency_links.txt\nwriting entry points to Orange3.egg-info/entry_points.txt\nwriting requirements to Orange3.egg-info/requires.txt\nwriting top-level names to Orange3.egg-info/top_level.txt\nwriting manifest file 'Orange3.egg-info/SOURCES.txt'\nreading manifest file 'Orange3.egg-info/SOURCES.txt'\nreading manifest template 'MANIFEST.in'\nwarning: no files found matching 'README*' under directory 'Orange'\nwarning: no files found matching 'LICENSE' under directory 'Orange'\nwarning: no files found matching '*.basket' under directory 'Orange/datasets'\nwarning: no files found matching '*.js' under directory 'Orange/widgets'\nwarning: no files found matching '*.css' under directory 'Orange/widgets'\nwarning: no files found matching '*.html' under directory 'Orange/widgets'\nwarning: no files found matching 'COPYING'\nadding license file 'LICENSE'\nwriting manifest file 'Orange3.egg-info/SOURCES.txt'\nrunning build_ext\ncustomize UnixCCompiler\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating /tmp/tmpqymr59gv/tmp\ncreating /tmp/tmpqymr59gv/tmp/tmpqymr59gv\ncompile options: '-MMD -MF /tmp/tmpqymr59gv/file.c.d -c'\ncc: /tmp/tmpqymr59gv/file.c\ncustomize UnixCCompiler using build_ext\ncustomize UnixCCompiler\nC compiler: cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -fPIC\n\ncreating /tmp/tmpiqaqj1ty/tmp\ncreating /tmp/tmpiqaqj1ty/tmp/tmpiqaqj1ty\ncompile options: '-MMD -MF /tmp/tmpiqaqj1ty/file.c.d -c'\ncc: /tmp/tmpiqaqj1ty/file.c\ncustomize UnixCCompiler using build_ext\nCreating /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/Orange3.egg-link (link to .)\nAdding Orange3 3.25.0.dev0+0336aa7 to easy-install.pth file\nInstalling orange-canvas script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nInstalled /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7\nProcessing dependencies for Orange3==3.25.0.dev0+0336aa7\nSearching for XlsxWriter==3.2.0\nBest match: XlsxWriter 3.2.0\nAdding XlsxWriter 3.2.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for xlrd==2.0.1\nBest match: xlrd 2.0.1\nAdding xlrd 2.0.1 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for setuptools==59.8.0\nBest match: setuptools 59.8.0\nAdding setuptools 59.8.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for serverfiles==0.3.1\nBest match: serverfiles 0.3.1\nAdding serverfiles 0.3.1 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for scipy==1.7.3\nBest match: scipy 1.7.3\nAdding scipy 1.7.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for scikit-learn==1.0.2\nBest match: scikit-learn 1.0.2\nAdding scikit-learn 1.0.2 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for requests==2.31.0\nBest match: requests 2.31.0\nAdding requests 2.31.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for PyYAML==6.0.1\nBest match: PyYAML 6.0.1\nAdding PyYAML 6.0.1 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for python-louvain==0.16\nBest match: python-louvain 0.16\nAdding python-louvain 0.16 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for pyqtgraph==0.10.0\nBest match: pyqtgraph 0.10.0\nAdding pyqtgraph 0.10.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for pip==24.0\nBest match: pip 24.0\nAdding pip 24.0 to easy-install.pth file\nInstalling pip script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\nInstalling pip3 script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\nInstalling pip3.10 script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for pandas==1.3.5\nBest match: pandas 1.3.5\nAdding pandas 1.3.5 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for orange-widget-base==4.22.0\nBest match: orange-widget-base 4.22.0\nAdding orange-widget-base 4.22.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for orange-canvas-core==0.1.35\nBest match: orange-canvas-core 0.1.35\nAdding orange-canvas-core 0.1.35 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for openpyxl==3.1.3\nBest match: openpyxl 3.1.3\nAdding openpyxl 3.1.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for openTSNE==1.0.1\nBest match: openTSNE 1.0.1\nAdding openTSNE 1.0.1 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for numpy==1.17.5\nBest match: numpy 1.17.5\nAdding numpy 1.17.5 to easy-install.pth file\nInstalling f2py script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\nInstalling f2py3 script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\nInstalling f2py3.7 script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for networkx==2.6.3\nBest match: networkx 2.6.3\nAdding networkx 2.6.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for matplotlib==3.5.3\nBest match: matplotlib 3.5.3\nAdding matplotlib 3.5.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for keyrings.alt==4.2.0\nBest match: keyrings.alt 4.2.0\nAdding keyrings.alt 4.2.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for keyring==24.1.1\nBest match: keyring 24.1.1\nAdding keyring 24.1.1 to easy-install.pth file\nInstalling keyring script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for joblib==1.3.2\nBest match: joblib 1.3.2\nAdding joblib 1.3.2 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for docutils==0.20.1\nBest match: docutils 0.20.1\nAdding docutils 0.20.1 to easy-install.pth file\nInstalling docutils script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for chardet==5.2.0\nBest match: chardet 5.2.0\nAdding chardet 5.2.0 to easy-install.pth file\nInstalling chardetect script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for Bottleneck==1.4.0\nBest match: Bottleneck 1.4.0\nAdding Bottleneck 1.4.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for baycomp==1.0.3\nBest match: baycomp 1.0.3\nAdding baycomp 1.0.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for AnyQt==0.2.0\nBest match: AnyQt 0.2.0\nAdding AnyQt 0.2.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for threadpoolctl==3.1.0\nBest match: threadpoolctl 3.1.0\nAdding threadpoolctl 3.1.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for charset-normalizer==3.4.1\nBest match: charset-normalizer 3.4.1\nAdding charset-normalizer 3.4.1 to easy-install.pth file\nInstalling normalizer script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for urllib3==2.0.7\nBest match: urllib3 2.0.7\nAdding urllib3 2.0.7 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for certifi==2024.12.14\nBest match: certifi 2024.12.14\nAdding certifi 2024.12.14 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for idna==3.10\nBest match: idna 3.10\nAdding idna 3.10 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for pytz==2024.2\nBest match: pytz 2024.2\nAdding pytz 2024.2 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for python-dateutil==2.9.0.post0\nBest match: python-dateutil 2.9.0.post0\nAdding python-dateutil 2.9.0.post0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for typing-extensions==4.7.1\nBest match: typing-extensions 4.7.1\nAdding typing-extensions 4.7.1 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for dictdiffer==0.9.0\nBest match: dictdiffer 0.9.0\nAdding dictdiffer 0.9.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for requests-cache==1.1.1\nBest match: requests-cache 1.1.1\nAdding requests-cache 1.1.1 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for qasync==0.25.0\nBest match: qasync 0.25.0\nAdding qasync 0.25.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for importlib-metadata==6.7.0\nBest match: importlib-metadata 6.7.0\nAdding importlib-metadata 6.7.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for packaging==24.0\nBest match: packaging 24.0\nAdding packaging 24.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for commonmark==0.9.1\nBest match: commonmark 0.9.1\nAdding commonmark 0.9.1 to easy-install.pth file\nInstalling cmark script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for et-xmlfile==1.1.0\nBest match: et-xmlfile 1.1.0\nAdding et-xmlfile 1.1.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for fonttools==4.38.0\nBest match: fonttools 4.38.0\nAdding fonttools 4.38.0 to easy-install.pth file\nInstalling fonttools script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\nInstalling pyftmerge script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\nInstalling pyftsubset script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\nInstalling ttx script to /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/bin\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for pyparsing==3.1.4\nBest match: pyparsing 3.1.4\nAdding pyparsing 3.1.4 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for Pillow==9.5.0\nBest match: Pillow 9.5.0\nAdding Pillow 9.5.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for kiwisolver==1.4.5\nBest match: kiwisolver 1.4.5\nAdding kiwisolver 1.4.5 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for cycler==0.11.0\nBest match: cycler 0.11.0\nAdding cycler 0.11.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for jaraco.classes==3.2.3\nBest match: jaraco.classes 3.2.3\nAdding jaraco.classes 3.2.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for SecretStorage==3.3.3\nBest match: SecretStorage 3.3.3\nAdding SecretStorage 3.3.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for importlib-resources==5.12.0\nBest match: importlib-resources 5.12.0\nAdding importlib-resources 5.12.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for jeepney==0.8.0\nBest match: jeepney 0.8.0\nAdding jeepney 0.8.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for six==1.17.0\nBest match: six 1.17.0\nAdding six 1.17.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for attrs==24.2.0\nBest match: attrs 24.2.0\nAdding attrs 24.2.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for url-normalize==1.4.3\nBest match: url-normalize 1.4.3\nAdding url-normalize 1.4.3 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for cattrs==23.1.2\nBest match: cattrs 23.1.2\nAdding cattrs 23.1.2 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for platformdirs==4.0.0\nBest match: platformdirs 4.0.0\nAdding platformdirs 4.0.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for zipp==3.15.0\nBest match: zipp 3.15.0\nAdding zipp 3.15.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for more-itertools==9.1.0\nBest match: more-itertools 9.1.0\nAdding more-itertools 9.1.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for cryptography==44.0.0\nBest match: cryptography 44.0.0\nAdding cryptography 44.0.0 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for exceptiongroup==1.2.2\nBest match: exceptiongroup 1.2.2\nAdding exceptiongroup 1.2.2 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for cffi==1.15.1\nBest match: cffi 1.15.1\nAdding cffi 1.15.1 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nSearching for pycparser==2.21\nBest match: pycparser 2.21\nAdding pycparser 2.21 to easy-install.pth file\n\nUsing /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages\nFinished processing dependencies for Orange3==3.25.0.dev0+0336aa7\nVerifying Orange installation...\n✅ Orange installation successful!\nSuccessfully installed orange using Python 3.7\n",
    "setup_res_stderr": "Using CPython 3.7.9\nCreating virtual environment at: .venv\nActivate with: source .venv/bin/activate\nResolved 18 packages in 153ms\nPrepared 18 packages in 40ms\nInstalled 18 packages in 357ms\n + cython==0.29.37\n + exceptiongroup==1.2.2\n + importlib-metadata==6.7.0\n + iniconfig==2.0.0\n + numpy==1.17.5\n + packaging==24.0\n + pluggy==1.2.0\n + pyqt5==5.15.10\n + pyqt5-qt5==5.15.16\n + pyqt5-sip==12.13.0\n + pyqtwebengine==5.15.6\n + pyqtwebengine-qt5==5.15.16\n + pytest==7.4.4\n + setuptools==59.8.0\n + tomli==2.0.1\n + typing-extensions==4.7.1\n + wheel==0.42.0\n + zipp==3.15.0\nResolved 48 packages in 261ms\nInstalled 42 packages in 675ms\n + baycomp==1.0.3\n + bottleneck==1.4.0\n + certifi==2024.12.14\n + cffi==1.15.1\n + chardet==5.2.0\n + charset-normalizer==3.4.1\n + cryptography==44.0.0\n + cycler==0.11.0\n + et-xmlfile==1.1.0\n + fonttools==4.38.0\n + idna==3.10\n + importlib-resources==5.12.0\n + jaraco-classes==3.2.3\n + jeepney==0.8.0\n + joblib==1.3.2\n + keyring==24.1.1\n + keyrings-alt==4.2.0\n + kiwisolver==1.4.5\n + matplotlib==3.5.3\n + more-itertools==9.1.0\n + networkx==2.6.3\n + openpyxl==3.1.3\n + opentsne==1.0.1\n + pandas==1.3.5\n + pillow==9.5.0\n + pip==24.0\n + pycparser==2.21\n + pyparsing==3.1.4\n + python-dateutil==2.9.0.post0\n + python-louvain==0.16\n + pytz==2024.2\n + pyyaml==6.0.1\n + requests==2.31.0\n + scikit-learn==1.0.2\n + scipy==1.7.3\n + secretstorage==3.3.3\n + serverfiles==0.3.1\n + six==1.17.0\n + threadpoolctl==3.1.0\n + urllib3==2.0.7\n + xlrd==2.0.1\n + xlsxwriter==3.2.0\nResolved 34 packages in 85ms\nInstalled 13 packages in 22ms\n + anyqt==0.2.0\n + attrs==24.2.0\n + cattrs==23.1.2\n + commonmark==0.9.1\n + dictdiffer==0.9.0\n + docutils==0.20.1\n + orange-canvas-core==0.1.35\n + orange-widget-base==4.22.0\n + platformdirs==4.0.0\n + pyqtgraph==0.10.0\n + qasync==0.25.0\n + requests-cache==1.1.1\n + url-normalize==1.4.3\nResolved 2 packages in 3ms\nInstalled 2 packages in 16ms\n + psycopg2==2.9.9\n + pymssql==2.3.2\nAudited 1 package in 12ms\nAudited 2 packages in 2ms\nOrange/classification/_simple_tree.c: In function ‘gain_ratio_c’:\nOrange/classification/_simple_tree.c:63:9: warning: implicit declaration of function ‘qsort_r’; did you mean ‘qsort’? [-Wimplicit-function-declaration]\n   63 |         qsort_r(base, nel, size, compar, thunk)\n      |         ^~~~~~~\nOrange/classification/_simple_tree.c:147:9: note: in expansion of macro ‘QSORT_R_FUNC’\n  147 |         QSORT_R_FUNC(examples, size, sizeof(struct Example), (void*) &compar_attr, compar_examples);\n      |         ^~~~~~~~~~~~\nIn file included from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,\n                 from Orange/classification/_tree_scorers.c:567:\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning \"Using deprecated NumPy API, disable it with \" \"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\n   17 | #warning \"Using deprecated NumPy API, disable it with \" \\\n      |  ^~~~~~~\nOrange/classification/_tree_scorers.c: In function ‘__pyx_pf_6Orange_14classification_13_tree_scorers_2find_threshold_entropy’:\nOrange/classification/_tree_scorers.c:3115:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\n 3115 |   __pyx_t_7 = ((__pyx_v_N <= __pyx_v_min_leaf) != 0);\n      |                           ^~\nOrange/classification/_tree_scorers.c: In function ‘__pyx_pf_6Orange_14classification_13_tree_scorers_6find_threshold_MSE’:\nOrange/classification/_tree_scorers.c:4619:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\n 4619 |   __pyx_t_1 = ((__pyx_v_N <= __pyx_v_min_leaf) != 0);\n      |                           ^~\nOrange/classification/_tree_scorers.c: In function ‘__pyx_pf_6Orange_14classification_13_tree_scorers_8find_binarization_MSE’:\nOrange/classification/_tree_scorers.c:5396:43: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\n 5396 |           for (__pyx_t_22 = 0; __pyx_t_22 < __pyx_t_21; __pyx_t_22+=1) {\n      |                                           ^\nOrange/classification/_tree_scorers.c:5517:39: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\n 5517 |           __pyx_t_27 = ((__pyx_v_left >= __pyx_v_min_leaf) != 0);\n      |                                       ^~\nOrange/classification/_tree_scorers.c:5523:53: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\n 5523 |           __pyx_t_27 = (((__pyx_v_N - __pyx_v_left) >= __pyx_v_min_leaf) != 0);\n      |                                                     ^~\nOrange/classification/_tree_scorers.c: In function ‘__pyx_pf_6Orange_14classification_13_tree_scorers_14compute_predictions_csr’:\nOrange/classification/_tree_scorers.c:7051:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\n 7051 |         for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {\n      |                                         ^\nOrange/classification/_tree_scorers.c: In function ‘__pyx_pf_6Orange_14classification_13_tree_scorers_16compute_predictions_csc’:\nOrange/classification/_tree_scorers.c:7741:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\n 7741 |         for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {\n      |                                         ^\nOrange/classification/_tree_scorers.c:7801:143: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5numpy_int32_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare]\n 7801 |               __pyx_t_17 = (((*((__pyx_t_5numpy_int32_t *) ( /* dim=0 */ (__pyx_v_indices.data + __pyx_t_18 * __pyx_v_indices.strides[0]) ))) != __pyx_v_i) != 0);\n      |                                                                                                                                               ^~\nIn file included from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,\n                 from Orange/data/_valuecount.c:567:\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning \"Using deprecated NumPy API, disable it with \" \"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\n   17 | #warning \"Using deprecated NumPy API, disable it with \" \\\n      |  ^~~~~~~\nIn file included from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,\n                 from Orange/data/_contingency.c:598:\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning \"Using deprecated NumPy API, disable it with \" \"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\n   17 | #warning \"Using deprecated NumPy API, disable it with \" \\\n      |  ^~~~~~~\nOrange/data/_io.c: In function ‘__pyx_pf_6Orange_4data_3_io_sparse_read_float.constprop’:\nOrange/data/_io.c:3881:24: warning: ‘__pyx_v_decs’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 3881 |           __pyx_v_decs = (__pyx_v_decs / 10.0);\n      |           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~\nOrange/data/_io.c:4070:24: warning: ‘__pyx_v_value’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 4070 |           __pyx_t_10 = PyFloat_FromDouble(__pyx_v_value); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 221, __pyx_L5_error)\n      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nOrange/data/_io.c:480:40: warning: ‘__pyx_v_attr_index’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n  480 |   #define PyInt_FromLong               PyLong_FromLong\n      |                                        ^~~~~~~~~~~~~~~\nOrange/data/_io.c:1301:7: note: ‘__pyx_v_attr_index’ was declared here\n 1301 |   int __pyx_v_attr_index;\n      |       ^~~~~~~~~~~~~~~~~~\nOrange/data/_io.c:2935:25: warning: ‘__pyx_v_atomp’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 2935 |           __pyx_v_atomp = (__pyx_v_atomp + 1);\n      |           ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~\nIn file included from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,\n                 from Orange/distance/_distance.c:598:\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning \"Using deprecated NumPy API, disable it with \" \"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\n   17 | #warning \"Using deprecated NumPy API, disable it with \" \\\n      |  ^~~~~~~\nIn file included from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,\n                 from Orange/preprocess/_discretize.c:567:\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning \"Using deprecated NumPy API, disable it with \" \"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\n   17 | #warning \"Using deprecated NumPy API, disable it with \" \\\n      |  ^~~~~~~\nIn file included from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,\n                 from Orange/preprocess/_relieff.cpp:581:\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning \"Using deprecated NumPy API, disable it with \" \"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\n   17 | #warning \"Using deprecated NumPy API, disable it with \" \\\n      |  ^~~~~~~\nIn file included from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,\n                 from /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,\n                 from Orange/projection/_som.c:598:\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning \"Using deprecated NumPy API, disable it with \" \"#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\n   17 | #warning \"Using deprecated NumPy API, disable it with \" \\\n      |  ^~~~~~~\nOrange/projection/_som.c: In function ‘__pyx_pw_6Orange_10projection_4_som_5update_hex’:\nOrange/projection/_som.c:3655:7: warning: ‘__pyx_v_win_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 3655 |   int __pyx_v_win_y;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c:3654:7: warning: ‘__pyx_v_win_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 3654 |   int __pyx_v_win_x;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c: In function ‘__pyx_pw_6Orange_10projection_4_som_7get_winners_sparse’:\nOrange/projection/_som.c:4547:223: warning: ‘__pyx_v_win_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 4547 |           *__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int16_t *, __pyx_pybuffernd_winners.rcbuffer->pybuffer.buf, __pyx_t_38, __pyx_pybuffernd_winners.diminfo[0].strides, __pyx_t_39, __pyx_pybuffernd_winners.diminfo[1].strides) = __pyx_v_win_y;\n      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~\nOrange/projection/_som.c:4114:7: note: ‘__pyx_v_win_y’ was declared here\n 4114 |   int __pyx_v_win_y;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c:4536:223: warning: ‘__pyx_v_win_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 4536 |           *__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int16_t *, __pyx_pybuffernd_winners.rcbuffer->pybuffer.buf, __pyx_t_36, __pyx_pybuffernd_winners.diminfo[0].strides, __pyx_t_37, __pyx_pybuffernd_winners.diminfo[1].strides) = __pyx_v_win_x;\n      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~\nOrange/projection/_som.c:4113:7: note: ‘__pyx_v_win_x’ was declared here\n 4113 |   int __pyx_v_win_x;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c: In function ‘__pyx_pf_6Orange_10projection_4_som_8update_sparse.constprop’:\nOrange/projection/_som.c:4746:7: warning: ‘__pyx_v_win_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 4746 |   int __pyx_v_win_y;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c:4745:7: warning: ‘__pyx_v_win_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 4745 |   int __pyx_v_win_x;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c: In function ‘__pyx_pw_6Orange_10projection_4_som_3update’:\nOrange/projection/_som.c:3141:7: warning: ‘__pyx_v_win_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 3141 |   int __pyx_v_win_y;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c: In function ‘__pyx_pw_6Orange_10projection_4_som_1get_winners’:\nOrange/projection/_som.c:2964:223: warning: ‘__pyx_v_win_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 2964 |           *__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int16_t *, __pyx_pybuffernd_winners.rcbuffer->pybuffer.buf, __pyx_t_27, __pyx_pybuffernd_winners.diminfo[0].strides, __pyx_t_28, __pyx_pybuffernd_winners.diminfo[1].strides) = __pyx_v_win_y;\n      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~\nOrange/projection/_som.c:2665:7: note: ‘__pyx_v_win_y’ was declared here\n 2665 |   int __pyx_v_win_y;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c:2953:223: warning: ‘__pyx_v_win_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 2953 |           *__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int16_t *, __pyx_pybuffernd_winners.rcbuffer->pybuffer.buf, __pyx_t_25, __pyx_pybuffernd_winners.diminfo[0].strides, __pyx_t_26, __pyx_pybuffernd_winners.diminfo[1].strides) = __pyx_v_win_x;\n      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~\nOrange/projection/_som.c:2664:7: note: ‘__pyx_v_win_x’ was declared here\n 2664 |   int __pyx_v_win_x;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c: In function ‘__pyx_pf_6Orange_10projection_4_som_10update_sparse_hex.constprop’:\nOrange/projection/_som.c:5515:7: warning: ‘__pyx_v_win_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 5515 |   int __pyx_v_win_y;\n      |       ^~~~~~~~~~~~~\nOrange/projection/_som.c:5514:7: warning: ‘__pyx_v_win_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]\n 5514 |   int __pyx_v_win_x;\n      |       ^~~~~~~~~~~~~\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  setuptools.SetuptoolsDeprecationWarning,\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/setuptools/command/easy_install.py:159: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.\n  EasyInstallDeprecationWarning,\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  setuptools.SetuptoolsDeprecationWarning,\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/.venv/lib/python3.7/site-packages/setuptools/command/egg_info.py:628: SetuptoolsDeprecationWarning: Custom 'build_py' does not implement 'get_data_files_without_manifest'.\nPlease extend command classes from setuptools instead of distutils.\n  SetuptoolsDeprecationWarning\n",
    "new_commit_res_code": 1,
    "new_commit_res_stdout": "============================= test session starts ==============================\nplatform linux -- Python 3.7.9, pytest-7.4.4, pluggy-1.2.0\nrootdir: /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7\ncollected 16 items\n\nr2e_tests/test_1.py sssE............                                     [100%]\n\n==================================== ERRORS ====================================\n_______________________ ERROR at setup of test_filename ________________________\nfile /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/Orange/tests/__init__.py, line 65\n  def test_filename(path):\nE       fixture 'path' not found\n>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory\n>       use 'pytest --fixtures [testpath]' for help on them.\n\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/Orange/tests/__init__.py:65\n==================================== PASSES ====================================\n=========================== short test summary info ============================\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_all_whitespace\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_error\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_feature_names_from_cont_vars\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_feature_type\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_gui_behaviour\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_image_export\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_minimum_size\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_msg_base_class\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_send_report\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_summary\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_transpose\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_unconditional_commit_on_new_signal\nSKIPPED [1] .venv/lib/python3.7/site-packages/orangewidget/tests/base.py:244: image exporting not tested as .widget was not set\nSKIPPED [1] .venv/lib/python3.7/site-packages/orangewidget/tests/base.py:238: minimum size not tested as .widget was not set\nSKIPPED [1] .venv/lib/python3.7/site-packages/orangewidget/tests/base.py:250: msg base class not tested as .widget was not set\nERROR r2e_tests/test_1.py::test_filename\n==================== 12 passed, 3 skipped, 1 error in 4.63s ====================\nWidgets left: 0    Max widgets: 762 \n\n",
    "new_commit_res_stderr": "",
    "old_commit_res_code": 1,
    "old_commit_res_stdout": "============================= test session starts ==============================\nplatform linux -- Python 3.7.9, pytest-7.4.4, pluggy-1.2.0\nrootdir: /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7\ncollected 16 items\n\nr2e_tests/test_1.py sssE.........F..                                     [100%]\n\n==================================== ERRORS ====================================\n_______________________ ERROR at setup of test_filename ________________________\nfile /home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/Orange/tests/__init__.py, line 65\n  def test_filename(path):\nE       fixture 'path' not found\n>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory\n>       use 'pytest --fixtures [testpath]' for help on them.\n\n/home/gcpuser/buckets/local_repoeval_bucket/repos/orange3_0336aa7c1db58c78c735f4143738193634a9e8b7/Orange/tests/__init__.py:65\n=================================== FAILURES ===================================\n_________________________ TestOWTranspose.test_summary _________________________\n\nself = <r2e_tests.test_1.TestOWTranspose testMethod=test_summary>\n\n    def test_summary(self):\n        \"\"\"Check if status bar is updated when data is received\"\"\"\n        input_sum = self.widget.info.set_input_summary = Mock()\n        output_sum = self.widget.info.set_output_summary = Mock()\n    \n        data = Table(\"iris\")\n        self.send_signal(self.widget.Inputs.data, data)\n>       input_sum.assert_called_with(len(data), format_summary_details(data))\n\nr2e_tests/test_1.py:182: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n_mock_self = <Mock id='123131759504528'>\nargs = (150, '150 instances, 5 variables\\nFeatures: 4 numeric\\nTarget: categorical\\nMetas: —')\nkwargs = {}\nexpected = ((150, '150 instances, 5 variables\\nFeatures: 4 numeric\\nTarget: categorical\\nMetas: —'), {})\n_error_message = <function NonCallableMock.assert_called_with.<locals>._error_message at 0x6ffcd8c8f830>\nactual = call(150), cause = None\n\n    def assert_called_with(_mock_self, *args, **kwargs):\n        \"\"\"assert that the mock was called with the specified arguments.\n    \n        Raises an AssertionError if the args and keyword args passed in are\n        different to the last call to the mock.\"\"\"\n        self = _mock_self\n        if self.call_args is None:\n            expected = self._format_mock_call_signature(args, kwargs)\n            raise AssertionError('Expected call: %s\\nNot called' % (expected,))\n    \n        def _error_message():\n            msg = self._format_mock_failure_message(args, kwargs)\n            return msg\n        expected = self._call_matcher((args, kwargs))\n        actual = self._call_matcher(self.call_args)\n        if expected != actual:\n            cause = expected if isinstance(expected, Exception) else None\n>           raise AssertionError(_error_message()) from cause\nE           AssertionError: Expected call: mock(150, '150 instances, 5 variables\\nFeatures: 4 numeric\\nTarget: categorical\\nMetas: —')\nE           Actual call: mock(150)\n\n../../../../.local/share/uv/python/cpython-3.7.9-linux-x86_64-gnu/lib/python3.7/unittest/mock.py:878: AssertionError\n==================================== PASSES ====================================\n=========================== short test summary info ============================\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_all_whitespace\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_error\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_feature_names_from_cont_vars\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_feature_type\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_gui_behaviour\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_image_export\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_minimum_size\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_msg_base_class\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_send_report\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_transpose\nPASSED r2e_tests/test_1.py::TestOWTranspose::test_unconditional_commit_on_new_signal\nSKIPPED [1] .venv/lib/python3.7/site-packages/orangewidget/tests/base.py:244: image exporting not tested as .widget was not set\nSKIPPED [1] .venv/lib/python3.7/site-packages/orangewidget/tests/base.py:238: minimum size not tested as .widget was not set\nSKIPPED [1] .venv/lib/python3.7/site-packages/orangewidget/tests/base.py:250: msg base class not tested as .widget was not set\nERROR r2e_tests/test_1.py::test_filename\nFAILED r2e_tests/test_1.py::TestOWTranspose::test_summary - AssertionError: E...\n=============== 1 failed, 11 passed, 3 skipped, 1 error in 2.69s ===============\nWidgets left: 0    Max widgets: 762 \n\n",
    "old_commit_res_stderr": ""
}
Orange/widgets/data/owtranspose.py Orange/widgets/data/tests/test_owtranspose.py
We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[ISSUE]

**Title:** Status bar lacks detailed data information when data is received

**Description:**
When data is sent to the Transpose widget, the status bar is supposed to display both the number of data instances and detailed summary information. However, currently, only the number of instances is shown without the detailed summaries.

**Example Buggy Code:**
```python
def receive_data(self, data):
    if data:
        self.info.set_input_summary(len(data))
        self.info.set_output_summary(len(transposed))
    else:
        self.info.set_input_summary(self.info.NoInput)
        self.info.set_output_summary(self.info.NoOutput)
```
In this example, `set_input_summary` and `set_output_summary` are called with only the count of data instances, missing the detailed summary required for comprehensive information display.

**Expected Behavior:**
When data is received, the status bar should display both the number of data instances and detailed summary information, such as the number of variables and their types.

**Actual Behavior:**
The status bar only displays the number of data instances without any detailed summary information, making it harder to understand the data's structure at a glance.

[/ISSUE]
--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.

--- BEGIN FILE ---
```
### Orange/widgets/data/owtranspose.py
from Orange.data import Table, ContinuousVariable, StringVariable
from Orange.widgets.settings import (Setting, ContextSetting,
                                     DomainContextHandler)
from Orange.widgets.utils.itemmodels import DomainModel
from Orange.widgets.utils.widgetpreview import WidgetPreview
from Orange.widgets.widget import OWWidget, Msg
from Orange.widgets import gui
from Orange.widgets.widget import Input, Output


class OWTranspose(OWWidget):
    name = "Transpose"
    description = "Transpose data table."
    icon = "icons/Transpose.svg"
    priority = 2000
    keywords = []

    class Inputs:
        data = Input("Data", Table)

    class Outputs:
        data = Output("Data", Table, dynamic=False)

    GENERIC, FROM_VAR = range(2)

    resizing_enabled = False
    want_main_area = False

    DEFAULT_PREFIX = "Feature"

    settingsHandler = DomainContextHandler()
    feature_type = ContextSetting(GENERIC)
    feature_name = ContextSetting("")
    feature_names_column = ContextSetting(None)
    auto_apply = Setting(True)

    class Warning(OWWidget.Warning):
        duplicate_names = Msg("Values are not unique.\nTo avoid multiple "
                              "features with the same name, values \nof "
                              "'{}' have been augmented with indices.")
        discrete_attrs = Msg("Categorical features have been encoded as numbers.")

    class Error(OWWidget.Error):
        value_error = Msg("{}")

    def __init__(self):
        super().__init__()
        self.data = None

        # self.apply is changed later, pylint: disable=unnecessary-lambda
        box = gui.radioButtons(
            self.controlArea, self, "feature_type", box="Feature names",
            callback=lambda: self.apply())

        button = gui.appendRadioButton(box, "Generic")
        edit = gui.lineEdit(
            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,
            "feature_name",
            placeholderText="Type a prefix ...", toolTip="Custom feature name")
        edit.editingFinished.connect(self._apply_editing)

        self.meta_button = gui.appendRadioButton(box, "From variable:")
        self.feature_model = DomainModel(
            valid_types=(ContinuousVariable, StringVariable),
            alphabetical=False)
        self.feature_combo = gui.comboBox(
            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,
            "feature_names_column", contentsLength=12,
            callback=self._feature_combo_changed, model=self.feature_model)

        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)
        self.apply_button.button.setAutoDefault(False)

        self.info.set_output_summary(self.info.NoInput)
        self.info.set_input_summary(self.info.NoInput)

        self.set_controls()

    def _apply_editing(self):
        self.feature_type = self.GENERIC
        self.feature_name = self.feature_name.strip()
        self.apply()

    def _feature_combo_changed(self):
        self.feature_type = self.FROM_VAR
        self.apply()

    @Inputs.data
    def set_data(self, data):
        # Skip the context if the combo is empty: a context with
        # feature_model == None would then match all domains
        if self.feature_model:
            self.closeContext()
        self.data = data
        if data:
            self.info.set_input_summary(len(data))
        else:
            self.info.set_input_summary(self.info.NoInput)
        self.set_controls()
        if self.feature_model:
            self.openContext(data)
        self.unconditional_apply()

    def set_controls(self):
        self.feature_model.set_domain(self.data and self.data.domain)
        self.meta_button.setEnabled(bool(self.feature_model))
        if self.feature_model:
            self.feature_names_column = self.feature_model[0]
            self.feature_type = self.FROM_VAR
        else:
            self.feature_names_column = None

    def apply(self):
        self.clear_messages()
        transposed = None
        if self.data:
            try:
                variable = self.feature_type == self.FROM_VAR and \
                           self.feature_names_column
                transposed = Table.transpose(
                    self.data, variable,
                    feature_name=self.feature_name or self.DEFAULT_PREFIX)
                if variable:
                    names = self.data.get_column_view(variable)[0]
                    if len(names) != len(set(names)):
                        self.Warning.duplicate_names(variable)
                if self.data.domain.has_discrete_attributes():
                    self.Warning.discrete_attrs()
                self.info.set_output_summary(len(transposed))
            except ValueError as e:
                self.Error.value_error(e)
        else:
            self.info.set_output_summary(self.info.NoInput)
        self.Outputs.data.send(transposed)

    def send_report(self):
        if self.feature_type == self.GENERIC:
            names = self.feature_name or self.DEFAULT_PREFIX
        else:
            names = "from variable"
            if self.feature_names_column:
                names += "  '{}'".format(self.feature_names_column.name)
        self.report_items("", [("Feature names", names)])
        if self.data:
            self.report_data("Data", self.data)


if __name__ == "__main__":  # pragma: no cover
    WidgetPreview(OWTranspose).run(Table("iris"))

```
--- END FILE ---

Please first localize the bug based on the issue statement, and then generate *SEARCH/REPLACE* edits to fix the issue.

Every *SEARCH/REPLACE* edit must use this format:
1. The file path
2. The start of search block: <<<<<<< SEARCH
3. A contiguous chunk of lines to search for in the existing source code
4. The dividing line: =======
5. The lines to replace into the source code
6. The end of the replace block: >>>>>>> REPLACE

Here is an example:

```python
### mathweb/flask/app.py
<<<<<<< SEARCH
from flask import Flask
=======
import math
from flask import Flask
>>>>>>> REPLACE
```
</solution>

Please note that the *SEARCH/REPLACE* edit REQUIRES PROPER INDENTATION. If you would like to add the line '        print(x)', you must fully write that out, with all those spaces before the code!
Wrap each *SEARCH/REPLACE* edit in a code block as shown in the example above. If you have multiple *SEARCH/REPLACE* edits, use a separate code block for each one.
[ISSUE]

**Title:** Status bar lacks detailed data information when data is received

**Description:**
When data is sent to the Transpose widget, the status bar is supposed to display both the number of data instances and detailed summary information. However, currently, only the number of instances is shown without the detailed summaries.

**Example Buggy Code:**
```python
def receive_data(self, data):
    if data:
        self.info.set_input_summary(len(data))
        self.info.set_output_summary(len(transposed))
    else:
        self.info.set_input_summary(self.info.NoInput)
        self.info.set_output_summary(self.info.NoOutput)
```
In this example, `set_input_summary` and `set_output_summary` are called with only the count of data instances, missing the detailed summary required for comprehensive information display.

**Expected Behavior:**
When data is received, the status bar should display both the number of data instances and detailed summary information, such as the number of variables and their types.

**Actual Behavior:**
The status bar only displays the number of data instances without any detailed summary information, making it harder to understand the data's structure at a glance.

[/ISSUE]
{
    "TestOWTranspose.test_all_whitespace": "PASSED",
    "TestOWTranspose.test_error": "PASSED",
    "TestOWTranspose.test_feature_names_from_cont_vars": "PASSED",
    "TestOWTranspose.test_feature_type": "PASSED",
    "TestOWTranspose.test_gui_behaviour": "PASSED",
    "TestOWTranspose.test_image_export": "PASSED",
    "TestOWTranspose.test_minimum_size": "PASSED",
    "TestOWTranspose.test_msg_base_class": "PASSED",
    "TestOWTranspose.test_send_report": "PASSED",
    "TestOWTranspose.test_summary": "PASSED",
    "TestOWTranspose.test_transpose": "PASSED",
    "TestOWTranspose.test_unconditional_commit_on_new_signal": "PASSED",
    "test_filename": "ERROR"
}
diff --git a/Orange/widgets/data/owtranspose.py b/Orange/widgets/data/owtranspose.py
index 36da76154..f334bd6a4 100644
--- a/Orange/widgets/data/owtranspose.py
+++ b/Orange/widgets/data/owtranspose.py
@@ -3,6 +3,7 @@ from Orange.widgets.settings import (Setting, ContextSetting,
                                      DomainContextHandler)
 from Orange.widgets.utils.itemmodels import DomainModel
 from Orange.widgets.utils.widgetpreview import WidgetPreview
+from Orange.widgets.utils.state_summary import format_summary_details
 from Orange.widgets.widget import OWWidget, Msg
 from Orange.widgets import gui
 from Orange.widgets.widget import Input, Output
@@ -71,8 +72,8 @@ class OWTranspose(OWWidget):
         self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)
         self.apply_button.button.setAutoDefault(False)
 
-        self.info.set_output_summary(self.info.NoInput)
         self.info.set_input_summary(self.info.NoInput)
+        self.info.set_output_summary(self.info.NoOutput)
 
         self.set_controls()
 
@@ -93,7 +94,7 @@ class OWTranspose(OWWidget):
             self.closeContext()
         self.data = data
         if data:
-            self.info.set_input_summary(len(data))
+            self.info.set_input_summary(len(data), format_summary_details(data))
         else:
             self.info.set_input_summary(self.info.NoInput)
         self.set_controls()
@@ -126,11 +127,12 @@ class OWTranspose(OWWidget):
                         self.Warning.duplicate_names(variable)
                 if self.data.domain.has_discrete_attributes():
                     self.Warning.discrete_attrs()
-                self.info.set_output_summary(len(transposed))
+                self.info.set_output_summary(len(transposed),
+                                             format_summary_details(transposed))
             except ValueError as e:
                 self.Error.value_error(e)
         else:
-            self.info.set_output_summary(self.info.NoInput)
+            self.info.set_output_summary(self.info.NoOutput)
         self.Outputs.data.send(transposed)
 
     def send_report(self):

{"Orange/widgets/data/owtranspose.py": "from Orange.data import Table, ContinuousVariable, StringVariable\nfrom Orange.widgets.settings import (Setting, ContextSetting,\n                                     DomainContextHandler)\nfrom Orange.widgets.utils.itemmodels import DomainModel\nfrom Orange.widgets.utils.widgetpreview import WidgetPreview\nfrom Orange.widgets.widget import OWWidget, Msg\nfrom Orange.widgets import gui\nfrom Orange.widgets.widget import Input, Output\n\n\nclass OWTranspose(OWWidget):\n    name = \"Transpose\"\n    description = \"Transpose data table.\"\n    icon = \"icons/Transpose.svg\"\n    priority = 2000\n    keywords = []\n\n    class Inputs:\n        data = Input(\"Data\", Table)\n\n    class Outputs:\n        data = Output(\"Data\", Table, dynamic=False)\n\n    GENERIC, FROM_VAR = range(2)\n\n    resizing_enabled = False\n    want_main_area = False\n\n    DEFAULT_PREFIX = \"Feature\"\n\n    settingsHandler = DomainContextHandler()\n    feature_type = ContextSetting(GENERIC)\n    feature_name = ContextSetting(\"\")\n    feature_names_column = ContextSetting(None)\n    auto_apply = Setting(True)\n\n    class Warning(OWWidget.Warning):\n        duplicate_names = Msg(\"Values are not unique.\\nTo avoid multiple \"\n                              \"features with the same name, values \\nof \"\n                              \"'{}' have been augmented with indices.\")\n        discrete_attrs = Msg(\"Categorical features have been encoded as numbers.\")\n\n    class Error(OWWidget.Error):\n        value_error = Msg(\"{}\")\n\n    def __init__(self):\n        super().__init__()\n        self.data = None\n\n        # self.apply is changed later, pylint: disable=unnecessary-lambda\n        box = gui.radioButtons(\n            self.controlArea, self, \"feature_type\", box=\"Feature names\",\n            callback=lambda: self.apply())\n\n        button = gui.appendRadioButton(box, \"Generic\")\n        edit = gui.lineEdit(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_name\",\n            placeholderText=\"Type a prefix ...\", toolTip=\"Custom feature name\")\n        edit.editingFinished.connect(self._apply_editing)\n\n        self.meta_button = gui.appendRadioButton(box, \"From variable:\")\n        self.feature_model = DomainModel(\n            valid_types=(ContinuousVariable, StringVariable),\n            alphabetical=False)\n        self.feature_combo = gui.comboBox(\n            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,\n            \"feature_names_column\", contentsLength=12,\n            callback=self._feature_combo_changed, model=self.feature_model)\n\n        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)\n        self.apply_button.button.setAutoDefault(False)\n\n        self.info.set_output_summary(self.info.NoInput)\n        self.info.set_input_summary(self.info.NoInput)\n\n        self.set_controls()\n\n    def _apply_editing(self):\n        self.feature_type = self.GENERIC\n        self.feature_name = self.feature_name.strip()\n        self.apply()\n\n    def _feature_combo_changed(self):\n        self.feature_type = self.FROM_VAR\n        self.apply()\n\n    @Inputs.data\n    def set_data(self, data):\n        # Skip the context if the combo is empty: a context with\n        # feature_model == None would then match all domains\n        if self.feature_model:\n            self.closeContext()\n        self.data = data\n        if data:\n            self.info.set_input_summary(len(data))\n        else:\n            self.info.set_input_summary(self.info.NoInput)\n        self.set_controls()\n        if self.feature_model:\n            self.openContext(data)\n        self.unconditional_apply()\n\n    def set_controls(self):\n        self.feature_model.set_domain(self.data and self.data.domain)\n        self.meta_button.setEnabled(bool(self.feature_model))\n        if self.feature_model:\n            self.feature_names_column = self.feature_model[0]\n            self.feature_type = self.FROM_VAR\n        else:\n            self.feature_names_column = None\n\n    def apply(self):\n        self.clear_messages()\n        transposed = None\n        if self.data:\n            try:\n                variable = self.feature_type == self.FROM_VAR and \\\n                           self.feature_names_column\n                transposed = Table.transpose(\n                    self.data, variable,\n                    feature_name=self.feature_name or self.DEFAULT_PREFIX)\n                if variable:\n                    names = self.data.get_column_view(variable)[0]\n                    if len(names) != len(set(names)):\n                        self.Warning.duplicate_names(variable)\n                if self.data.domain.has_discrete_attributes():\n                    self.Warning.discrete_attrs()\n                self.info.set_output_summary(len(transposed))\n            except ValueError as e:\n                self.Error.value_error(e)\n        else:\n            self.info.set_output_summary(self.info.NoInput)\n        self.Outputs.data.send(transposed)\n\n    def send_report(self):\n        if self.feature_type == self.GENERIC:\n            names = self.feature_name or self.DEFAULT_PREFIX\n        else:\n            names = \"from variable\"\n            if self.feature_names_column:\n                names += \"  '{}'\".format(self.feature_names_column.name)\n        self.report_items(\"\", [(\"Feature names\", names)])\n        if self.data:\n            self.report_data(\"Data\", self.data)\n\n\nif __name__ == \"__main__\":  # pragma: no cover\n    WidgetPreview(OWTranspose).run(Table(\"iris\"))\n"}
A user will ask you to solve a task. You should first draft your thinking process (inner monologue). Then, generate the solution.

Your response format must follow the template below:
<think>
Your thoughts or/and draft, like working through an exercise on scratch paper. Be as casual and as long as you want until you are confident to generate a correct solution.
</think>
<solution>
Final solution presented to the user.
</solution>
system
We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[ISSUE]

**Title:** Status bar lacks detailed data information when data is received

**Description:**
When data is sent to the Transpose widget, the status bar is supposed to display both the number of data instances and detailed summary information. However, currently, only the number of instances is shown without the detailed summaries.

**Example Buggy Code:**
```python
def receive_data(self, data):
    if data:
        self.info.set_input_summary(len(data))
        self.info.set_output_summary(len(transposed))
    else:
        self.info.set_input_summary(self.info.NoInput)
        self.info.set_output_summary(self.info.NoOutput)
```
In this example, `set_input_summary` and `set_output_summary` are called with only the count of data instances, missing the detailed summary required for comprehensive information display.

**Expected Behavior:**
When data is received, the status bar should display both the number of data instances and detailed summary information, such as the number of variables and their types.

**Actual Behavior:**
The status bar only displays the number of data instances without any detailed summary information, making it harder to understand the data's structure at a glance.

[/ISSUE]
--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.

--- BEGIN FILE ---
```
### Orange/widgets/data/owtranspose.py
from Orange.data import Table, ContinuousVariable, StringVariable
from Orange.widgets.settings import (Setting, ContextSetting,
                                     DomainContextHandler)
from Orange.widgets.utils.itemmodels import DomainModel
from Orange.widgets.utils.widgetpreview import WidgetPreview
from Orange.widgets.widget import OWWidget, Msg
from Orange.widgets import gui
from Orange.widgets.widget import Input, Output


class OWTranspose(OWWidget):
    name = "Transpose"
    description = "Transpose data table."
    icon = "icons/Transpose.svg"
    priority = 2000
    keywords = []

    class Inputs:
        data = Input("Data", Table)

    class Outputs:
        data = Output("Data", Table, dynamic=False)

    GENERIC, FROM_VAR = range(2)

    resizing_enabled = False
    want_main_area = False

    DEFAULT_PREFIX = "Feature"

    settingsHandler = DomainContextHandler()
    feature_type = ContextSetting(GENERIC)
    feature_name = ContextSetting("")
    feature_names_column = ContextSetting(None)
    auto_apply = Setting(True)

    class Warning(OWWidget.Warning):
        duplicate_names = Msg("Values are not unique.\nTo avoid multiple "
                              "features with the same name, values \nof "
                              "'{}' have been augmented with indices.")
        discrete_attrs = Msg("Categorical features have been encoded as numbers.")

    class Error(OWWidget.Error):
        value_error = Msg("{}")

    def __init__(self):
        super().__init__()
        self.data = None

        # self.apply is changed later, pylint: disable=unnecessary-lambda
        box = gui.radioButtons(
            self.controlArea, self, "feature_type", box="Feature names",
            callback=lambda: self.apply())

        button = gui.appendRadioButton(box, "Generic")
        edit = gui.lineEdit(
            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,
            "feature_name",
            placeholderText="Type a prefix ...", toolTip="Custom feature name")
        edit.editingFinished.connect(self._apply_editing)

        self.meta_button = gui.appendRadioButton(box, "From variable:")
        self.feature_model = DomainModel(
            valid_types=(ContinuousVariable, StringVariable),
            alphabetical=False)
        self.feature_combo = gui.comboBox(
            gui.indentedBox(box, gui.checkButtonOffsetHint(button)), self,
            "feature_names_column", contentsLength=12,
            callback=self._feature_combo_changed, model=self.feature_model)

        self.apply_button = gui.auto_apply(self.controlArea, self, box=False, commit=self.apply)
        self.apply_button.button.setAutoDefault(False)

        self.info.set_output_summary(self.info.NoInput)
        self.info.set_input_summary(self.info.NoInput)

        self.set_controls()

    def _apply_editing(self):
        self.feature_type = self.GENERIC
        self.feature_name = self.feature_name.strip()
        self.apply()

    def _feature_combo_changed(self):
        self.feature_type = self.FROM_VAR
        self.apply()

    @Inputs.data
    def set_data(self, data):
        # Skip the context if the combo is empty: a context with
        # feature_model == None would then match all domains
        if self.feature_model:
            self.closeContext()
        self.data = data
        if data:
            self.info.set_input_summary(len(data))
        else:
            self.info.set_input_summary(self.info.NoInput)
        self.set_controls()
        if self.feature_model:
            self.openContext(data)
        self.unconditional_apply()

    def set_controls(self):
        self.feature_model.set_domain(self.data and self.data.domain)
        self.meta_button.setEnabled(bool(self.feature_model))
        if self.feature_model:
            self.feature_names_column = self.feature_model[0]
            self.feature_type = self.FROM_VAR
        else:
            self.feature_names_column = None

    def apply(self):
        self.clear_messages()
        transposed = None
        if self.data:
            try:
                variable = self.feature_type == self.FROM_VAR and \
                           self.feature_names_column
                transposed = Table.transpose(
                    self.data, variable,
                    feature_name=self.feature_name or self.DEFAULT_PREFIX)
                if variable:
                    names = self.data.get_column_view(variable)[0]
                    if len(names) != len(set(names)):
                        self.Warning.duplicate_names(variable)
                if self.data.domain.has_discrete_attributes():
                    self.Warning.discrete_attrs()
                self.info.set_output_summary(len(transposed))
            except ValueError as e:
                self.Error.value_error(e)
        else:
            self.info.set_output_summary(self.info.NoInput)
        self.Outputs.data.send(transposed)

    def send_report(self):
        if self.feature_type == self.GENERIC:
            names = self.feature_name or self.DEFAULT_PREFIX
        else:
            names = "from variable"
            if self.feature_names_column:
                names += "  '{}'".format(self.feature_names_column.name)
        self.report_items("", [("Feature names", names)])
        if self.data:
            self.report_data("Data", self.data)


if __name__ == "__main__":  # pragma: no cover
    WidgetPreview(OWTranspose).run(Table("iris"))

```
--- END FILE ---

Please first localize the bug based on the issue statement, and then generate *SEARCH/REPLACE* edits to fix the issue.

Every *SEARCH/REPLACE* edit must use this format:
1. The file path
2. The start of search block: <<<<<<< SEARCH
3. A contiguous chunk of lines to search for in the existing source code
4. The dividing line: =======
5. The lines to replace into the source code
6. The end of the replace block: >>>>>>> REPLACE

Here is an example:

```python
### mathweb/flask/app.py
<<<<<<< SEARCH
from flask import Flask
=======
import math
from flask import Flask
>>>>>>> REPLACE
```
</solution>

Please note that the *SEARCH/REPLACE* edit REQUIRES PROPER INDENTATION. If you would like to add the line '        print(x)', you must fully write that out, with all those spaces before the code!
Wrap each *SEARCH/REPLACE* edit in a code block as shown in the example above. If you have multiple *SEARCH/REPLACE* edits, use a separate code block for each one.
user