Skip to content

Implements feature based perf instrumentation comparision #3008

Implements feature based perf instrumentation comparision

Implements feature based perf instrumentation comparision #3008

GitHub Actions / mypy failed Oct 5, 2023 in 1s

reviewdog [mypy] report

reported by reviewdog 🐶

Findings (54)

varats-core/varats/experiment/experiment_util.py|534 col 29| error: Class cannot subclass value of type "Any" [misc]
varats-core/varats/report/tef_report.py|72 col 13| error: Attribute "__uuid" already defined on line 70 [no-redef]
varats-core/varats/report/tef_report.py|75 col 13| error: Attribute "__uuid" already defined on line 70 [no-redef]
varats-core/varats/report/tef_report.py|188 col 1| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/report/tef_report.py|188 col 1| note: Use "-> None" if function does not return a value
varats/varats/experiments/vara/feature_perf_precision.py|58 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|100 col 32| error: Argument 2 to "init" of "MultiPatchReport" has incompatible type "type[PerfInfluenceTraceReportAggregate]"; expected "type[TEFReportAggregate]" [arg-type]
varats/varats/experiments/vara/feature_perf_precision.py|111 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|170 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|281 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|372 col 22| error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]") [comparison-overlap]
varats/varats/experiments/vara/feature_perf_precision.py|408 col 12| error: Unsupported right operand type for in ("Optional[set[str]]") [operator]
varats/varats/experiments/vara/feature_perf_precision.py|426 col 28| error: Call to untyped function "RevertPatch" in typed context [no-untyped-call]
varats/varats/experiments/vara/feature_perf_precision.py|547 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|651 col 18| error: Unsupported right operand type for in ("Optional[set[str]]") [operator]
varats/varats/experiments/vara/feature_perf_precision.py|669 col 32| error: Call to untyped function "RevertPatch" in typed context [no-untyped-call]
varats/varats/experiments/vara/feature_perf_precision.py|704 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|769 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|855 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|927 col 22| error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]") [comparison-overlap]
varats/varats/experiments/vara/feature_perf_precision.py|1077 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|10 col 1| error: Skipping analyzing "cliffs_delta": module is installed, but missing library stubs or py.typed marker [import]
varats/varats/data/databases/feature_perf_precision_database.py|10 col 1| note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
varats/varats/data/databases/feature_perf_precision_database.py|59 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|152 col 13| error: Statement is unreachable [unreachable]
varats/varats/data/databases/feature_perf_precision_database.py|184 col 13| error: Statement is unreachable [unreachable]
varats/varats/data/databases/feature_perf_precision_database.py|215 col 5| error: Returning Any from function declared to return "bool" [no-any-return]
varats/varats/data/databases/feature_perf_precision_database.py|281 col 24| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "MultiPatchReport" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|315 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|336 col 24| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "MultiPatchReport" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|337 col 38| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "PerfInfluenceTraceReportAggregate" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|371 col 24| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "MultiPatchReport" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|485 col 13| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "TimeReportAggregate" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| error: Signature of "is_regression" incompatible with supertype "Profiler" [override]
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: Superclass:
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: def is_regression(self, report_path: ReportFilepath, patch_name: str) -> bool
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: Subclass:
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: def is_regression(self, report_path: ReportFilepath) -> bool
varats/varats/data/databases/feature_perf_precision_database.py|534 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|677 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|734 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/tables/feature_perf_precision.py|36 col 1| error: Module "varats.utils.git_util" does not explicitly export attribute "git" [attr-defined]
varats/varats/tables/feature_perf_precision.py|39 col 1| error: Function is missing a type annotation [no-untyped-def]
varats/varats/tables/feature_perf_precision.py|51 col 17| error: Need type annotation for "step_list" [var-annotated]
varats/varats/tables/feature_perf_precision.py|52 col 17| error: Incompatible types in assignment (expression has type "ndarray[Any, dtype[Any]]", variable has type "Union[list[Any], list[Any]]") [assignment]
varats/varats/tables/feature_perf_precision.py|251 col 45| error: "OverheadData" has no attribute "mean_ctx" [attr-defined]
varats/varats/tables/feature_perf_precision.py|262 col 32| error: "OverheadData" has no attribute "config_wise_ctx_diff"; maybe "config_wise_time_diff", "config_wise_memory_diff", or "config_wise_fs_inputs_diff"? [attr-defined]
varats/varats/tables/feature_perf_precision.py|361 col 1| error: Function is missing a type annotation [no-untyped-def]
varats/varats/tables/feature_perf_precision.py|469 col 23| error: Call to untyped function "cmap_map" in typed context [no-untyped-call]
varats/varats/tables/feature_perf_precision.py|485 col 24| error: Call to untyped function "truncate_colormap" in typed context [no-untyped-call]
varats/varats/plots/feature_perf_precision.py|301 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/plots/feature_perf_precision.py|317 col 13| error: Name "text_obj" already defined on line 316 [no-redef]
varats/varats/plots/feature_perf_precision.py|358 col 24| error: Call to untyped function "plot_pareto_frontier" in typed context [no-untyped-call]
varats/varats/plots/feature_perf_precision.py|404 col 5| error: Function is missing a type annotation [no-untyped-def]

