fedora-fl 2.1.0b2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. fedora_fl-2.1.0b2/LICENSE +172 -0
  2. fedora_fl-2.1.0b2/PKG-INFO +758 -0
  3. fedora_fl-2.1.0b2/README.md +644 -0
  4. fedora_fl-2.1.0b2/fedora/__init__.py +535 -0
  5. fedora_fl-2.1.0b2/fedora/__version__.py +3 -0
  6. fedora_fl-2.1.0b2/fedora/_circuits_cuda.py +92 -0
  7. fedora_fl-2.1.0b2/fedora/_circuits_native.py +51 -0
  8. fedora_fl-2.1.0b2/fedora/_robust_cuda.py +46 -0
  9. fedora_fl-2.1.0b2/fedora/adapters/attestation_mock.py +15 -0
  10. fedora_fl-2.1.0b2/fedora/adapters/capabilities.py +228 -0
  11. fedora_fl-2.1.0b2/fedora/adapters/diagnostics.py +221 -0
  12. fedora_fl-2.1.0b2/fedora/adapters/mpc_maskedsum.py +60 -0
  13. fedora_fl-2.1.0b2/fedora/adapters/mpc_mock.py +29 -0
  14. fedora_fl-2.1.0b2/fedora/adapters/mpc_paillier.py +109 -0
  15. fedora_fl-2.1.0b2/fedora/adapters/ufcg_to_flare.py +520 -0
  16. fedora_fl-2.1.0b2/fedora/adapters/ufcg_to_flower.py +32 -0
  17. fedora_fl-2.1.0b2/fedora/adapters/ufcg_to_grpc.py +132 -0
  18. fedora_fl-2.1.0b2/fedora/adapters/zk_mock.py +28 -0
  19. fedora_fl-2.1.0b2/fedora/agents/__init__.py +57 -0
  20. fedora_fl-2.1.0b2/fedora/agents/policy.py +222 -0
  21. fedora_fl-2.1.0b2/fedora/agents/tasks.py +175 -0
  22. fedora_fl-2.1.0b2/fedora/aggregation/__init__.py +148 -0
  23. fedora_fl-2.1.0b2/fedora/aggregation/adaptive.py +770 -0
  24. fedora_fl-2.1.0b2/fedora/aggregation/async_agg.py +275 -0
  25. fedora_fl-2.1.0b2/fedora/aggregation/averaging.py +525 -0
  26. fedora_fl-2.1.0b2/fedora/aggregation/base.py +216 -0
  27. fedora_fl-2.1.0b2/fedora/aggregation/dp.py +1338 -0
  28. fedora_fl-2.1.0b2/fedora/aggregation/lora.py +166 -0
  29. fedora_fl-2.1.0b2/fedora/aggregation/mixed_precision.py +122 -0
  30. fedora_fl-2.1.0b2/fedora/aggregation/robust.py +823 -0
  31. fedora_fl-2.1.0b2/fedora/aggregation/secure.py +790 -0
  32. fedora_fl-2.1.0b2/fedora/analytics.py +28 -0
  33. fedora_fl-2.1.0b2/fedora/artifacts.py +207 -0
  34. fedora_fl-2.1.0b2/fedora/assurance/ledger.py +47 -0
  35. fedora_fl-2.1.0b2/fedora/attacks.py +16 -0
  36. fedora_fl-2.1.0b2/fedora/backends/adaptive_compression.py +146 -0
  37. fedora_fl-2.1.0b2/fedora/backends/aggregators.py +646 -0
  38. fedora_fl-2.1.0b2/fedora/backends/api.py +55 -0
  39. fedora_fl-2.1.0b2/fedora/backends/checkpoint.py +214 -0
  40. fedora_fl-2.1.0b2/fedora/backends/compression.py +176 -0
  41. fedora_fl-2.1.0b2/fedora/backends/flower_backend.py +45 -0
  42. fedora_fl-2.1.0b2/fedora/backends/gpu.py +257 -0
  43. fedora_fl-2.1.0b2/fedora/backends/grpc_backend.py +2110 -0
  44. fedora_fl-2.1.0b2/fedora/backends/grpc_validation.py +151 -0
  45. fedora_fl-2.1.0b2/fedora/backends/local_mp.py +733 -0
  46. fedora_fl-2.1.0b2/fedora/backends/observability.py +158 -0
  47. fedora_fl-2.1.0b2/fedora/backends/privacy.py +63 -0
  48. fedora_fl-2.1.0b2/fedora/backends/protos/fedora_backend.proto +102 -0
  49. fedora_fl-2.1.0b2/fedora/backends/ray_backend.py +630 -0
  50. fedora_fl-2.1.0b2/fedora/circuits.py +108 -0
  51. fedora_fl-2.1.0b2/fedora/cli.py +205 -0
  52. fedora_fl-2.1.0b2/fedora/clients/__init__.py +81 -0
  53. fedora_fl-2.1.0b2/fedora/clients/fastai_wrapper.py +234 -0
  54. fedora_fl-2.1.0b2/fedora/clients/framework_utils.py +360 -0
  55. fedora_fl-2.1.0b2/fedora/clients/huggingface_wrapper.py +287 -0
  56. fedora_fl-2.1.0b2/fedora/clients/jax_wrapper.py +263 -0
  57. fedora_fl-2.1.0b2/fedora/clients/keras_wrapper.py +299 -0
  58. fedora_fl-2.1.0b2/fedora/clients/partial_training.py +272 -0
  59. fedora_fl-2.1.0b2/fedora/clients/scaffold.py +70 -0
  60. fedora_fl-2.1.0b2/fedora/clients/sdk.py +189 -0
  61. fedora_fl-2.1.0b2/fedora/clients/sklearn_wrapper.py +251 -0
  62. fedora_fl-2.1.0b2/fedora/clients/torch_wrapper.py +420 -0
  63. fedora_fl-2.1.0b2/fedora/clients/xgboost_wrapper.py +250 -0
  64. fedora_fl-2.1.0b2/fedora/compat/__init__.py +61 -0
  65. fedora_fl-2.1.0b2/fedora/compat/flower.py +505 -0
  66. fedora_fl-2.1.0b2/fedora/compat/migration.py +658 -0
  67. fedora_fl-2.1.0b2/fedora/compliance.py +32 -0
  68. fedora_fl-2.1.0b2/fedora/config.py +16 -0
  69. fedora_fl-2.1.0b2/fedora/contracts.py +90 -0
  70. fedora_fl-2.1.0b2/fedora/core/__init__.py +56 -0
  71. fedora_fl-2.1.0b2/fedora/core/attacks.py +190 -0
  72. fedora_fl-2.1.0b2/fedora/core/config.py +120 -0
  73. fedora_fl-2.1.0b2/fedora/core/plugins.py +62 -0
  74. fedora_fl-2.1.0b2/fedora/core/strategies.py +199 -0
  75. fedora_fl-2.1.0b2/fedora/datasets/partitioners.py +81 -0
  76. fedora_fl-2.1.0b2/fedora/engine/__init__.py +165 -0
  77. fedora_fl-2.1.0b2/fedora/engine/client.py +409 -0
  78. fedora_fl-2.1.0b2/fedora/engine/convergence.py +687 -0
  79. fedora_fl-2.1.0b2/fedora/engine/diagnostics.py +313 -0
  80. fedora_fl-2.1.0b2/fedora/engine/history.py +520 -0
  81. fedora_fl-2.1.0b2/fedora/engine/round.py +409 -0
  82. fedora_fl-2.1.0b2/fedora/engine/scheduler.py +656 -0
  83. fedora_fl-2.1.0b2/fedora/engine/server.py +586 -0
  84. fedora_fl-2.1.0b2/fedora/engine/state.py +266 -0
  85. fedora_fl-2.1.0b2/fedora/engine/types.py +361 -0
  86. fedora_fl-2.1.0b2/fedora/engine/validation.py +360 -0
  87. fedora_fl-2.1.0b2/fedora/enterprise/__init__.py +316 -0
  88. fedora_fl-2.1.0b2/fedora/enterprise/advanced_analytics.py +548 -0
  89. fedora_fl-2.1.0b2/fedora/enterprise/analytics.py +263 -0
  90. fedora_fl-2.1.0b2/fedora/enterprise/automated_compliance.py +291 -0
  91. fedora_fl-2.1.0b2/fedora/enterprise/bench.py +115 -0
  92. fedora_fl-2.1.0b2/fedora/enterprise/cli/__init__.py +34 -0
  93. fedora_fl-2.1.0b2/fedora/enterprise/cli/__main__.py +8 -0
  94. fedora_fl-2.1.0b2/fedora/enterprise/cli/_helpers.py +76 -0
  95. fedora_fl-2.1.0b2/fedora/enterprise/cli/bench_cmds.py +101 -0
  96. fedora_fl-2.1.0b2/fedora/enterprise/cli/compliance_cmds.py +805 -0
  97. fedora_fl-2.1.0b2/fedora/enterprise/cli/config_cmds.py +584 -0
  98. fedora_fl-2.1.0b2/fedora/enterprise/cli/deploy_cmds.py +229 -0
  99. fedora_fl-2.1.0b2/fedora/enterprise/cli/monitor_cmds.py +92 -0
  100. fedora_fl-2.1.0b2/fedora/enterprise/cli/run_cmds.py +342 -0
  101. fedora_fl-2.1.0b2/fedora/enterprise/cli/security_cmds.py +453 -0
  102. fedora_fl-2.1.0b2/fedora/enterprise/cli/ufcg_cmds.py +467 -0
  103. fedora_fl-2.1.0b2/fedora/enterprise/cli_utils.py +273 -0
  104. fedora_fl-2.1.0b2/fedora/enterprise/compliance.py +623 -0
  105. fedora_fl-2.1.0b2/fedora/enterprise/config_validation.py +364 -0
  106. fedora_fl-2.1.0b2/fedora/enterprise/deployment.py +1034 -0
  107. fedora_fl-2.1.0b2/fedora/enterprise/flower_bridge.py +560 -0
  108. fedora_fl-2.1.0b2/fedora/enterprise/incidents.py +420 -0
  109. fedora_fl-2.1.0b2/fedora/enterprise/integrations.py +54 -0
  110. fedora_fl-2.1.0b2/fedora/enterprise/mlops.py +370 -0
  111. fedora_fl-2.1.0b2/fedora/enterprise/monitoring.py +472 -0
  112. fedora_fl-2.1.0b2/fedora/enterprise/mpc.py +400 -0
  113. fedora_fl-2.1.0b2/fedora/enterprise/observability.py +128 -0
  114. fedora_fl-2.1.0b2/fedora/enterprise/pipelines.py +121 -0
  115. fedora_fl-2.1.0b2/fedora/enterprise/policies.py +300 -0
  116. fedora_fl-2.1.0b2/fedora/enterprise/policy_engines.py +89 -0
  117. fedora_fl-2.1.0b2/fedora/enterprise/privacy.py +38 -0
  118. fedora_fl-2.1.0b2/fedora/enterprise/release.py +71 -0
  119. fedora_fl-2.1.0b2/fedora/enterprise/scalability.py +538 -0
  120. fedora_fl-2.1.0b2/fedora/enterprise/security.py +774 -0
  121. fedora_fl-2.1.0b2/fedora/enterprise/smart_config.py +420 -0
  122. fedora_fl-2.1.0b2/fedora/enterprise/templates.py +385 -0
  123. fedora_fl-2.1.0b2/fedora/enterprise/threat_intelligence.py +312 -0
  124. fedora_fl-2.1.0b2/fedora/enterprise/trust.py +28 -0
  125. fedora_fl-2.1.0b2/fedora/evidence.py +651 -0
  126. fedora_fl-2.1.0b2/fedora/exceptions.py +64 -0
  127. fedora_fl-2.1.0b2/fedora/integrations.py +32 -0
  128. fedora_fl-2.1.0b2/fedora/knowledge/__init__.py +390 -0
  129. fedora_fl-2.1.0b2/fedora/knowledge/adapter.py +638 -0
  130. fedora_fl-2.1.0b2/fedora/knowledge/adoption.py +647 -0
  131. fedora_fl-2.1.0b2/fedora/knowledge/agent.py +299 -0
  132. fedora_fl-2.1.0b2/fedora/knowledge/agentsim.py +432 -0
  133. fedora_fl-2.1.0b2/fedora/knowledge/base.py +365 -0
  134. fedora_fl-2.1.0b2/fedora/knowledge/channel.py +114 -0
  135. fedora_fl-2.1.0b2/fedora/knowledge/eval_result.py +495 -0
  136. fedora_fl-2.1.0b2/fedora/knowledge/example.py +214 -0
  137. fedora_fl-2.1.0b2/fedora/knowledge/extractors.py +65 -0
  138. fedora_fl-2.1.0b2/fedora/knowledge/fact_bundle.py +231 -0
  139. fedora_fl-2.1.0b2/fedora/knowledge/federate.py +391 -0
  140. fedora_fl-2.1.0b2/fedora/knowledge/logits.py +355 -0
  141. fedora_fl-2.1.0b2/fedora/knowledge/memory.py +743 -0
  142. fedora_fl-2.1.0b2/fedora/knowledge/pipeline.py +565 -0
  143. fedora_fl-2.1.0b2/fedora/knowledge/policy.py +283 -0
  144. fedora_fl-2.1.0b2/fedora/knowledge/privacy/__init__.py +9 -0
  145. fedora_fl-2.1.0b2/fedora/knowledge/privacy/canary.py +200 -0
  146. fedora_fl-2.1.0b2/fedora/knowledge/prototype.py +323 -0
  147. fedora_fl-2.1.0b2/fedora/knowledge/serialization.py +321 -0
  148. fedora_fl-2.1.0b2/fedora/knowledge/skill.py +682 -0
  149. fedora_fl-2.1.0b2/fedora/knowledge/state.py +444 -0
  150. fedora_fl-2.1.0b2/fedora/knowledge/tensor.py +470 -0
  151. fedora_fl-2.1.0b2/fedora/knowledge/threats.py +255 -0
  152. fedora_fl-2.1.0b2/fedora/knowledge/tool_trace.py +344 -0
  153. fedora_fl-2.1.0b2/fedora/knowledge/transport.py +210 -0
  154. fedora_fl-2.1.0b2/fedora/knowledge/types.py +403 -0
  155. fedora_fl-2.1.0b2/fedora/knowledge/validation.py +678 -0
  156. fedora_fl-2.1.0b2/fedora/mpc.py +32 -0
  157. fedora_fl-2.1.0b2/fedora/observability.py +32 -0
  158. fedora_fl-2.1.0b2/fedora/pipelines.py +32 -0
  159. fedora_fl-2.1.0b2/fedora/planning.py +465 -0
  160. fedora_fl-2.1.0b2/fedora/plugins.py +16 -0
  161. fedora_fl-2.1.0b2/fedora/policies.py +32 -0
  162. fedora_fl-2.1.0b2/fedora/policy_engines.py +32 -0
  163. fedora_fl-2.1.0b2/fedora/privacy.py +32 -0
  164. fedora_fl-2.1.0b2/fedora/py.typed +0 -0
  165. fedora_fl-2.1.0b2/fedora/reference_apps/__init__.py +1 -0
  166. fedora_fl-2.1.0b2/fedora/reference_apps/fixtures/support_agents.json +151 -0
  167. fedora_fl-2.1.0b2/fedora/reference_apps/support_agents.py +713 -0
  168. fedora_fl-2.1.0b2/fedora/release.py +32 -0
  169. fedora_fl-2.1.0b2/fedora/schema_validation.py +156 -0
  170. fedora_fl-2.1.0b2/fedora/schemas/adapter_diagnostic.schema.json +40 -0
  171. fedora_fl-2.1.0b2/fedora/schemas/evidence_manifest.schema.json +297 -0
  172. fedora_fl-2.1.0b2/fedora/schemas/grpc_deployment_validation.schema.json +42 -0
  173. fedora_fl-2.1.0b2/fedora/schemas/proof_summary.schema.json +114 -0
  174. fedora_fl-2.1.0b2/fedora/schemas/receipt.schema.json +70 -0
  175. fedora_fl-2.1.0b2/fedora/security/__init__.py +62 -0
  176. fedora_fl-2.1.0b2/fedora/security/attacks.py +427 -0
  177. fedora_fl-2.1.0b2/fedora/security/audit.py +586 -0
  178. fedora_fl-2.1.0b2/fedora/security/benchmarks.py +389 -0
  179. fedora_fl-2.1.0b2/fedora/security/defenses.py +442 -0
  180. fedora_fl-2.1.0b2/fedora/security/demo.py +211 -0
  181. fedora_fl-2.1.0b2/fedora/security/secret_sharing.py +271 -0
  182. fedora_fl-2.1.0b2/fedora/security/threat_model.py +502 -0
  183. fedora_fl-2.1.0b2/fedora/security/trust.py +512 -0
  184. fedora_fl-2.1.0b2/fedora/security.py +32 -0
  185. fedora_fl-2.1.0b2/fedora/simulation/__init__.py +54 -0
  186. fedora_fl-2.1.0b2/fedora/simulation/data.py +348 -0
  187. fedora_fl-2.1.0b2/fedora/simulation/device_simulator.py +445 -0
  188. fedora_fl-2.1.0b2/fedora/simulation/examples.py +395 -0
  189. fedora_fl-2.1.0b2/fedora/simulation/history.py +359 -0
  190. fedora_fl-2.1.0b2/fedora/simulation/runner.py +945 -0
  191. fedora_fl-2.1.0b2/fedora/simulation/virtual_client.py +573 -0
  192. fedora_fl-2.1.0b2/fedora/starter_pack/plugins/sample_anomaly.py +26 -0
  193. fedora_fl-2.1.0b2/fedora/strategies.py +16 -0
  194. fedora_fl-2.1.0b2/fedora/transport/__init__.py +85 -0
  195. fedora_fl-2.1.0b2/fedora/transport/base.py +292 -0
  196. fedora_fl-2.1.0b2/fedora/transport/grpc_transport.py +1256 -0
  197. fedora_fl-2.1.0b2/fedora/transport/local.py +470 -0
  198. fedora_fl-2.1.0b2/fedora/transport/serialization.py +343 -0
  199. fedora_fl-2.1.0b2/fedora/transport/test_local_transport.py +239 -0
  200. fedora_fl-2.1.0b2/fedora/transport/tls_config.py +261 -0
  201. fedora_fl-2.1.0b2/fedora/transport/websocket_transport.py +1037 -0
  202. fedora_fl-2.1.0b2/fedora/trust.py +32 -0
  203. fedora_fl-2.1.0b2/fedora/ufcg/__init__.py +25 -0
  204. fedora_fl-2.1.0b2/fedora/ufcg/cost.py +61 -0
  205. fedora_fl-2.1.0b2/fedora/ufcg/ir.py +178 -0
  206. fedora_fl-2.1.0b2/fedora/ufcg/planner.py +168 -0
  207. fedora_fl-2.1.0b2/fedora_fl.egg-info/PKG-INFO +758 -0
  208. fedora_fl-2.1.0b2/fedora_fl.egg-info/SOURCES.txt +316 -0
  209. fedora_fl-2.1.0b2/fedora_fl.egg-info/dependency_links.txt +1 -0
  210. fedora_fl-2.1.0b2/fedora_fl.egg-info/entry_points.txt +2 -0
  211. fedora_fl-2.1.0b2/fedora_fl.egg-info/requires.txt +102 -0
  212. fedora_fl-2.1.0b2/fedora_fl.egg-info/top_level.txt +1 -0
  213. fedora_fl-2.1.0b2/pyproject.toml +326 -0
  214. fedora_fl-2.1.0b2/setup.cfg +4 -0
  215. fedora_fl-2.1.0b2/tests/test_adapter_merger.py +518 -0
  216. fedora_fl-2.1.0b2/tests/test_adaptive_compression.py +96 -0
  217. fedora_fl-2.1.0b2/tests/test_adaptive_optimizers.py +99 -0
  218. fedora_fl-2.1.0b2/tests/test_adoption_gate.py +105 -0
  219. fedora_fl-2.1.0b2/tests/test_agent_benchmark_report.py +73 -0
  220. fedora_fl-2.1.0b2/tests/test_agent_client.py +178 -0
  221. fedora_fl-2.1.0b2/tests/test_aggregators.py +26 -0
  222. fedora_fl-2.1.0b2/tests/test_analytics.py +13 -0
  223. fedora_fl-2.1.0b2/tests/test_api_compatibility.py +32 -0
  224. fedora_fl-2.1.0b2/tests/test_attestation_security.py +243 -0
  225. fedora_fl-2.1.0b2/tests/test_audit_trail.py +178 -0
  226. fedora_fl-2.1.0b2/tests/test_backend_privacy.py +91 -0
  227. fedora_fl-2.1.0b2/tests/test_backends.py +21 -0
  228. fedora_fl-2.1.0b2/tests/test_benchmark_knowledge_adapters.py +97 -0
  229. fedora_fl-2.1.0b2/tests/test_beta_privacy_lifecycle.py +339 -0
  230. fedora_fl-2.1.0b2/tests/test_canary_audit.py +56 -0
  231. fedora_fl-2.1.0b2/tests/test_checkpoint_local.py +45 -0
  232. fedora_fl-2.1.0b2/tests/test_circuits_parity.py +40 -0
  233. fedora_fl-2.1.0b2/tests/test_cli_bench.py +13 -0
  234. fedora_fl-2.1.0b2/tests/test_cli_run_local.py +41 -0
  235. fedora_fl-2.1.0b2/tests/test_cli_run_ray.py +35 -0
  236. fedora_fl-2.1.0b2/tests/test_compression.py +36 -0
  237. fedora_fl-2.1.0b2/tests/test_config.py +18 -0
  238. fedora_fl-2.1.0b2/tests/test_defense_clipping.py +41 -0
  239. fedora_fl-2.1.0b2/tests/test_defenses.py +188 -0
  240. fedora_fl-2.1.0b2/tests/test_delivery.py +228 -0
  241. fedora_fl-2.1.0b2/tests/test_device_simulator.py +166 -0
  242. fedora_fl-2.1.0b2/tests/test_dp_boundaries.py +217 -0
  243. fedora_fl-2.1.0b2/tests/test_dp_calibration.py +97 -0
  244. fedora_fl-2.1.0b2/tests/test_enterprise_features.py +48 -0
  245. fedora_fl-2.1.0b2/tests/test_example_server_app.py +25 -0
  246. fedora_fl-2.1.0b2/tests/test_federate_api.py +42 -0
  247. fedora_fl-2.1.0b2/tests/test_fednova.py +18 -0
  248. fedora_fl-2.1.0b2/tests/test_fedora_aggregation.py +1955 -0
  249. fedora_fl-2.1.0b2/tests/test_fedora_clients.py +1160 -0
  250. fedora_fl-2.1.0b2/tests/test_fedora_composability.py +690 -0
  251. fedora_fl-2.1.0b2/tests/test_fedora_engine.py +1820 -0
  252. fedora_fl-2.1.0b2/tests/test_fedora_plan.py +384 -0
  253. fedora_fl-2.1.0b2/tests/test_fedora_security.py +930 -0
  254. fedora_fl-2.1.0b2/tests/test_fedora_simulation.py +591 -0
  255. fedora_fl-2.1.0b2/tests/test_fedora_transport.py +1175 -0
  256. fedora_fl-2.1.0b2/tests/test_fedora_validation.py +863 -0
  257. fedora_fl-2.1.0b2/tests/test_flower_bridge.py +109 -0
  258. fedora_fl-2.1.0b2/tests/test_gpu.py +228 -0
  259. fedora_fl-2.1.0b2/tests/test_grpc_backend.py +22 -0
  260. fedora_fl-2.1.0b2/tests/test_grpc_deployment_validation.py +97 -0
  261. fedora_fl-2.1.0b2/tests/test_grpc_hardened_smoke.py +251 -0
  262. fedora_fl-2.1.0b2/tests/test_grpc_reassessment_regressions.py +476 -0
  263. fedora_fl-2.1.0b2/tests/test_grpc_transport_auth.py +93 -0
  264. fedora_fl-2.1.0b2/tests/test_grpc_transport_reconnect.py +226 -0
  265. fedora_fl-2.1.0b2/tests/test_grpc_transport_straggler.py +75 -0
  266. fedora_fl-2.1.0b2/tests/test_knowledge_artifact_ladder.py +321 -0
  267. fedora_fl-2.1.0b2/tests/test_knowledge_artifacts.py +247 -0
  268. fedora_fl-2.1.0b2/tests/test_knowledge_benchmark.py +83 -0
  269. fedora_fl-2.1.0b2/tests/test_knowledge_boundaries.py +344 -0
  270. fedora_fl-2.1.0b2/tests/test_knowledge_channel.py +122 -0
  271. fedora_fl-2.1.0b2/tests/test_knowledge_experiment.py +94 -0
  272. fedora_fl-2.1.0b2/tests/test_knowledge_hardening.py +420 -0
  273. fedora_fl-2.1.0b2/tests/test_knowledge_reassessment_regressions.py +187 -0
  274. fedora_fl-2.1.0b2/tests/test_knowledge_spine.py +645 -0
  275. fedora_fl-2.1.0b2/tests/test_knowledge_threat_model.py +57 -0
  276. fedora_fl-2.1.0b2/tests/test_knowledge_transport.py +196 -0
  277. fedora_fl-2.1.0b2/tests/test_knowledge_validation_merge.py +156 -0
  278. fedora_fl-2.1.0b2/tests/test_local_mp_backend.py +31 -0
  279. fedora_fl-2.1.0b2/tests/test_logits_merger.py +208 -0
  280. fedora_fl-2.1.0b2/tests/test_lora_aggregation.py +133 -0
  281. fedora_fl-2.1.0b2/tests/test_memory_merger.py +470 -0
  282. fedora_fl-2.1.0b2/tests/test_mixed_precision_agg.py +105 -0
  283. fedora_fl-2.1.0b2/tests/test_namespaces.py +54 -0
  284. fedora_fl-2.1.0b2/tests/test_native_aggregators_parity.py +55 -0
  285. fedora_fl-2.1.0b2/tests/test_overlap_local.py +28 -0
  286. fedora_fl-2.1.0b2/tests/test_partial_training.py +216 -0
  287. fedora_fl-2.1.0b2/tests/test_phase1_knowledge_attack.py +53 -0
  288. fedora_fl-2.1.0b2/tests/test_phase2_features.py +552 -0
  289. fedora_fl-2.1.0b2/tests/test_plugins.py +37 -0
  290. fedora_fl-2.1.0b2/tests/test_policies.py +16 -0
  291. fedora_fl-2.1.0b2/tests/test_production_embedder.py +122 -0
  292. fedora_fl-2.1.0b2/tests/test_production_readiness.py +31 -0
  293. fedora_fl-2.1.0b2/tests/test_proof_verifiers.py +271 -0
  294. fedora_fl-2.1.0b2/tests/test_prototype_merger.py +186 -0
  295. fedora_fl-2.1.0b2/tests/test_ray_backend.py +27 -0
  296. fedora_fl-2.1.0b2/tests/test_receipt_hmac.py +63 -0
  297. fedora_fl-2.1.0b2/tests/test_repo_split_facades.py +48 -0
  298. fedora_fl-2.1.0b2/tests/test_resource_aware_scheduler.py +106 -0
  299. fedora_fl-2.1.0b2/tests/test_robust_numeric.py +58 -0
  300. fedora_fl-2.1.0b2/tests/test_runtime_regressions.py +537 -0
  301. fedora_fl-2.1.0b2/tests/test_sampling_group_balanced_local.py +25 -0
  302. fedora_fl-2.1.0b2/tests/test_sampling_quotas_local.py +72 -0
  303. fedora_fl-2.1.0b2/tests/test_scaffold_aux_local.py +59 -0
  304. fedora_fl-2.1.0b2/tests/test_scenario_docs.py +60 -0
  305. fedora_fl-2.1.0b2/tests/test_schema_contracts.py +106 -0
  306. fedora_fl-2.1.0b2/tests/test_secagg_shamir.py +303 -0
  307. fedora_fl-2.1.0b2/tests/test_security_demo.py +16 -0
  308. fedora_fl-2.1.0b2/tests/test_semantic_memory_benchmark.py +27 -0
  309. fedora_fl-2.1.0b2/tests/test_skill_merger.py +321 -0
  310. fedora_fl-2.1.0b2/tests/test_subprocess_evaluator.py +141 -0
  311. fedora_fl-2.1.0b2/tests/test_support_agents_benchmark.py +186 -0
  312. fedora_fl-2.1.0b2/tests/test_support_agents_reference.py +512 -0
  313. fedora_fl-2.1.0b2/tests/test_threat_model.py +177 -0
  314. fedora_fl-2.1.0b2/tests/test_tool_eval_artifacts.py +343 -0
  315. fedora_fl-2.1.0b2/tests/test_transport_auth_and_state.py +73 -0
  316. fedora_fl-2.1.0b2/tests/test_tree_reduce_helper.py +37 -0
  317. fedora_fl-2.1.0b2/tests/test_trust_manager.py +318 -0
  318. fedora_fl-2.1.0b2/tests/test_ufcg_to_flare.py +86 -0
