Flower: A Friendly Federated AI Framework
This report presents the forensic synthetic code analysis of flwrlabs/flower, a Python project with 7,031 GitHub stars. SynthScan v2.0 examined 298,270 lines of code across 2201 source files, recording 5564 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 31.3 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 5564 distinct pattern matches across 22 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/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 |
| MEDIUM | framework/py/flwr/supercore/update_check.py | 14 | # ============================================================================== | COMMENT |
| 780 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 | …flwr/supercore/interceptors/appio_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/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 | …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 |
| HIGH | framework/py/flwr/serverapp/strategy/bulyan.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedtrimmedavg.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/multikrum.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedadam.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedyogi.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/qfedavg.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedxgb_cyclic.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedxgb_bagging.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedmedian.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedadagrad.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedavg.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | …ork/py/flwr/serverapp/strategy/dp_adaptive_clipping.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | …/flowertune-llm-finance/flowertune_finance/strategy.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | …amples/flowertune-llm-code/flowertune_code/strategy.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | …/flowertune-llm-medical/flowertune_medical/strategy.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | …tune-llm-general-nlp/flowertune_generalnlp/strategy.py | 0 | aggregate arrayrecords and metricrecords in the received messages. | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedavgm.py | 0 | federated averaging strategy. implementation based on https://arxiv.org/abs/1602.05629 parameters ---------- fraction_tr | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/multikrum.py | 0 | federated averaging strategy. implementation based on https://arxiv.org/abs/1602.05629 parameters ---------- fraction_tr | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/krum.py | 0 | federated averaging strategy. implementation based on https://arxiv.org/abs/1602.05629 parameters ---------- fraction_tr | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedxgb_cyclic.py | 0 | federated averaging strategy. implementation based on https://arxiv.org/abs/1602.05629 parameters ---------- fraction_tr | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedxgb_bagging.py | 0 | federated averaging strategy. implementation based on https://arxiv.org/abs/1602.05629 parameters ---------- fraction_tr | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedmedian.py | 0 | federated averaging strategy. implementation based on https://arxiv.org/abs/1602.05629 parameters ---------- fraction_tr | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedavg.py | 0 | federated averaging strategy. implementation based on https://arxiv.org/abs/1602.05629 parameters ---------- fraction_tr | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/multikrum.py | 0 | machine learning with adversaries: byzantine tolerant gradient descent. [blanchard et al., 2017]. paper: proceedings.neu | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/krum.py | 0 | machine learning with adversaries: byzantine tolerant gradient descent. [blanchard et al., 2017]. paper: proceedings.neu | STRING |
| HIGH | framework/py/flwr/server/strategy/krum.py | 0 | machine learning with adversaries: byzantine tolerant gradient descent. [blanchard et al., 2017]. paper: proceedings.neu | STRING |
| HIGH | framework/py/flwr/serverapp/strategy/fedadam.py | 0 | fedadagrad strategy - adaptive federated optimization using adagrad. implementation based on https://arxiv.org/abs/2003. | STRING |
| 401 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 |
| 1841 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 |
| 1112 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 | …flwr/supercore/interceptors/appio_token_interceptor.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 27 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 28 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 28 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 28 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 28 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 28 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 28 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 36 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 36 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 36 | CODE | |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 36 | CODE | |
| LOW | …/supercore/interceptors/runtime_version_interceptor.py | 18 | CODE | |
| LOW | …r/supercore/interceptors/superexec_auth_interceptor.py | 18 | 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 | |
| LOW | framework/py/flwr/supercore/task_process/__init__.py | 18 | CODE | |
| LOW | framework/py/flwr/supercore/task_process/__init__.py | 19 | CODE | |
| LOW | framework/py/flwr/supercore/task_process/__init__.py | 20 | CODE | |
| LOW | framework/py/flwr/supercore/task_process/usage.py | 17 | CODE | |
| LOW | …/py/flwr/supercore/task_process/agent/context_items.py | 18 | CODE | |
| LOW | …mework/py/flwr/supercore/task_process/agent/session.py | 18 | CODE | |
| 449 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | framework/py/flwr/compat/client/app.py | 446 | # Create an error reply message that will never be used to prevent | 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 | 183 | # Create the channel to the AppIO API | COMMENT |
| MEDIUM | framework/py/flwr/supercore/superexec/run_superexec.py | 202 | # Create the gRPC stub for the AppIO API | COMMENT |
| MEDIUM | framework/py/flwr/supercore/superexec/run_superexec.py | 211 | # Create the SuperExec plugin instance | COMMENT |
| MEDIUM | …work/py/flwr/supercore/superexec/plugin/exec_plugin.py | 102 | # 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 | 381 | # Create a real directory with a file outside the root | COMMENT |
| MEDIUM | framework/py/flwr/cli/utils.py | 351 | # 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 | …vicer/serverappio/serverappio_auth_integration_test.py | 101 | # Create a single base channel and wrap it for authenticated calls. | COMMENT |
| MEDIUM⚡ | …wr/superlink/servicer/control/control_servicer_test.py | 1621 | # Create a node owned by someone else | COMMENT |
| MEDIUM | …wr/superlink/servicer/control/control_servicer_test.py | 1077 | # Create an unfinished run in the federation and give it a live token, | COMMENT |
| MEDIUM | framework/py/flwr/supernode/start_client_internal.py | 520 | # Define the iterator for yielding object contents | COMMENT |
| MEDIUM | framework/docker/complete/certs.yml | 71 | # Create a signing CSR | COMMENT |
| MEDIUM | framework/dev/update_changelog.py | 346 | # Create the topic if not found | COMMENT |
| MEDIUM | framework/e2e/test_control_api.sh | 114 | # Define a cleanup function | COMMENT |
| MEDIUM | framework/e2e/test_superlink.sh | 108 | # Define a cleanup function | COMMENT |
| MEDIUM | framework/e2e/test_reconnection.sh | 21 | # Define the function | COMMENT |
| MEDIUM | framework/e2e/test_reconnection.sh | 107 | # Define a cleanup function | COMMENT |
| MEDIUM | framework/e2e/test_windows.sh | 39 | # 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 | 118 | # 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 | …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 |
| 27 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/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 | 415 | # Check if there is a head-body divider | COMMENT |
| LOW | …ework/py/flwr/supercore/inflatable/inflatable_utils.py | 448 | # Check if the body length in the head matches that of the body | COMMENT |
| LOW | …ework/py/flwr/supercore/inflatable/inflatable_utils.py | 524 | # 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 | 79 | # 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 | 39 | # Check if all exit codes | 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 | 139 | # 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 | 211 | # Check if the message has expired | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 217 | # Check if the destination node and the source node are still in the | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 272 | # Check if the Message it is replying to exists and is valid | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 429 | # Check if the run exists | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 512 | # Set online_until to current timestamp on deletion, if it is in the future | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 520 | # Check if the node exists | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 541 | # Check if the node exists | COMMENT |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 551 | # Set online_until to current timestamp | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 287 | # Check if the message has expired | STRING |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 293 | # Check if run exists and get federation ID | STRING |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 649 | # Check if the run exists | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 1268 | # Check if any of the expired tasks is referenced as a run's primary task. | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 1364 | # Check if run exists, performing the update only if it does | COMMENT |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 1388 | # Check if run exists, performing the update only if it does | 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 | 273 | # 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/logger.py | 83 | # Check if the message is empty | COMMENT |
| LOW | framework/py/flwr/common/args.py | 177 | # Check if certificates are provided | COMMENT |
| LOW | …k/servicer/control/control_account_auth_interceptor.py | 121 | # Check if the account is authorized | COMMENT |
| 43 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 | 204 | 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/utils.py | 49 | CODE | |
| LOW | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 787 | CODE | |
| LOW | framework/py/flwr/supercore/corestate/sql_corestate.py | 253 | CODE | |
| LOW | …ork/py/flwr/supercore/object_store/sql_object_store.py | 59 | CODE | |
| LOW | …/flwr/supercore/object_store/in_memory_object_store.py | 53 | CODE | |
| LOW | …k/py/flwr/supercore/task_process/agent/run_agentapp.py | 67 | CODE | |
| LOW | …core/task_process/connector/browser_use/browser_use.py | 142 | 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 | 106 | CODE | |
| LOW | …rk/py/flwr/supercore/superexec/dependency_installer.py | 275 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/strategy_utils.py | 66 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/strategy_utils.py | 101 | CODE | |
| LOW | framework/py/flwr/simulation/ray_transport/ray_actor.py | 355 | 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 | 342 | CODE | |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 595 | CODE | |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 798 | CODE | |
| LOW | …flwr/server/superlink/linkstate/in_memory_linkstate.py | 819 | 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 | 203 | CODE | |
| LOW | …ver/workflow/secure_aggregation/secaggplus_workflow.py | 542 | CODE | |
| LOW | framework/py/flwr/cli/utils_test.py | 98 | 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 | 226 | 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 | |
| LOW | framework/py/flwr/common/logger.py | 382 | CODE | |
| LOW | …ork/py/flwr/common/secure_aggregation/crypto/shamir.py | 25 | CODE | |
| LOW | framework/py/flwr/superlink/runtime/run_serverapp.py | 60 | CODE | |
| LOW | …superlink/servicer/serverappio/serverappio_servicer.py | 157 | CODE | |
| LOW | framework/py/flwr/supernode/start_client_internal.py | 323 | CODE | |
| LOW | …ork/py/flwr/supernode/nodestate/in_memory_nodestate.py | 118 | CODE | |
| LOW | …ork/py/flwr/supernode/nodestate/in_memory_nodestate.py | 190 | CODE | |
| LOW | …work/py/flwr/client/message_handler/message_handler.py | 94 | CODE | |
| LOW | framework/py/flwr/client/grpc_rere_client/connection.py | 77 | CODE | |
| LOW | …y/flwr/client/mod/secure_aggregation/secaggplus_mod.py | 131 | CODE | |
| LOW | …y/flwr/client/mod/secure_aggregation/secaggplus_mod.py | 221 | CODE | |
| LOW | …y/flwr/client/mod/secure_aggregation/secaggplus_mod.py | 113 | CODE | |
| LOW | framework/dev/update_version.py | 57 | CODE | |
| 71 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/sql_mixin.py | 46 | def _set_sqlite_pragmas(dbapi_conn: Any, _connection_record: Any) -> None: | CODE |
| LOW | framework/py/flwr/supercore/routers/health/__init__.py | 20 | __all__ = ["router"] | CODE |
| LOW | framework/py/flwr/supercore/interceptors/__init__.py | 43 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/license_plugin/__init__.py | 20 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/corestate/corestate.py | 121 | def set_run_series_context(self, series_id: int, context: Context) -> None: | CODE |
| LOW | …ork/py/flwr/supercore/corestate/in_memory_corestate.py | 209 | 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 | 238 | 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 | …upercore/task_process/connector/web_search/__init__.py | 102 | __all__ = [ | CODE |
| LOW | …percore/task_process/connector/browser_use/__init__.py | 71 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/retry/__init__.py | 21 | __all__ = [ | CODE |
| LOW | framework/py/flwr/supercore/auth/__init__.py | 31 | __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/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/servicer/appio/__init__.py | 20 | __all__ = [ | 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 | 22 | __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 |
| LOW | …py/flwr/server/workflow/secure_aggregation/__init__.py | 21 | __all__ = [ | CODE |
| LOW | framework/py/flwr/server/strategy/dpfedavg_adaptive.py | 95 | def _update_clip_norm(self, results: list[tuple[ClientProxy, FitRes]]) -> None: | CODE |
| LOW | framework/py/flwr/server/strategy/__init__.py | 51 | __all__ = [ | CODE |
| LOW | …mework/py/flwr/server/strategy/dp_adaptive_clipping.py | 429 | def _update_clip_norm(self, results: list[tuple[ClientProxy, FitRes]]) -> None: | CODE |
| LOW⚡ | framework/py/flwr/cli/flower_config.py | 343 | def set_default_superlink_connection(connection_name: str) -> None: | CODE |
| LOW | framework/py/flwr/cli/auth_plugin/__init__.py | 34 | __all__ = [ | CODE |
| LOW | framework/py/flwr/cli/config/__init__.py | 19 | __all__ = [ | CODE |
| LOW | framework/py/flwr/cli/federation/__init__.py | 27 | __all__ = [ | CODE |
| 69 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 | 462 | 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/utils.py | 516 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …ework/py/flwr/supercore/inflatable/inflatable_utils.py | 206 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | …ework/py/flwr/supercore/inflatable/inflatable_utils.py | 318 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | …k/py/flwr/supercore/task_process/agent/run_agentapp.py | 236 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/task_process/model/task.py | 86 | except Exception as ex: | CODE |
| LOW | …work/py/flwr/supercore/task_process/model/run_model.py | 121 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …ework/py/flwr/supercore/task_process/connector/task.py | 73 | except Exception as ex: | CODE |
| LOW | …flwr/supercore/task_process/connector/run_connector.py | 112 | 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 | 396 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW⚡ | …wr/supercore/superexec/executor/kubernetes_executor.py | 405 | 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 | 309 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 314 | except Exception as exc: # pylint: disable=broad-exception-caught | CODE |
| LOW | …wr/supercore/superexec/executor/kubernetes_executor.py | 848 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/exit/exit_handler.py | 63 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/exit/exit.py | 113 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supercore/error/grpc.py | 55 | except Exception as err: | CODE |
| LOW | framework/py/flwr/supercore/error/http.py | 59 | 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 | 361 | 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 | 2181 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 2360 | 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 | 391 | 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 | 119 | 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/common/logger.py | 142 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/superlink/runtime/run_serverapp.py | 229 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/superlink/cli/flower_superlink.py | 673 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | …link/servicer/serverappio/serverappio_servicer_test.py | 121 | except Exception as err: | CODE |
| LOW | …link/servicer/serverappio/serverappio_servicer_test.py | 143 | except Exception as err: | CODE |
| LOW | …link/servicer/serverappio/serverappio_servicer_test.py | 279 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supernode/start_client_internal.py | 452 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | framework/py/flwr/supernode/start_client_internal.py | 564 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | framework/py/flwr/supernode/runtime/run_clientapp.py | 197 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/supernode/runtime/run_clientapp.py | 226 | except Exception as ex: # pylint: disable=broad-exception-caught | CODE |
| LOW | framework/py/flwr/client/grpc_rere_client/connection.py | 383 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | …r/client/mod/secure_aggregation/secaggplus_mod_test.py | 163 | except Exception as exc: | CODE |
| 34 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/py/flwr/compat/client/app.py | 71 | CODE | |
| LOW | framework/py/flwr/compat/client/app.py | 204 | CODE | |
| LOW | framework/py/flwr/supercore/corestate/utils_test.py | 28 | CODE | |
| LOW | …mework/py/flwr/supercore/json_message/model_message.py | 30 | CODE | |
| LOW | framework/py/flwr/supercore/superexec/run_superexec.py | 106 | CODE | |
| LOW | framework/py/flwr/app/message/message.py | 521 | CODE | |
| LOW | framework/py/flwr/app/message/message.py | 131 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/fedavgm.py | 78 | CODE | |
| LOW | framework/py/flwr/serverapp/strategy/bulyan.py | 88 | 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 | 87 | 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 | 85 | 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 | 2135 | CODE | |
| LOW | …rk/py/flwr/server/superlink/linkstate/sql_linkstate.py | 341 | CODE | |
| LOW | …ork/py/flwr/server/superlink/fleet/vce/vce_api_test.py | 197 | 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 | 211 | 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 | 383 | CODE | |
| LOW | framework/py/flwr/supernode/start_client_internal.py | 96 | 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 | 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 |
|---|---|---|---|---|
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 12 | # Step 1: Replace leading //[flwr](...)/[ai.flower.intelligence](...) with [Kotlin API](../index.md) | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 15 | # Step 2: Remove [androidJvm]<br> | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 18 | # Step 3: Remove entire lines that are [androidJvm]\ | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 21 | # Step 4: Remove all remaining instances of the word "androidJvm" | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 24 | # Step 5: Remove empty leftover brackets like []\ | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 32 | # Step 1: Replace heading | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 35 | # Step 2: Convert markdown table to bullet list (inside '## Types' section) | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 30 | # Step 1: Replace leading //[flwr](...)/[ai.flower.intelligence](...) with [Kotlin API](../index.md) | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 33 | # Step 2: Remove [androidJvm]<br> | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 36 | # Step 3: Remove entire lines that are [androidJvm]\ | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 39 | # Step 4: Remove all remaining instances of the word "androidJvm" | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 42 | # Step 5: Remove empty leftover brackets like []\ | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 50 | # Step 1: Replace heading | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 53 | # Step 2: Convert markdown table to bullet list (inside '## Types' section) | COMMENT |
| LOW | baselines/heterofl/heterofl/models.py | 838 | # Step 3: Obtain the state_dict of the model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 12 | # Step 1: Replace leading //[flwr](...)/[ai.flower.intelligence](...) with [Kotlin API](../index.md) | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 15 | # Step 2: Remove [androidJvm]<br> | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 18 | # Step 3: Remove entire lines that are [androidJvm]\ | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 21 | # Step 4: Remove all remaining instances of the word "androidJvm" | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 24 | # Step 5: Remove empty leftover brackets like []\ | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 32 | # Step 1: Replace heading | COMMENT |
| LOW⚡ | intelligence/dev/build-kt-docs.sh | 35 | # Step 2: Convert markdown table to bullet list (inside '## Types' section) | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 30 | # Step 1: Replace leading //[flwr](...)/[ai.flower.intelligence](...) with [Kotlin API](../index.md) | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 33 | # Step 2: Remove [androidJvm]<br> | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 36 | # Step 3: Remove entire lines that are [androidJvm]\ | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 39 | # Step 4: Remove all remaining instances of the word "androidJvm" | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 42 | # Step 5: Remove empty leftover brackets like []\ | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 50 | # Step 1: Replace heading | COMMENT |
| LOW⚡ | intelligence/dev/build-docs.sh | 53 | # Step 2: Convert markdown table to bullet list (inside '## Types' section) | COMMENT |
| LOW | baselines/heterofl/heterofl/models.py | 838 | # Step 3: Obtain the state_dict of the model | 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 | 1077 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1091 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1095 | state.create_node("fake_aid2", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1283 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW⚡ | …k/py/flwr/server/superlink/linkstate/linkstate_test.py | 1297 | node_id = state.create_node("fake_aid", "fake_name", public_key, 10) | CODE |
| LOW | …link/servicer/serverappio/serverappio_servicer_test.py | 321 | "mock_owner", "fake_name", self.node_pk, 30 | CODE |
| LOW | …vicer/serverappio/serverappio_auth_integration_test.py | 83 | node_id = self.state.create_node("mock_owner", "fake_name", b"pk", 30) | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 735 | owner_name="fake_name", | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 809 | owner_name="fake_name", | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 830 | owner_name="fake_name", | CODE |
| LOW | …wr/superlink/servicer/control/control_servicer_test.py | 856 | 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 |
|---|---|---|---|---|
| MEDIUM | framework/py/flwr/common/dummy_grpc_handlers_test.py | 86 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/android/tflite_convertor/tfltransfer/utils.py | 29 | def helper(self): | CODE |