Flower: A Friendly Federated AI Framework
This report presents the forensic synthetic code analysis of flwrlabs/flower, a Python project with 7,091 GitHub stars. SynthScan v2.0 examined 309,388 lines of code across 2242 source files, recording 6126 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 32.6 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 6126 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | framework/py/flwr/__init___test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/utils.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/client_app_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/client_app.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/typing.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/mod/comms_mods.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/mod/localdp_mod.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/mod/comms_mods_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/mod/centraldp_mods.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/mod/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/clientapp/mod/dp_mods_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/simulation/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/server/grid.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/server/serverapp_components.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/server/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/server/app.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/server/typing.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …mework/py/flwr/compat/common/recorddict_compat_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/parameter_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/dp.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/recorddict_compat.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/constant.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/typing.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/parameter.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/record/recorddict.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/record/metricrecord.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/record/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …ework/py/flwr/compat/common/record/conversion_utils.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/record/arrayrecord.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/common/record/configrecord.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …/py/flwr/compat/common/record/conversion_utils_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …amework/py/flwr/compat/client/dpfedavg_numpy_client.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/numpy_client_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/app_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/run_info_store.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/numpy_client.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/client.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/run_info_store_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/app.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/typing.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/client_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …k/py/flwr/compat/client/grpc_client/connection_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/compat/client/grpc_client/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | …mework/py/flwr/compat/client/grpc_client/connection.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/object_ref.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/grpc.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/grpc_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/differential_privacy.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/address.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/address_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/http_logging_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/run.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/telemetry_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/version.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | framework/py/flwr/supercore/utils_test.py | 14 | # ============================================================================== | COMMENT |
| 848 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | framework/py/flwr/compat/client/numpy_client.py | 0 | refine the provided parameters using the locally held dataset. | STRING |
| HIGH | framework/py/flwr/server/client_proxy.py | 0 | refine the provided parameters using the locally held dataset. | STRING |
| HIGH | …/server/superlink/fleet/grpc_bidi/grpc_client_proxy.py | 0 | refine the provided parameters using the locally held dataset. | STRING |
| HIGH | framework/py/flwr/compat/client/numpy_client.py | 0 | evaluate the provided parameters using the locally held dataset. | STRING |
| HIGH | framework/py/flwr/server/client_proxy.py | 0 | evaluate the provided parameters using the locally held dataset. | STRING |
| HIGH | …/server/superlink/fleet/grpc_bidi/grpc_client_proxy.py | 0 | evaluate the provided parameters using the locally held dataset. | STRING |
| HIGH | …wr/supercore/interceptors/runtime_token_interceptor.py | 0 | return the task associated with the task token, if valid. | STRING |
| HIGH | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 0 | return the task associated with the task token, if valid. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/sql_corestate.py | 0 | return the task associated with the task token, if valid. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/corestate.py | 0 | return the objectstore instance used by this corestate. | STRING |
| HIGH | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 0 | return the objectstore instance used by this corestate. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/sql_corestate.py | 0 | return the objectstore instance used by this corestate. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/corestate.py | 0 | remove an object push session and optionally its messages. | STRING |
| HIGH | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 0 | remove an object push session and optionally its messages. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/sql_corestate.py | 0 | remove an object push session and optionally its messages. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/corestate.py | 0 | return a fab only when it matches the federation-app association. | STRING |
| HIGH | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 0 | return a fab only when it matches the federation-app association. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/sql_corestate.py | 0 | return a fab only when it matches the federation-app association. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/corestate.py | 0 | list apps associated with a federation, newest first. | STRING |
| HIGH | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 0 | list apps associated with a federation, newest first. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/sql_corestate.py | 0 | list apps associated with a federation, newest first. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/corestate.py | 0 | delete one federation-app association; its fab remains in state. | STRING |
| HIGH | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 0 | delete one federation-app association; its fab remains in state. | STRING |
| HIGH | framework/py/flwr/supercore/corestate/sql_corestate.py | 0 | delete one federation-app association; its fab remains in state. | STRING |
| HIGH | framework/py/flwr/supercore/dependencies/task.py | 0 | fastapi task-token authentication dependency for supernode runtime routes. | STRING |
| HIGH | framework/py/flwr/superlink/dependencies/task.py | 0 | fastapi task-token authentication dependency for supernode runtime routes. | STRING |
| HIGH | framework/py/flwr/supernode/dependencies/task.py | 0 | fastapi task-token authentication dependency for supernode runtime routes. | STRING |
| HIGH | framework/py/flwr/supercore/dependencies/task.py | 0 | return the task authenticated by the runtime task-token header. | STRING |
| HIGH | framework/py/flwr/superlink/dependencies/task.py | 0 | return the task authenticated by the runtime task-token header. | STRING |
| HIGH | framework/py/flwr/supernode/dependencies/task.py | 0 | return the task authenticated by the runtime task-token header. | STRING |
| HIGH | framework/py/flwr/supercore/dependencies/superexec.py | 0 | fastapi superexec authentication dependency for supernode runtime routes. | STRING |
| HIGH | framework/py/flwr/superlink/dependencies/superexec.py | 0 | fastapi superexec authentication dependency for supernode runtime routes. | STRING |
| HIGH | framework/py/flwr/supernode/dependencies/superexec.py | 0 | fastapi superexec authentication dependency for supernode runtime routes. | STRING |
| HIGH | framework/py/flwr/supercore/cli/flwr_connector_test.py | 0 | raise a parser error before any side effects happen. | STRING |
| HIGH | framework/py/flwr/supercore/cli/flwr_agentapp_test.py | 0 | raise a parser error before any side effects happen. | STRING |
| HIGH | framework/py/flwr/simulation/app_test.py | 0 | raise a parser error before any side effects happen. | STRING |
| HIGH | framework/py/flwr/superlink/cli/flwr_serverapp_test.py | 0 | raise a parser error before any side effects happen. | STRING |
| HIGH | …amework/py/flwr/supercore/cli/flower_superexec_test.py | 0 | the version flags should print the package version and exit. | STRING |
| HIGH | …amework/py/flwr/superlink/cli/flower_superlink_test.py | 0 | the version flags should print the package version and exit. | STRING |
| HIGH | …amework/py/flwr/supernode/cli/flower_supernode_test.py | 0 | the version flags should print the package version and exit. | STRING |
| HIGH | framework/py/flwr/supercore/cli/flwr_agentapp_test.py | 0 | the removed deprecated flag should no longer parse. | STRING |
| HIGH | framework/py/flwr/supercore/cli/flwr_model_test.py | 0 | the removed deprecated flag should no longer parse. | STRING |
| HIGH | framework/py/flwr/simulation/app_test.py | 0 | the removed deprecated flag should no longer parse. | STRING |
| HIGH | framework/py/flwr/common/args_test.py | 0 | the removed deprecated flag should no longer parse. | STRING |
| HIGH | framework/py/flwr/superlink/cli/flwr_serverapp_test.py | 0 | the removed deprecated flag should no longer parse. | STRING |
| HIGH | framework/py/flwr/supernode/cli/flwr_clientapp_test.py | 0 | the removed deprecated flag should no longer parse. | STRING |
| HIGH | framework/py/flwr/supercore/cli/flwr_agentapp_test.py | 0 | argument parsing should happen before stdout/stderr redirection. | STRING |
| HIGH | framework/py/flwr/simulation/app_test.py | 0 | argument parsing should happen before stdout/stderr redirection. | STRING |
| HIGH | framework/py/flwr/superlink/cli/flwr_serverapp_test.py | 0 | argument parsing should happen before stdout/stderr redirection. | STRING |
| HIGH | …percore/superexec/plugin/base_ephemeral_exec_plugin.py | 0 | launch the process to execute the given task using the given token. | STRING |
| HIGH | …py/flwr/supercore/superexec/plugin/base_exec_plugin.py | 0 | launch the process to execute the given task using the given token. | STRING |
| HIGH | …re/superexec/plugin/serverapp_ephemeral_exec_plugin.py | 0 | launch the process to execute the given task using the given token. | STRING |
| HIGH | …ework/py/flwr/supercore/control/control_http_client.py | 0 | list oauth connectors available to the authenticated account. | STRING |
| HIGH | framework/py/flwr/superlink/routers/control/router.py | 0 | list oauth connectors available to the authenticated account. | STRING |
| HIGH | …py/flwr/superlink/servicer/control/control_servicer.py | 0 | list oauth connectors available to the authenticated account. | STRING |
| HIGH | …ework/py/flwr/supercore/control/control_http_client.py | 0 | disconnect connector credentials for the authenticated account. | STRING |
| HIGH | framework/py/flwr/superlink/routers/control/router.py | 0 | disconnect connector credentials for the authenticated account. | STRING |
| HIGH | …py/flwr/superlink/servicer/control/control_servicer.py | 0 | disconnect connector credentials for the authenticated account. | STRING |
| HIGH | …mework/py/flwr/serverapp/strategy/dp_fixed_clipping.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedavgm.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| 428 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/clientapp/client_app_test.py | 102 | def test_lifespan_multiple_yields() -> None: | CODE |
| LOW | framework/py/flwr/clientapp/client_app_test.py | 134 | def test_register_func_with_default(category: str) -> None: | CODE |
| LOW | framework/py/flwr/clientapp/client_app_test.py | 159 | def test_register_func_with_mods(category: str) -> None: | CODE |
| LOW | framework/py/flwr/clientapp/client_app_test.py | 191 | def test_register_func_with_custom_action(category: str) -> None: | CODE |
| LOW | framework/py/flwr/clientapp/client_app_test.py | 227 | def test_register_func_with_wrong_action_name(category: str, action: str) -> None: | CODE |
| LOW | framework/py/flwr/clientapp/client_app_test.py | 245 | def test_register_repeated_func(category: str, action: str | None) -> None: | CODE |
| LOW | framework/py/flwr/clientapp/client_app.py | 38 | def _alert_erroneous_client_fn() -> None: | CODE |
| LOW | framework/py/flwr/clientapp/client_app.py | 47 | def _inspect_maybe_adapt_client_fn_signature(client_fn: ClientFnExt) -> ClientFnExt: | CODE |
| LOW | framework/py/flwr/clientapp/mod/comms_mods.py | 75 | def _get_array_record_size_stats( | CODE |
| LOW | framework/py/flwr/clientapp/mod/comms_mods_test.py | 45 | def test_message_size_mod_calls_next_layer() -> None: | CODE |
| LOW | framework/py/flwr/clientapp/mod/comms_mods_test.py | 55 | def test_arrays_size_mod_calls_next_layer() -> None: | CODE |
| LOW | framework/py/flwr/clientapp/mod/centraldp_mods.py | 244 | def _handle_array_key_mismatch_err(mod_name: str, msg: Message) -> Message: | CODE |
| LOW | framework/py/flwr/clientapp/mod/dp_mods_test.py | 69 | def test_fixedclipping_mod_handles_scalar_ndarray() -> None: | CODE |
| LOW | framework/py/flwr/clientapp/mod/dp_mods_test.py | 85 | def test_adaptiveclipping_mod_handles_scalar_ndarray() -> None: | CODE |
| LOW | framework/py/flwr/clientapp/mod/dp_mods_test.py | 104 | def test_localdp_mod_handles_scalar_ndarray() -> None: | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 79 | def _get_valid_fitins_with_empty_ndarrays() -> FitIns: | CODE |
| LOW⚡ | …mework/py/flwr/compat/common/recorddict_compat_test.py | 112 | def _get_valid_getparametersins() -> GetParametersIns: | CODE |
| LOW⚡ | …mework/py/flwr/compat/common/recorddict_compat_test.py | 122 | def _get_valid_getparametersres() -> GetParametersRes: | CODE |
| LOW⚡ | …mework/py/flwr/compat/common/recorddict_compat_test.py | 130 | def _get_valid_getpropertiesins() -> GetPropertiesIns: | CODE |
| LOW⚡ | …mework/py/flwr/compat/common/recorddict_compat_test.py | 135 | def _get_valid_getpropertiesres() -> GetPropertiesRes: | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 164 | def test_fitins_to_recorddict_and_back( | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 194 | def test_fitres_to_recorddict_and_back( | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 221 | def test_evaluateins_to_recorddict_and_back( | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 237 | def test_evaluateres_to_recorddict_and_back() -> None: | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 249 | def test_get_properties_ins_to_recorddict_and_back() -> None: | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 261 | def test_get_properties_res_to_recorddict_and_back() -> None: | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 273 | def test_get_parameters_ins_to_recorddict_and_back() -> None: | CODE |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 298 | def test_get_parameters_res_to_recorddict_and_back( | CODE |
| LOW | framework/py/flwr/compat/common/parameter_test.py | 24 | def test_serialisation_deserialisation() -> None: | CODE |
| LOW⚡ | framework/py/flwr/compat/common/recorddict_compat.py | 314 | def recorddict_to_getparametersins(recorddict: RecordDict) -> GetParametersIns: | CODE |
| LOW⚡ | framework/py/flwr/compat/common/recorddict_compat.py | 323 | def getparametersins_to_recorddict(getparameters_ins: GetParametersIns) -> RecordDict: | CODE |
| LOW⚡ | framework/py/flwr/compat/common/recorddict_compat.py | 333 | def getparametersres_to_recorddict( | CODE |
| LOW⚡ | framework/py/flwr/compat/common/recorddict_compat.py | 365 | def recorddict_to_getpropertiesins(recorddict: RecordDict) -> GetPropertiesIns: | CODE |
| LOW⚡ | framework/py/flwr/compat/common/recorddict_compat.py | 374 | def getpropertiesins_to_recorddict(getpropertiesins: GetPropertiesIns) -> RecordDict: | CODE |
| LOW⚡ | framework/py/flwr/compat/common/recorddict_compat.py | 383 | def recorddict_to_getpropertiesres(recorddict: RecordDict) -> GetPropertiesRes: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 42 | def arrayrecord_to_parameters(record: ArrayRecord, keep_input: bool) -> Parameters: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 82 | def parameters_to_arrayrecord(parameters: Parameters, keep_input: bool) -> ArrayRecord: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 121 | def _check_mapping_from_recordscalartype_to_scalar( | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 137 | def _recorddict_to_fit_or_evaluate_ins_components( | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 156 | def _fit_or_evaluate_ins_to_recorddict( | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 172 | def _embed_status_into_recorddict( | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 185 | def _extract_status_from_recorddict(res_str: str, recorddict: RecordDict) -> Status: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 250 | def recorddict_to_evaluateins(recorddict: RecordDict, keep_input: bool) -> EvaluateIns: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 261 | def evaluateins_to_recorddict(evaluateins: EvaluateIns, keep_input: bool) -> RecordDict: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 266 | def recorddict_to_evaluateres(recorddict: RecordDict) -> EvaluateRes: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 286 | def evaluateres_to_recorddict(evaluateres: EvaluateRes) -> RecordDict: | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 352 | def recorddict_to_getparametersres( | CODE |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 395 | def getpropertiesres_to_recorddict(getpropertiesres: GetPropertiesRes) -> RecordDict: | CODE |
| LOW | framework/py/flwr/compat/client/numpy_client_test.py | 57 | def test_has_get_properties_true() -> None: | CODE |
| LOW | framework/py/flwr/compat/client/numpy_client_test.py | 70 | def test_has_get_properties_false() -> None: | CODE |
| LOW | framework/py/flwr/compat/client/numpy_client_test.py | 83 | def test_has_get_parameters_true() -> None: | CODE |
| LOW | framework/py/flwr/compat/client/numpy_client_test.py | 96 | def test_has_get_parameters_false() -> None: | CODE |
| LOW⚡ | framework/py/flwr/compat/client/app_test.py | 81 | def test_to_client_with_client() -> None: | CODE |
| LOW⚡ | framework/py/flwr/compat/client/app_test.py | 89 | def test_to_client_with_numpyclient() -> None: | CODE |
| LOW⚡ | framework/py/flwr/compat/client/app_test.py | 97 | def test_start_client_transport_invalid() -> None: | CODE |
| LOW | framework/py/flwr/compat/client/app_test.py | 113 | def test_start_numpy_client_transport_invalid() -> None: | CODE |
| LOW | framework/py/flwr/compat/client/client.py | 167 | def maybe_call_get_properties( | CODE |
| LOW | framework/py/flwr/compat/client/client.py | 187 | def maybe_call_get_parameters( | CODE |
| LOW | framework/py/flwr/compat/client/run_info_store_test.py | 35 | def test_multirun_in_run_info_store() -> None: | CODE |
| LOW | framework/py/flwr/compat/client/client_test.py | 87 | def test_has_get_properties_true() -> None: | CODE |
| 2189 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/alembic.ini | 1 | # A generic, single database configuration. | COMMENT |
| LOW | framework/alembic.ini | 21 | # defaults to the current working directory. for multiple paths, the path separator | COMMENT |
| LOW | framework/alembic.ini | 41 | # set to 'true' to allow .pyc and .pyo files without | COMMENT |
| LOW | framework/alembic.ini | 61 | # take place if path_separator is not present in alembic.ini. If this | COMMENT |
| LOW | framework/alembic.ini | 81 | # in each "version_locations" directory | COMMENT |
| LOW | framework/alembic.ini | 101 | # format using "black" - use the console_scripts runner, against the "black" entrypoint | COMMENT |
| LOW | framework/py/flwr/__init___test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/utils.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/client_app_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/client_app.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/typing.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/comms_mods.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/localdp_mod.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/comms_mods_test.py | 1 | # Copyright 2026 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/centraldp_mods.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/dp_mods_test.py | 1 | # Copyright 2026 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/simulation/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/server/grid.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/server/serverapp_components.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/server/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/server/app.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/server/typing.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | …mework/py/flwr/compat/common/recorddict_compat_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/parameter_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/dp.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/recorddict_compat.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/constant.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/typing.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/parameter.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/record/recorddict.py | 1 | # Copyright 2026 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/record/metricrecord.py | 1 | # Copyright 2026 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/record/__init__.py | 1 | # Copyright 2026 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | …ework/py/flwr/compat/common/record/conversion_utils.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/record/arrayrecord.py | 1 | # Copyright 2026 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/common/record/configrecord.py | 1 | # Copyright 2026 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | …/py/flwr/compat/common/record/conversion_utils_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | …amework/py/flwr/compat/client/dpfedavg_numpy_client.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/numpy_client_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/app_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/run_info_store.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/numpy_client.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/client.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/run_info_store_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/app.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/typing.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/client_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | …k/py/flwr/compat/client/grpc_client/connection_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/compat/client/grpc_client/__init__.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | …mework/py/flwr/compat/client/grpc_client/connection.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/supercore/object_ref.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/supercore/grpc.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/supercore/grpc.py | 181 | ("grpc.max_receive_message_length", max_message_length), | COMMENT |
| LOW | framework/py/flwr/supercore/grpc_test.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| LOW | framework/py/flwr/supercore/differential_privacy.py | 1 | # Copyright 2025 Flower Labs GmbH. All Rights Reserved. | COMMENT |
| 1184 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/__init__.py | 23 | CODE | |
| LOW | framework/py/flwr/__init__.py | 23 | CODE | |
| LOW | framework/py/flwr/__init__.py | 24 | CODE | |
| LOW | framework/py/flwr/__init__.py | 25 | CODE | |
| LOW | framework/py/flwr/__init__.py | 26 | CODE | |
| LOW | framework/py/flwr/__init__.py | 27 | CODE | |
| LOW | framework/py/flwr/__init__.py | 28 | CODE | |
| LOW | framework/py/flwr/clientapp/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/clientapp/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/clientapp/mod/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/clientapp/mod/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/clientapp/mod/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/clientapp/mod/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/clientapp/mod/__init__.py | 20 | CODE | |
| LOW | framework/py/flwr/compat/server/serverapp_components.py | 18 | CODE | |
| LOW | framework/py/flwr/compat/server/__init__.py | 17 | CODE | |
| LOW | framework/py/flwr/compat/common/record/__init__.py | 17 | CODE | |
| LOW | framework/py/flwr/compat/common/record/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/compat/common/record/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/compat/common/record/__init__.py | 20 | CODE | |
| LOW | framework/py/flwr/compat/common/record/__init__.py | 21 | CODE | |
| LOW | framework/py/flwr/compat/client/client.py | 19 | CODE | |
| LOW | …ork/py/flwr/supercore/runtime_version_compatibility.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/constant.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/routers/health/__init__.py | 18 | CODE | |
| LOW | …py/flwr/supercore/inflatable/inflatable_object_test.py | 18 | CODE | |
| LOW | …work/py/flwr/supercore/inflatable/inflatable_object.py | 18 | CODE | |
| LOW | …core/interceptors/rpc_error_translation_interceptor.py | 18 | CODE | |
| LOW | …wr/supercore/interceptors/runtime_token_interceptor.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 17 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 24 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 25 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 25 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 25 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 25 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 25 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 25 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 33 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 33 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 33 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 33 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 33 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 33 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 41 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 41 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 41 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 41 | CODE | |
| LOW | …/supercore/interceptors/runtime_version_interceptor.py | 18 | CODE | |
| LOW | …r/supercore/interceptors/superexec_auth_interceptor.py | 18 | CODE | |
| LOW | …mework/py/flwr/supercore/interceptors/http/__init__.py | 17 | CODE | |
| LOW | …mework/py/flwr/supercore/interceptors/http/__init__.py | 18 | CODE | |
| LOW | …mework/py/flwr/supercore/interceptors/http/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/supercore/license_plugin/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/corestate/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/object_store/__init__.py | 17 | CODE | |
| LOW | framework/py/flwr/supercore/object_store/__init__.py | 17 | CODE | |
| LOW | framework/py/flwr/supercore/object_store/__init__.py | 18 | CODE | |
| 498 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | framework/py/flwr/compat/client/app.py | 447 | # Create an error reply message that will never be used to prevent | COMMENT |
| MEDIUM | framework/py/flwr/supercore/corestate/corestate_test.py | 798 | # Create a recurring automation with two finite occurrences. | COMMENT |
| MEDIUM | framework/py/flwr/supercore/state/alembic/utils.py | 269 | # Create an in-memory SQLite database with StaticPool to ensure connection reuse. | COMMENT |
| MEDIUM | framework/py/flwr/supercore/superexec/run_superexec.py | 190 | # Create the SuperExec plugin instance | COMMENT |
| MEDIUM | …work/py/flwr/supercore/superexec/plugin/exec_plugin.py | 99 | # This method is optional to implement | COMMENT |
| MEDIUM⚡ | framework/py/flwr/app/message/recorddict_test.py | 141 | # Creating a second ArrayRecord passing the same `array_dict` (not erased) | COMMENT |
| MEDIUM | framework/py/flwr/app/message/recorddict.py | 151 | # Creating an ArrayRecord would look like this | STRING |
| MEDIUM | framework/py/flwr/simulation/legacy_app.py | 176 | "\n\n\t\t$ flwr new # Create a new Flower app from a template" | CODE |
| MEDIUM | framework/py/flwr/server/superlink/fleet/vce/vce_api.py | 329 | # Create an empty in-memory state factory | COMMENT |
| MEDIUM | …erlink/fleet/grpc_bidi/flower_service_servicer_test.py | 71 | # Create a GrpcClientProxy mock which we will use to test if correct | COMMENT |
| MEDIUM | …erlink/fleet/grpc_bidi/flower_service_servicer_test.py | 112 | # Create a instance of FlowerServiceServicer | COMMENT |
| MEDIUM | framework/py/flwr/server/strategy/aggregate.py | 33 | # Create a list of weights, each multiplied by the related number of examples | COMMENT |
| MEDIUM | framework/py/flwr/server/strategy/aggregate.py | 87 | # Create a list of weights and ignore the number of examples | COMMENT |
| MEDIUM | framework/py/flwr/server/strategy/aggregate.py | 104 | # Create a list of weights and ignore the number of examples | COMMENT |
| MEDIUM | framework/py/flwr/server/strategy/aggregate.py | 286 | # Create a list of weights and ignore the number of examples | COMMENT |
| MEDIUM | framework/py/flwr/cli/utils_test.py | 423 | # Create a real directory with a file outside the root | COMMENT |
| MEDIUM | framework/py/flwr/cli/utils.py | 357 | # Create the gRPC channel | COMMENT |
| MEDIUM | framework/py/flwr/cli/config_migration_test.py | 93 | # Create a temporary app directory with pyproject.toml | COMMENT |
| MEDIUM⚡ | framework/py/flwr/cli/app_cmd/publish_test.py | 61 | # Create a path deeper than allowed | COMMENT |
| MEDIUM | framework/py/flwr/common/serde_test.py | 207 | # Create a legacy message type | COMMENT |
| MEDIUM | framework/py/flwr/common/serde_test.py | 211 | # Create a message type | COMMENT |
| MEDIUM | framework/py/flwr/common/config_test.py | 287 | # Create a temporary directory using a context manager | STRING |
| MEDIUM | framework/py/flwr/common/config_test.py | 289 | # Create a temporary TOML file within that directory | STRING |
| MEDIUM⚡ | …wr/superlink/servicer/control/control_servicer_test.py | 2072 | # Create a node owned by someone else | COMMENT |
| MEDIUM | …wr/superlink/servicer/control/control_servicer_test.py | 1472 | # Create an unfinished run in the federation and give it a live token, | COMMENT |
| MEDIUM | framework/py/flwr/supernode/start_client_internal.py | 503 | # Define the iterator for yielding object contents | COMMENT |
| MEDIUM | framework/docker/complete/certs.yml | 71 | # Create a signing CSR | COMMENT |
| MEDIUM | framework/e2e/test_reconnection.sh | 21 | # Define the function | COMMENT |
| MEDIUM | framework/e2e/test_reconnection.sh | 106 | # Define a cleanup function | COMMENT |
| MEDIUM | framework/e2e/e2e-bare-https/generate.sh | 37 | # Create a signing CSR | COMMENT |
| MEDIUM | …mework/e2e/e2e-bare-https/e2e_bare_https/server_app.py | 16 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-opacus/e2e_opacus/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-opacus/e2e_opacus/client_app.py | 117 | # Create a privacy engine which will add DP and keep track of the privacy budget. | COMMENT |
| MEDIUM | framework/e2e/e2e-jax/e2e_jax/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-bare-auth/generate.sh | 29 | # Create a signing CSR | COMMENT |
| MEDIUM | framework/e2e/e2e-bare-auth/e2e_bare_auth/server_app.py | 16 | # Create the workflow | COMMENT |
| MEDIUM | …rk/e2e/e2e-scikit-learn/e2e_scikit_learn/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-fastai/e2e_fastai/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-fastai/e2e_fastai/client_app.py | 30 | # Define a small model. The E2E test exercises the FastAI/Flower integration, | COMMENT |
| MEDIUM | …verapp-heartbeat/e2e_serverapp_heartbeat/client_app.py | 3 | # Create a dummy client app | COMMENT |
| MEDIUM | …-pytorch-lightning/e2e_pytorch_lightning/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-pytorch/e2e_pytorch/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-pandas/e2e_pandas/server_app.py | 17 | # Create the workflow | COMMENT |
| MEDIUM | …mework/e2e/e2e-tensorflow/e2e_tensorflow/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | framework/e2e/e2e-bare/e2e_bare/server_app.py | 45 | # Create the workflow | COMMENT |
| MEDIUM | datasets/flwr_datasets/federated_dataset_test.py | 160 | # Create the expected sizes of partitions | COMMENT |
| MEDIUM | …/flwr_datasets/partitioner/distribution_partitioner.py | 278 | # Create the label sampling dictionary | COMMENT |
| MEDIUM | …_datasets/partitioner/pathological_partitioner_test.py | 184 | # Create a skewed part of the dataset for the last label | COMMENT |
| MEDIUM | datasets/flwr_datasets/cli/create.py | 80 | # Create the federated dataset | COMMENT |
| MEDIUM⚡ | datasets/flwr_datasets/cli/create_test.py | 72 | # Create a unique dataset name | COMMENT |
| MEDIUM | datasets/e2e/pytorch/pytorch_test.py | 119 | # Create the model, criterion, and optimizer | COMMENT |
| MEDIUM | …/flower-secure-aggregation/secaggexample/server_app.py | 77 | # Create the workflow | COMMENT |
| MEDIUM | examples/quickstart-tensorflow/tfexample/task.py | 15 | # Define a simple CNN for CIFAR-10 and set Adam optimizer | COMMENT |
| MEDIUM | examples/quickstart-tensorflow/tfexample/server_app.py | 11 | # Create the ServerApp | COMMENT |
| MEDIUM | examples/federated-vae/fedvaeexample/server_app.py | 25 | # Define the strategy | COMMENT |
| MEDIUM | examples/quickstart-lerobot/lerobot_example/task.py | 212 | # Create the policy input dictionary | COMMENT |
| MEDIUM | …federated-kaplan-meier-fitter/examplefkm/server_app.py | 24 | # Define the filter | COMMENT |
| MEDIUM | examples/fl-dp-sa/fl_dp_sa/server_app.py | 70 | # Create the train/evaluate workflow | COMMENT |
| MEDIUM | examples/android/tflite_convertor/convert_to_tflite.py | 8 | # Define the base model. | COMMENT |
| MEDIUM | examples/android/tflite_convertor/convert_to_tflite.py | 19 | # Define the head model. | COMMENT |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/clientapp/client_app.py | 159 | # Check if the function is registered | COMMENT |
| LOW | framework/py/flwr/clientapp/client_app.py | 410 | # Check if the name is a valid Python identifier | COMMENT |
| LOW | framework/py/flwr/clientapp/client_app.py | 417 | # Check if the name is already registered | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/localdp_mod.py | 113 | # Check if the msg has error | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/centraldp_mods.py | 82 | # Check if the msg has error | COMMENT |
| LOW | framework/py/flwr/clientapp/mod/centraldp_mods.py | 163 | # Check if the msg has error | COMMENT |
| LOW | framework/py/flwr/compat/client/client.py | 171 | # Check if client overrides `get_properties` | COMMENT |
| LOW | framework/py/flwr/compat/client/client.py | 191 | # Check if client overrides `get_parameters` | COMMENT |
| LOW | framework/py/flwr/compat/client/client.py | 209 | # Check if client overrides `fit` | COMMENT |
| LOW | framework/py/flwr/compat/client/client.py | 229 | # Check if client overrides `evaluate` | COMMENT |
| LOW | framework/py/flwr/supercore/grpc.py | 163 | # Check if port is in use | COMMENT |
| LOW | framework/py/flwr/supercore/telemetry.py | 80 | # Check if .flwr in home exists | COMMENT |
| LOW | framework/py/flwr/supercore/logger.py | 108 | # Check if the message is empty | COMMENT |
| LOW⚡ | framework/py/flwr/supercore/utils.py | 390 | # Check if the name exceeds the maximum length | COMMENT |
| LOW⚡ | framework/py/flwr/supercore/utils.py | 394 | # Check if the first character is a letter | COMMENT |
| LOW⚡ | framework/py/flwr/supercore/utils.py | 398 | # Check if the rest of the characters are valid (letter, digit, or dash) | COMMENT |
| LOW | …ework/py/flwr/supercore/inflatable/inflatable_utils.py | 367 | # Check if there is a head-body divider | COMMENT |
| LOW | …ework/py/flwr/supercore/inflatable/inflatable_utils.py | 400 | # Check if the body length in the head matches that of the body | COMMENT |
| LOW | …ework/py/flwr/supercore/inflatable/inflatable_utils.py | 476 | # Check if the inflated object is of the expected type | COMMENT |
| LOW | …/flwr/supercore/object_store/in_memory_object_store.py | 159 | # Check if the object ID is pre-registered | COMMENT |
| LOW | …/flwr/supercore/object_store/in_memory_object_store.py | 194 | # Check if the object is still in the store | COMMENT |
| LOW | framework/py/flwr/supercore/retry/retry_invoker.py | 269 | # Check if giveup event should be triggered | COMMENT |
| LOW | framework/py/flwr/supercore/retry/grpc_retry.py | 88 | # Check if this is an SSL handshake failure - these should fail fast | COMMENT |
| LOW | framework/py/flwr/supercore/state/alembic/env.py | 84 | # Check if a connection was provided (e.g., for in-memory databases). | COMMENT |
| LOW | framework/py/flwr/supercore/exit/exit_code_test.py | 46 | # Check if all exit codes | COMMENT |
| LOW | …py/flwr/supercore/servicer/runtime/runtime_handlers.py | 255 | # Check if the connector ref is valid | COMMENT |
| LOW | framework/py/flwr/app/metadata.py | 223 | # Check if conforming to the format "<category>" | COMMENT |
| LOW | framework/py/flwr/app/metadata.py | 233 | # Check if conforming to the format "<category>.<action>" | COMMENT |
| LOW | framework/py/flwr/app/message/array.py | 182 | # Check if all arguments are correctly set | COMMENT |
| LOW | framework/py/flwr/serverapp/server_app.py | 199 | # Check if parameter name or the annotation should be updated | COMMENT |
| LOW | framework/py/flwr/serverapp/strategy/bulyan.py | 140 | # Check if sufficient replies have been received | COMMENT |
| LOW | framework/py/flwr/server/server.py | 377 | # Check if there was an exception | COMMENT |
| LOW | framework/py/flwr/server/server.py | 440 | # Check if there was an exception | COMMENT |
| LOW | …mework/py/flwr/server/compat/grid_client_proxy_test.py | 261 | # Check if the created message contains the orignal *Ins | COMMENT |
| LOW | …mework/py/flwr/server/compat/grid_client_proxy_test.py | 272 | # Check if send_and_receive is called once with expected args/kwargs. | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 209 | # Check if the message has expired | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 215 | # Check if the destination node and the source node are still in the | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 270 | # Check if the Message it is replying to exists and is valid | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 438 | # Check if the run exists | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 519 | # Set online_until to current timestamp on deletion, if it is in the future | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 527 | # Check if the node exists | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 548 | # Check if the node exists | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 558 | # Set online_until to current timestamp | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 276 | # Check if the message has expired | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 284 | # Check if run exists and get federation ID | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 636 | # Check if the run exists | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 1180 | # Check if any of the expired tasks is referenced as a run's primary task. | COMMENT |
| LOW | framework/py/flwr/server/superlink/linkstate/utils.py | 240 | # Check if the reply Message has expired | COMMENT |
| LOW | …erlink/fleet/grpc_bidi/flower_service_servicer_test.py | 133 | # Check if the client was registered with the client_manager | COMMENT |
| LOW | …ework/py/flwr/server/strategy/fault_tolerant_fedavg.py | 95 | # Check if enough results are available | COMMENT |
| LOW | …ework/py/flwr/server/strategy/fault_tolerant_fedavg.py | 127 | # Check if enough results are available | COMMENT |
| LOW | framework/py/flwr/cli/flower_config_test.py | 59 | # Set FLWR_HOME to the temporary directory | COMMENT |
| LOW | framework/py/flwr/cli/config_migration.py | 231 | # Check if migration is applicable and if legacy usage is detected | COMMENT |
| LOW⚡ | framework/py/flwr/cli/flower_config.py | 350 | # Check if the connection exists | COMMENT |
| LOW | framework/py/flwr/cli/typing.py | 188 | # Check if the federation ID is valid | COMMENT |
| LOW | framework/py/flwr/cli/app_cmd/publish.py | 276 | # Open file and register with ExitStack | COMMENT |
| LOW | framework/py/flwr/cli/login/login.py | 64 | # Check if insecure flag is set to `True` | COMMENT |
| LOW | framework/py/flwr/common/args.py | 177 | # Check if certificates are provided | COMMENT |
| LOW | …py/flwr/superlink/servicer/control/control_handlers.py | 1079 | # Check if requester is a member of the federation | COMMENT |
| LOW | …py/flwr/superlink/servicer/control/control_handlers.py | 1289 | # Check if artifact provider is configured | COMMENT |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/compat/client/run_info_store.py | 53 | CODE | |
| LOW | framework/py/flwr/compat/client/app.py | 205 | CODE | |
| LOW | …mework/py/flwr/compat/client/grpc_client/connection.py | 53 | CODE | |
| LOW | …mework/py/flwr/compat/client/grpc_client/connection.py | 139 | CODE | |
| LOW | …mework/py/flwr/compat/client/grpc_client/connection.py | 194 | CODE | |
| LOW | framework/py/flwr/supercore/object_ref.py | 185 | CODE | |
| LOW | framework/py/flwr/supercore/object_ref.py | 200 | CODE | |
| LOW | framework/py/flwr/supercore/logger.py | 416 | CODE | |
| LOW | framework/py/flwr/supercore/utils.py | 49 | CODE | |
| LOW | framework/py/flwr/supercore/sql_mixin_test.py | 148 | CODE | |
| LOW | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 1303 | CODE | |
| LOW | framework/py/flwr/supercore/corestate/sql_corestate.py | 279 | CODE | |
| LOW | framework/py/flwr/supercore/corestate/sql_corestate.py | 832 | CODE | |
| LOW | …ork/py/flwr/supercore/object_store/sql_object_store.py | 67 | CODE | |
| LOW | …/flwr/supercore/object_store/in_memory_object_store.py | 53 | CODE | |
| LOW | …k/py/flwr/supercore/task_process/agent/run_agentapp.py | 81 | CODE | |
| LOW | …upercore/task_process/connector/web_search/__init__.py | 59 | CODE | |
| LOW | …core/task_process/connector/browser_use/browser_use.py | 142 | CODE | |
| LOW | framework/py/flwr/supercore/retry/http_retry.py | 50 | CODE | |
| LOW | framework/py/flwr/supercore/retry/http_retry.py | 84 | CODE | |
| LOW | framework/py/flwr/supercore/retry/retry_invoker.py | 199 | CODE | |
| LOW | framework/py/flwr/supercore/cli/flower_superexec.py | 55 | CODE | |
| LOW | framework/py/flwr/supercore/superexec/run_superexec.py | 99 | CODE | |
| LOW | …rk/py/flwr/supercore/superexec/dependency_installer.py | 275 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/strategy_utils.py | 67 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/strategy_utils.py | 102 | CODE | |
| LOW | framework/py/flwr/simulation/ray_transport/ray_actor.py | 357 | CODE | |
| LOW | …mework/py/flwr/server/compat/grid_client_proxy_test.py | 227 | CODE | |
| LOW | …mework/py/flwr/server/compat/grid_client_proxy_test.py | 235 | CODE | |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 340 | CODE | |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 602 | CODE | |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 817 | CODE | |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 838 | CODE | |
| LOW | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 2967 | CODE | |
| LOW | …r/server/superlink/linkstate/linkstate_factory_test.py | 37 | CODE | |
| LOW | framework/py/flwr/server/superlink/fleet/vce/vce_api.py | 106 | CODE | |
| LOW | …y/flwr/server/superlink/fleet/grpc_bidi/grpc_bridge.py | 83 | CODE | |
| LOW | …r/superlink/fleet/grpc_bidi/flower_service_servicer.py | 84 | CODE | |
| LOW | …ver/workflow/secure_aggregation/secaggplus_workflow.py | 204 | CODE | |
| LOW | …ver/workflow/secure_aggregation/secaggplus_workflow.py | 543 | CODE | |
| LOW | framework/py/flwr/cli/utils_test.py | 78 | CODE | |
| LOW | framework/py/flwr/cli/log.py | 125 | CODE | |
| LOW | framework/py/flwr/cli/ls.py | 47 | CODE | |
| LOW | framework/py/flwr/cli/ls.py | 167 | CODE | |
| LOW | framework/py/flwr/cli/config_migration.py | 111 | CODE | |
| LOW | framework/py/flwr/cli/config_migration.py | 146 | CODE | |
| LOW | framework/py/flwr/cli/utils.py | 232 | CODE | |
| LOW | framework/py/flwr/cli/chat/chat_transcript.py | 71 | CODE | |
| LOW | framework/py/flwr/cli/chat/chat_app.py | 1026 | CODE | |
| LOW | framework/py/flwr/cli/chat/chat_app.py | 625 | CODE | |
| LOW | framework/py/flwr/cli/chat/chat_app.py | 691 | CODE | |
| LOW | framework/py/flwr/cli/chat/chat_app.py | 805 | CODE | |
| LOW | framework/py/flwr/cli/chat/chat_history.py | 100 | CODE | |
| LOW | framework/py/flwr/cli/config/ls.py | 29 | CODE | |
| LOW | framework/py/flwr/cli/federation/ls.py | 51 | CODE | |
| LOW | framework/py/flwr/cli/federation/ls.py | 314 | CODE | |
| LOW | framework/py/flwr/cli/supernode/ls.py | 144 | CODE | |
| LOW | framework/py/flwr/common/serde_test.py | 186 | CODE | |
| LOW | framework/py/flwr/common/serde.py | 480 | CODE | |
| LOW | framework/py/flwr/common/serde.py | 496 | CODE | |
| 83 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/__init__.py | 30 | __all__ = [ | CODE |
| LOW | framework/py/flwr/clientapp/__init__.py | 21 | __all__ = [ | CODE |
| LOW | framework/py/flwr/clientapp/mod/__init__.py | 22 | __all__ = [ | CODE |
| LOW | framework/py/flwr/compat/server/__init__.py | 19 | __all__ = ["ServerAppComponents"] | CODE |
| LOW | framework/py/flwr/compat/common/record/__init__.py | 23 | __all__ = [ | CODE |
| LOW | framework/py/flwr/compat/client/run_info_store.py | 105 | def update_context(self, run_id: int, context: Context) -> None: | CODE |
| LOW | framework/py/flwr/supercore/update_check.py | 47 | __all__ = ["get_flwr_update_check_payload", "warn_if_flwr_update_available"] | CODE |
| LOW | framework/py/flwr/supercore/__init__.py | 23 | __all__ = ["log"] | CODE |
| LOW | framework/py/flwr/supercore/sql_mixin.py | 48 | def _set_sqlite_pragmas(dbapi_conn: Any, _connection_record: Any) -> None: | CODE |
| LOW | framework/py/flwr/supercore/logger.py | 43 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/routers/health/__init__.py | 20 | __all__ = ["router"] | CODE |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 48 | __all__ = [ | CODE |
| LOW | …mework/py/flwr/supercore/interceptors/http/__init__.py | 21 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/license_plugin/__init__.py | 20 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/corestate/corestate.py | 399 | def set_run_series_context(self, series_id: int, context: Context) -> None: | CODE |
| LOW | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 608 | def set_run_series_context(self, series_id: int, context: Context) -> None: | CODE |
| LOW | framework/py/flwr/supercore/corestate/__init__.py | 20 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/corestate/sql_corestate.py | 817 | def set_run_series_context(self, series_id: int, context: Context) -> None: | CODE |
| LOW | framework/py/flwr/supercore/object_store/__init__.py | 20 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/task_process/__init__.py | 22 | __all__ = [ | CODE |
| LOW | …ework/py/flwr/supercore/task_process/agent/__init__.py | 20 | __all__ = ["run_agentapp"] | CODE |
| LOW | …ework/py/flwr/supercore/task_process/model/__init__.py | 20 | __all__ = ["run_model"] | CODE |
| LOW | …k/py/flwr/supercore/task_process/connector/__init__.py | 20 | __all__ = ["run_connector"] | CODE |
| LOW | …lwr/supercore/task_process/connector/attio/__init__.py | 19 | __all__ = ["CONNECTOR"] | CODE |
| LOW | …upercore/task_process/connector/web_search/__init__.py | 83 | __all__ = [ | CODE |
| LOW | …wr/supercore/task_process/connector/notion/__init__.py | 19 | __all__ = [ | CODE |
| LOW | …wr/supercore/task_process/connector/github/__init__.py | 19 | __all__ = [ | CODE |
| LOW | …percore/task_process/connector/browser_use/__init__.py | 71 | __all__ = [ | CODE |
| LOW | …lwr/supercore/task_process/connector/slack/__init__.py | 19 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/retry/__init__.py | 22 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/auth/__init__.py | 29 | __all__ = [ | CODE |
| LOW | …amework/py/flwr/supercore/credential_store/__init__.py | 30 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/grpc_health/__init__.py | 21 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/runtime/__init__.py | 19 | __all__ = ["RuntimeHttpClient"] | CODE |
| LOW | framework/py/flwr/supercore/cli/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …amework/py/flwr/supercore/superexec/plugin/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …ework/py/flwr/supercore/superexec/executor/__init__.py | 26 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/exit/__init__.py | 23 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/error/__init__.py | 23 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/control/__init__.py | 19 | __all__ = ["ControlHttpClient"] | CODE |
| LOW | framework/py/flwr/app/__init__.py | 41 | __all__ = [ | CODE |
| LOW | framework/py/flwr/app/message/__init__.py | 32 | __all__ = [ | CODE |
| LOW | framework/py/flwr/serverapp/__init__.py | 45 | __all__ = [ | CODE |
| LOW | framework/py/flwr/serverapp/strategy/__init__.py | 43 | __all__ = [ | CODE |
| LOW | …ork/py/flwr/serverapp/strategy/dp_adaptive_clipping.py | 326 | def _update_clip_norm_from_replies(self, replies: list[Message]) -> None: | CODE |
| LOW | framework/py/flwr/serverapp/grid/grid.py | 29 | def set_run(self, run: Run) -> None: | CODE |
| LOW | framework/py/flwr/serverapp/grid/__init__.py | 20 | __all__ = [ | CODE |
| LOW | framework/py/flwr/simulation/legacy_app.py | 295 | def update_resources(f_stop: threading.Event) -> None: | CODE |
| LOW | framework/py/flwr/simulation/__init__.py | 44 | __all__ = [ | CODE |
| LOW | framework/py/flwr/server/server.py | 73 | def set_max_workers(self, max_workers: int | None) -> None: | CODE |
| LOW | framework/py/flwr/server/server.py | 77 | def set_strategy(self, strategy: Strategy) -> None: | CODE |
| LOW | framework/py/flwr/server/__init__.py | 53 | __all__ = [ | CODE |
| LOW | framework/py/flwr/server/compat/__init__.py | 21 | __all__ = [ | CODE |
| LOW | framework/py/flwr/server/compat/app_utils.py | 87 | def update_registered_nodes() -> None: | CODE |
| LOW | framework/py/flwr/server/utils/__init__.py | 20 | __all__ = [ | CODE |
| LOW | …amework/py/flwr/server/superlink/linkstate/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …amework/py/flwr/server/superlink/fleet/vce/__init__.py | 20 | __all__ = [ | CODE |
| LOW | …py/flwr/server/superlink/fleet/vce/backend/__init__.py | 20 | __all__ = [ | CODE |
| LOW | …y/flwr/server/superlink/fleet/grpc_bidi/grpc_bridge.py | 180 | def set_res_wrapper(self, res_wrapper: ResWrapper) -> None: | CODE |
| LOW | framework/py/flwr/server/workflow/__init__.py | 21 | __all__ = [ | CODE |
| 79 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/clientapp/utils.py | 84 | except Exception as e: | CODE |
| LOW | framework/py/flwr/compat/client/app.py | 463 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/grpc.py | 75 | except Exception as e: | CODE |
| LOW | framework/py/flwr/supercore/telemetry.py | 211 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| MEDIUM | framework/py/flwr/supercore/telemetry.py | 208 | def run() -> None: | CODE |
| LOW | framework/py/flwr/supercore/logger.py | 167 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/utils.py | 516 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 259 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/corestate/sql_corestate.py | 331 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | …mework/py/flwr/supercore/task_process/agent/session.py | 120 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | …mework/py/flwr/supercore/task_process/agent/session.py | 357 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …mework/py/flwr/supercore/task_process/agent/session.py | 421 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …k/py/flwr/supercore/task_process/agent/run_agentapp.py | 123 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | …k/py/flwr/supercore/task_process/agent/run_agentapp.py | 279 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/task_process/model/task.py | 88 | except Exception as ex: | CODE |
| LOW | …work/py/flwr/supercore/task_process/model/run_model.py | 120 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …ework/py/flwr/supercore/task_process/connector/task.py | 96 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …flwr/supercore/task_process/connector/run_connector.py | 111 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …core/task_process/connector/browser_use/browser_use.py | 101 | except Exception as exc: | CODE |
| LOW | …/flwr/supercore/superexec/dependency_installer_test.py | 202 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW⚡ | …wr/supercore/superexec/executor/kubernetes_executor.py | 398 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW⚡ | …wr/supercore/superexec/executor/kubernetes_executor.py | 407 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 119 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 237 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 288 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 311 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 316 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 850 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/exit/exit_handler.py | 91 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/exit/exit.py | 116 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/error/grpc.py | 69 | except Exception as err: | CODE |
| LOW | framework/py/flwr/supercore/error/http.py | 81 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/simulation/legacy_app.py | 339 | except Exception as ex: | CODE |
| LOW | framework/py/flwr/simulation/run_simulation.py | 225 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/simulation/run_simulation.py | 342 | except Exception as ex: | CODE |
| LOW | framework/py/flwr/simulation/app.py | 357 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …k/py/flwr/simulation/ray_transport/ray_client_proxy.py | 98 | except Exception as ex: | CODE |
| LOW | framework/py/flwr/simulation/ray_transport/ray_actor.py | 64 | except Exception as ex: | CODE |
| LOW | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 2353 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 2364 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 2801 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/server/superlink/fleet/vce/vce_api.py | 142 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/server/superlink/fleet/vce/vce_api.py | 260 | except Exception as ex: | CODE |
| LOW | framework/py/flwr/server/superlink/fleet/vce/vce_api.py | 404 | except Exception as ex: | CODE |
| LOW | …/flwr/server/superlink/fleet/vce/backend/raybackend.py | 142 | except Exception as ex: | CODE |
| LOW | …/flwr/server/superlink/fleet/vce/backend/raybackend.py | 186 | except Exception as ex: | CODE |
| LOW | …r/server/superlink/fleet/grpc_bidi/grpc_bridge_test.py | 74 | except Exception as exception: | CODE |
| LOW | framework/py/flwr/cli/build.py | 400 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | framework/py/flwr/cli/log.py | 200 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | framework/py/flwr/cli/config_migration.py | 255 | except Exception as e: | CODE |
| LOW | framework/py/flwr/cli/utils.py | 125 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | framework/py/flwr/cli/flower_config.py | 305 | except Exception as err: | CODE |
| LOW | framework/py/flwr/cli/install.py | 276 | except Exception as e: | CODE |
| LOW | framework/py/flwr/cli/config_utils.py | 213 | except Exception as e: | CODE |
| LOW | framework/py/flwr/superlink/extensions.py | 119 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/superlink/extensions.py | 151 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …amework/py/flwr/superlink/routers/runtime/responses.py | 112 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | …amework/py/flwr/superlink/routers/runtime/responses.py | 307 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/superlink/runtime/run_serverapp.py | 232 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/superlink/servicer/runtime/runtime_handlers_test.py | 108 | except Exception as err: | CODE |
| 44 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/compat/client/app.py | 72 | CODE | |
| LOW | framework/py/flwr/compat/client/app.py | 205 | CODE | |
| LOW | framework/py/flwr/supercore/corestate/utils_test.py | 28 | CODE | |
| LOW | …mework/py/flwr/supercore/json_message/model_message.py | 31 | CODE | |
| LOW | framework/py/flwr/supercore/superexec/run_superexec.py | 99 | CODE | |
| LOW | framework/py/flwr/app/message/message.py | 522 | CODE | |
| LOW | framework/py/flwr/app/message/message.py | 132 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedavgm.py | 79 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/bulyan.py | 89 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedtrimmedavg.py | 77 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedprox.py | 119 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/multikrum.py | 88 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedadam.py | 85 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedyogi.py | 85 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedopt.py | 86 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/qfedavg.py | 86 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/krum.py | 76 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedxgb_cyclic.py | 73 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedadagrad.py | 81 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedavg.py | 83 | CODE | |
| LOW | framework/py/flwr/simulation/legacy_app.py | 73 | CODE | |
| LOW | framework/py/flwr/simulation/run_simulation.py | 375 | CODE | |
| LOW | framework/py/flwr/server/utils/validator_test.py | 31 | CODE | |
| LOW | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 2292 | CODE | |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 332 | CODE | |
| LOW | …ork/py/flwr/server/superlink/fleet/vce/vce_api_test.py | 223 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedavgm.py | 77 | CODE | |
| LOW | framework/py/flwr/server/strategy/bulyan.py | 79 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedtrimmedavg.py | 71 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedprox.py | 106 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedadam.py | 86 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedyogi.py | 86 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedopt.py | 79 | CODE | |
| LOW | framework/py/flwr/server/strategy/qfedavg.py | 51 | CODE | |
| LOW | framework/py/flwr/server/strategy/krum.py | 78 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedavg_android.py | 75 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedadagrad.py | 82 | CODE | |
| LOW | …ework/py/flwr/server/strategy/fault_tolerant_fedavg.py | 42 | CODE | |
| LOW | framework/py/flwr/server/strategy/fedavg.py | 92 | CODE | |
| LOW | framework/py/flwr/cli/utils.py | 217 | CODE | |
| LOW | framework/py/flwr/cli/federation/simulation_config.py | 37 | CODE | |
| LOW | …/py/flwr/common/secure_aggregation/secaggplus_utils.py | 80 | CODE | |
| LOW | …py/flwr/superlink/servicer/control/control_handlers.py | 1160 | CODE | |
| LOW | framework/py/flwr/supernode/start_client_internal.py | 87 | CODE | |
| LOW | …sets/flwr_datasets/visualization/label_distribution.py | 35 | CODE | |
| LOW | …atasets/visualization/comparison_label_distribution.py | 34 | CODE | |
| LOW | datasets/flwr_datasets/common/telemetry.py | 155 | CODE | |
| LOW | examples/quickstart-cpp/fedavg_cpp.py | 13 | CODE | |
| LOW | benchmarks/flowertune-llm/evaluation/medical/utils.py | 76 | CODE | |
| LOW | …chmarks/flowertune-llm/evaluation/general-nlp/utils.py | 79 | CODE | |
| LOW | baselines/dasha/dasha/resnet.py | 44 | CODE | |
| LOW | baselines/dasha/dasha/resnet.py | 87 | CODE | |
| LOW | baselines/dasha/dasha/resnet.py | 124 | CODE | |
| LOW | baselines/fedavgm/fedavgm/strategy.py | 36 | CODE | |
| LOW | baselines/floco/floco/strategy.py | 36 | CODE | |
| LOW | baselines/floco/floco/strategy.py | 140 | CODE | |
| LOW | baselines/moon/moon/models.py | 84 | CODE | |
| LOW | baselines/moon/moon/models.py | 138 | CODE | |
| LOW | baselines/fednova/fednova/models.py | 222 | CODE | |
| LOW | …s/flwr_baselines/publications/leaf/femnist/strategy.py | 29 | CODE | |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | framework/py/flwr/supercore/utils_test.py | 113 | assert strict_json_loads('{"key":[1,true,null]}') == {"key": [1, True, None]} | CODE |
| HIGH⚡ | framework/py/flwr/supercore/utils_test.py | 125 | '{"key":[1,true,null]}' | CODE |
| HIGH | …rk/py/flwr/superlink/routers/runtime/responses_test.py | 252 | '"param":null,"sequence_number":1}\n\n' | CODE |
| HIGH | examples/fedrag/data/download.py | 30 | os.system("cd {:s} && git lfs pull && cd ..".format(fullpath)) | CODE |
| HIGH | dev/devtool/build_example_docs.py | 293 | subprocess.call(f"cd {ROOT}/examples/docs && make html", shell=True) | STRING |
| HIGH | baselines/fedmlb/fedmlb/main.py | 181 | # if cfg.batch_size is set to null, | COMMENT |
| HIGH | baselines/fedmlb/fedmlb/main.py | 205 | # if cfg.batch_size is set to null, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …tflite_convertor/tfltransfer/model_correctness_test.py | 160 | Trains the head model for a given number of epochs. SGD is used as an optimizer. Args: num_e | STRING |
| HIGH | …tflite_convertor/tfltransfer/heads/keras_model_head.py | 108 | Appends the train signature of the model to the current graph. Bottleneck and labels tensors are connected as i | STRING |
| HIGH | …cations/adaptive_federated_optimization/cifar/utils.py | 512 | Returns initial parameters from a model. Args: num_classes (int, optional): Defines if using CIFAR10 or 100 | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1234 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1248 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1252 | state.create_node("fake_aid2", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1440 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1454 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW | …wr/superlink/servicer/runtime/runtime_handlers_test.py | 311 | "mock_owner", "fake_name", self.node_pk, 30 | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 1122 | owner_name="fake_name", | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 1196 | owner_name="fake_name", | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 1217 | owner_name="fake_name", | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 1243 | owner_name="fake_name", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | framework/e2e/test_superlink.sh | 45 | # These e2e apps are preinstalled by CI; keep the SuperLink harness from creating | COMMENT |
| MEDIUM | framework/e2e/test_reconnection.sh | 17 | # This reconnection harness uses a preinstalled e2e app, so SuperLink should not | COMMENT |
| LOW | examples/fedrag/fedrag/task.py | 23 | # just call the class method. | COMMENT |
| LOW | examples/fedrag/fedrag/server_app.py | 43 | # If k_rff is not set then simply return the | COMMENT |
| LOW | …amples/quickstart-numpy/quickstart_numpy/client_app.py | 18 | # Simulate local training (here we just add random noise to model parameters) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …tflite_convertor/tfltransfer/heads/keras_model_head.py | 42 | tf.compat.v1.keras.experimental.export_saved_model(keras_model, saved_model_dir) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …-secure-aggregation/secaggexample/workflow_with_log.py | 42 | log(INFO, "for demonstration purposes.") | CODE |
| MEDIUM | …/flower-secure-aggregation/secaggexample/client_app.py | 24 | # For demonstration purposes only | COMMENT |
| MEDIUM | baselines/fedwav2vec2/fedwav2vec2/sb_recipe.py | 32 | # different systems. By properly changing the parameter files, you can try | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/fedrag/pyproject.toml | 51 | # The LLM used by the server to execute the RAG query. | COMMENT |
| MEDIUM | examples/fedrag/README.md | 237 | server-llm-hfpath = ... # the Hugging Face name/path of the LLM model used by the server to execute the RAG query | CODE |
| MEDIUM | examples/fedrag/fedrag/retriever.py | 32 | # load the embedding model and define the embeddings dimensions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | framework/py/flwr/supercore/retry/grpc_retry.py | 78 | # Mark shutdown as requested before sending SIGINT because the signal | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/docs/source/how-to-guides/run-with-local-superlink.md | 26 | $ export FLWR_MODEL_API_KEY="<your-api-key>" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | framework/py/flwr/common/dummy_grpc_handlers_test.py | 86 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | baselines/heterofl/heterofl/models.py | 838 | # Step 3: Obtain the state_dict of the model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | baselines/heterofl/heterofl/models.py | 838 | # Step 3: Obtain the state_dict of the model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/android/tflite_convertor/tfltransfer/utils.py | 29 | def helper(self): | CODE |