Filtered Findings (82)

varats-core/varats/experiment/steps/recompile.py|8 col 17| error: Class cannot subclass "ProjectStep" (has type "Any") [misc]
varats-core/varats/report/multi_patch_report.py|41 col 16| error: Incompatible return value type (got "Optional[ReportTy]", expected "ReportTy") [return-value]
varats-core/varats/experiment/steps/patch.py|13 col 18| error: Class cannot subclass "ProjectStep" (has type "Any") [misc]
varats-core/varats/experiment/steps/patch.py|45 col 19| error: Class cannot subclass "ProjectStep" (has type "Any") [misc]
varats-core/varats/experiment/steps/patch.py|51 col 5| error: Function is missing a type annotation [no-untyped-def]
varats/varats/plot/plot_utils.py|108 col 28| error: Incompatible default for argument "ax" (default has type "None", argument has type "SubplotBase") [assignment]
varats/varats/plot/plot_utils.py|108 col 28| note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
varats/varats/plot/plot_utils.py|108 col 28| note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
varats/varats/plot/plot_utils.py|114 col 10| error: Incompatible types in assignment (expression has type "Union[SubplotBase, Axes]", variable has type "SubplotBase") [assignment]
varats/varats/plot/plot_utils.py|116 col 5| error: "SubplotBase" has no attribute "annotate" [attr-defined]
varats/varats/plot/plot_utils.py|119 col 18| error: "SubplotBase" has no attribute "transAxes" [attr-defined]
varats/varats/plot/plot_utils.py|124 col 5| error: "SubplotBase" has no attribute "annotate" [attr-defined]
varats/varats/plot/plot_utils.py|127 col 18| error: "SubplotBase" has no attribute "transAxes" [attr-defined]
varats/varats/plot/plot.py|129 col 9| error: Call to untyped function "show" in typed context [no-untyped-call]
varats/varats/tools/driver_table.py|47 col 10| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_table.py|47 col 10| note: This is likely because "command_template" has named arguments: "context". Consider marking them positional-only
varats/varats/tools/driver_table.py|86 col 2| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_table.py|86 col 2| note: This is likely because "main" has named arguments: "context". Consider marking them positional-only
varats/varats/tools/driver_plot.py|47 col 10| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_plot.py|47 col 10| note: This is likely because "command_template" has named arguments: "context". Consider marking them positional-only
varats/varats/tools/driver_plot.py|86 col 2| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_plot.py|86 col 2| note: This is likely because "main" has named arguments: "context". Consider marking them positional-only
varats/varats/plots/paper_config_overview.py|221 col 25| error: Argument "facecolor" to "Patch" has incompatible type "ndarray[Any, dtype[floating[_64Bit]]]"; expected "Optional[Union[Union[tuple[float, float, float], str], Union[str, tuple[float, float, float, float], tuple[Union[tuple[float, float, float], str], float], tuple[tuple[float, float, float, float], float]]]]" [arg-type]
varats/varats/plots/paper_config_overview.py|222 col 25| error: Argument "facecolor" to "Patch" has incompatible type "ndarray[Any, dtype[floating[_64Bit]]]"; expected "Optional[Union[Union[tuple[float, float, float], str], Union[str, tuple[float, float, float, float], tuple[Union[tuple[float, float, float], str], float], tuple[tuple[float, float, float, float], float]]]]" [arg-type]
varats/varats/plots/paper_config_overview.py|223 col 25| error: Argument "facecolor" to "Patch" has incompatible type "ndarray[Any, dtype[floating[_64Bit]]]"; expected "Optional[Union[Union[tuple[float, float, float], str], Union[str, tuple[float, float, float, float], tuple[Union[tuple[float, float, float], str], float], tuple[tuple[float, float, float, float], float]]]]" [arg-type]
varats/varats/tools/driver_casestudy.py|395 col 10| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_casestudy.py|395 col 10| note: This is likely because "command_template" has named arguments: "context". Consider marking them positional-only
varats/varats/plots/commit_report_plots.py|8 col 1| error: Module "matplotlib.backends.backend_qt5agg" does not explicitly export attribute "FigureCanvasQTAgg" [attr-defined]
varats/varats/plots/commit_report_plots.py|31 col 23| error: Call to untyped function "FigureCanvasQTAgg" in typed context [no-untyped-call]
varats/varats/plots/commit_report_plots.py|56 col 9| error: Call to untyped function "draw" in typed context [no-untyped-call]
varats/varats/plots/blame_lorenz_curve.py|59 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|73 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|109 col 9| error: Argument 1 to "draw_code_churn" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|177 col 13| error: Argument 1 to "draw_interaction_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|181 col 13| error: Argument 1 to "draw_perfect_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|184 col 37| error: Argument 1 to "draw_interaction_code_churn" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|188 col 13| error: Argument 1 to "draw_interaction_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|192 col 13| error: Argument 1 to "draw_perfect_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|196 col 13| error: Argument 1 to "draw_interaction_code_churn" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|297 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|347 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|395 col 13| error: Argument 1 to "draw_gini_blame_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|399 col 13| error: Argument 1 to "draw_gini_blame_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|403 col 13| error: Argument 1 to "draw_gini_blame_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|407 col 13| error: Argument 1 to "draw_gini_churn_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|411 col 13| error: Argument 1 to "draw_gini_churn_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|415 col 13| error: Argument 1 to "draw_gini_churn_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|422 col 37| error: Argument 1 to "draw_interaction_code_churn" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|57 col 28| error: Incompatible default for argument "ax" (default has type "None", argument has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|57 col 28| note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
varats/varats/plots/blame_diff_correlation_matrix.py|57 col 28| note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
varats/varats/plots/blame_diff_correlation_matrix.py|63 col 10| error: Incompatible types in assignment (expression has type "Union[SubplotBase, Axes]", variable has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|70 col 11| error: "SubplotBase" has no attribute "twinx" [attr-defined]
varats/varats/plots/blame_diff_correlation_matrix.py|94 col 14| error: Argument 1 to "pad_axes" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|96 col 17| error: Argument 1 to "align_yaxis" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|124 col 28| error: Incompatible default for argument "ax" (default has type "None", argument has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|124 col 28| note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
varats/varats/plots/blame_diff_correlation_matrix.py|124 col 28| note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
varats/varats/plots/blame_diff_correlation_matrix.py|128 col 10| error: Incompatible types in assignment (expression has type "Union[SubplotBase, Axes]", variable has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|133 col 11| error: "SubplotBase" has no attribute "twinx" [attr-defined]
varats/varats/plots/blame_diff_correlation_matrix.py|136 col 14| error: Argument 1 to "pad_axes" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|138 col 17| error: Argument 1 to "align_yaxis" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_verifier_report_plots.py|226 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlim" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|226 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlim" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|227 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "grid" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|227 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "grid" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|228 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|228 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|229 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_ylabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|229 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_ylabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|230 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "yaxis" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|230 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "yaxis" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|247 col 9| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "plot" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|247 col 9| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "plot" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|254 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "title" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|254 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "title" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|254 col 5| error: Item "Axes" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "title" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|257 col 9| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "get_xticklabels" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|257 col 9| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "get_xticklabels" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|260 col 14| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "legend" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|260 col 14| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "legend" [union-attr]
varats/varats/tools/driver_graph_view.py|35 col 17| error: Redundant cast to "StandardButtons" [redundant-cast]

Annotations

Check failure on line 534 in varats-core/varats/experiment/experiment_util.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/experiment/experiment_util.py#L534

error: Class cannot subclass value of type "Any"  [misc]
Raw output
varats-core/varats/experiment/experiment_util.py:534:29: error: Class cannot subclass value of type "Any"  [misc]

Check failure on line 72 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L72

error: Attribute "__uuid" already defined on line 70  [no-redef]
Raw output
varats-core/varats/report/tef_report.py:72:13: error: Attribute "__uuid" already defined on line 70  [no-redef]

Check failure on line 75 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L75

error: Attribute "__uuid" already defined on line 70  [no-redef]
Raw output
varats-core/varats/report/tef_report.py:75:13: error: Attribute "__uuid" already defined on line 70  [no-redef]

Check failure on line 188 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L188

error: Function is missing a return type annotation  [no-untyped-def]
Raw output
varats-core/varats/report/tef_report.py:188:1: error: Function is missing a return type annotation  [no-untyped-def]

Check failure on line 188 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L188

note: Use "-> None" if function does not return a value
Raw output
varats-core/varats/report/tef_report.py:188:1: note: Use "-> None" if function does not return a value

Check failure on line 58 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L58

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:58:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 100 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L100

error: Argument 2 to "__init__" of "MultiPatchReport" has incompatible type "type[PerfInfluenceTraceReportAggregate]"; expected "type[TEFReportAggregate]"  [arg-type]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:100:32: error: Argument 2 to "__init__" of "MultiPatchReport" has incompatible type "type[PerfInfluenceTraceReportAggregate]"; expected "type[TEFReportAggregate]"  [arg-type]

Check failure on line 111 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L111

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:111:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 170 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L170

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:170:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 281 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L281

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:281:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 372 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L372

error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:372:22: error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]

Check failure on line 408 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L408

error: Unsupported right operand type for in ("Optional[set[str]]")  [operator]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:408:12: error: Unsupported right operand type for in ("Optional[set[str]]")  [operator]

Check failure on line 426 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L426

error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:426:28: error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]

Check failure on line 547 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L547

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:547:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 651 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L651

error: Unsupported right operand type for in ("Optional[set[str]]")  [operator]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:651:18: error: Unsupported right operand type for in ("Optional[set[str]]")  [operator]

Check failure on line 669 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L669

error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:669:32: error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]

Check failure on line 704 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L704

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:704:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 769 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L769

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:769:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 855 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L855

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:855:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 927 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L927

error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:927:22: error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]

Check failure on line 1077 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L1077

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:1077:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 10 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L10

error: Skipping analyzing "cliffs_delta": module is installed, but missing library stubs or py.typed marker  [import]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:10:1: error: Skipping analyzing "cliffs_delta": module is installed, but missing library stubs or py.typed marker  [import]

Check failure on line 10 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L10

note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:10:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

Check failure on line 59 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L59

error: Function is missing a return type annotation  [no-untyped-def]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:59:5: error: Function is missing a return type annotation  [no-untyped-def]

Check failure on line 152 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L152

error: Statement is unreachable  [unreachable]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:152:13: error: Statement is unreachable  [unreachable]