@@ -0,0 +1,172 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined in Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means the power, direct or indirect, to cause the direction
19
+ or management of such entity, whether by contract or otherwise, or the
20
+ ownership of fifty percent (50%) or more of the outstanding shares, or
21
+ the beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
24
+ permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or Object
36
+ form, made available under the License, as indicated by a copyright
37
+ notice that is included in or attached to the work (an example is
38
+ provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original Work and any modifications thereof and derivative works
50
+ thereof, as a whole, if made available under the License.
51
+
52
+ "Contributor" shall mean Licensor and any individual or Legal Entity
53
+ on behalf of whom a Contribution has been received by Licensor and
54
+ subsequently incorporated within the Work.
55
+
56
+ "Copyright" shall mean the ownership of an original work of authorship.
57
+
58
+ 2. Grant of Copyright License. Subject to the terms and conditions of
59
+ this License, each Contributor hereby grants to You a perpetual,
60
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
61
+ copyright license to reproduce, prepare Derivative Works of,
62
+ publicly display, publicly perform, sublicense, and distribute the
63
+ Work and such Derivative Works in Source or Object form.
64
+
65
+ 3. Grant of Patent License. Subject to the terms and conditions of
66
+ this License, each Contributor hereby grants to You a perpetual,
67
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
68
+ (except as stated in this section) patent license to make, have made,
69
+ use, offer to sell, sell, import, and otherwise transfer the Work.
70
+
71
+ 4. Redistribution. You may reproduce and distribute copies of the
72
+ Work or Derivative Works thereof in any medium, with or without
73
+ modifications, and in Source or Object form, provided that You
74
+ meet the following conditions:
75
+
76
+ (a) You must give any other recipients of the Work or
77
+ Derivative Works a copy of this License; and
78
+
79
+ (b) You must cause any modified files to carry prominent notices
80
+ stating that You changed the files; and
81
+
82
+ (c) You must retain, in the Source form of any Derivative Works
83
+ that You distribute, all copyright, patent, trademark, and
84
+ attribution notices from the Source form of the Work,
85
+ excluding those notices that do not pertain to any part of
86
+ the Derivative Works; and
87
+
88
+ (d) If the Work includes a "NOTICE" text file, then any
89
+ Derivative Works that You distribute must include a readable
90
+ copy of the attribution notices contained
91
+ within such NOTICE file, excluding those notices that do not
92
+ pertain to any part of the Derivative Works, in at least one
93
+ of the following places: within a NOTICE text file distributed
94
+ as part of the Derivative Works; within the Source form or
95
+ documentation, if provided along with the Derivative Works; or,
96
+ within a display generated by the Derivative Works, if and
97
+ wherever such third-party notices normally appear. The contents
98
+ of the NOTICE file are for informational purposes only and
99
+ do not modify the License. You may add Your own attribution
100
+ notices within Derivative Works that You distribute, alongside
101
+ or as an addendum to the NOTICE from the Work, provided that
102
+ such additional attribution notices cannot be construed as
103
+ modifying the License.
104
+
105
+ You may add Your own copyright statement to Your modifications and
106
+ may provide additional or different license terms and conditions
107
+ for use, reproduction, or distribution of Your modifications, or
108
+ for any such Derivative Works as a whole, provided Your use,
109
+ reproduction, and distribution of the Work otherwise complies with
110
+ the conditions of this License.
111
+
112
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
113
+ any Contribution intentionally submitted for inclusion in the Work
114
+ by You to Licensor shall be under the terms and conditions of
115
+ this License, without additional terms or conditions.
116
+ Notwithstanding the above, nothing herein shall supersede or modify
117
+ the terms of any separate license agreement you may have executed
118
+ with Licensor regarding such Contribution.
119
+
120
+ 6. Trademarks. This License does not grant permission to use the trade
121
+ names, trademarks, service marks, or product names of the Licensor,
122
+ except as required for reasonable and customary use in describing the
123
+ origin of the Work and reproducing the content of the NOTICE file.
124
+
125
+ 7. Disclaimer of Warranty. Unless required by applicable law or
126
+ agreed to in writing, Licensor provides the Work (and each
127
+ Contributor provides its Contributions) on an "AS IS" BASIS,
128
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
129
+ implied, including, without limitation, any warranties or conditions
130
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
131
+ PARTICULAR PURPOSE. You are solely responsible for determining the
132
+ appropriateness of using or redistributing the Work and assume any
133
+ risks associated with Your exercise of permissions under this License.
134
+
135
+ 8. Limitation of Liability. In no event and under no legal theory,
136
+ whether in tort (including negligence), contract, or otherwise,
137
+ unless required by applicable law (such as deliberate and grossly
138
+ negligent acts) or agreed to in writing, shall any Contributor be
139
+ liable to You for damages, including any direct, indirect, special,
140
+ incidental, or consequential damages of any character arising as a
141
+ result of this License or out of the use or inability to use the
142
+ Work (including but not limited to damages for loss of goodwill,
143
+ work stoppage, computer failure or malfunction, or any and all
144
+ other commercial damages or losses), even if such Contributor
145
+ has been advised of the possibility of such damages.
146
+
147
+ 9. Accepting Warranty or Additional Liability. While redistributing
148
+ the Work or Derivative Works thereof, You may choose to offer,
149
+ and charge a fee for, acceptance of support, warranty, indemnity,
150
+ or other liability obligations and/or rights consistent with this
151
+ License. However, in accepting such obligations, You may act only
152
+ on Your own behalf and on Your sole responsibility, not on behalf
153
+ of any other Contributor, and only if You agree to indemnify,
154
+ defend, and hold each Contributor harmless for any liability
155
+ incurred by, or claims asserted against, such Contributor by reason
156
+ of your accepting any such warranty or additional liability.
157
+
158
+ END OF TERMS AND CONDITIONS
159
+
160
+ Copyright 2024-2026 FedoRA Contributors
161
+
162
+ Licensed under the Apache License, Version 2.0 (the "License");
163
+ you may not use this file except in compliance with the License.
164
+ You may obtain a copy of the License at
165
+
166
+ http://www.apache.org/licenses/LICENSE-2.0
167
+
168
+ Unless required by applicable law or agreed to in writing, software
169
+ distributed under the License is distributed on an "AS IS" BASIS,
170
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
171
+ See the License for the specific language governing permissions and
172
+ limitations under the License.