fse 2.0.0__tar.gz → 2.1.0__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 (1477) hide show
  1. fse-2.1.0/.agents/skills/fse-benchmark/SKILL.md +279 -0
  2. fse-2.1.0/.agents/skills/fse-benchmark/references/lessons.md +100 -0
  3. fse-2.1.0/.agents/skills/release/SKILL.md +37 -0
  4. fse-2.1.0/.agents/skills/walkthrough/SKILL.md +122 -0
  5. fse-2.1.0/.agents/skills/walkthrough/agents/openai.yaml +6 -0
  6. fse-2.1.0/.pre-commit-config.yaml +58 -0
  7. fse-2.1.0/AGENTS.md +82 -0
  8. fse-2.1.0/ARCHITECTURE.md +91 -0
  9. fse-2.1.0/CHANGELOG.md +496 -0
  10. fse-2.1.0/CONTRIBUTING.md +112 -0
  11. fse-2.1.0/Makefile +118 -0
  12. fse-2.1.0/PKG-INFO +550 -0
  13. fse-2.1.0/README.md +513 -0
  14. fse-2.1.0/SECURITY.md +13 -0
  15. fse-2.1.0/benchmarks/_allocation_profile.py +216 -0
  16. fse-2.1.0/benchmarks/_allocation_profile_environment.py +86 -0
  17. fse-2.1.0/benchmarks/_development_budget.py +30 -0
  18. fse-2.1.0/benchmarks/_development_calibrate.py +176 -0
  19. fse-2.1.0/benchmarks/_development_config.py +438 -0
  20. fse-2.1.0/benchmarks/_development_data.py +359 -0
  21. fse-2.1.0/benchmarks/_development_decision.py +169 -0
  22. fse-2.1.0/benchmarks/_development_descriptive.py +96 -0
  23. fse-2.1.0/benchmarks/_development_encode.py +191 -0
  24. fse-2.1.0/benchmarks/_development_file_resources.py +39 -0
  25. fse-2.1.0/benchmarks/_development_filter_memory.py +151 -0
  26. fse-2.1.0/benchmarks/_development_functional.py +178 -0
  27. fse-2.1.0/benchmarks/_development_heads.py +192 -0
  28. fse-2.1.0/benchmarks/_development_heads_multi.py +268 -0
  29. fse-2.1.0/benchmarks/_development_heads_scores.py +315 -0
  30. fse-2.1.0/benchmarks/_development_heavy.py +243 -0
  31. fse-2.1.0/benchmarks/_development_identity.py +204 -0
  32. fse-2.1.0/benchmarks/_development_identity_run.py +243 -0
  33. fse-2.1.0/benchmarks/_development_ids.py +101 -0
  34. fse-2.1.0/benchmarks/_development_lengths.py +264 -0
  35. fse-2.1.0/benchmarks/_development_locks.py +175 -0
  36. fse-2.1.0/benchmarks/_development_measure.py +208 -0
  37. fse-2.1.0/benchmarks/_development_memory.py +74 -0
  38. fse-2.1.0/benchmarks/_development_pairs.py +177 -0
  39. fse-2.1.0/benchmarks/_development_path_evidence.py +122 -0
  40. fse-2.1.0/benchmarks/_development_prefilter_search.py +92 -0
  41. fse-2.1.0/benchmarks/_development_preflight.py +180 -0
  42. fse-2.1.0/benchmarks/_development_probe_store.py +58 -0
  43. fse-2.1.0/benchmarks/_development_process.py +217 -0
  44. fse-2.1.0/benchmarks/_development_profile.py +331 -0
  45. fse-2.1.0/benchmarks/_development_profile_origin.py +114 -0
  46. fse-2.1.0/benchmarks/_development_profile_probe.py +68 -0
  47. fse-2.1.0/benchmarks/_development_profile_selection.py +87 -0
  48. fse-2.1.0/benchmarks/_development_queue.py +141 -0
  49. fse-2.1.0/benchmarks/_development_records.py +145 -0
  50. fse-2.1.0/benchmarks/_development_repeat.py +37 -0
  51. fse-2.1.0/benchmarks/_development_rescore.py +217 -0
  52. fse-2.1.0/benchmarks/_development_rescore_run.py +98 -0
  53. fse-2.1.0/benchmarks/_development_resources.py +139 -0
  54. fse-2.1.0/benchmarks/_development_reuse.py +111 -0
  55. fse-2.1.0/benchmarks/_development_run.py +214 -0
  56. fse-2.1.0/benchmarks/_development_search.py +50 -0
  57. fse-2.1.0/benchmarks/_development_search_filters.py +33 -0
  58. fse-2.1.0/benchmarks/_development_search_reference.py +91 -0
  59. fse-2.1.0/benchmarks/_development_search_sizing.py +41 -0
  60. fse-2.1.0/benchmarks/_development_stages.py +103 -0
  61. fse-2.1.0/benchmarks/_development_statistics.py +132 -0
  62. fse-2.1.0/benchmarks/_development_store.py +173 -0
  63. fse-2.1.0/benchmarks/_development_system.py +210 -0
  64. fse-2.1.0/benchmarks/_development_token_reference.py +86 -0
  65. fse-2.1.0/benchmarks/_harness/__init__.py +7 -0
  66. fse-2.1.0/benchmarks/_harness/allocation.py +330 -0
  67. fse-2.1.0/benchmarks/_harness/budget.py +212 -0
  68. fse-2.1.0/benchmarks/_harness/cgroup.py +134 -0
  69. fse-2.1.0/benchmarks/_harness/collect.py +56 -0
  70. fse-2.1.0/benchmarks/_harness/controls.py +279 -0
  71. fse-2.1.0/benchmarks/_harness/decide.py +169 -0
  72. fse-2.1.0/benchmarks/_harness/functional.py +52 -0
  73. fse-2.1.0/benchmarks/_harness/host_quiet.py +109 -0
  74. fse-2.1.0/benchmarks/_harness/ledger.py +142 -0
  75. fse-2.1.0/benchmarks/_harness/machine.py +218 -0
  76. fse-2.1.0/benchmarks/_harness/prerequisites.py +167 -0
  77. fse-2.1.0/benchmarks/_harness/pressure.py +152 -0
  78. fse-2.1.0/benchmarks/_harness/profile.py +232 -0
  79. fse-2.1.0/benchmarks/_harness/profile_exit.py +123 -0
  80. fse-2.1.0/benchmarks/_harness/profile_tools.py +163 -0
  81. fse-2.1.0/benchmarks/_harness/records.py +115 -0
  82. fse-2.1.0/benchmarks/_harness/resources.py +96 -0
  83. fse-2.1.0/benchmarks/_harness/search.py +83 -0
  84. fse-2.1.0/benchmarks/_harness/spec.py +120 -0
  85. fse-2.1.0/benchmarks/_harness/telemetry.py +39 -0
  86. fse-2.1.0/benchmarks/_measurement.py +126 -0
  87. fse-2.1.0/benchmarks/_measurement_claims.py +47 -0
  88. fse-2.1.0/benchmarks/_measurement_config.py +103 -0
  89. fse-2.1.0/benchmarks/_measurement_rehearse.py +47 -0
  90. fse-2.1.0/benchmarks/_measurement_setup.py +214 -0
  91. fse-2.1.0/benchmarks/_prefilter_decision.py +77 -0
  92. fse-2.1.0/benchmarks/_prefilter_decision_evidence.py +426 -0
  93. fse-2.1.0/benchmarks/_quality/binary2_child.py +218 -0
  94. fse-2.1.0/benchmarks/_quality/binary2_decision.py +81 -0
  95. fse-2.1.0/benchmarks/_quality/binary_child.py +153 -0
  96. fse-2.1.0/benchmarks/_quality/binary_decision.py +49 -0
  97. fse-2.1.0/benchmarks/_quality/binary_inputs.py +47 -0
  98. fse-2.1.0/benchmarks/_quality/binary_run.py +153 -0
  99. fse-2.1.0/benchmarks/_quality/checks.py +19 -0
  100. fse-2.1.0/benchmarks/_quality/development.py +213 -0
  101. fse-2.1.0/benchmarks/_quality/development_child.py +146 -0
  102. fse-2.1.0/benchmarks/_quality/fit.py +249 -0
  103. fse-2.1.0/benchmarks/_quality/gpu.py +285 -0
  104. fse-2.1.0/benchmarks/_quality/guard.py +197 -0
  105. fse-2.1.0/benchmarks/_quality/identity.py +169 -0
  106. fse-2.1.0/benchmarks/_quality/languages.py +324 -0
  107. fse-2.1.0/benchmarks/_quality/local.py +282 -0
  108. fse-2.1.0/benchmarks/_quality/mteb.py +289 -0
  109. fse-2.1.0/benchmarks/_quality/prefilter.py +198 -0
  110. fse-2.1.0/benchmarks/_quality/prefilter_child.py +160 -0
  111. fse-2.1.0/benchmarks/_quality/prefilter_count.py +127 -0
  112. fse-2.1.0/benchmarks/_quality/prefilter_decision.py +61 -0
  113. fse-2.1.0/benchmarks/_quality/prefilter_inputs.py +66 -0
  114. fse-2.1.0/benchmarks/_quality/prefilter_queries.py +63 -0
  115. fse-2.1.0/benchmarks/_quality/prefilter_run.py +188 -0
  116. fse-2.1.0/benchmarks/_quality/probe.py +102 -0
  117. fse-2.1.0/benchmarks/_quality/prompts.py +168 -0
  118. fse-2.1.0/benchmarks/_quality/provenance.py +65 -0
  119. fse-2.1.0/benchmarks/_quality/published.py +122 -0
  120. fse-2.1.0/benchmarks/_quality/rerank.py +227 -0
  121. fse-2.1.0/benchmarks/_quality/rerank_data.py +74 -0
  122. fse-2.1.0/benchmarks/_quality/rerank_scores.py +108 -0
  123. fse-2.1.0/benchmarks/_quality/rerank_stages.py +117 -0
  124. fse-2.1.0/benchmarks/_quality/rerank_store.py +332 -0
  125. fse-2.1.0/benchmarks/_quality/rerank_summary.py +74 -0
  126. fse-2.1.0/benchmarks/_quality/suites.py +114 -0
  127. fse-2.1.0/benchmarks/_quality/summary.py +128 -0
  128. fse-2.1.0/benchmarks/_speed_cells.py +285 -0
  129. fse-2.1.0/benchmarks/_speed_gpu.py +371 -0
  130. fse-2.1.0/benchmarks/_speed_gpu_study.py +134 -0
  131. fse-2.1.0/benchmarks/_speed_heads.py +169 -0
  132. fse-2.1.0/benchmarks/_speed_heads_sinks.py +202 -0
  133. fse-2.1.0/benchmarks/_speed_heads_study.py +224 -0
  134. fse-2.1.0/benchmarks/_speed_pipeline.py +493 -0
  135. fse-2.1.0/benchmarks/_speed_predict.py +470 -0
  136. fse-2.1.0/benchmarks/_speed_profile.py +126 -0
  137. fse-2.1.0/benchmarks/_speed_protocol.py +215 -0
  138. fse-2.1.0/benchmarks/_speed_run.py +494 -0
  139. fse-2.1.0/benchmarks/_speed_search.py +170 -0
  140. fse-2.1.0/benchmarks/_speed_search_child.py +130 -0
  141. fse-2.1.0/benchmarks/_speed_search_identity.py +50 -0
  142. fse-2.1.0/benchmarks/_speed_search_plan.py +115 -0
  143. fse-2.1.0/benchmarks/_speed_search_run.py +262 -0
  144. fse-2.1.0/benchmarks/_speed_search_sources.py +154 -0
  145. fse-2.1.0/benchmarks/_speed_transformer.py +192 -0
  146. fse-2.1.0/benchmarks/_speed_versions.py +46 -0
  147. fse-2.1.0/benchmarks/_speed_write.py +194 -0
  148. fse-2.1.0/benchmarks/_speed_write_pair.py +219 -0
  149. fse-2.1.0/benchmarks/baseline/README.md +79 -0
  150. fse-2.1.0/benchmarks/baseline/dr157/POST_UPLOAD.md +62 -0
  151. fse-2.1.0/benchmarks/baseline/dr157/RELEASE_CARDS.md +68 -0
  152. fse-2.1.0/benchmarks/baseline/dr230/README.md +64 -0
  153. fse-2.1.0/benchmarks/baseline/dr230/final-SHA256SUMS.json +53 -0
  154. fse-2.1.0/benchmarks/baseline/dr230/final-config.json +78 -0
  155. fse-2.1.0/benchmarks/baseline/dr230/final-gates.json +42 -0
  156. fse-2.1.0/benchmarks/baseline/dr230/final-metrics.json +312 -0
  157. fse-2.1.0/benchmarks/baseline/dr230/final-model-card.md +79 -0
  158. fse-2.1.0/benchmarks/baseline/dr230/final-selection.json +151 -0
  159. fse-2.1.0/benchmarks/baseline/dr230/final-verified.json +53 -0
  160. fse-2.1.0/benchmarks/baseline/dr230/full-memory-admission.json +30 -0
  161. fse-2.1.0/benchmarks/baseline/dr230/full-protocol.md +86 -0
  162. fse-2.1.0/benchmarks/baseline/dr230/lbfgs-outcome.json +40 -0
  163. fse-2.1.0/benchmarks/baseline/dr230/probe.json +42 -0
  164. fse-2.1.0/benchmarks/baseline/dr230/protocol.md +39 -0
  165. fse-2.1.0/benchmarks/baseline/dr230/selection.json +573 -0
  166. fse-2.1.0/benchmarks/baseline/dr230/sgd-C0.1-validation.json +82 -0
  167. fse-2.1.0/benchmarks/baseline/dr230/sgd-C1.0-validation.json +82 -0
  168. fse-2.1.0/benchmarks/baseline/dr230/sgd-C10.0-validation.json +82 -0
  169. fse-2.1.0/benchmarks/baseline/dr230/sgd-comparison.json +394 -0
  170. fse-2.1.0/benchmarks/baseline/dr230/sgd-probe.json +82 -0
  171. fse-2.1.0/benchmarks/baseline/dr230/sgd-protocol.md +160 -0
  172. fse-2.1.0/benchmarks/baseline/dr230/sgd-validation.md +74 -0
  173. fse-2.1.0/benchmarks/baseline/dr230/threshold-proposal.json +137 -0
  174. fse-2.1.0/benchmarks/baseline/dr230/verified.json +48 -0
  175. fse-2.1.0/benchmarks/baseline/dr318/bekko-memory-plan.json +1 -0
  176. fse-2.1.0/benchmarks/baseline/dr318/bekko-train-lengths.json +1 -0
  177. fse-2.1.0/benchmarks/baseline/dr318/bekko-validation-lengths.json +1 -0
  178. fse-2.1.0/benchmarks/baseline/dr318/cards/prompt-categories.md +117 -0
  179. fse-2.1.0/benchmarks/baseline/dr318/cards/prompt-safety.md +93 -0
  180. fse-2.1.0/benchmarks/baseline/dr318/compatibility.json +1 -0
  181. fse-2.1.0/benchmarks/baseline/dr318/config.json +1 -0
  182. fse-2.1.0/benchmarks/baseline/dr318/data-report.json +1 -0
  183. fse-2.1.0/benchmarks/baseline/dr318/encoder-sources.json +1 -0
  184. fse-2.1.0/benchmarks/baseline/dr318/frozen.json +1 -0
  185. fse-2.1.0/benchmarks/baseline/dr318/input-checksums.json +1 -0
  186. fse-2.1.0/benchmarks/baseline/dr318/licenses.json +1 -0
  187. fse-2.1.0/benchmarks/baseline/dr318/manifest.sha256 +26 -0
  188. fse-2.1.0/benchmarks/baseline/dr318/metrics.json +1 -0
  189. fse-2.1.0/benchmarks/baseline/dr318/night-job-ended.json +7 -0
  190. fse-2.1.0/benchmarks/baseline/dr318/night-job.json +44 -0
  191. fse-2.1.0/benchmarks/baseline/dr318/potion-memory-plan.json +1 -0
  192. fse-2.1.0/benchmarks/baseline/dr318/potion-train-lengths.json +1 -0
  193. fse-2.1.0/benchmarks/baseline/dr318/potion-validation-lengths.json +1 -0
  194. fse-2.1.0/benchmarks/baseline/dr318/probe.json +64 -0
  195. fse-2.1.0/benchmarks/baseline/dr318/selection.json +1 -0
  196. fse-2.1.0/benchmarks/baseline/dr318/staging-provenance.json +1 -0
  197. fse-2.1.0/benchmarks/baseline/dr318/staging-verification.json +31 -0
  198. fse-2.1.0/benchmarks/baseline/dr318/started.json +1 -0
  199. fse-2.1.0/benchmarks/baseline/dr318/test-lengths.json +1 -0
  200. fse-2.1.0/benchmarks/baseline/dr318/text-scan-diagnosis.json +1 -0
  201. fse-2.1.0/benchmarks/baseline/dr318/verification.json +1 -0
  202. fse-2.1.0/benchmarks/baseline/dr342/manifest.sha256 +3 -0
  203. fse-2.1.0/benchmarks/baseline/dr342/naming-verification.json +1 -0
  204. fse-2.1.0/benchmarks/baseline/dr342/staging.json +1 -0
  205. fse-2.1.0/benchmarks/baseline/dr342/text-scan-diagnosis.json +1 -0
  206. fse-2.1.0/benchmarks/config/allocation-gpu-quality-a40.json +92 -0
  207. fse-2.1.0/benchmarks/config/allocation-gpu-quality-rtx6000ada.json +92 -0
  208. fse-2.1.0/benchmarks/config/allocation-gpu-quality.json +92 -0
  209. fse-2.1.0/benchmarks/config/allocation-gpu.json +103 -0
  210. fse-2.1.0/benchmarks/config/allocation-headline-aws.json +93 -0
  211. fse-2.1.0/benchmarks/config/allocation-headline-nvme-aws.json +93 -0
  212. fse-2.1.0/benchmarks/config/allocation-prefilter-x86.json +198 -0
  213. fse-2.1.0/benchmarks/config/allocation-readme-aws.json +207 -0
  214. fse-2.1.0/benchmarks/config/allocation-readme-st16-aws.json +91 -0
  215. fse-2.1.0/benchmarks/config/allocation-readme.json +207 -0
  216. fse-2.1.0/benchmarks/config/allocation-versions.json +147 -0
  217. fse-2.1.0/benchmarks/config/allocation.json +168 -0
  218. fse-2.1.0/benchmarks/config/aws/user-data.sh +38 -0
  219. fse-2.1.0/benchmarks/config/binary-recall-2-local.json +30 -0
  220. fse-2.1.0/benchmarks/config/binary-recall-2-probe-local.json +30 -0
  221. fse-2.1.0/benchmarks/config/binary-recall-local.json +26 -0
  222. fse-2.1.0/benchmarks/config/bootstrap.sh +108 -0
  223. fse-2.1.0/benchmarks/config/development.json +102 -0
  224. fse-2.1.0/benchmarks/config/document-ids-1m-local.json +73 -0
  225. fse-2.1.0/benchmarks/config/document-ids-local.json +65 -0
  226. fse-2.1.0/benchmarks/config/document-ids-order-cost-local.json +28 -0
  227. fse-2.1.0/benchmarks/config/document-ids-store-local.json +54 -0
  228. fse-2.1.0/benchmarks/config/document-search-cost-local.json +61 -0
  229. fse-2.1.0/benchmarks/config/document-search-unfiltered-local.json +34 -0
  230. fse-2.1.0/benchmarks/config/document-search-unique-local.json +63 -0
  231. fse-2.1.0/benchmarks/config/int8-prefilter-local.json +34 -0
  232. fse-2.1.0/benchmarks/config/int8-prefilter-search-local.json +69 -0
  233. fse-2.1.0/benchmarks/config/int8-prefilter-search-x86.json +55 -0
  234. fse-2.1.0/benchmarks/config/length-report-local.json +56 -0
  235. fse-2.1.0/benchmarks/config/linear-heads-candidate-local.json +18 -0
  236. fse-2.1.0/benchmarks/config/linear-heads-local.json +50 -0
  237. fse-2.1.0/benchmarks/config/linear-heads-multi-local.json +116 -0
  238. fse-2.1.0/benchmarks/config/linear-heads-scores-local.json +30 -0
  239. fse-2.1.0/benchmarks/config/linear-heads-vector-scores-local.json +50 -0
  240. fse-2.1.0/benchmarks/config/pins.json +69 -0
  241. fse-2.1.0/benchmarks/config/profile-cpu.lock.txt +9 -0
  242. fse-2.1.0/benchmarks/config/profile.lock.txt +247 -0
  243. fse-2.1.0/benchmarks/config/quality-gpu-qwen3-long.json +81 -0
  244. fse-2.1.0/benchmarks/config/quality-gpu.json +91 -0
  245. fse-2.1.0/benchmarks/config/quality-local.json +36 -0
  246. fse-2.1.0/benchmarks/config/quality.in +80 -0
  247. fse-2.1.0/benchmarks/config/quality.json +986 -0
  248. fse-2.1.0/benchmarks/config/quality.lock.txt +2835 -0
  249. fse-2.1.0/benchmarks/config/rerank-local.json +99 -0
  250. fse-2.1.0/benchmarks/config/rerank.in +5 -0
  251. fse-2.1.0/benchmarks/config/rescore-cost-local.json +17 -0
  252. fse-2.1.0/benchmarks/config/resume-identity-local.json +22 -0
  253. fse-2.1.0/benchmarks/config/retrieval-formats-local.json +135 -0
  254. fse-2.1.0/benchmarks/config/speed-base.lock.txt +2269 -0
  255. fse-2.1.0/benchmarks/config/speed-gpu.in +78 -0
  256. fse-2.1.0/benchmarks/config/speed-gpu.lock.txt +2642 -0
  257. fse-2.1.0/benchmarks/config/speed-headline-predict-aws.json +1192 -0
  258. fse-2.1.0/benchmarks/config/speed-main.lock.txt +2269 -0
  259. fse-2.1.0/benchmarks/config/speed-prefilter-f32.json +174 -0
  260. fse-2.1.0/benchmarks/config/speed-readme-st16-aws.json +1072 -0
  261. fse-2.1.0/benchmarks/config/speed.json +1222 -0
  262. fse-2.1.0/benchmarks/docker/Dockerfile +32 -0
  263. fse-2.1.0/benchmarks/docker/Dockerfile.dockerignore +13 -0
  264. fse-2.1.0/benchmarks/hub-classics-requirements.txt +6 -0
  265. fse-2.1.0/benchmarks/quality.py +332 -0
  266. fse-2.1.0/benchmarks/speed.py +168 -0
  267. fse-2.1.0/changelog.d/README.md +35 -0
  268. fse-2.1.0/changelog.d/template.md +9 -0
  269. fse-2.1.0/docs/README.md +37 -0
  270. fse-2.1.0/docs/architecture/backends.md +21 -0
  271. fse-2.1.0/docs/architecture/document-ids.md +195 -0
  272. fse-2.1.0/docs/architecture/formats.md +222 -0
  273. fse-2.1.0/docs/architecture/hub.md +94 -0
  274. fse-2.1.0/docs/architecture/logging.md +65 -0
  275. fse-2.1.0/docs/architecture/numerical-contract.md +205 -0
  276. fse-2.1.0/docs/architecture/persistence.md +29 -0
  277. fse-2.1.0/docs/architecture/process.md +268 -0
  278. fse-2.1.0/docs/architecture/runtime.md +84 -0
  279. fse-2.1.0/docs/architecture/scores.md +168 -0
  280. fse-2.1.0/docs/architecture/store.md +243 -0
  281. fse-2.1.0/docs/architecture/text.md +14 -0
  282. fse-2.1.0/docs/architecture/tokenizers.md +204 -0
  283. fse-2.1.0/docs/benchmarks/measurement.md +2506 -0
  284. fse-2.1.0/docs/benchmarks/readme-evidence.md +150 -0
  285. fse-2.1.0/docs/benchmarks/readme-speed.json +346 -0
  286. fse-2.1.0/docs/benchmarks/readme-transformers.json +434 -0
  287. fse-2.1.0/docs/document-ids.md +197 -0
  288. fse-2.1.0/docs/external-indexes.md +89 -0
  289. fse-2.1.0/docs/fse-comparison.md +127 -0
  290. fse-2.1.0/docs/migrating-from-1x.md +328 -0
  291. fse-2.1.0/integrations/README.md +83 -0
  292. fse-2.1.0/integrations/check_published.py +33 -0
  293. fse-2.1.0/integrations/fse-haystack/CHANGELOG.md +26 -0
  294. fse-2.1.0/integrations/fse-haystack/README.md +134 -0
  295. fse-2.1.0/integrations/fse-haystack/pyproject.toml +33 -0
  296. fse-2.1.0/integrations/fse-haystack/src/haystack_integrations/components/embedders/fse/__init__.py +117 -0
  297. fse-2.1.0/integrations/fse-haystack/src/haystack_integrations/components/embedders/fse/_checks.py +53 -0
  298. fse-2.1.0/integrations/fse-haystack/tests/test_api.py +123 -0
  299. fse-2.1.0/integrations/fse-haystack/tests/test_checks.py +100 -0
  300. fse-2.1.0/integrations/langchain-fse/CHANGELOG.md +26 -0
  301. fse-2.1.0/integrations/langchain-fse/README.md +119 -0
  302. fse-2.1.0/integrations/langchain-fse/pyproject.toml +33 -0
  303. fse-2.1.0/integrations/langchain-fse/src/langchain_fse/__init__.py +52 -0
  304. fse-2.1.0/integrations/langchain-fse/src/langchain_fse/_checks.py +53 -0
  305. fse-2.1.0/integrations/langchain-fse/src/langchain_fse/py.typed +0 -0
  306. fse-2.1.0/integrations/langchain-fse/tests/test_checks.py +100 -0
  307. fse-2.1.0/integrations/llama-index-embeddings-fse/CHANGELOG.md +28 -0
  308. fse-2.1.0/integrations/llama-index-embeddings-fse/README.md +134 -0
  309. fse-2.1.0/integrations/llama-index-embeddings-fse/pyproject.toml +33 -0
  310. fse-2.1.0/integrations/llama-index-embeddings-fse/src/llama_index/embeddings/fse/__init__.py +111 -0
  311. fse-2.1.0/integrations/llama-index-embeddings-fse/src/llama_index/embeddings/fse/_checks.py +53 -0
  312. fse-2.1.0/integrations/llama-index-embeddings-fse/src/llama_index/embeddings/fse/_framework_checks.py +34 -0
  313. fse-2.1.0/integrations/llama-index-embeddings-fse/src/llama_index/embeddings/fse/py.typed +0 -0
  314. fse-2.1.0/integrations/llama-index-embeddings-fse/tests/test_checks.py +100 -0
  315. fse-2.1.0/integrations/llama-index-embeddings-fse/tests/test_configuration.py +110 -0
  316. fse-2.1.0/pyproject.toml +799 -0
  317. fse-2.1.0/recipes/00-fse-101.ipynb +585 -0
  318. fse-2.1.0/recipes/01-sif-usif.ipynb +380 -0
  319. fse-2.1.0/recipes/02-linear-heads.ipynb +670 -0
  320. fse-2.1.0/recipes/03-files-with-resume.ipynb +415 -0
  321. fse-2.1.0/recipes/04-kafka-and-qdrant.ipynb +453 -0
  322. fse-2.1.0/recipes/05-folder-listener.ipynb +387 -0
  323. fse-2.1.0/recipes/06-integrations.ipynb +863 -0
  324. fse-2.1.0/recipes/07-local-compute-and-http.ipynb +371 -0
  325. fse-2.1.0/recipes/08-folded-classifier.ipynb +588 -0
  326. fse-2.1.0/recipes/09-fse-behind-kafka.ipynb +327 -0
  327. fse-2.1.0/recipes/10-external-ann-indexes.ipynb +785 -0
  328. fse-2.1.0/recipes/11-reranker-candidates.ipynb +396 -0
  329. fse-2.1.0/recipes/12-fastapi-search.ipynb +785 -0
  330. fse-2.1.0/recipes/13-filter-texts.ipynb +510 -0
  331. fse-2.1.0/recipes/README.md +142 -0
  332. fse-2.1.0/recipes/_ann.py +168 -0
  333. fse-2.1.0/recipes/_rerank.py +69 -0
  334. fse-2.1.0/recipes/_speed.py +152 -0
  335. fse-2.1.0/recipes/requirements.txt +41 -0
  336. fse-2.1.0/setup.py +96 -0
  337. fse-2.1.0/src/fse/__init__.py +148 -0
  338. fse-2.1.0/src/fse/_backends/_base.py +377 -0
  339. fse-2.1.0/src/fse/_backends/_base_checks.py +314 -0
  340. fse-2.1.0/src/fse/_backends/_base_head.py +51 -0
  341. fse-2.1.0/src/fse/_backends/_cpu.py +248 -0
  342. fse-2.1.0/src/fse/_backends/_numpy.py +198 -0
  343. fse-2.1.0/src/fse/_container/__init__.py +91 -0
  344. fse-2.1.0/src/fse/_container/_common.py +418 -0
  345. fse-2.1.0/src/fse/_container/_npy.py +363 -0
  346. fse-2.1.0/src/fse/_contract.py +313 -0
  347. fse-2.1.0/src/fse/_encoder/__init__.py +14 -0
  348. fse-2.1.0/src/fse/_encoder/_batches.py +283 -0
  349. fse-2.1.0/src/fse/_encoder/_card.py +268 -0
  350. fse-2.1.0/src/fse/_encoder/_doc_ids.py +173 -0
  351. fse-2.1.0/src/fse/_encoder/_encode.py +410 -0
  352. fse-2.1.0/src/fse/_encoder/_encoder.py +428 -0
  353. fse-2.1.0/src/fse/_encoder/_files.py +211 -0
  354. fse-2.1.0/src/fse/_encoder/_folder.py +239 -0
  355. fse-2.1.0/src/fse/_encoder/_format_tokenizer.py +140 -0
  356. fse-2.1.0/src/fse/_encoder/_inputs.py +83 -0
  357. fse-2.1.0/src/fse/_encoder/_model2vec.py +203 -0
  358. fse-2.1.0/src/fse/_encoder/_persist.py +221 -0
  359. fse-2.1.0/src/fse/_encoder/_positions.py +254 -0
  360. fse-2.1.0/src/fse/_encoder/_pretrained.py +392 -0
  361. fse-2.1.0/src/fse/_encoder/_resume.py +285 -0
  362. fse-2.1.0/src/fse/_encoder/_sentence_transformers.py +236 -0
  363. fse-2.1.0/src/fse/_head/__init__.py +14 -0
  364. fse-2.1.0/src/fse/_head/_calibration.py +94 -0
  365. fse-2.1.0/src/fse/_head/_classifier.py +283 -0
  366. fse-2.1.0/src/fse/_head/_content.py +191 -0
  367. fse-2.1.0/src/fse/_head/_derive.py +73 -0
  368. fse-2.1.0/src/fse/_head/_format.py +308 -0
  369. fse-2.1.0/src/fse/_head/_heads.py +200 -0
  370. fse-2.1.0/src/fse/_head/_heads_predict.py +463 -0
  371. fse-2.1.0/src/fse/_head/_heads_run.py +238 -0
  372. fse-2.1.0/src/fse/_head/_lone_run.py +113 -0
  373. fse-2.1.0/src/fse/_head/_model.py +473 -0
  374. fse-2.1.0/src/fse/_head/_model2vec.py +119 -0
  375. fse-2.1.0/src/fse/_head/_model2vec_files.py +147 -0
  376. fse-2.1.0/src/fse/_head/_model2vec_objects.py +162 -0
  377. fse-2.1.0/src/fse/_head/_model_hub.py +82 -0
  378. fse-2.1.0/src/fse/_head/_outputs.py +89 -0
  379. fse-2.1.0/src/fse/_head/_positions_run.py +325 -0
  380. fse-2.1.0/src/fse/_head/_predict.py +427 -0
  381. fse-2.1.0/src/fse/_head/_predict_scores.py +241 -0
  382. fse-2.1.0/src/fse/_head/_regressor.py +91 -0
  383. fse-2.1.0/src/fse/_head/_regressor_predict.py +486 -0
  384. fse-2.1.0/src/fse/_head/_resume_run.py +468 -0
  385. fse-2.1.0/src/fse/_head/_run.py +356 -0
  386. fse-2.1.0/src/fse/_head/_score_target.py +180 -0
  387. fse-2.1.0/src/fse/_head/_sink_run.py +296 -0
  388. fse-2.1.0/src/fse/_head/_sklearn.py +329 -0
  389. fse-2.1.0/src/fse/_head/_sklearn_calibrated.py +143 -0
  390. fse-2.1.0/src/fse/_head/_sklearn_ovr.py +68 -0
  391. fse-2.1.0/src/fse/_head/_thresholds.py +70 -0
  392. fse-2.1.0/src/fse/_ids.py +36 -0
  393. fse-2.1.0/src/fse/_log.py +137 -0
  394. fse-2.1.0/src/fse/_native.pyi +331 -0
  395. fse-2.1.0/src/fse/_native.pyx +53 -0
  396. fse-2.1.0/src/fse/_native_src/_native_buffer.pxi +52 -0
  397. fse-2.1.0/src/fse/_native_src/_native_task.pxi +435 -0
  398. fse-2.1.0/src/fse/_native_src/kernel/_native_head.pxi +175 -0
  399. fse-2.1.0/src/fse/_native_src/kernel/_native_kernel.h +149 -0
  400. fse-2.1.0/src/fse/_native_src/kernel/_native_kernel.pxi +290 -0
  401. fse-2.1.0/src/fse/_native_src/kernel/_native_kernel_head.h +363 -0
  402. fse-2.1.0/src/fse/_native_src/kernel/_native_kernel_int8.h +271 -0
  403. fse-2.1.0/src/fse/_native_src/kernel/_native_kernel_prefilter.h +252 -0
  404. fse-2.1.0/src/fse/_native_src/kernel/_native_prefilter.pxi +188 -0
  405. fse-2.1.0/src/fse/_native_src/kernel/_native_store.pxi +71 -0
  406. fse-2.1.0/src/fse/_native_src/text/_native_arrow.h +160 -0
  407. fse-2.1.0/src/fse/_native_src/text/_native_arrow.pxi +308 -0
  408. fse-2.1.0/src/fse/_native_src/text/_native_arrow_column.pxi +494 -0
  409. fse-2.1.0/src/fse/_native_src/text/_native_arrow_ids.pxi +149 -0
  410. fse-2.1.0/src/fse/_native_src/text/_native_scan.pxi +184 -0
  411. fse-2.1.0/src/fse/_native_src/text/_native_text.pxi +433 -0
  412. fse-2.1.0/src/fse/_native_src/text/_native_text_watched.pxi +369 -0
  413. fse-2.1.0/src/fse/_native_src/text/_native_wordpiece.h +353 -0
  414. fse-2.1.0/src/fse/_native_src/text/_native_workspace.pxi +164 -0
  415. fse-2.1.0/src/fse/_partition.py +28 -0
  416. fse-2.1.0/src/fse/_reference.py +347 -0
  417. fse-2.1.0/src/fse/_reference_bits.py +210 -0
  418. fse-2.1.0/src/fse/_reference_head.py +189 -0
  419. fse-2.1.0/src/fse/_reference_prefilter.py +271 -0
  420. fse-2.1.0/src/fse/_reference_unigram.py +337 -0
  421. fse-2.1.0/src/fse/_reference_wordpiece.py +264 -0
  422. fse-2.1.0/src/fse/_runtime/__init__.py +63 -0
  423. fse-2.1.0/src/fse/_runtime/_executor.py +349 -0
  424. fse-2.1.0/src/fse/_runtime/_head.py +196 -0
  425. fse-2.1.0/src/fse/_runtime/_head_common.py +168 -0
  426. fse-2.1.0/src/fse/_runtime/_head_spec.py +98 -0
  427. fse-2.1.0/src/fse/_runtime/_heads.py +313 -0
  428. fse-2.1.0/src/fse/_runtime/_heads_errors.py +103 -0
  429. fse-2.1.0/src/fse/_runtime/_heads_plan.py +276 -0
  430. fse-2.1.0/src/fse/_runtime/_heads_targets.py +155 -0
  431. fse-2.1.0/src/fse/_runtime/_lengths.py +236 -0
  432. fse-2.1.0/src/fse/_runtime/_pipeline.py +424 -0
  433. fse-2.1.0/src/fse/_runtime/_pool.py +289 -0
  434. fse-2.1.0/src/fse/_runtime/_sinks.py +270 -0
  435. fse-2.1.0/src/fse/_runtime/_spec.py +121 -0
  436. fse-2.1.0/src/fse/_runtime/_tasks.py +152 -0
  437. fse-2.1.0/src/fse/_scores/__init__.py +7 -0
  438. fse-2.1.0/src/fse/_scores/_batches.py +33 -0
  439. fse-2.1.0/src/fse/_scores/_predict.py +138 -0
  440. fse-2.1.0/src/fse/_scores/_schema.py +205 -0
  441. fse-2.1.0/src/fse/_scores/_scorestore.py +500 -0
  442. fse-2.1.0/src/fse/_scores/_sink.py +414 -0
  443. fse-2.1.0/src/fse/_static_model/_arguments.py +133 -0
  444. fse-2.1.0/src/fse/_static_model/_model.py +365 -0
  445. fse-2.1.0/src/fse/_static_model/_tokenizer.py +116 -0
  446. fse-2.1.0/src/fse/_store/__init__.py +29 -0
  447. fse-2.1.0/src/fse/_store/_add_bits.py +84 -0
  448. fse-2.1.0/src/fse/_store/_anchors.py +63 -0
  449. fse-2.1.0/src/fse/_store/_base_sink.py +410 -0
  450. fse-2.1.0/src/fse/_store/_binary_search.py +303 -0
  451. fse-2.1.0/src/fse/_store/_bits_format.py +270 -0
  452. fse-2.1.0/src/fse/_store/_bits_write.py +184 -0
  453. fse-2.1.0/src/fse/_store/_bits_writer.py +64 -0
  454. fse-2.1.0/src/fse/_store/_columns.py +131 -0
  455. fse-2.1.0/src/fse/_store/_filtered.py +92 -0
  456. fse-2.1.0/src/fse/_store/_id_stats.py +94 -0
  457. fse-2.1.0/src/fse/_store/_id_writer.py +22 -0
  458. fse-2.1.0/src/fse/_store/_kind.py +96 -0
  459. fse-2.1.0/src/fse/_store/_kinds.py +51 -0
  460. fse-2.1.0/src/fse/_store/_layout.py +230 -0
  461. fse-2.1.0/src/fse/_store/_position_format.py +141 -0
  462. fse-2.1.0/src/fse/_store/_prefilter.py +282 -0
  463. fse-2.1.0/src/fse/_store/_recovery.py +221 -0
  464. fse-2.1.0/src/fse/_store/_refresh.py +85 -0
  465. fse-2.1.0/src/fse/_store/_repair.py +256 -0
  466. fse-2.1.0/src/fse/_store/_rescore.py +265 -0
  467. fse-2.1.0/src/fse/_store/_result.py +66 -0
  468. fse-2.1.0/src/fse/_store/_resume_format.py +186 -0
  469. fse-2.1.0/src/fse/_store/_score_shard.py +97 -0
  470. fse-2.1.0/src/fse/_store/_scores_format.py +269 -0
  471. fse-2.1.0/src/fse/_store/_scores_info.py +415 -0
  472. fse-2.1.0/src/fse/_store/_search.py +372 -0
  473. fse-2.1.0/src/fse/_store/_search_run.py +207 -0
  474. fse-2.1.0/src/fse/_store/_selection.py +129 -0
  475. fse-2.1.0/src/fse/_store/_shard.py +281 -0
  476. fse-2.1.0/src/fse/_store/_sink.py +403 -0
  477. fse-2.1.0/src/fse/_store/_stream_state.py +53 -0
  478. fse-2.1.0/src/fse/_store/_take.py +150 -0
  479. fse-2.1.0/src/fse/_store/_unique_docs.py +152 -0
  480. fse-2.1.0/src/fse/_store/_unique_search.py +99 -0
  481. fse-2.1.0/src/fse/_store/_vector_batches.py +131 -0
  482. fse-2.1.0/src/fse/_store/_vectors_format.py +393 -0
  483. fse-2.1.0/src/fse/_store/_vectorstore.py +480 -0
  484. fse-2.1.0/src/fse/_store/_vectorstore_open.py +98 -0
  485. fse-2.1.0/src/fse/_store/_vectorstore_search.py +157 -0
  486. fse-2.1.0/src/fse/_store/_view.py +398 -0
  487. fse-2.1.0/src/fse/_store/_writer.py +276 -0
  488. fse-2.1.0/src/fse/_text/__init__.py +54 -0
  489. fse-2.1.0/src/fse/_text/_arrow.py +172 -0
  490. fse-2.1.0/src/fse/_text/_ids.py +59 -0
  491. fse-2.1.0/src/fse/_text/_lookup.py +124 -0
  492. fse-2.1.0/src/fse/_text/_scan.py +480 -0
  493. fse-2.1.0/src/fse/_text/_window.py +81 -0
  494. fse-2.1.0/src/fse/_text_file.py +126 -0
  495. fse-2.1.0/src/fse/_validation.py +209 -0
  496. fse-2.1.0/src/fse/_version.py +24 -0
  497. fse-2.1.0/src/fse/_wordvectors.py +498 -0
  498. fse-2.1.0/src/fse/_wordvectors_format.py +417 -0
  499. fse-2.1.0/src/fse/gensim.py +115 -0
  500. fse-2.1.0/src/fse/py.typed +0 -0
  501. fse-2.1.0/src/fse/typing.py +26 -0
  502. fse-2.1.0/src/fse.egg-info/PKG-INFO +550 -0
  503. fse-2.1.0/src/fse.egg-info/SOURCES.txt +1245 -0
  504. fse-2.1.0/src/fse.egg-info/scm_file_list.json +1283 -0
  505. fse-2.1.0/src/fse.egg-info/scm_version.json +8 -0
  506. fse-2.1.0/tests/conftest.py +144 -0
  507. fse-2.1.0/tests/support/binary.py +58 -0
  508. fse-2.1.0/tests/support/bits.py +80 -0
  509. fse-2.1.0/tests/support/chain_kind.py +25 -0
  510. fse-2.1.0/tests/support/classifier.py +17 -0
  511. fse-2.1.0/tests/support/concurrent.py +169 -0
  512. fse-2.1.0/tests/support/conformance.py +248 -0
  513. fse-2.1.0/tests/support/container.py +99 -0
  514. fse-2.1.0/tests/support/converted.py +81 -0
  515. fse-2.1.0/tests/support/document_ids.py +80 -0
  516. fse-2.1.0/tests/support/durability.py +288 -0
  517. fse-2.1.0/tests/support/gil_budget.py +324 -0
  518. fse-2.1.0/tests/support/guarded.py +32 -0
  519. fse-2.1.0/tests/support/head.py +84 -0
  520. fse-2.1.0/tests/support/head_legacy.py +242 -0
  521. fse-2.1.0/tests/support/heads.py +72 -0
  522. fse-2.1.0/tests/support/heads_cases.py +125 -0
  523. fse-2.1.0/tests/support/heavy_descendant.py +32 -0
  524. fse-2.1.0/tests/support/lengths.py +74 -0
  525. fse-2.1.0/tests/support/lock_contender.py +50 -0
  526. fse-2.1.0/tests/support/lock_racer.py +55 -0
  527. fse-2.1.0/tests/support/lone.py +76 -0
  528. fse-2.1.0/tests/support/model2vec_head.py +198 -0
  529. fse-2.1.0/tests/support/paths.py +26 -0
  530. fse-2.1.0/tests/support/pool.py +51 -0
  531. fse-2.1.0/tests/support/positions.py +105 -0
  532. fse-2.1.0/tests/support/positions_heads.py +73 -0
  533. fse-2.1.0/tests/support/prefilter.py +124 -0
  534. fse-2.1.0/tests/support/prefilter_native.py +82 -0
  535. fse-2.1.0/tests/support/prefilter_search.py +112 -0
  536. fse-2.1.0/tests/support/prefilter_witnesses.py +115 -0
  537. fse-2.1.0/tests/support/public_surface.py +261 -0
  538. fse-2.1.0/tests/support/rescore.py +78 -0
  539. fse-2.1.0/tests/support/resume.py +54 -0
  540. fse-2.1.0/tests/support/resume_heads.py +96 -0
  541. fse-2.1.0/tests/support/score_heads.py +52 -0
  542. fse-2.1.0/tests/support/scores.py +157 -0
  543. fse-2.1.0/tests/support/sink_run.py +130 -0
  544. fse-2.1.0/tests/support/sink_threads.py +20 -0
  545. fse-2.1.0/tests/support/sklearn_calibrated.py +80 -0
  546. fse-2.1.0/tests/support/store.py +80 -0
  547. fse-2.1.0/tests/support/store_golden.py +157 -0
  548. fse-2.1.0/tests/support/store_processes.py +191 -0
  549. fse-2.1.0/tests/support/take_store.py +55 -0
  550. fse-2.1.0/tests/support/validation.py +19 -0
  551. fse-2.1.0/tests/support/views.py +78 -0
  552. fse-2.1.0/tests/support/waiting.py +70 -0
  553. fse-2.1.0/tests/test_aegis_cards.py +54 -0
  554. fse-2.1.0/tests/test_aegis_scan.py +75 -0
  555. fse-2.1.0/tests/test_backends_base.py +130 -0
  556. fse-2.1.0/tests/test_backends_base_checks.py +111 -0
  557. fse-2.1.0/tests/test_backends_base_checks_prefilter.py +119 -0
  558. fse-2.1.0/tests/test_backends_base_head.py +133 -0
  559. fse-2.1.0/tests/test_backends_cpu.py +192 -0
  560. fse-2.1.0/tests/test_backends_numpy.py +97 -0
  561. fse-2.1.0/tests/test_check_changelog.py +281 -0
  562. fse-2.1.0/tests/test_check_doc_links.py +344 -0
  563. fse-2.1.0/tests/test_check_guardrails.py +491 -0
  564. fse-2.1.0/tests/test_ci_check.py +175 -0
  565. fse-2.1.0/tests/test_ci_target.py +65 -0
  566. fse-2.1.0/tests/test_conformance_head.py +213 -0
  567. fse-2.1.0/tests/test_conformance_heads.py +125 -0
  568. fse-2.1.0/tests/test_conformance_heads_meta.py +150 -0
  569. fse-2.1.0/tests/test_conformance_linear2.py +101 -0
  570. fse-2.1.0/tests/test_conformance_multilabel.py +156 -0
  571. fse-2.1.0/tests/test_conformance_prefilter.py +316 -0
  572. fse-2.1.0/tests/test_conformance_prefilter_meta.py +178 -0
  573. fse-2.1.0/tests/test_conformance_runtime.py +112 -0
  574. fse-2.1.0/tests/test_conformance_runtime_store.py +114 -0
  575. fse-2.1.0/tests/test_conformance_scores.py +99 -0
  576. fse-2.1.0/tests/test_conformance_store.py +191 -0
  577. fse-2.1.0/tests/test_conformance_tiles.py +144 -0
  578. fse-2.1.0/tests/test_container_common.py +120 -0
  579. fse-2.1.0/tests/test_container_npy.py +492 -0
  580. fse-2.1.0/tests/test_container_npy_manifest.py +56 -0
  581. fse-2.1.0/tests/test_contract.py +207 -0
  582. fse-2.1.0/tests/test_data/v2/make_store_golden.py +39 -0
  583. fse-2.1.0/tests/test_data/v2/store_golden.json +3212 -0
  584. fse-2.1.0/tests/test_development_heavy_deadline.py +288 -0
  585. fse-2.1.0/tests/test_development_lock_queue.py +407 -0
  586. fse-2.1.0/tests/test_development_lock_queue_failures.py +208 -0
  587. fse-2.1.0/tests/test_doc_ci_selection.py +141 -0
  588. fse-2.1.0/tests/test_encoder_batches.py +329 -0
  589. fse-2.1.0/tests/test_encoder_card.py +236 -0
  590. fse-2.1.0/tests/test_encoder_doc_ids.py +157 -0
  591. fse-2.1.0/tests/test_encoder_doc_ids_messages.py +102 -0
  592. fse-2.1.0/tests/test_encoder_encode.py +181 -0
  593. fse-2.1.0/tests/test_encoder_folder.py +316 -0
  594. fse-2.1.0/tests/test_encoder_format.py +267 -0
  595. fse-2.1.0/tests/test_encoder_format_tokenizer.py +322 -0
  596. fse-2.1.0/tests/test_encoder_load_errors.py +75 -0
  597. fse-2.1.0/tests/test_encoder_model2vec.py +268 -0
  598. fse-2.1.0/tests/test_encoder_numpy_batches.py +136 -0
  599. fse-2.1.0/tests/test_encoder_positions.py +217 -0
  600. fse-2.1.0/tests/test_encoder_positions_gates.py +239 -0
  601. fse-2.1.0/tests/test_encoder_positions_resume.py +266 -0
  602. fse-2.1.0/tests/test_encoder_pretrained_truncate_dim.py +123 -0
  603. fse-2.1.0/tests/test_encoder_resume.py +329 -0
  604. fse-2.1.0/tests/test_encoder_resume_gates.py +367 -0
  605. fse-2.1.0/tests/test_encoder_resume_identity.py +221 -0
  606. fse-2.1.0/tests/test_encoder_resume_lengths.py +74 -0
  607. fse-2.1.0/tests/test_encoder_sentence_transformers.py +438 -0
  608. fse-2.1.0/tests/test_encoder_sentence_transformers_float16.py +146 -0
  609. fse-2.1.0/tests/test_gensim.py +167 -0
  610. fse-2.1.0/tests/test_head.py +11 -0
  611. fse-2.1.0/tests/test_head_calibration.py +151 -0
  612. fse-2.1.0/tests/test_head_classifier.py +191 -0
  613. fse-2.1.0/tests/test_head_content.py +166 -0
  614. fse-2.1.0/tests/test_head_derive.py +113 -0
  615. fse-2.1.0/tests/test_head_format.py +287 -0
  616. fse-2.1.0/tests/test_head_format_multilabel.py +137 -0
  617. fse-2.1.0/tests/test_head_heads.py +186 -0
  618. fse-2.1.0/tests/test_head_heads_predict.py +39 -0
  619. fse-2.1.0/tests/test_head_heads_run.py +232 -0
  620. fse-2.1.0/tests/test_head_lone_run.py +303 -0
  621. fse-2.1.0/tests/test_head_lone_run_bits.py +143 -0
  622. fse-2.1.0/tests/test_head_lone_run_crash.py +173 -0
  623. fse-2.1.0/tests/test_head_lone_run_doc_ids.py +117 -0
  624. fse-2.1.0/tests/test_head_lone_run_legacy.py +269 -0
  625. fse-2.1.0/tests/test_head_model.py +258 -0
  626. fse-2.1.0/tests/test_head_model2vec.py +118 -0
  627. fse-2.1.0/tests/test_head_model2vec_files.py +429 -0
  628. fse-2.1.0/tests/test_head_model2vec_objects.py +373 -0
  629. fse-2.1.0/tests/test_head_model2vec_objects_trained.py +98 -0
  630. fse-2.1.0/tests/test_head_model_execution.py +239 -0
  631. fse-2.1.0/tests/test_head_model_hub.py +51 -0
  632. fse-2.1.0/tests/test_head_model_load_errors.py +88 -0
  633. fse-2.1.0/tests/test_head_multilabel.py +172 -0
  634. fse-2.1.0/tests/test_head_multilabel_environment.py +69 -0
  635. fse-2.1.0/tests/test_head_outputs.py +52 -0
  636. fse-2.1.0/tests/test_head_positions_run.py +157 -0
  637. fse-2.1.0/tests/test_head_positions_run_inputs.py +215 -0
  638. fse-2.1.0/tests/test_head_positions_run_stores.py +205 -0
  639. fse-2.1.0/tests/test_head_predict.py +275 -0
  640. fse-2.1.0/tests/test_head_predict_scores.py +47 -0
  641. fse-2.1.0/tests/test_head_predict_vectors.py +200 -0
  642. fse-2.1.0/tests/test_head_regressor.py +43 -0
  643. fse-2.1.0/tests/test_head_regressor_predict.py +50 -0
  644. fse-2.1.0/tests/test_head_resume_run.py +384 -0
  645. fse-2.1.0/tests/test_head_resume_run_gates.py +302 -0
  646. fse-2.1.0/tests/test_head_resume_run_lengths.py +54 -0
  647. fse-2.1.0/tests/test_head_resume_run_phases.py +316 -0
  648. fse-2.1.0/tests/test_head_run.py +128 -0
  649. fse-2.1.0/tests/test_head_run_store.py +167 -0
  650. fse-2.1.0/tests/test_head_score_target.py +265 -0
  651. fse-2.1.0/tests/test_head_sink_run.py +398 -0
  652. fse-2.1.0/tests/test_head_sink_run_bits.py +176 -0
  653. fse-2.1.0/tests/test_head_sink_run_crash.py +260 -0
  654. fse-2.1.0/tests/test_head_sink_run_failures.py +166 -0
  655. fse-2.1.0/tests/test_head_sklearn.py +450 -0
  656. fse-2.1.0/tests/test_head_sklearn_arrays.py +77 -0
  657. fse-2.1.0/tests/test_head_sklearn_calibrated.py +500 -0
  658. fse-2.1.0/tests/test_head_sklearn_ovr.py +216 -0
  659. fse-2.1.0/tests/test_head_temperature.py +269 -0
  660. fse-2.1.0/tests/test_head_threshold_lifecycle.py +126 -0
  661. fse-2.1.0/tests/test_head_thresholds.py +81 -0
  662. fse-2.1.0/tests/test_ids.py +41 -0
  663. fse-2.1.0/tests/test_init.py +192 -0
  664. fse-2.1.0/tests/test_integration_signatures.py +121 -0
  665. fse-2.1.0/tests/test_log_content.py +255 -0
  666. fse-2.1.0/tests/test_log_events.py +434 -0
  667. fse-2.1.0/tests/test_native.py +331 -0
  668. fse-2.1.0/tests/test_native_lengths.py +334 -0
  669. fse-2.1.0/tests/test_native_prefilter.py +132 -0
  670. fse-2.1.0/tests/test_partition.py +39 -0
  671. fse-2.1.0/tests/test_public_signatures.py +428 -0
  672. fse-2.1.0/tests/test_recipe_helpers.py +104 -0
  673. fse-2.1.0/tests/test_reference.py +351 -0
  674. fse-2.1.0/tests/test_reference_bits.py +261 -0
  675. fse-2.1.0/tests/test_reference_bits_meta.py +120 -0
  676. fse-2.1.0/tests/test_reference_head.py +207 -0
  677. fse-2.1.0/tests/test_reference_prefilter.py +384 -0
  678. fse-2.1.0/tests/test_reference_prefilter_meta.py +228 -0
  679. fse-2.1.0/tests/test_reference_unigram.py +497 -0
  680. fse-2.1.0/tests/test_reference_wordpiece.py +236 -0
  681. fse-2.1.0/tests/test_release_notes.py +236 -0
  682. fse-2.1.0/tests/test_resume_batch_guidance.py +42 -0
  683. fse-2.1.0/tests/test_runtime_executor.py +307 -0
  684. fse-2.1.0/tests/test_runtime_gil.py +265 -0
  685. fse-2.1.0/tests/test_runtime_gil_heads.py +89 -0
  686. fse-2.1.0/tests/test_runtime_head.py +308 -0
  687. fse-2.1.0/tests/test_runtime_head_common.py +66 -0
  688. fse-2.1.0/tests/test_runtime_head_parity.py +134 -0
  689. fse-2.1.0/tests/test_runtime_head_spec.py +77 -0
  690. fse-2.1.0/tests/test_runtime_heads.py +204 -0
  691. fse-2.1.0/tests/test_runtime_heads_errors.py +156 -0
  692. fse-2.1.0/tests/test_runtime_heads_plan.py +269 -0
  693. fse-2.1.0/tests/test_runtime_heads_targets.py +126 -0
  694. fse-2.1.0/tests/test_runtime_lengths.py +254 -0
  695. fse-2.1.0/tests/test_runtime_pipeline.py +215 -0
  696. fse-2.1.0/tests/test_runtime_pipeline_sinks.py +192 -0
  697. fse-2.1.0/tests/test_runtime_pool.py +442 -0
  698. fse-2.1.0/tests/test_runtime_pool_methods.py +118 -0
  699. fse-2.1.0/tests/test_runtime_pool_scan.py +210 -0
  700. fse-2.1.0/tests/test_runtime_spec.py +102 -0
  701. fse-2.1.0/tests/test_scores.py +1 -0
  702. fse-2.1.0/tests/test_scores_batches.py +113 -0
  703. fse-2.1.0/tests/test_scores_predict.py +294 -0
  704. fse-2.1.0/tests/test_scores_schema.py +123 -0
  705. fse-2.1.0/tests/test_scores_scorestore.py +247 -0
  706. fse-2.1.0/tests/test_scores_scorestore_concurrent.py +133 -0
  707. fse-2.1.0/tests/test_scores_sink.py +150 -0
  708. fse-2.1.0/tests/test_scores_sink_attach.py +102 -0
  709. fse-2.1.0/tests/test_scores_sink_crash.py +131 -0
  710. fse-2.1.0/tests/test_scores_sink_durability.py +54 -0
  711. fse-2.1.0/tests/test_scores_sink_durable_rows.py +131 -0
  712. fse-2.1.0/tests/test_scores_sink_errors.py +98 -0
  713. fse-2.1.0/tests/test_scores_sink_rejections.py +73 -0
  714. fse-2.1.0/tests/test_scores_sink_resume.py +198 -0
  715. fse-2.1.0/tests/test_scores_view.py +184 -0
  716. fse-2.1.0/tests/test_sink_row_checks.py +189 -0
  717. fse-2.1.0/tests/test_sink_threads.py +75 -0
  718. fse-2.1.0/tests/test_static_model_model_api.py +256 -0
  719. fse-2.1.0/tests/test_store.py +18 -0
  720. fse-2.1.0/tests/test_store_add_bits.py +173 -0
  721. fse-2.1.0/tests/test_store_add_bits_pool.py +196 -0
  722. fse-2.1.0/tests/test_store_anchors.py +74 -0
  723. fse-2.1.0/tests/test_store_base_sink.py +103 -0
  724. fse-2.1.0/tests/test_store_binary_search.py +353 -0
  725. fse-2.1.0/tests/test_store_bits_format.py +244 -0
  726. fse-2.1.0/tests/test_store_bits_refresh.py +118 -0
  727. fse-2.1.0/tests/test_store_bits_repair.py +220 -0
  728. fse-2.1.0/tests/test_store_bits_resume.py +136 -0
  729. fse-2.1.0/tests/test_store_bits_sink.py +362 -0
  730. fse-2.1.0/tests/test_store_bits_view.py +33 -0
  731. fse-2.1.0/tests/test_store_bits_write.py +161 -0
  732. fse-2.1.0/tests/test_store_bits_writer.py +85 -0
  733. fse-2.1.0/tests/test_store_columns.py +58 -0
  734. fse-2.1.0/tests/test_store_crash.py +104 -0
  735. fse-2.1.0/tests/test_store_doc_ids_crash.py +61 -0
  736. fse-2.1.0/tests/test_store_doc_ids_names.py +175 -0
  737. fse-2.1.0/tests/test_store_doc_ids_recovery.py +130 -0
  738. fse-2.1.0/tests/test_store_filtered.py +86 -0
  739. fse-2.1.0/tests/test_store_golden.py +212 -0
  740. fse-2.1.0/tests/test_store_id_stats.py +40 -0
  741. fse-2.1.0/tests/test_store_id_writer.py +23 -0
  742. fse-2.1.0/tests/test_store_kind.py +103 -0
  743. fse-2.1.0/tests/test_store_kinds.py +39 -0
  744. fse-2.1.0/tests/test_store_layout.py +167 -0
  745. fse-2.1.0/tests/test_store_line_endings.py +26 -0
  746. fse-2.1.0/tests/test_store_mapped_files.py +51 -0
  747. fse-2.1.0/tests/test_store_position_format.py +285 -0
  748. fse-2.1.0/tests/test_store_prefilter.py +346 -0
  749. fse-2.1.0/tests/test_store_prefilter_domain.py +218 -0
  750. fse-2.1.0/tests/test_store_recovery.py +210 -0
  751. fse-2.1.0/tests/test_store_recovery_resources.py +149 -0
  752. fse-2.1.0/tests/test_store_refresh.py +471 -0
  753. fse-2.1.0/tests/test_store_repair.py +172 -0
  754. fse-2.1.0/tests/test_store_rescore.py +195 -0
  755. fse-2.1.0/tests/test_store_rescore_bits.py +106 -0
  756. fse-2.1.0/tests/test_store_rescore_memory.py +53 -0
  757. fse-2.1.0/tests/test_store_rescore_views.py +31 -0
  758. fse-2.1.0/tests/test_store_result.py +62 -0
  759. fse-2.1.0/tests/test_store_resume_format.py +249 -0
  760. fse-2.1.0/tests/test_store_score_shard.py +110 -0
  761. fse-2.1.0/tests/test_store_scores_format.py +212 -0
  762. fse-2.1.0/tests/test_store_scores_info.py +227 -0
  763. fse-2.1.0/tests/test_store_search_run.py +356 -0
  764. fse-2.1.0/tests/test_store_selection.py +20 -0
  765. fse-2.1.0/tests/test_store_sink.py +345 -0
  766. fse-2.1.0/tests/test_store_sink_durability_events.py +123 -0
  767. fse-2.1.0/tests/test_store_sink_errors.py +129 -0
  768. fse-2.1.0/tests/test_store_sink_start.py +220 -0
  769. fse-2.1.0/tests/test_store_stream_state.py +31 -0
  770. fse-2.1.0/tests/test_store_take.py +227 -0
  771. fse-2.1.0/tests/test_store_take_memory.py +123 -0
  772. fse-2.1.0/tests/test_store_take_sorted.py +52 -0
  773. fse-2.1.0/tests/test_store_unique_docs.py +187 -0
  774. fse-2.1.0/tests/test_store_unique_search.py +259 -0
  775. fse-2.1.0/tests/test_store_vector_batches.py +195 -0
  776. fse-2.1.0/tests/test_store_vectors_format.py +81 -0
  777. fse-2.1.0/tests/test_store_vectorstore.py +325 -0
  778. fse-2.1.0/tests/test_store_vectorstore_batches.py +249 -0
  779. fse-2.1.0/tests/test_store_vectorstore_concurrent.py +302 -0
  780. fse-2.1.0/tests/test_store_vectorstore_doc_ids.py +72 -0
  781. fse-2.1.0/tests/test_store_vectorstore_open.py +67 -0
  782. fse-2.1.0/tests/test_store_vectorstore_pool.py +324 -0
  783. fse-2.1.0/tests/test_store_vectorstore_processes.py +158 -0
  784. fse-2.1.0/tests/test_store_vectorstore_search.py +153 -0
  785. fse-2.1.0/tests/test_store_vectorstore_take.py +237 -0
  786. fse-2.1.0/tests/test_store_view.py +349 -0
  787. fse-2.1.0/tests/test_store_view_concurrent.py +111 -0
  788. fse-2.1.0/tests/test_store_view_source.py +141 -0
  789. fse-2.1.0/tests/test_store_writer_start.py +203 -0
  790. fse-2.1.0/tests/test_stream.py +201 -0
  791. fse-2.1.0/tests/test_text_ids.py +133 -0
  792. fse-2.1.0/tests/test_text_scan_pool.py +157 -0
  793. fse-2.1.0/tests/test_text_window.py +96 -0
  794. fse-2.1.0/tests/test_typing.py +41 -0
  795. fse-2.1.0/tests/test_typing_static_encoder.py +311 -0
  796. fse-2.1.0/tests/test_typing_static_heads.py +353 -0
  797. fse-2.1.0/tests/test_typing_static_stores.py +207 -0
  798. fse-2.1.0/tests/test_validation.py +224 -0
  799. fse-2.1.0/tests/test_validation_paths.py +169 -0
  800. fse-2.1.0/tests/test_wheel_smoke.py +30 -0
  801. fse-2.1.0/tests/test_wordvectors.py +474 -0
  802. fse-2.1.0/tests/test_wordvectors_arrays.py +62 -0
  803. fse-2.1.0/tests/test_wordvectors_format.py +334 -0
  804. fse-2.1.0/tests/test_wordvectors_load_errors.py +42 -0
  805. fse-2.1.0/tools/check_changelog.py +95 -0
  806. fse-2.1.0/tools/check_doc_links.py +104 -0
  807. fse-2.1.0/tools/check_guardrails.py +338 -0
  808. fse-2.1.0/tools/ci_check.py +102 -0
  809. fse-2.1.0/tools/ci_target.py +76 -0
  810. fse-2.1.0/tools/doc_paths.py +112 -0
  811. fse-2.1.0/tools/doc_references.py +105 -0
  812. fse-2.1.0/tools/guardrails_imports.py +210 -0
  813. fse-2.1.0/tools/hub/heads/AEGIS.md +95 -0
  814. fse-2.1.0/tools/hub/heads/README.md +208 -0
  815. fse-2.1.0/tools/hub/heads/aegis-prompts.json +115 -0
  816. fse-2.1.0/tools/hub/heads/aegis.py +167 -0
  817. fse-2.1.0/tools/hub/heads/aegis_cards.py +167 -0
  818. fse-2.1.0/tools/hub/heads/aegis_checks.py +159 -0
  819. fse-2.1.0/tools/hub/heads/aegis_final.py +222 -0
  820. fse-2.1.0/tools/hub/heads/aegis_legacy.py +49 -0
  821. fse-2.1.0/tools/hub/heads/aegis_metrics.py +112 -0
  822. fse-2.1.0/tools/hub/heads/aegis_run.py +120 -0
  823. fse-2.1.0/tools/hub/heads/aegis_scan.py +103 -0
  824. fse-2.1.0/tools/hub/heads/aegis_training.py +187 -0
  825. fse-2.1.0/tools/hub/heads/cards.py +154 -0
  826. fse-2.1.0/tools/hub/heads/checks.py +188 -0
  827. fse-2.1.0/tools/hub/heads/civil-comments.json +26 -0
  828. fse-2.1.0/tools/hub/heads/civil_comments.py +49 -0
  829. fse-2.1.0/tools/hub/heads/evaluation.py +190 -0
  830. fse-2.1.0/tools/hub/heads/full-bekko.json +18 -0
  831. fse-2.1.0/tools/hub/heads/full_bekko.py +175 -0
  832. fse-2.1.0/tools/hub/heads/full_data.py +73 -0
  833. fse-2.1.0/tools/hub/heads/full_memory.py +78 -0
  834. fse-2.1.0/tools/hub/heads/inputs.py +178 -0
  835. fse-2.1.0/tools/hub/heads/metrics.py +62 -0
  836. fse-2.1.0/tools/hub/heads/run.py +52 -0
  837. fse-2.1.0/tools/hub/heads/sgd.json +24 -0
  838. fse-2.1.0/tools/hub/heads/sgd.py +182 -0
  839. fse-2.1.0/tools/hub/heads/sgd_cards.py +149 -0
  840. fse-2.1.0/tools/hub/heads/sgd_data.py +115 -0
  841. fse-2.1.0/tools/hub/heads/sgd_final.py +175 -0
  842. fse-2.1.0/tools/hub/heads/sgd_model.py +62 -0
  843. fse-2.1.0/tools/hub/heads/sgd_training.py +93 -0
  844. fse-2.1.0/tools/hub/heads/sgd_validation.py +118 -0
  845. fse-2.1.0/tools/hub/heads/thresholds.py +98 -0
  846. fse-2.1.0/tools/hub/heads/training.py +193 -0
  847. fse-2.1.0/tools/release_notes.py +126 -0
  848. fse-2.1.0/tools/wheel_smoke.py +65 -0
  849. fse-2.1.0/uv.lock +4064 -0
  850. fse-2.0.0/.pre-commit-config.yaml +0 -57
  851. fse-2.0.0/AGENTS.md +0 -67
  852. fse-2.0.0/ARCHITECTURE.md +0 -88
  853. fse-2.0.0/CHANGELOG.md +0 -279
  854. fse-2.0.0/CONTRIBUTING.md +0 -78
  855. fse-2.0.0/Makefile +0 -117
  856. fse-2.0.0/PKG-INFO +0 -352
  857. fse-2.0.0/README.md +0 -315
  858. fse-2.0.0/SECURITY.md +0 -13
  859. fse-2.0.0/benchmarks/_measurement.py +0 -286
  860. fse-2.0.0/benchmarks/_measurement_collect.py +0 -42
  861. fse-2.0.0/benchmarks/_measurement_config.py +0 -46
  862. fse-2.0.0/benchmarks/_measurement_rehearse.py +0 -85
  863. fse-2.0.0/benchmarks/_measurement_setup.py +0 -152
  864. fse-2.0.0/benchmarks/_quality/fit.py +0 -249
  865. fse-2.0.0/benchmarks/_quality/mteb.py +0 -222
  866. fse-2.0.0/benchmarks/_quality/published.py +0 -122
  867. fse-2.0.0/benchmarks/_quality/summary.py +0 -87
  868. fse-2.0.0/benchmarks/_speed_cells.py +0 -243
  869. fse-2.0.0/benchmarks/_speed_pipeline.py +0 -369
  870. fse-2.0.0/benchmarks/_speed_run.py +0 -433
  871. fse-2.0.0/benchmarks/_speed_write.py +0 -142
  872. fse-2.0.0/benchmarks/baseline/README.md +0 -79
  873. fse-2.0.0/benchmarks/baseline/dr157/POST_UPLOAD.md +0 -62
  874. fse-2.0.0/benchmarks/baseline/dr157/RELEASE_CARDS.md +0 -68
  875. fse-2.0.0/benchmarks/config/bootstrap.sh +0 -79
  876. fse-2.0.0/benchmarks/config/pins.json +0 -58
  877. fse-2.0.0/benchmarks/config/quality.in +0 -80
  878. fse-2.0.0/benchmarks/config/quality.json +0 -516
  879. fse-2.0.0/benchmarks/config/quality.lock.txt +0 -2825
  880. fse-2.0.0/benchmarks/config/speed-main.lock.txt +0 -2259
  881. fse-2.0.0/benchmarks/config/speed.json +0 -342
  882. fse-2.0.0/benchmarks/hub-classics-requirements.txt +0 -7
  883. fse-2.0.0/benchmarks/quality.py +0 -232
  884. fse-2.0.0/benchmarks/speed.py +0 -66
  885. fse-2.0.0/docs/architecture/backends.md +0 -19
  886. fse-2.0.0/docs/architecture/formats.md +0 -108
  887. fse-2.0.0/docs/architecture/hub.md +0 -73
  888. fse-2.0.0/docs/architecture/logging.md +0 -47
  889. fse-2.0.0/docs/architecture/numerical-contract.md +0 -51
  890. fse-2.0.0/docs/architecture/persistence.md +0 -28
  891. fse-2.0.0/docs/architecture/process.md +0 -235
  892. fse-2.0.0/docs/architecture/runtime.md +0 -26
  893. fse-2.0.0/docs/architecture/store.md +0 -29
  894. fse-2.0.0/docs/architecture/text.md +0 -12
  895. fse-2.0.0/docs/architecture/tokenizers.md +0 -193
  896. fse-2.0.0/docs/benchmarks/measurement.md +0 -169
  897. fse-2.0.0/docs/benchmarks/readme-evidence.md +0 -98
  898. fse-2.0.0/docs/benchmarks/readme-speed.json +0 -177
  899. fse-2.0.0/docs/fse-comparison.md +0 -123
  900. fse-2.0.0/docs/migrating-from-1x.md +0 -325
  901. fse-2.0.0/integrations/README.md +0 -65
  902. fse-2.0.0/integrations/fse-haystack/CHANGELOG.md +0 -8
  903. fse-2.0.0/integrations/fse-haystack/README.md +0 -115
  904. fse-2.0.0/integrations/fse-haystack/pyproject.toml +0 -30
  905. fse-2.0.0/integrations/fse-haystack/src/haystack_integrations/components/embedders/fse/__init__.py +0 -114
  906. fse-2.0.0/integrations/fse-haystack/tests/test_api.py +0 -117
  907. fse-2.0.0/integrations/langchain-fse/CHANGELOG.md +0 -8
  908. fse-2.0.0/integrations/langchain-fse/README.md +0 -100
  909. fse-2.0.0/integrations/langchain-fse/pyproject.toml +0 -30
  910. fse-2.0.0/integrations/langchain-fse/src/langchain_fse/__init__.py +0 -52
  911. fse-2.0.0/integrations/llama-index-embeddings-fse/CHANGELOG.md +0 -8
  912. fse-2.0.0/integrations/llama-index-embeddings-fse/README.md +0 -108
  913. fse-2.0.0/integrations/llama-index-embeddings-fse/pyproject.toml +0 -30
  914. fse-2.0.0/integrations/llama-index-embeddings-fse/src/llama_index/embeddings/fse/__init__.py +0 -105
  915. fse-2.0.0/pyproject.toml +0 -486
  916. fse-2.0.0/recipes/00-fse-101.ipynb +0 -594
  917. fse-2.0.0/recipes/01-sif-usif.ipynb +0 -388
  918. fse-2.0.0/recipes/02-linear-heads.ipynb +0 -718
  919. fse-2.0.0/recipes/03-files-with-resume.ipynb +0 -408
  920. fse-2.0.0/recipes/04-kafka-and-qdrant.ipynb +0 -467
  921. fse-2.0.0/recipes/05-folder-listener.ipynb +0 -402
  922. fse-2.0.0/recipes/06-integrations.ipynb +0 -878
  923. fse-2.0.0/recipes/07-local-compute-and-http.ipynb +0 -377
  924. fse-2.0.0/recipes/08-folded-classifier.ipynb +0 -632
  925. fse-2.0.0/recipes/README.md +0 -110
  926. fse-2.0.0/recipes/_speed.py +0 -146
  927. fse-2.0.0/recipes/requirements.txt +0 -30
  928. fse-2.0.0/setup.py +0 -56
  929. fse-2.0.0/src/fse/__init__.py +0 -111
  930. fse-2.0.0/src/fse/_backends/_base.py +0 -442
  931. fse-2.0.0/src/fse/_backends/_cpu.py +0 -170
  932. fse-2.0.0/src/fse/_backends/_numpy.py +0 -141
  933. fse-2.0.0/src/fse/_container/__init__.py +0 -89
  934. fse-2.0.0/src/fse/_container/_common.py +0 -402
  935. fse-2.0.0/src/fse/_container/_npy.py +0 -358
  936. fse-2.0.0/src/fse/_contract.py +0 -292
  937. fse-2.0.0/src/fse/_encoder/__init__.py +0 -12
  938. fse-2.0.0/src/fse/_encoder/_batches.py +0 -173
  939. fse-2.0.0/src/fse/_encoder/_card.py +0 -254
  940. fse-2.0.0/src/fse/_encoder/_encoder.py +0 -497
  941. fse-2.0.0/src/fse/_encoder/_files.py +0 -142
  942. fse-2.0.0/src/fse/_encoder/_folder.py +0 -229
  943. fse-2.0.0/src/fse/_encoder/_format_tokenizer.py +0 -134
  944. fse-2.0.0/src/fse/_encoder/_inputs.py +0 -78
  945. fse-2.0.0/src/fse/_encoder/_model2vec.py +0 -152
  946. fse-2.0.0/src/fse/_encoder/_persist.py +0 -221
  947. fse-2.0.0/src/fse/_encoder/_pretrained.py +0 -385
  948. fse-2.0.0/src/fse/_encoder/_sentence_transformers.py +0 -247
  949. fse-2.0.0/src/fse/_head/__init__.py +0 -13
  950. fse-2.0.0/src/fse/_head/_classifier.py +0 -169
  951. fse-2.0.0/src/fse/_head/_content.py +0 -166
  952. fse-2.0.0/src/fse/_head/_format.py +0 -260
  953. fse-2.0.0/src/fse/_head/_model.py +0 -479
  954. fse-2.0.0/src/fse/_head/_outputs.py +0 -45
  955. fse-2.0.0/src/fse/_head/_regressor.py +0 -108
  956. fse-2.0.0/src/fse/_head/_run.py +0 -222
  957. fse-2.0.0/src/fse/_head/_sklearn.py +0 -266
  958. fse-2.0.0/src/fse/_log.py +0 -123
  959. fse-2.0.0/src/fse/_native.pyi +0 -288
  960. fse-2.0.0/src/fse/_native.pyx +0 -48
  961. fse-2.0.0/src/fse/_native_src/_native_buffer.pxi +0 -68
  962. fse-2.0.0/src/fse/_native_src/_native_task.pxi +0 -406
  963. fse-2.0.0/src/fse/_native_src/kernel/_native_head.pxi +0 -133
  964. fse-2.0.0/src/fse/_native_src/kernel/_native_kernel.h +0 -128
  965. fse-2.0.0/src/fse/_native_src/kernel/_native_kernel.pxi +0 -290
  966. fse-2.0.0/src/fse/_native_src/kernel/_native_kernel_head.h +0 -361
  967. fse-2.0.0/src/fse/_native_src/kernel/_native_store.pxi +0 -71
  968. fse-2.0.0/src/fse/_native_src/text/_native_arrow.h +0 -167
  969. fse-2.0.0/src/fse/_native_src/text/_native_arrow.pxi +0 -306
  970. fse-2.0.0/src/fse/_native_src/text/_native_arrow_column.pxi +0 -490
  971. fse-2.0.0/src/fse/_native_src/text/_native_scan.pxi +0 -204
  972. fse-2.0.0/src/fse/_native_src/text/_native_text.pxi +0 -457
  973. fse-2.0.0/src/fse/_native_src/text/_native_wordpiece.h +0 -348
  974. fse-2.0.0/src/fse/_reference.py +0 -340
  975. fse-2.0.0/src/fse/_reference_head.py +0 -175
  976. fse-2.0.0/src/fse/_reference_unigram.py +0 -317
  977. fse-2.0.0/src/fse/_reference_wordpiece.py +0 -208
  978. fse-2.0.0/src/fse/_runtime/__init__.py +0 -44
  979. fse-2.0.0/src/fse/_runtime/_executor.py +0 -162
  980. fse-2.0.0/src/fse/_runtime/_head.py +0 -418
  981. fse-2.0.0/src/fse/_runtime/_pipeline.py +0 -353
  982. fse-2.0.0/src/fse/_runtime/_sinks.py +0 -252
  983. fse-2.0.0/src/fse/_runtime/_spec.py +0 -118
  984. fse-2.0.0/src/fse/_runtime/_tasks.py +0 -149
  985. fse-2.0.0/src/fse/_static_model/_arguments.py +0 -132
  986. fse-2.0.0/src/fse/_static_model/_model.py +0 -355
  987. fse-2.0.0/src/fse/_static_model/_tokenizer.py +0 -113
  988. fse-2.0.0/src/fse/_store/__init__.py +0 -18
  989. fse-2.0.0/src/fse/_store/_layout.py +0 -331
  990. fse-2.0.0/src/fse/_store/_recovery.py +0 -166
  991. fse-2.0.0/src/fse/_store/_repair.py +0 -163
  992. fse-2.0.0/src/fse/_store/_search.py +0 -366
  993. fse-2.0.0/src/fse/_store/_shard.py +0 -219
  994. fse-2.0.0/src/fse/_store/_sink.py +0 -462
  995. fse-2.0.0/src/fse/_store/_vectorstore.py +0 -295
  996. fse-2.0.0/src/fse/_store/_writer.py +0 -235
  997. fse-2.0.0/src/fse/_text/__init__.py +0 -52
  998. fse-2.0.0/src/fse/_text/_arrow.py +0 -167
  999. fse-2.0.0/src/fse/_text/_lookup.py +0 -119
  1000. fse-2.0.0/src/fse/_text/_scan.py +0 -453
  1001. fse-2.0.0/src/fse/_text_file.py +0 -121
  1002. fse-2.0.0/src/fse/_validation.py +0 -68
  1003. fse-2.0.0/src/fse/_version.py +0 -24
  1004. fse-2.0.0/src/fse/_wordvectors.py +0 -482
  1005. fse-2.0.0/src/fse/_wordvectors_format.py +0 -409
  1006. fse-2.0.0/src/fse/gensim.py +0 -113
  1007. fse-2.0.0/src/fse.egg-info/PKG-INFO +0 -352
  1008. fse-2.0.0/src/fse.egg-info/SOURCES.txt +0 -626
  1009. fse-2.0.0/src/fse.egg-info/scm_file_list.json +0 -660
  1010. fse-2.0.0/src/fse.egg-info/scm_version.json +0 -8
  1011. fse-2.0.0/tests/conftest.py +0 -129
  1012. fse-2.0.0/tests/support/conformance.py +0 -219
  1013. fse-2.0.0/tests/support/container.py +0 -84
  1014. fse-2.0.0/tests/support/converted.py +0 -68
  1015. fse-2.0.0/tests/support/durability.py +0 -288
  1016. fse-2.0.0/tests/support/gil_budget.py +0 -318
  1017. fse-2.0.0/tests/support/head.py +0 -77
  1018. fse-2.0.0/tests/support/store.py +0 -78
  1019. fse-2.0.0/tests/support/waiting.py +0 -30
  1020. fse-2.0.0/tests/test_backends_base.py +0 -174
  1021. fse-2.0.0/tests/test_backends_cpu.py +0 -128
  1022. fse-2.0.0/tests/test_backends_numpy.py +0 -63
  1023. fse-2.0.0/tests/test_check_guardrails.py +0 -351
  1024. fse-2.0.0/tests/test_conformance_head.py +0 -212
  1025. fse-2.0.0/tests/test_conformance_runtime.py +0 -114
  1026. fse-2.0.0/tests/test_conformance_runtime_store.py +0 -114
  1027. fse-2.0.0/tests/test_conformance_store.py +0 -191
  1028. fse-2.0.0/tests/test_conformance_tiles.py +0 -169
  1029. fse-2.0.0/tests/test_container_common.py +0 -100
  1030. fse-2.0.0/tests/test_container_npy.py +0 -484
  1031. fse-2.0.0/tests/test_contract.py +0 -188
  1032. fse-2.0.0/tests/test_encoder_batches.py +0 -310
  1033. fse-2.0.0/tests/test_encoder_card.py +0 -217
  1034. fse-2.0.0/tests/test_encoder_folder.py +0 -316
  1035. fse-2.0.0/tests/test_encoder_format.py +0 -267
  1036. fse-2.0.0/tests/test_encoder_format_tokenizer.py +0 -310
  1037. fse-2.0.0/tests/test_encoder_model2vec.py +0 -263
  1038. fse-2.0.0/tests/test_encoder_sentence_transformers.py +0 -444
  1039. fse-2.0.0/tests/test_gensim.py +0 -151
  1040. fse-2.0.0/tests/test_head.py +0 -11
  1041. fse-2.0.0/tests/test_head_classifier.py +0 -200
  1042. fse-2.0.0/tests/test_head_content.py +0 -113
  1043. fse-2.0.0/tests/test_head_format.py +0 -287
  1044. fse-2.0.0/tests/test_head_model.py +0 -236
  1045. fse-2.0.0/tests/test_head_outputs.py +0 -32
  1046. fse-2.0.0/tests/test_head_regressor.py +0 -86
  1047. fse-2.0.0/tests/test_head_run.py +0 -49
  1048. fse-2.0.0/tests/test_head_run_store.py +0 -167
  1049. fse-2.0.0/tests/test_head_sklearn.py +0 -450
  1050. fse-2.0.0/tests/test_init.py +0 -176
  1051. fse-2.0.0/tests/test_log_content.py +0 -222
  1052. fse-2.0.0/tests/test_log_events.py +0 -433
  1053. fse-2.0.0/tests/test_native.py +0 -326
  1054. fse-2.0.0/tests/test_reference.py +0 -346
  1055. fse-2.0.0/tests/test_reference_head.py +0 -189
  1056. fse-2.0.0/tests/test_reference_unigram.py +0 -470
  1057. fse-2.0.0/tests/test_reference_wordpiece.py +0 -205
  1058. fse-2.0.0/tests/test_runtime_executor.py +0 -257
  1059. fse-2.0.0/tests/test_runtime_gil.py +0 -223
  1060. fse-2.0.0/tests/test_runtime_head.py +0 -316
  1061. fse-2.0.0/tests/test_runtime_pipeline.py +0 -215
  1062. fse-2.0.0/tests/test_runtime_pipeline_sinks.py +0 -192
  1063. fse-2.0.0/tests/test_runtime_spec.py +0 -88
  1064. fse-2.0.0/tests/test_static_model_model_api.py +0 -256
  1065. fse-2.0.0/tests/test_store.py +0 -10
  1066. fse-2.0.0/tests/test_store_crash.py +0 -102
  1067. fse-2.0.0/tests/test_store_layout.py +0 -167
  1068. fse-2.0.0/tests/test_store_recovery.py +0 -185
  1069. fse-2.0.0/tests/test_store_recovery_resources.py +0 -149
  1070. fse-2.0.0/tests/test_store_repair.py +0 -172
  1071. fse-2.0.0/tests/test_store_sink.py +0 -343
  1072. fse-2.0.0/tests/test_store_sink_durability_events.py +0 -123
  1073. fse-2.0.0/tests/test_store_sink_errors.py +0 -129
  1074. fse-2.0.0/tests/test_store_vectorstore.py +0 -256
  1075. fse-2.0.0/tests/test_stream.py +0 -202
  1076. fse-2.0.0/tests/test_validation.py +0 -55
  1077. fse-2.0.0/tests/test_wordvectors.py +0 -426
  1078. fse-2.0.0/tests/test_wordvectors_format.py +0 -333
  1079. fse-2.0.0/tools/check_guardrails.py +0 -308
  1080. fse-2.0.0/tools/guardrails_imports.py +0 -165
  1081. fse-2.0.0/uv.lock +0 -4035
  1082. {fse-2.0.0 → fse-2.1.0}/.gitattributes +0 -0
  1083. {fse-2.0.0 → fse-2.1.0}/.gitignore +0 -0
  1084. {fse-2.0.0 → fse-2.1.0}/CLAUDE.md +0 -0
  1085. {fse-2.0.0 → fse-2.1.0}/LICENSE +0 -0
  1086. {fse-2.0.0 → fse-2.1.0}/MANIFEST.in +0 -0
  1087. {fse-2.0.0 → fse-2.1.0}/NOTICE +0 -0
  1088. {fse-2.0.0 → fse-2.1.0}/benchmarks/_quality/__init__.py +0 -0
  1089. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/classification-quality-2026-11.json +0 -0
  1090. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/README.md +0 -0
  1091. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/archive-summary.json +0 -0
  1092. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/fasttext-crawl-subwords-300-raw-float16.txt +0 -0
  1093. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/fasttext-crawl-subwords-300-raw-int8.txt +0 -0
  1094. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/fasttext-crawl-subwords-300-raw.txt +0 -0
  1095. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/fasttext-crawl-subwords-300-sif10-float16.txt +0 -0
  1096. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/fasttext-crawl-subwords-300-sif10-int8.txt +0 -0
  1097. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/fasttext-crawl-subwords-300-sif10.txt +0 -0
  1098. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/glove-wiki-gigaword-300-raw-float16.txt +0 -0
  1099. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/glove-wiki-gigaword-300-raw-int8.txt +0 -0
  1100. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/glove-wiki-gigaword-300-raw.txt +0 -0
  1101. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/glove-wiki-gigaword-300-sif10-float16.txt +0 -0
  1102. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/glove-wiki-gigaword-300-sif10-int8.txt +0 -0
  1103. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/glove-wiki-gigaword-300-sif10.txt +0 -0
  1104. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paragram-300-sl999-raw-float16.txt +0 -0
  1105. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paragram-300-sl999-raw-int8.txt +0 -0
  1106. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paragram-300-sl999-raw.txt +0 -0
  1107. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paragram-300-sl999-sif10-float16.txt +0 -0
  1108. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paragram-300-sl999-sif10-int8.txt +0 -0
  1109. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paragram-300-sl999-sif10.txt +0 -0
  1110. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paranmt-300-raw-float16.txt +0 -0
  1111. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paranmt-300-raw-int8.txt +0 -0
  1112. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paranmt-300-raw.txt +0 -0
  1113. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paranmt-300-sif10-float16.txt +0 -0
  1114. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paranmt-300-sif10-int8.txt +0 -0
  1115. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/paranmt-300-sif10.txt +0 -0
  1116. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/word2vec-google-news-300-raw-float16.txt +0 -0
  1117. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/word2vec-google-news-300-raw-int8.txt +0 -0
  1118. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/word2vec-google-news-300-raw.txt +0 -0
  1119. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/word2vec-google-news-300-sif10-float16.txt +0 -0
  1120. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/word2vec-google-news-300-sif10-int8.txt +0 -0
  1121. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/cards/word2vec-google-news-300-sif10.txt +0 -0
  1122. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/publication-inventory.md +0 -0
  1123. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/publication-manifest-sha256.json +0 -0
  1124. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/publication-manifest.json +0 -0
  1125. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/dr157/report.md +0 -0
  1126. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/evidence-2026-11.json +0 -0
  1127. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/headline-speed-2026-11.json +0 -0
  1128. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/library-speed-2026-11.json +0 -0
  1129. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/linux-roofline-2026-10.json +0 -0
  1130. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/make_v1_fixture.py +0 -0
  1131. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/quality-2026-11.json +0 -0
  1132. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/lifecycle-1.1.0-m1pro-sif-float32.json +0 -0
  1133. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/lifecycle-1.1.0-m1pro-sif-int8.json +0 -0
  1134. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/mteb-1.1.0.jsonl +0 -0
  1135. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/neighbors-1.1.0.npz +0 -0
  1136. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/numerics-1.1.0.json +0 -0
  1137. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/sts-1.1.0.csv +0 -0
  1138. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/train-1.1.0-m1pro.json +0 -0
  1139. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/results/train-dtypes-1.1.0-m1pro.json +0 -0
  1140. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/speed-2026-11.json +0 -0
  1141. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/store_none_20261031.json +0 -0
  1142. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/store_sync_20261031.json +0 -0
  1143. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/thread_pool_20261031.json +0 -0
  1144. {fse-2.0.0 → fse-2.1.0}/benchmarks/baseline/thread_pool_profiles_20261031.json +0 -0
  1145. {fse-2.0.0 → fse-2.1.0}/benchmarks/config/rust.lock +0 -0
  1146. {fse-2.0.0 → fse-2.1.0}/benchmarks/config/speed-reference.lock.txt +0 -0
  1147. {fse-2.0.0 → fse-2.1.0}/benchmarks/hub_classic_corpus.py +0 -0
  1148. {fse-2.0.0 → fse-2.1.0}/benchmarks/hub_classic_evidence.py +0 -0
  1149. {fse-2.0.0 → fse-2.1.0}/benchmarks/hub_classic_fineweb.py +0 -0
  1150. {fse-2.0.0 → fse-2.1.0}/benchmarks/hub_classic_math.py +0 -0
  1151. {fse-2.0.0 → fse-2.1.0}/benchmarks/hub_classic_metrics.py +0 -0
  1152. {fse-2.0.0 → fse-2.1.0}/benchmarks/hub_classic_sources.py +0 -0
  1153. {fse-2.0.0 → fse-2.1.0}/benchmarks/prepare_hub_classics.py +0 -0
  1154. {fse-2.0.0 → fse-2.1.0}/benchmarks/verify_hub_classics.py +0 -0
  1155. {fse-2.0.0 → fse-2.1.0}/docs/architecture/overview.md +0 -0
  1156. {fse-2.0.0 → fse-2.1.0}/docs/benchmarks/readme-quality.json +0 -0
  1157. {fse-2.0.0 → fse-2.1.0}/docs/fse-corpus-lengths.md +0 -0
  1158. {fse-2.0.0 → fse-2.1.0}/docs/fse-sif-protocol-comparison.md +0 -0
  1159. {fse-2.0.0 → fse-2.1.0}/docs/migration-comparison.json +0 -0
  1160. {fse-2.0.0 → fse-2.1.0}/docs/models.md +0 -0
  1161. {fse-2.0.0 → fse-2.1.0}/integrations/AUDIT.md +0 -0
  1162. {fse-2.0.0 → fse-2.1.0}/integrations/fse-haystack/.gitignore +0 -0
  1163. {fse-2.0.0 → fse-2.1.0}/integrations/fse-haystack/LICENSE +0 -0
  1164. {fse-2.0.0 → fse-2.1.0}/integrations/fse-haystack/MANIFEST.in +0 -0
  1165. {fse-2.0.0 → fse-2.1.0}/integrations/fse-haystack/examples/retrieval-output.txt +0 -0
  1166. {fse-2.0.0 → fse-2.1.0}/integrations/fse-haystack/examples/retrieval.py +0 -0
  1167. {fse-2.0.0/src → fse-2.1.0/integrations/fse-haystack/src/haystack_integrations/components/embedders}/fse/py.typed +0 -0
  1168. {fse-2.0.0 → fse-2.1.0}/integrations/fse-haystack/tests/conftest.py +0 -0
  1169. {fse-2.0.0 → fse-2.1.0}/integrations/langchain-fse/.gitignore +0 -0
  1170. {fse-2.0.0 → fse-2.1.0}/integrations/langchain-fse/LICENSE +0 -0
  1171. {fse-2.0.0 → fse-2.1.0}/integrations/langchain-fse/MANIFEST.in +0 -0
  1172. {fse-2.0.0 → fse-2.1.0}/integrations/langchain-fse/examples/retrieval-output.txt +0 -0
  1173. {fse-2.0.0 → fse-2.1.0}/integrations/langchain-fse/examples/retrieval.py +0 -0
  1174. {fse-2.0.0 → fse-2.1.0}/integrations/langchain-fse/tests/conftest.py +0 -0
  1175. {fse-2.0.0 → fse-2.1.0}/integrations/langchain-fse/tests/test_api.py +0 -0
  1176. {fse-2.0.0 → fse-2.1.0}/integrations/llama-index-embeddings-fse/.gitignore +0 -0
  1177. {fse-2.0.0 → fse-2.1.0}/integrations/llama-index-embeddings-fse/LICENSE +0 -0
  1178. {fse-2.0.0 → fse-2.1.0}/integrations/llama-index-embeddings-fse/MANIFEST.in +0 -0
  1179. {fse-2.0.0 → fse-2.1.0}/integrations/llama-index-embeddings-fse/examples/retrieval-output.txt +0 -0
  1180. {fse-2.0.0 → fse-2.1.0}/integrations/llama-index-embeddings-fse/examples/retrieval.py +0 -0
  1181. {fse-2.0.0 → fse-2.1.0}/integrations/llama-index-embeddings-fse/tests/conftest.py +0 -0
  1182. {fse-2.0.0 → fse-2.1.0}/integrations/llama-index-embeddings-fse/tests/test_api.py +0 -0
  1183. {fse-2.0.0 → fse-2.1.0}/recipes/06-integrations-run.json +0 -0
  1184. {fse-2.0.0 → fse-2.1.0}/recipes/06-integrations-validation.md +0 -0
  1185. {fse-2.0.0 → fse-2.1.0}/recipes/_charts.py +0 -0
  1186. {fse-2.0.0 → fse-2.1.0}/recipes/_helpers.py +0 -0
  1187. {fse-2.0.0 → fse-2.1.0}/recipes/_sif.py +0 -0
  1188. {fse-2.0.0 → fse-2.1.0}/recipes/media/00-fse-101-dark.svg +0 -0
  1189. {fse-2.0.0 → fse-2.1.0}/recipes/media/00-fse-101-icon.svg +0 -0
  1190. {fse-2.0.0 → fse-2.1.0}/recipes/media/00-fse-101-light.svg +0 -0
  1191. {fse-2.0.0 → fse-2.1.0}/recipes/media/00-fse-101.svg +0 -0
  1192. {fse-2.0.0 → fse-2.1.0}/recipes/media/01-sif-usif-dark.svg +0 -0
  1193. {fse-2.0.0 → fse-2.1.0}/recipes/media/01-sif-usif-icon.svg +0 -0
  1194. {fse-2.0.0 → fse-2.1.0}/recipes/media/01-sif-usif-light.svg +0 -0
  1195. {fse-2.0.0 → fse-2.1.0}/recipes/media/01-sif-usif.svg +0 -0
  1196. {fse-2.0.0 → fse-2.1.0}/recipes/media/02-linear-heads-dark.svg +0 -0
  1197. {fse-2.0.0 → fse-2.1.0}/recipes/media/02-linear-heads-icon.svg +0 -0
  1198. {fse-2.0.0 → fse-2.1.0}/recipes/media/02-linear-heads-light.svg +0 -0
  1199. {fse-2.0.0 → fse-2.1.0}/recipes/media/02-linear-heads.svg +0 -0
  1200. {fse-2.0.0 → fse-2.1.0}/recipes/media/03-files-with-resume-dark.svg +0 -0
  1201. {fse-2.0.0 → fse-2.1.0}/recipes/media/03-files-with-resume-icon.svg +0 -0
  1202. {fse-2.0.0 → fse-2.1.0}/recipes/media/03-files-with-resume-light.svg +0 -0
  1203. {fse-2.0.0 → fse-2.1.0}/recipes/media/03-files-with-resume.svg +0 -0
  1204. {fse-2.0.0 → fse-2.1.0}/recipes/media/04-kafka-and-qdrant-dark.svg +0 -0
  1205. {fse-2.0.0 → fse-2.1.0}/recipes/media/04-kafka-and-qdrant-icon.svg +0 -0
  1206. {fse-2.0.0 → fse-2.1.0}/recipes/media/04-kafka-and-qdrant-light.svg +0 -0
  1207. {fse-2.0.0 → fse-2.1.0}/recipes/media/04-kafka-and-qdrant.svg +0 -0
  1208. {fse-2.0.0 → fse-2.1.0}/recipes/media/05-folder-listener-dark.svg +0 -0
  1209. {fse-2.0.0 → fse-2.1.0}/recipes/media/05-folder-listener-icon.svg +0 -0
  1210. {fse-2.0.0 → fse-2.1.0}/recipes/media/05-folder-listener-light.svg +0 -0
  1211. {fse-2.0.0 → fse-2.1.0}/recipes/media/05-folder-listener.svg +0 -0
  1212. {fse-2.0.0 → fse-2.1.0}/recipes/media/06-integrations-dark.svg +0 -0
  1213. {fse-2.0.0 → fse-2.1.0}/recipes/media/06-integrations-icon.svg +0 -0
  1214. {fse-2.0.0 → fse-2.1.0}/recipes/media/06-integrations-light.svg +0 -0
  1215. {fse-2.0.0 → fse-2.1.0}/recipes/media/06-integrations.svg +0 -0
  1216. {fse-2.0.0 → fse-2.1.0}/recipes/media/07-local-compute-and-http-dark.svg +0 -0
  1217. {fse-2.0.0 → fse-2.1.0}/recipes/media/07-local-compute-and-http-icon.svg +0 -0
  1218. {fse-2.0.0 → fse-2.1.0}/recipes/media/07-local-compute-and-http-light.svg +0 -0
  1219. {fse-2.0.0 → fse-2.1.0}/recipes/media/07-local-compute-and-http.svg +0 -0
  1220. {fse-2.0.0 → fse-2.1.0}/recipes/media/08-folded-classifier-dark.svg +0 -0
  1221. {fse-2.0.0 → fse-2.1.0}/recipes/media/08-folded-classifier-icon.svg +0 -0
  1222. {fse-2.0.0 → fse-2.1.0}/recipes/media/08-folded-classifier-light.svg +0 -0
  1223. {fse-2.0.0 → fse-2.1.0}/recipes/media/08-folded-classifier.svg +0 -0
  1224. {fse-2.0.0 → fse-2.1.0}/recipes/run-environment.json +0 -0
  1225. {fse-2.0.0 → fse-2.1.0}/setup.cfg +0 -0
  1226. {fse-2.0.0 → fse-2.1.0}/src/fse/_backends/__init__.py +0 -0
  1227. {fse-2.0.0 → fse-2.1.0}/src/fse/_charsmap.py +0 -0
  1228. {fse-2.0.0 → fse-2.1.0}/src/fse/_codes.py +0 -0
  1229. {fse-2.0.0 → fse-2.1.0}/src/fse/_container/_foreign.py +0 -0
  1230. {fse-2.0.0 → fse-2.1.0}/src/fse/_container/_hash.py +0 -0
  1231. {fse-2.0.0 → fse-2.1.0}/src/fse/_container/_npy_inplace.py +0 -0
  1232. {fse-2.0.0 → fse-2.1.0}/src/fse/_container/_safetensors.py +0 -0
  1233. {fse-2.0.0 → fse-2.1.0}/src/fse/_cpus.py +0 -0
  1234. {fse-2.0.0 → fse-2.1.0}/src/fse/_encoder/_format.py +0 -0
  1235. {fse-2.0.0 → fse-2.1.0}/src/fse/_encoder/_model2vec_rules.py +0 -0
  1236. {fse-2.0.0 → fse-2.1.0}/src/fse/_encoder/_sources.py +0 -0
  1237. {fse-2.0.0 → fse-2.1.0}/src/fse/_hub.py +0 -0
  1238. {fse-2.0.0 → fse-2.1.0}/src/fse/_hub_push.py +0 -0
  1239. {fse-2.0.0 → fse-2.1.0}/src/fse/_log_config.py +0 -0
  1240. {fse-2.0.0 → fse-2.1.0}/src/fse/_native.pxd +0 -0
  1241. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/_native_threads.h +0 -0
  1242. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_kernel_base.h +0 -0
  1243. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_kernel_mean.h +0 -0
  1244. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_kernel_search.h +0 -0
  1245. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_kernel_steps.h +0 -0
  1246. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_kernel_store.h +0 -0
  1247. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_kernel_tiles.h +0 -0
  1248. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_search.pxi +0 -0
  1249. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/kernel/_native_steps.pxi +0 -0
  1250. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/tables/_native_unicode.h +0 -0
  1251. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/tables/_native_unicode_bert.h +0 -0
  1252. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/tables/_native_unicode_graphemes.h +0 -0
  1253. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_added.h +0 -0
  1254. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_hash.pxi +0 -0
  1255. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_lists.pxi +0 -0
  1256. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_text.h +0 -0
  1257. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_unigram.h +0 -0
  1258. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_unigram.pxi +0 -0
  1259. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_unigram_normalize.pxi +0 -0
  1260. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_unigram_steps.pxi +0 -0
  1261. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_vocab.pxi +0 -0
  1262. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_wordpiece.pxi +0 -0
  1263. {fse-2.0.0 → fse-2.1.0}/src/fse/_native_src/text/_native_wordpiece_trie.h +0 -0
  1264. {fse-2.0.0 → fse-2.1.0}/src/fse/_reference_text.py +0 -0
  1265. {fse-2.0.0 → fse-2.1.0}/src/fse/_runtime/_errors.py +0 -0
  1266. {fse-2.0.0 → fse-2.1.0}/src/fse/_static_model/__init__.py +0 -0
  1267. {fse-2.0.0 → fse-2.1.0}/src/fse/_static_model/_ids.py +0 -0
  1268. {fse-2.0.0 → fse-2.1.0}/src/fse/_static_model/_load.py +0 -0
  1269. {fse-2.0.0 → fse-2.1.0}/src/fse/_static_model/_profile.py +0 -0
  1270. {fse-2.0.0 → fse-2.1.0}/src/fse/_static_model/_save.py +0 -0
  1271. {fse-2.0.0 → fse-2.1.0}/src/fse/_static_model/_variants.py +0 -0
  1272. {fse-2.0.0 → fse-2.1.0}/src/fse/_stream.py +0 -0
  1273. {fse-2.0.0 → fse-2.1.0}/src/fse/_text/_plan.py +0 -0
  1274. {fse-2.0.0 → fse-2.1.0}/src/fse/_text/_strings.py +0 -0
  1275. {fse-2.0.0 → fse-2.1.0}/src/fse/_tokenizer_json.py +0 -0
  1276. {fse-2.0.0 → fse-2.1.0}/src/fse/_tokenizer_json_common.py +0 -0
  1277. {fse-2.0.0 → fse-2.1.0}/src/fse/_tokenizer_json_unigram.py +0 -0
  1278. {fse-2.0.0 → fse-2.1.0}/src/fse/_tokenizer_spec.py +0 -0
  1279. {fse-2.0.0 → fse-2.1.0}/src/fse/_tokenizer_unigram.py +0 -0
  1280. {fse-2.0.0 → fse-2.1.0}/src/fse/_unicode.py +0 -0
  1281. {fse-2.0.0 → fse-2.1.0}/src/fse/_unicode_bert.py +0 -0
  1282. {fse-2.0.0 → fse-2.1.0}/src/fse/_unicode_graphemes.py +0 -0
  1283. {fse-2.0.0 → fse-2.1.0}/src/fse.egg-info/dependency_links.txt +0 -0
  1284. {fse-2.0.0 → fse-2.1.0}/src/fse.egg-info/requires.txt +0 -0
  1285. {fse-2.0.0 → fse-2.1.0}/src/fse.egg-info/top_level.txt +0 -0
  1286. {fse-2.0.0 → fse-2.1.0}/tests/support/__init__.py +0 -0
  1287. {fse-2.0.0 → fse-2.1.0}/tests/support/arrow_c.py +0 -0
  1288. {fse-2.0.0 → fse-2.1.0}/tests/support/cases.py +0 -0
  1289. {fse-2.0.0 → fse-2.1.0}/tests/support/charsmap.py +0 -0
  1290. {fse-2.0.0 → fse-2.1.0}/tests/support/encoder.py +0 -0
  1291. {fse-2.0.0 → fse-2.1.0}/tests/support/head_bound.py +0 -0
  1292. {fse-2.0.0 → fse-2.1.0}/tests/support/head_cases.py +0 -0
  1293. {fse-2.0.0 → fse-2.1.0}/tests/support/hub.py +0 -0
  1294. {fse-2.0.0 → fse-2.1.0}/tests/support/hubcache.py +0 -0
  1295. {fse-2.0.0 → fse-2.1.0}/tests/support/logs.py +0 -0
  1296. {fse-2.0.0 → fse-2.1.0}/tests/support/model2vec.py +0 -0
  1297. {fse-2.0.0 → fse-2.1.0}/tests/support/quantized.py +0 -0
  1298. {fse-2.0.0 → fse-2.1.0}/tests/support/repair.py +0 -0
  1299. {fse-2.0.0 → fse-2.1.0}/tests/support/runtime.py +0 -0
  1300. {fse-2.0.0 → fse-2.1.0}/tests/support/sentence_transformers.py +0 -0
  1301. {fse-2.0.0 → fse-2.1.0}/tests/support/static_model.py +0 -0
  1302. {fse-2.0.0 → fse-2.1.0}/tests/support/store_power_loss.py +0 -0
  1303. {fse-2.0.0 → fse-2.1.0}/tests/support/store_race.py +0 -0
  1304. {fse-2.0.0 → fse-2.1.0}/tests/support/store_sync.py +0 -0
  1305. {fse-2.0.0 → fse-2.1.0}/tests/support/text.py +0 -0
  1306. {fse-2.0.0 → fse-2.1.0}/tests/support/tiles.py +0 -0
  1307. {fse-2.0.0 → fse-2.1.0}/tests/support/unigram.py +0 -0
  1308. {fse-2.0.0 → fse-2.1.0}/tests/support/wordpiece.py +0 -0
  1309. {fse-2.0.0 → fse-2.1.0}/tests/support/wordvectors.py +0 -0
  1310. {fse-2.0.0 → fse-2.1.0}/tests/test_backends.py +0 -0
  1311. {fse-2.0.0 → fse-2.1.0}/tests/test_backends_heads.py +0 -0
  1312. {fse-2.0.0 → fse-2.1.0}/tests/test_charsmap.py +0 -0
  1313. {fse-2.0.0 → fse-2.1.0}/tests/test_codes.py +0 -0
  1314. {fse-2.0.0 → fse-2.1.0}/tests/test_conformance.py +0 -0
  1315. {fse-2.0.0 → fse-2.1.0}/tests/test_conformance_head_meta.py +0 -0
  1316. {fse-2.0.0 → fse-2.1.0}/tests/test_conformance_search.py +0 -0
  1317. {fse-2.0.0 → fse-2.1.0}/tests/test_conformance_steps.py +0 -0
  1318. {fse-2.0.0 → fse-2.1.0}/tests/test_conformance_tiles_meta.py +0 -0
  1319. {fse-2.0.0 → fse-2.1.0}/tests/test_container.py +0 -0
  1320. {fse-2.0.0 → fse-2.1.0}/tests/test_container_common_json.py +0 -0
  1321. {fse-2.0.0 → fse-2.1.0}/tests/test_container_foreign.py +0 -0
  1322. {fse-2.0.0 → fse-2.1.0}/tests/test_container_hash.py +0 -0
  1323. {fse-2.0.0 → fse-2.1.0}/tests/test_container_npy_inplace.py +0 -0
  1324. {fse-2.0.0 → fse-2.1.0}/tests/test_container_safetensors.py +0 -0
  1325. {fse-2.0.0 → fse-2.1.0}/tests/test_container_safetensors_interop.py +0 -0
  1326. {fse-2.0.0 → fse-2.1.0}/tests/test_cpus.py +0 -0
  1327. {fse-2.0.0 → fse-2.1.0}/tests/test_data/GraphemeBreakTest-17.0.0.txt +0 -0
  1328. {fse-2.0.0 → fse-2.1.0}/tests/test_data/test_sentences.txt +0 -0
  1329. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v1_reference/MANIFEST.json +0 -0
  1330. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v1_reference/outputs.npz +0 -0
  1331. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v1_reference/sentences.json +0 -0
  1332. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v1_reference/words.json +0 -0
  1333. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/encoder_sif_unfolded.safetensors +0 -0
  1334. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/encoder_usif_folded_int8.safetensors +0 -0
  1335. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/classifier_float32.safetensors +0 -0
  1336. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/classifier_standalone.safetensors +0 -0
  1337. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/encoder_float32.safetensors +0 -0
  1338. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/encoder_int8.safetensors +0 -0
  1339. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/encoder_unigram_float16.safetensors +0 -0
  1340. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/encoder_wordpiece_int8.safetensors +0 -0
  1341. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/regressor_int8.safetensors +0 -0
  1342. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/word_vectors_float32.safetensors +0 -0
  1343. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/finished/word_vectors_int8.safetensors +0 -0
  1344. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/fse_words.json +0 -0
  1345. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/ft_ngram_hashes.json +0 -0
  1346. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/make_fse_words_golden.py +0 -0
  1347. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/make_golden.py +0 -0
  1348. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/make_quantized_golden.py +0 -0
  1349. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/make_unigram_golden.py +0 -0
  1350. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/make_wordpiece_golden.py +0 -0
  1351. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/sha256/encoder_sif_unfolded.safetensors +0 -0
  1352. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/sha256/encoder_usif_folded_int8.safetensors +0 -0
  1353. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/sha256/word_vectors_float32.safetensors +0 -0
  1354. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/sha256/word_vectors_int8.safetensors +0 -0
  1355. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/unigram.json +0 -0
  1356. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/word_vectors_float32.safetensors +0 -0
  1357. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/word_vectors_int8.safetensors +0 -0
  1358. {fse-2.0.0 → fse-2.1.0}/tests/test_data/v2/wordpiece.json +0 -0
  1359. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder.py +0 -0
  1360. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_batches_arrow.py +0 -0
  1361. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_encoder.py +0 -0
  1362. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_encoder_quantize.py +0 -0
  1363. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_files.py +0 -0
  1364. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_format_unigram.py +0 -0
  1365. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_inputs.py +0 -0
  1366. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_model2vec_rules.py +0 -0
  1367. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_model2vec_unigram.py +0 -0
  1368. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_persist.py +0 -0
  1369. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_pretrained.py +0 -0
  1370. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_pretrained_normalize.py +0 -0
  1371. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_sentence_transformers_network.py +0 -0
  1372. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_sentence_transformers_parity.py +0 -0
  1373. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_sources.py +0 -0
  1374. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_sources_arrow.py +0 -0
  1375. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_unigram_arrow.py +0 -0
  1376. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_unigram_quantized.py +0 -0
  1377. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_wordpiece.py +0 -0
  1378. {fse-2.0.0 → fse-2.1.0}/tests/test_encoder_wordpiece_arrow.py +0 -0
  1379. {fse-2.0.0 → fse-2.1.0}/tests/test_head_classifier_labels.py +0 -0
  1380. {fse-2.0.0 → fse-2.1.0}/tests/test_head_model_quantize.py +0 -0
  1381. {fse-2.0.0 → fse-2.1.0}/tests/test_head_wordpiece.py +0 -0
  1382. {fse-2.0.0 → fse-2.1.0}/tests/test_hub.py +0 -0
  1383. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_network.py +0 -0
  1384. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_network_unigram.py +0 -0
  1385. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_offline.py +0 -0
  1386. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_once.py +0 -0
  1387. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_push.py +0 -0
  1388. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_push_quantized.py +0 -0
  1389. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_push_roundtrip.py +0 -0
  1390. {fse-2.0.0 → fse-2.1.0}/tests/test_hub_push_rules.py +0 -0
  1391. {fse-2.0.0 → fse-2.1.0}/tests/test_log.py +0 -0
  1392. {fse-2.0.0 → fse-2.1.0}/tests/test_log_config.py +0 -0
  1393. {fse-2.0.0 → fse-2.1.0}/tests/test_migration_guide.py +0 -0
  1394. {fse-2.0.0 → fse-2.1.0}/tests/test_native_arrow.py +0 -0
  1395. {fse-2.0.0 → fse-2.1.0}/tests/test_native_arrow_checks.py +0 -0
  1396. {fse-2.0.0 → fse-2.1.0}/tests/test_native_arrow_stream.py +0 -0
  1397. {fse-2.0.0 → fse-2.1.0}/tests/test_native_head.py +0 -0
  1398. {fse-2.0.0 → fse-2.1.0}/tests/test_native_lists.py +0 -0
  1399. {fse-2.0.0 → fse-2.1.0}/tests/test_native_scan.py +0 -0
  1400. {fse-2.0.0 → fse-2.1.0}/tests/test_native_search.py +0 -0
  1401. {fse-2.0.0 → fse-2.1.0}/tests/test_native_task.py +0 -0
  1402. {fse-2.0.0 → fse-2.1.0}/tests/test_native_unigram.py +0 -0
  1403. {fse-2.0.0 → fse-2.1.0}/tests/test_native_unigram_normalize.py +0 -0
  1404. {fse-2.0.0 → fse-2.1.0}/tests/test_native_unigram_trie.py +0 -0
  1405. {fse-2.0.0 → fse-2.1.0}/tests/test_native_unigram_viterbi.py +0 -0
  1406. {fse-2.0.0 → fse-2.1.0}/tests/test_native_vocab.py +0 -0
  1407. {fse-2.0.0 → fse-2.1.0}/tests/test_native_wordpiece.py +0 -0
  1408. {fse-2.0.0 → fse-2.1.0}/tests/test_native_wordpiece_paths.py +0 -0
  1409. {fse-2.0.0 → fse-2.1.0}/tests/test_native_wordpiece_trie.py +0 -0
  1410. {fse-2.0.0 → fse-2.1.0}/tests/test_reference_search.py +0 -0
  1411. {fse-2.0.0 → fse-2.1.0}/tests/test_reference_text.py +0 -0
  1412. {fse-2.0.0 → fse-2.1.0}/tests/test_release_tags.py +0 -0
  1413. {fse-2.0.0 → fse-2.1.0}/tests/test_runtime.py +0 -0
  1414. {fse-2.0.0 → fse-2.1.0}/tests/test_runtime_errors.py +0 -0
  1415. {fse-2.0.0 → fse-2.1.0}/tests/test_runtime_pipeline_tail.py +0 -0
  1416. {fse-2.0.0 → fse-2.1.0}/tests/test_runtime_sinks.py +0 -0
  1417. {fse-2.0.0 → fse-2.1.0}/tests/test_runtime_tasks.py +0 -0
  1418. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model.py +0 -0
  1419. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_arguments.py +0 -0
  1420. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_ids.py +0 -0
  1421. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_load.py +0 -0
  1422. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_model.py +0 -0
  1423. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_model_length.py +0 -0
  1424. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_model_sequence.py +0 -0
  1425. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_network.py +0 -0
  1426. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_network_multilingual.py +0 -0
  1427. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_profile.py +0 -0
  1428. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_save.py +0 -0
  1429. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_tokenizer.py +0 -0
  1430. {fse-2.0.0 → fse-2.1.0}/tests/test_static_model_variants.py +0 -0
  1431. {fse-2.0.0 → fse-2.1.0}/tests/test_store_repair_crash.py +0 -0
  1432. {fse-2.0.0 → fse-2.1.0}/tests/test_store_repair_power_loss.py +0 -0
  1433. {fse-2.0.0 → fse-2.1.0}/tests/test_store_repair_preflight.py +0 -0
  1434. {fse-2.0.0 → fse-2.1.0}/tests/test_store_search.py +0 -0
  1435. {fse-2.0.0 → fse-2.1.0}/tests/test_store_shard.py +0 -0
  1436. {fse-2.0.0 → fse-2.1.0}/tests/test_store_shard_sync.py +0 -0
  1437. {fse-2.0.0 → fse-2.1.0}/tests/test_store_sink_concurrent.py +0 -0
  1438. {fse-2.0.0 → fse-2.1.0}/tests/test_store_sink_durability.py +0 -0
  1439. {fse-2.0.0 → fse-2.1.0}/tests/test_store_sink_durability_sync.py +0 -0
  1440. {fse-2.0.0 → fse-2.1.0}/tests/test_store_sink_interrupt.py +0 -0
  1441. {fse-2.0.0 → fse-2.1.0}/tests/test_store_sink_none_power_loss.py +0 -0
  1442. {fse-2.0.0 → fse-2.1.0}/tests/test_store_sink_power_loss.py +0 -0
  1443. {fse-2.0.0 → fse-2.1.0}/tests/test_store_writer.py +0 -0
  1444. {fse-2.0.0 → fse-2.1.0}/tests/test_text.py +0 -0
  1445. {fse-2.0.0 → fse-2.1.0}/tests/test_text_arrow.py +0 -0
  1446. {fse-2.0.0 → fse-2.1.0}/tests/test_text_conformance.py +0 -0
  1447. {fse-2.0.0 → fse-2.1.0}/tests/test_text_conformance_unigram.py +0 -0
  1448. {fse-2.0.0 → fse-2.1.0}/tests/test_text_conformance_wordpiece.py +0 -0
  1449. {fse-2.0.0 → fse-2.1.0}/tests/test_text_file.py +0 -0
  1450. {fse-2.0.0 → fse-2.1.0}/tests/test_text_lookup.py +0 -0
  1451. {fse-2.0.0 → fse-2.1.0}/tests/test_text_plan.py +0 -0
  1452. {fse-2.0.0 → fse-2.1.0}/tests/test_text_scan.py +0 -0
  1453. {fse-2.0.0 → fse-2.1.0}/tests/test_text_strings.py +0 -0
  1454. {fse-2.0.0 → fse-2.1.0}/tests/test_tokenizer_json.py +0 -0
  1455. {fse-2.0.0 → fse-2.1.0}/tests/test_tokenizer_json_common.py +0 -0
  1456. {fse-2.0.0 → fse-2.1.0}/tests/test_tokenizer_json_unigram.py +0 -0
  1457. {fse-2.0.0 → fse-2.1.0}/tests/test_tokenizer_spec.py +0 -0
  1458. {fse-2.0.0 → fse-2.1.0}/tests/test_tokenizer_unigram.py +0 -0
  1459. {fse-2.0.0 → fse-2.1.0}/tests/test_unicode.py +0 -0
  1460. {fse-2.0.0 → fse-2.1.0}/tests/test_unicode_bert.py +0 -0
  1461. {fse-2.0.0 → fse-2.1.0}/tests/test_unicode_graphemes.py +0 -0
  1462. {fse-2.0.0 → fse-2.1.0}/tests/test_v1_reference.py +0 -0
  1463. {fse-2.0.0 → fse-2.1.0}/tools/check_exp.py +0 -0
  1464. {fse-2.0.0 → fse-2.1.0}/tools/hub/README.md +0 -0
  1465. {fse-2.0.0 → fse-2.1.0}/tools/hub/cards.py +0 -0
  1466. {fse-2.0.0 → fse-2.1.0}/tools/hub/payload.py +0 -0
  1467. {fse-2.0.0 → fse-2.1.0}/tools/hub/publish.py +0 -0
  1468. {fse-2.0.0 → fse-2.1.0}/tools/hub/published-manifest.json +0 -0
  1469. {fse-2.0.0 → fse-2.1.0}/tools/hub/run.py +0 -0
  1470. {fse-2.0.0 → fse-2.1.0}/tools/hub/validation.json +0 -0
  1471. {fse-2.0.0 → fse-2.1.0}/tools/hub/verify.py +0 -0
  1472. {fse-2.0.0 → fse-2.1.0}/tools/make_grapheme_tables.py +0 -0
  1473. {fse-2.0.0 → fse-2.1.0}/tools/make_unicode_tables.py +0 -0
  1474. {fse-2.0.0 → fse-2.1.0}/tools/make_wordpiece_tables.py +0 -0
  1475. {fse-2.0.0 → fse-2.1.0}/tools/profile_top.py +0 -0
  1476. {fse-2.0.0 → fse-2.1.0}/tools/rss.py +0 -0
  1477. {fse-2.0.0 → fse-2.1.0}/tools/stsb.py +0 -0
@@ -0,0 +1,279 @@
1
+ ---
2
+ name: fse-benchmark
3
+ description: "Plan, rehearse, run or audit fse CPU speed and quality measurements. Use for library comparisons, dtype controls, streamed writing, MTEB, STS, SIF fits, recall, measurement budgets and result validity. Uses the repository's two measurement entries."
4
+ ---
5
+
6
+ # Measure fse
7
+
8
+ Read [the measurement guide](../../../docs/benchmarks/measurement.md) before planning a run.
9
+ It defines commands, pins, result formats and eleven measurement rules.
10
+ Read [lessons and evidence](references/lessons.md) when choosing adapters, memory or lifecycle controls.
11
+ Follow repository instructions. This skill does not authorize spending, publication or deletion.
12
+
13
+ ## 1. Establish the question
14
+
15
+ Resolve missing decisions before allocating resources:
16
+
17
+ - What claim must the result support: encoding, persisted vectors, quality, or a code change?
18
+ - Which machine, CPU, allocation and date form the cohort? Local or rented hardware?
19
+ - Sentences or paragraphs? What corpus revision, count, digest, length and repetition policy?
20
+ - Which model revision, dimensions, normalization, truncation, table dtype and output format?
21
+ - Which workers, CPU affinity and documented parallel path does each library use?
22
+ - What are the time, RAM, disk and money limits? Who monitors, collects and ends the allocation?
23
+
24
+ Recommend one explicit study contract. Never silently shrink only a slow counterpart's input.
25
+ Different pairs may use different agreed workloads. Label their counts and digests separately.
26
+ Such pairs do not establish a fixed-input worker-scaling curve.
27
+
28
+ Choose the claim class before the protocol. Record question, decision, workload,
29
+ relevant effect boundary, total wall-time budget, estimated cost and stop rule.
30
+
31
+ | Class | Required evidence |
32
+ | :--- | :--- |
33
+ | correctness | Function, bits, conformance and quality. No speed decision. |
34
+ | descriptive | Candidate-only fixed repetitions, absolute median/IQR. No A/A or confirmation. |
35
+ | regression | Paired builds and a relevant slowdown boundary. Short screens remain preliminary without sufficient uncertainty evidence. |
36
+ | optimization | Full v2 controls, independent A/A validation and confirmation. Screens never decide keep. |
37
+ | publication | Existing Linux publication and release evidence. |
38
+
39
+ Use the guide's planning suggestions, not universal runtime promises. Reject plans
40
+ whose known costs exceed their budgets. Count preparation, warmups and lock/load
41
+ waits across all cells. Stop safely as inconclusive on exhaustion, retain raw data
42
+ and escalate without automatic extension. Never reinterpret historical or active runs.
43
+ A small regression median does not establish equivalence. Comparing descriptive medians does not prove
44
+ an optimization. Full numerical and persistence guarantees remain. Linux evidence is
45
+ required only for class publication or when the maintainer has explicitly approved a Linux machine
46
+ for the ticket.
47
+
48
+ ## 2. Select the existing entry
49
+
50
+ | Need | Entry | Definition |
51
+ | :--- | :--- | :--- |
52
+ | Library pairs, dtype controls, streamed writing, search time per request | `benchmarks/speed.py` | `benchmarks/config/speed.json` |
53
+ | MTEB, STS, offline SIF fits, recall, score summaries | `benchmarks/quality.py` | `benchmarks/config/quality.json` |
54
+
55
+ Start with `python benchmarks/speed.py --describe` or `python benchmarks/quality.py --describe`.
56
+ These modes inspect study data without installing optional measurement packages.
57
+ Use `--setup`, `--rehearse`, `--run`, `--bootstrap` and `--collect` as documented in the guide.
58
+ Quality also provides `--summarize`. Add study data, not another executable entry.
59
+ A new Python library adds a native factory and registry entry in `_speed_pipeline.py`.
60
+ Do not add repository tests for measurement tools or this skill, except for the cross-process coordination of the shared locks (`bench.lock`, `heavy.lock`).
61
+
62
+ Read `benchmarks/config/pins.json` and the relevant locks before changing a configuration.
63
+ Record the runner revision separately from each executing package's version, path and content hash.
64
+ Rust also needs source, Cargo lock, compiler, binary hash and actual Rayon thread count.
65
+ An fse fingerprint cannot identify a counterpart's installed code.
66
+
67
+ ### Local Unix development
68
+
69
+ Use the same entries with `--diagnose`, explicit `--base-python` and `--candidate-python`,
70
+ an external `--results` and `--work`, and selected `--cells`. `speed.py --local-info`
71
+ shows the local contract without optional evaluation packages. Windows is refused.
72
+ Local results on macOS, Linux and other Unix systems always say `publishable: false`.
73
+ They never replace the Linux publication protocol or justify publishing Mac speeds.
74
+
75
+ For the class descriptive, use `--local-phase descriptive --candidate-python ...` without a base.
76
+ Declare `--descriptive-repetitions` (default five), fixed `iterations` and
77
+ `resident_cycles`, and `--wall-time-seconds`. This path has no sizing, A/A or
78
+ confirmation. Warmups use the fixed `warmup_calls`, without a duration loop.
79
+ Legacy `decision_gate: false` keeps its paired meaning.
80
+ For a short regression probe, `--local-phase regression-screen --regression-limit FRACTION`
81
+ uses five alternating pairs and always remains inconclusive. No screen PASS rule
82
+ or equivalence test is supplied. Both interpreters are required.
83
+
84
+ Both entries accept total `--wall-time-seconds` and optional `--estimated-seconds`.
85
+ Defaults are fifteen minutes for descriptive and two hours otherwise, for the whole invocation.
86
+ Estimate first and set an appropriate explicit budget. A declared estimate above
87
+ the budget is refused. Active operations may finish past the admission deadline,
88
+ then no further operation starts. Record overruns, failed and unstarted cells.
89
+ Before long timing blocks, independently probe the adapter and verify actual builds,
90
+ inputs and metadata. Retain complete applicable quality checks, reused only for
91
+ identical configurations in the current invocation. Apply existing evidence reuse
92
+ identity and age checks, never a calendar-day shortcut.
93
+
94
+ The full optimization v2 local timer uses six-second continuous groups, at least two warmups totaling twelve seconds,
95
+ and fifteen alternating pairs per block. A/A adapts through six/twelve/twenty-four
96
+ seconds until its same-cell IQR is below two percent, with an independent control
97
+ block and a sixty-active-minute calibration limit. Calibration increases repetitions
98
+ of the same prepared corpus, never resident rows. Tokenizer and pooling reuse their
99
+ prepared input; memory encoding reuses a public Sink target and checks it against
100
+ regular encode. Disk groups include a new ShardSink's open, encode and close on each
101
+ iteration. Disk usage grows with repetitions; every store is checked and removed
102
+ outside the timer. Individual operations may be short. This local repeated-work
103
+ contract never satisfies the publication single-call gate. Old v1 controls cannot
104
+ be reused. An unresolved cell is inconclusive.
105
+ Keep requires saving at least `max(3 * A/A IQR, 0.02)` and a confirmation with the
106
+ same positive sign and at least half the effect. Maximum deviation is reported only.
107
+ All raw observations remain. Use ABBA explicitly in a cell when appropriate.
108
+
109
+ `FSE_BENCH_LOCK` and `FSE_HEAVY_LOCK` configure mutually exclusive mkdir locks.
110
+ Each lock serves registered waiters in FIFO order; see the measurement guide for queue positions, cancellation and mixed-version rollout.
111
+ Use `speed.py --local-heavy --worker-name NAME -- COMMAND ...` for builds/checks.
112
+ Timing waits for one-minute load below five before each cell and arm. Foreign CPU
113
+ above fifty percent is telemetry only. macOS clears child background policy when
114
+ available; Unix priority, Linux affinity and governor observations are capability-based.
115
+ Timing requires a controller at nice 0. zsh adds 5 to the nice value of `cmd &` jobs (BG_NICE), so never background a timing controller with `&` in zsh; start it from a process at nice 0 through a harness background shell or after `setopt NO_BG_NICE`. `speed.py --diagnose` refuses a nonzero nice before any work, except with `--diagnostic-rehearsal` or `--local-phase prepare`, where `os.getpriority` is available. See [lessons](references/lessons.md#setup-and-lifecycle-traps).
116
+
117
+ For a Linux functional probe, build the pinned development image:
118
+
119
+ ```sh
120
+ docker build -f benchmarks/docker/Dockerfile -t fse-development .
121
+ docker run --rm --cpus 2 --memory 4g \
122
+ --mount type=bind,src="$PWD",dst=/source,readonly \
123
+ --mount type=bind,src=/external/results,dst=/results \
124
+ --mount type=bind,src=/external/work,dst=/work \
125
+ --mount type=bind,src=/external/cache,dst=/cache \
126
+ --mount type=bind,src=/external/coordination,dst=/coordination \
127
+ fse-development /source/benchmarks/speed.py --local-info
128
+ ```
129
+
130
+ Create those external directories first. The image builds the extension with
131
+ CPython 3.13.18 (the image of `pins.json`) and uv 0.13.0, with no baked models/data and no registry push.
132
+ Rebuild it from the same checkout after product changes. Its explicit development
133
+ version does not identify a Git commit; package/source hashes identify actual code.
134
+ For a functional comparison, replace the final `--local-info` command with:
135
+
136
+ ```sh
137
+ /source/benchmarks/speed.py --diagnose --functional \
138
+ --base-python /opt/fse-env/bin/python --candidate-python /opt/fse-env/bin/python \
139
+ --cells potion-stsb-tokenizer potion-stsb-pooling potion-stsb-encode-memory potion-stsb-encode-sink \
140
+ --hf-cache /cache --results /results/probe-01 --work /work/probe-01
141
+ ```
142
+
143
+ Use fresh result/work subdirectories, not the existing mount roots. Public downloads
144
+ go into the mounted work directory; keep caches and generated output outside Git.
145
+ Use `--functional` (alias `--diagnostic-rehearsal`) for functional stage probes: it reduces the input and writes `production-plan.json` and `functional-plan.json`. Run Docker preparation
146
+ under heavy coordination and keep Docker off during native host timing sessions.
147
+ If a host heavy wrapper covers the complete Docker session, give the container its
148
+ own mounted coordination directory. Sharing the held host lock with its inner
149
+ controller would make it wait for itself. Other host work still uses the host locks.
150
+ See the [local protocol](../../../docs/benchmarks/measurement.md#local-unix-development)
151
+ for phases, complete quality checks, resource limits and result reuse.
152
+
153
+ ## 3. Prove correctness and resource feasibility
154
+
155
+ Load each side through its native API. Match input, truncation, normalization, shape and dtype.
156
+ Keep the fixed output sample and saved UNK cases. Library tolerances remain `rtol=3e-5`, `atol=3e-6`.
157
+ Dtype controls compare bits. A failed check yields no speed claim. Never relax tolerance to rescue a row.
158
+
159
+ Calculate peak live memory in bytes against the cgroup limit, not host RAM.
160
+ Include text objects, tokenizer buffers, model copies, output, concatenation and sample buffers.
161
+ Release warmup outputs before timing, including retained Torch tensors, then collect garbage.
162
+ Do not remove real concatenation copies from the budget because warmup output was freed.
163
+ The current conservative admission plan uses 85 percent of the cgroup limit.
164
+ Record rejected components. Do not call a preflight rejection an observed out-of-memory kill.
165
+ Check disk for inputs, caches, overlapping outputs and collection. Keep generated files outside the checkout.
166
+
167
+ Rehearse every selected cell and lifecycle control in the exact pinned Linux image before a paid run.
168
+ Use the same entry's `--rehearse` mode with at most two CPU quota units and four GiB RAM (six GiB for the speed rehearsal, because of the bekko cells; `quality.py --rehearse` reads the same speed limit).
169
+ Follow the guide's shared-memory and descriptor limits for ST.
170
+ Small inputs prove function, not full-size memory capacity or speed.
171
+ On a developer Mac or Mac mini, run only functional probes inside bounded Linux containers.
172
+ Honor shared `heavy.lock`, `nice` and local worker limits when those coordination rules apply.
173
+ Never publish local Mac times or run beside another heavy job.
174
+
175
+ ## 4. Measure under the agreed protocol
176
+
177
+ Publish speed only from Linux. Size input so every measured fse inference call (encode or predict) lasts at least two seconds.
178
+ Aim for three seconds with headroom. If a call falls below the gate, mark it invalid.
179
+ For search, individual calls have no two-second minimum. Measure whole passes of a
180
+ fixed query pool, calibrate every cell toward three-second blocks (at least two),
181
+ then freeze the largest pass count for all cells of the model. Rotate cells across
182
+ at least three rounds and report median and IQR of block time divided by requests.
183
+ A production block below two seconds is invalid. `--study search` selects exact
184
+ float32, exact int8 and binary search. `--study search-prefilter` explicitly selects
185
+ the prefilter and exact int8 comparison and is excluded from `all`. Functional
186
+ adapter enablement is never publishable. See the guide's search contract.
187
+
188
+ Do not reuse withdrawn small-input or M1 speed claims. M1 quality and accuracy remain valid.
189
+
190
+ Alternate arms for at least three rounds, with a full warmup before each measured call.
191
+ Record an initial quiet observation and telemetry before and after every operation.
192
+ Report primary medians and the median of same-round counterpart/fse time ratios.
193
+ The current library protocol has no duplicate A/A arm: record `not_run`, never a fabricated clean band.
194
+ Dtype controls retain the explicit symmetric 10 percent A/A gate.
195
+ Never mix machine cohorts, output contracts or protocols into a ratio.
196
+
197
+ For writes, rotate order and separate first-read-to-sink-close from later external synchronization.
198
+ Check row count, codes, scales and file digests. Synchronize and remove owned output before the next arm.
199
+ Do not let cleanup writeback overlap the next timer. Follow the owner's deletion authorization.
200
+ Report logical file bytes separately from physical device writes and state the RSS measurement scope.
201
+ Use telemetry to investigate drift. A quiet start does not prove a quiet run.
202
+
203
+ Stabilize APIs before timing. For small review fixes, run affected tests and
204
+ conformance, then the complete required `make check` on the final state. Repeat
205
+ only for new risk or a failed gate. Profile representative changed paths and
206
+ resource risks rather than every parameter combination.
207
+
208
+ For hot-path changes, profile representative changed paths and state the claim classes used, as AGENTS.md requires. A paired Linux float32 comparison is required only for class publication or when the maintainer has explicitly approved a Linux machine for the ticket. Report the actual Linux comparison status and say explicitly when none was run.
209
+ Use the profiling targets of the Makefile (`make profile-cpu`, `make profile-mem`, `make profile-rss`; see CONTRIBUTING.md), but verify which processes each profiler captures.
210
+ Linux CPU and RSS targets can follow the controller tree. Memray cannot follow an `exec` into a new interpreter.
211
+ For memory attribution, instrument the executing Python child directly, using its recorded `--child-job` with fresh diagnostic output paths.
212
+ Instrument spawned pool workers separately when needed. Use an appropriate native profiler for Rust.
213
+ Keep diagnostic timings out of speed summaries. State process coverage, hottest functions and memory peaks.
214
+ A controller-only allocation profile is not an encoder memory profile. See the referenced profiler limitation.
215
+
216
+ ## 5. Preserve quality meaning
217
+
218
+ Keep MTEB pinned and unmodified. Preserve actual language subsets, splits, seed and complete task rows.
219
+ Do not sample evaluation data. Current English coverage is 40 of 41 tasks, excluding MindSmallReranking.
220
+ NanoBEIR is separate. Never impute missing tasks or report a partial mean as a full benchmark.
221
+ Multilingual tasks keep their benchmark: name a task of several benchmarks as "Benchmark/Task".
222
+ Language columns count their tasks; a selection mean is no benchmark mean.
223
+ Compare zero-shot only over the common set MTEB confirms for every model.
224
+ Set HF_HOME and HF_DATASETS_CACHE explicitly; local runs watch disk and resident set.
225
+
226
+ Fit SIF only on the declared training corpus. Record frequencies, revision, seed, components and artifact hashes.
227
+ Historical WikiText fits and published FineWeb fits are different configurations.
228
+ Use explicit published-fit cells when reproducing released SIF-10 models.
229
+ Keep wordfreq policy, tokenizer and FastText OOV ngrams explicit. ParaNMT mean is a separate action.
230
+ Do not compare historical Pearson with MTEB Spearman as the same metric.
231
+ Summarize only complete matching coverage and preserve worker, dtype and fitted-state identities.
232
+ Quality evaluation wall time is not inference throughput. Encoding speed is not classifier speed.
233
+
234
+ ## 6. Monitor, collect and report
235
+
236
+ Observe `cells.jsonl`, `progress.json` and `DONE` continuously at the agreed interval.
237
+ A missing file during setup is not a transport failure. `DONE` means finished, including failure.
238
+ SIGTERM stops new work at a safe boundary. Admission limits do not kill an already active pair.
239
+ Keep failed and not-started cells. Never silently retry under weaker rules.
240
+ Verify the manifest and transferred bytes with the entry's `--collect` mode before claiming completeness.
241
+ Retain large evidence externally. Git receives only small reviewed summaries and provenance.
242
+ Never commit weights, matrices, raw data or reconstruction output, even on an evidence branch.
243
+ Inspect `git diff --stat` and file sizes before push. Files above 10 MB need coordinator approval.
244
+
245
+ Report accepted, invalid, failed and missing cells separately, with source identities and limitations.
246
+ Do not edit README, model cards or historical values as a side effect of running a study.
247
+
248
+ ## Conditional: rented machines
249
+
250
+ Use this section only when a rented machine is available and its lifecycle is authorized.
251
+ From 2.1, README speed numbers (class publication) come from AWS EC2 `m8a.8xlarge` in `eu-west-1` with dedicated cores, run as the guide's section "AWS EC2 for README speed numbers" describes: `allocation-readme-aws.json`, `aws_readme_billing`, `benchmarks/config/aws/user-data.sh`.
252
+ RunPod CPU pods are not used for publication: the same `cpu5g` type differed by 22 to 65 percent between allocations and once returned another processor (DR-417).
253
+ On EC2, tag every instance with `max-hours` at launch, reach it through Session Manager (no inbound port), and terminate it with its volume after collection.
254
+ Agree on compute, disk, setup, warmup, slow-arm and collection costs before starting.
255
+ Checked-in billing values are historical examples, not current quotes or spending approval.
256
+ CPU flavor and region do not guarantee a processor model. Inspect CPU, affinity and cgroup limits at startup.
257
+
258
+ Use the guide's bootstrap with an immutable pushed source revision and the exact image digest.
259
+ Start SSH before setup if collection requires it. Keep credentials out of logs, studies and results.
260
+ Retain the persistent restart guard. End setup and measurement paths in `sleep infinity` after completion handling.
261
+ A restart must never launch a second controller or overwrite results.
262
+ Use pinned hashed locks and verify installed environments with `uv pip check`.
263
+
264
+ Assign a read-only watcher and collect incremental files every two minutes.
265
+ Distinguish missing result files from SSH errors. Never start another controller from the watcher.
266
+ The owner collects and verifies immediately on failure or completion, then promptly deletes the allocation.
267
+ Analyze completeness locally after collection. Never retain idle billing for analysis or code preparation.
268
+
269
+ ### Addressed diagnostic profiles
270
+
271
+ Use `speed.py --profile FILE` with the `profile@1` contract in the measurement
272
+ guide, or `--profile-check FILE` before allocating a run window. The profile
273
+ owns one heavy lock across access checks and execution, with its own deadline.
274
+ Use fresh external output and work paths. Keep the sealed origin and its inputs
275
+ read-only. Runner sources and executing package content must match the origin.
276
+ For memray, prepare a copy of the arm environment after measurement and install
277
+ `benchmarks/config/profile.lock.txt` there with hash checking. Do not change the
278
+ origin environment. Verify requested and observed coverage separately. Profiles
279
+ are diagnostic correctness evidence and cannot enter paired speed summaries.
@@ -0,0 +1,100 @@
1
+ # Lessons and their evidence
2
+
3
+ These lessons come from DR-151 (Tempo, Qualität und Kosten gegen die Alternativen vergleichen), 1 and 2 November 2026. Later lessons name their own ticket.
4
+ Use the current [measurement guide](../../../../docs/benchmarks/measurement.md) for commands and policy.
5
+ The [comparison guide](../../../../docs/fse-comparison.md) links compact summaries and immutable historical evidence.
6
+ Historical snapshots are evidence, not current executables or permission to add raw files to Git.
7
+
8
+ ## Adapter and output traps
9
+
10
+ | Observed trap | Required response | Source |
11
+ | :--- | :--- | :--- |
12
+ | The ST compatibility loader discarded UNK while native StaticEmbedding included its table row. | Use native loading and retain saved UNK examples in the sample. | [Paired encoding protocol](../../../../docs/fse-comparison.md#paired-encoding-protocol), `prepare_models` in [the adapters](../../../../benchmarks/_speed_pipeline.py). |
13
+ | Python Model2Vec 0.10.0 uses Joblib threads in its documented batch path, despite the `use_multiprocessing` name. | Distinguish allowed CPUs, requested workers and observed utilization. One process does not prove one thread. | Same paired-protocol section and `model2vec_encoder` in the adapters. |
14
+ | Earlier Rust wrappers did not set the pool used by encoding. | Set the global Rayon pool and record `actual_threads`. Use the full contiguous `encode_flat` output contract. | `RUST_SOURCE` and `rust_child` in the adapters. |
15
+ | FastEmbed's static backend differs from an ONNX transformer. | Name the NumPy StaticTextEmbedding backend and time output stacking. | Paired protocol, `fastembed_encoder` in the adapters. |
16
+ | The original ST 16-thread call did not complete. A later process-pool call succeeded. | Reuse `start_multi_process_pool`. Batch size 1024 is a starting choice, not a measured optimum. Limit native and Torch threads to one per process. | Paired protocol, `st_encoder` and `st_pool_worker` in the adapters. |
17
+ | The first ST pool failed with `received 0 items of ancdata` at soft `nofile` 1024. Identical code succeeded at 524288. | Check the hard limit, raise the soft limit before pool creation, and check `/dev/shm`. Descriptor pressure is supported, but no EMFILE syscall was captured. | [ST failure and file-descriptor limit](../../../../docs/fse-comparison.md#st-failure-and-file-descriptor-limit), `st_file_limits` in the adapters. |
18
+
19
+ Never attach fse's runtime fingerprint to another backend. `package_identity` in
20
+ [the recorder](../../../../benchmarks/_measurement.py) hashes the executing package.
21
+ The Rust receipt adds binary identity. Recheck identity after execution.
22
+
23
+ ## Input, memory and timing traps
24
+
25
+ - Sentences and paragraphs have different costs. Record splitting rules and length statistics.
26
+ Sampling with replacement requires seed, distinct-count definition and repetition factor.
27
+ Source: [paired encoding protocol](../../../../docs/fse-comparison.md#paired-encoding-protocol) and
28
+ [input preparation](../../../../benchmarks/_speed_cells.py).
29
+ - Roughly 5,000-text calls and all M1 speed measurements were withdrawn. Clean short-call controls do not restore validity.
30
+ Source: [eleven measurement rules](../../../../docs/benchmarks/measurement.md#eleven-measurement-rules).
31
+ - Model2Vec, FastEmbed and ST can hold chunks alongside a concatenated output. fse writes into its output array.
32
+ Freeing warmup does not eliminate real concatenation. The current shared plan conservatively reserves two output-sized buffers even for fse.
33
+ Inspect actual paths before proposing another estimate.
34
+ Source: `memory_plan` in input preparation and the adapter implementation linked above.
35
+ - A memory admission failure does not prove the OS killed a process. Report each component against the cgroup limit.
36
+ Do not quietly reduce one arm. Source: `memory_plan` and [rehearsal contract](../../../../docs/benchmarks/measurement.md#rehearse-before-allocation).
37
+ - Close, fsync, check and delete owned output between writing rounds. Cleanup writeback must finish before the next timer.
38
+ The 100M study observed 16 workers faster than 32. Sequential configurations do not isolate CPU scaling.
39
+ Source: [native-file writing protocol](../../../../docs/fse-comparison.md#native-file-writing-protocol).
40
+ - Encoding, first-read-to-close, external fsync and classifier inference are distinct measurements.
41
+ The historical collection has no eligible current classification inference-speed cells.
42
+ fse's frozen linear head and Model2Vec's fine-tuned MLP are different trained models.
43
+ Source: [classification](../../../../docs/fse-comparison.md#classification).
44
+
45
+ - Memray follows forks but not `exec`. The speed controller launches new interpreters, so its allocation profile misses their work.
46
+ Instrument executing children directly and state coverage of spawned workers.
47
+ Source: [subprocess launch](../../../../benchmarks/_speed_run.py),
48
+ [Memray limitations](https://bloomberg.github.io/memray/supported_environments.html#known-issues-and-limitations).
49
+
50
+ ## Setup and lifecycle traps
51
+
52
+ - uv's first-index behavior can hide the pinned PyPI version when the Torch index contains the same name.
53
+ Setup uses `unsafe-best-match` with exact versions, `--no-deps`, `--require-hashes`, then `uv pip check`.
54
+ Hashes constrain distribution files, not which index supplied identical bytes.
55
+ Prefer explicit per-package sources when changing lock generation.
56
+ Source: [setup implementation](../../../../benchmarks/_measurement_setup.py),
57
+ [uv index documentation](https://docs.astral.sh/uv/concepts/indexes/#searching-across-multiple-indexes).
58
+ - An exiting bootstrap can restart and fail at an existing checkout before SSH is usable.
59
+ Keep SSH first, a persistent restart marker and final `sleep infinity` on success and failure.
60
+ Source: [bootstrap template](../../../../benchmarks/config/bootstrap.sh),
61
+ [inspect and set up](../../../../docs/benchmarks/measurement.md#inspect-and-set-up).
62
+ - Missing files during setup are normal. Distinguish these from SSH failures. `DONE` can mean failure.
63
+ Source: [monitor, collect and retain](../../../../docs/benchmarks/measurement.md#monitor-collect-and-retain).
64
+ - A tiny rehearsal cannot prove production descriptor or shared-memory capacity.
65
+ Rehearse completion, failure, restart, SIGTERM and admission before final manifest/DONE generation.
66
+ Source: [rehearsal implementation](../../../../benchmarks/_measurement_rehearse.py) and the measurement guide.
67
+ - Large caches and fit artifacts can exhaust a developer machine. Keep generated files external and check disk.
68
+ Arrange targeted cleanup of owned intermediates. Shared caches require their owner's approval.
69
+ Source: [common contract](../../../../docs/benchmarks/measurement.md#common-contract).
70
+ - zsh adds 5 to the inherited nice value of every background job (option BG_NICE, on by default), also in `zsh -fc` without job control or user startup files.
71
+ A controller started with `cmd &` or `nohup cmd &` from a zsh at nice 0 therefore runs at nice 5, and its timed children inherit that value.
72
+ `nice -n 0` adds nothing, and on macOS an ordinary unprivileged process cannot lower its nice value again.
73
+ Start timing from a process at nice 0: in the foreground, through a harness background shell without `&`, or after `setopt NO_BG_NICE` in the same zsh command.
74
+ `speed.py --diagnose` refuses a nonzero nice before it creates directories or starts the budget, except with `--diagnostic-rehearsal` or `--local-phase prepare`, where `os.getpriority` is available.
75
+ Observed 5 November 2026 in DR-218 (Suche mit höchstens einem Treffer je Dokument anbieten); fixed in DR-234 (zsh-Falle BG_NICE bei lokalen Messungen abfangen und dokumentieren).
76
+ Source: [zsh options, BG_NICE](https://zsh.sourceforge.io/Doc/Release/Options.html#Job-Control),
77
+ [zsh 5.9 exec.c](https://github.com/zsh-users/zsh/blob/zsh-5.9/Src/exec.c#L2689-L2696),
78
+ `require_timing_priority` in [the system module](../../../../benchmarks/_development_system.py).
79
+
80
+ ## Quality traps
81
+
82
+ - Task names alone do not preserve language subsets or splits. Resolve the configured benchmark task.
83
+ Keep evaluation rows complete. Current MTEB(eng, v2) coverage is explicitly 40 of 41 tasks.
84
+ MindSmallReranking has no score after insufficient disk and a later status 137 on a 64 GB allocation.
85
+ Status 137 alone is not proof of a captured OOM event.
86
+ Source: [quality study data](../../../../docs/benchmarks/measurement.md#quality-study-data) and
87
+ [quality comparison](../../../../docs/fse-comparison.md#quality).
88
+ - Historical WikiText SIF, wordfreq fits and published FineWeb SIF are different fitted states.
89
+ Preserve corpus, frequencies, seed, tokenizer, components and exported artifact identities, including FastText OOV ngrams.
90
+ Never attach an old quality row to a newly fitted artifact.
91
+ Source: [published SIF-10 fit](../../../../docs/benchmarks/measurement.md#published-sif-10-fit).
92
+ - The two approved WikiText serializations feed identical split tokens despite whitespace differences.
93
+ Accept only documented digests and record the actual file hash. Do not generalize this proof to arbitrary files.
94
+ Source: [fit corpus equivalence](../../../../docs/benchmarks/measurement.md#fit-corpus-equivalence).
95
+ - Historical STS Pearson and MTEB Spearman differ. Corpus and frequencies also changed.
96
+ No controlled ablation assigns the GloVe difference to one cause.
97
+ Source: [quality comparison](../../../../docs/fse-comparison.md#quality).
98
+ - Keep published-fit reconstruction when its former caller was a retired experiment.
99
+ FineWeb sampling remains part of reproducing released models.
100
+ Source: [published SIF-10 fit](../../../../docs/benchmarks/measurement.md#published-sif-10-fit).
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: release
3
+ description: "Prepare, approve and verify an fse release: CHANGELOG section, frozen persistence names, green master CI, maintainer approval, tag, the `release` environment, then PyPI and the GitHub release. Use for every release of fse, including pre-releases. Never tags or publishes without the maintainer's explicit approval."
4
+ ---
5
+
6
+ # Release fse
7
+
8
+ A pushed `v*` tag on `master` runs the release job in `.github/workflows/ci.yml`. The job publishes to PyPI. The job `github-release` then creates the GitHub release. Both are one release.
9
+
10
+ ## Hard rules
11
+
12
+ - **Never create a tag, a release or a publication without the maintainer's explicit approval for this version.** Approval of an earlier version, of this checklist or of a pull request is not approval to tag.
13
+ - Never approve the `release` environment yourself, never push a tag to test the workflow, never create the GitHub release by hand for a tagged version (the job does it; a manual one blocks the job).
14
+ - A tag cannot be undone: PyPI never accepts a file name twice.
15
+
16
+ ## Checklist
17
+
18
+ 1. **Version and scope.** Name the version `X.Y.Z` (pre-release: `X.Y.ZaN`, `bN` or `rcN`) and the commit on `master` that is released. Version numbers come from the tag through setuptools-scm.
19
+ 2. **Assemble CHANGELOG.md.** Work in a release-preparation branch. Choose the target version explicitly, without creating a tag. Inspect `uv run --group lint towncrier build --draft --version X.Y.Z`, then run `uv run --group lint towncrier build --yes --version X.Y.Z --date YYYY-MM-DD`. The build inserts `## [X.Y.Z] - YYYY-MM-DD` directly below the existing `## [Unreleased]` heading and consumes fragments. Do not rename Unreleased again. The existing Unreleased text becomes part of that same version section. For the first release after adopting fragments, reconcile the old ungrouped entries and categories with the generated categories. Keep every entry, and leave published sections byte-for-byte unchanged. Verify one nonempty version section, an empty Unreleased section, and no remaining fragment files. Only `changelog.d/README.md` and `changelog.d/template.md` may remain. The release jobs refuse other files, directories or symlinks before writing notes or publishing. Review and commit the assembled changelog and consumed fragments through the normal PR process before choosing the exact release commit.
20
+ 3. **Rehearse the notes** without a tag: `python3 tools/release_notes.py --tag vX.Y.Z --output <scratch file>`. Read the output.
21
+ 4. **Persistence names.** From the first release of 2.0 on, persistence names are frozen (docs/architecture/persistence.md, "Persistence names replace class paths"). Check that no name released before was renamed or reused, and that new names are intended to freeze.
22
+ 5. **Dependency lower bounds** in `pyproject.toml` match the minimum job pins in `.github/workflows/ci.yml`.
23
+ 6. **Green master CI on the exact commit**: a full `push` run on `master` (not a skill-only run) with `wheels (ubuntu-latest, manylinux)` successful. The release job checks this again and refuses otherwise.
24
+ 7. **Maintainer approval.** Ask for the explicit go for `vX.Y.Z` at the named commit. Stop here until it is given.
25
+ 8. **Tag.** Only after the go: create the annotated tag `vX.Y.Z` on that commit on `master` and push it.
26
+ 9. **Approve the environment.** The job waits in the `release` environment. The maintainer approves it. Watch the run in a background monitor, never in the foreground.
27
+ 10. **Verify afterwards**, and report each result:
28
+ - PyPI: `https://pypi.org/project/fse/X.Y.Z/` lists the sdist and the wheels for every platform.
29
+ - GitHub release: `gh release view vX.Y.Z --json name,tagName,isPrerelease,body,assets`. Name is `fse X.Y.Z`, the body is the CHANGELOG section, the assets are the sdist and the wheels, and a pre-release is marked as one. `gh api repos/oborchers/Fast_Sentence_Embeddings/releases/latest --jq .tag_name` names `vX.Y.Z` for a final release and still the older one for a pre-release.
30
+ - A clean install of `fse==X.Y.Z` imports.
31
+
32
+ ## If a job fails
33
+
34
+ - **Before the PyPI upload** (CHANGELOG, tag or file names): nothing is published. Fix on `master` through a pull request. A tag already pushed points at the old commit; ask the maintainer how to proceed, never move or delete a tag yourself.
35
+ - **After the PyPI upload, in `github-release`**: PyPI is final. Re-run the failed job. Only if that cannot work, and only with approval, create the release by hand with the flags of the job: `gh release create vX.Y.Z --verify-tag --title "fse X.Y.Z" --notes-file <notes> dist/*`, plus `--latest` for a final version or `--prerelease --latest=false` for a pre-release. The notes come from `tools/release_notes.py`, the files from the artifacts of the run.
36
+
37
+ Adapter tags follow `integrations/README.md`: release fse 2.1.0 first, then test all adapters against `fse==2.1.0` from PyPI before separately approved 0.2.0 publications.
@@ -0,0 +1,122 @@
1
+ ---
2
+ name: walkthrough
3
+ description: Explain and demonstrate one fse implementation worktree or GitHub pull request, grounded in code and tests, one item at a time. Use when explicitly invoked with $walkthrough or directly asked to walk through fse work. Continue the active walkthrough when the user replies next.
4
+ ---
5
+
6
+ # Walkthrough
7
+
8
+ Explain one bounded body of fse work one concise item at a time. Resolve the
9
+ source from context, prepare the complete agenda privately, and reveal only
10
+ the current item. Use German in a German context, otherwise match the user.
11
+
12
+ ## Resolve and verify the source
13
+
14
+ 1. Infer the current or named implementation worktree, or one specified open
15
+ or merged GitHub pull request, from the request and recent conversation.
16
+ 2. Read applicable `AGENTS.md` instructions. Inspect branch commits, status,
17
+ and the complete diff against the verified base. For a PR, verify its base,
18
+ exact head SHA, state, and merge commit through read-only GitHub queries.
19
+ 3. Fetch `origin/master` when permitted. Confirm shipped work is reachable
20
+ from that verified revision. Label open PRs, unmerged branches, and local
21
+ changes as unshipped. If remote verification is unavailable, state that limit.
22
+ 4. Ground claims in real code, tests, documentation, or observed behavior at
23
+ the selected revision. PR descriptions and tickets alone prove no behavior.
24
+ 5. Ask one focused scope question only if inspection cannot resolve the source.
25
+
26
+ Do not edit product code, repository documents, PRs, GitHub state, or settings.
27
+ Isolated test state and disposable demonstrations are permitted. Any setup or
28
+ build must respect current resource reservations and repository instructions.
29
+
30
+ ## Select the checkout
31
+
32
+ Use a checkout that faithfully contains the source before presenting item one.
33
+ Record its path, branch, exact HEAD, and initial status. If it is dirty, record
34
+ which diff is part of the source and distinguish it from the committed revision.
35
+
36
+ - Reuse a matching linked implementation worktree. Preserve it, its agents,
37
+ and its pre-existing services throughout the walkthrough.
38
+ - Use the primary checkout only for selected work already merged to `master`
39
+ and present there. It is source-only for unmerged work.
40
+ - For committed unmerged work without a matching linked checkout, fetch the
41
+ exact head and create a collision-free detached temporary worktree. Record
42
+ its parent, path, and SHA. Do not create a walkthrough branch.
43
+ - If a demo depends on uncommitted primary-checkout changes, pause and ask the
44
+ user to commit them or move them into a dedicated implementation worktree.
45
+ Never copy, stash, reset, or clean their changes to manufacture a revision.
46
+
47
+ ## Prepare the complete agenda privately
48
+
49
+ Freeze the full agenda before item one. Reveal its total count, but no future
50
+ item titles. Group by coherent behavior, contract, or operational change,
51
+ not by file, commit, or test. If new evidence changes the agenda materially,
52
+ explain why and rebuild it instead of silently changing the order or count.
53
+
54
+ For each item, decide whether a small API, CLI, or data demonstration helps.
55
+ fse is a CPU inference library for finished static embeddings, not a training
56
+ system. Use the current 2.0 API and code at the selected revision. The removed
57
+ 1.x API belongs to branch `1.x`; do not present it as current behavior.
58
+
59
+ - Prefer tiny synthetic word vectors, sentences, and temporary artifacts.
60
+ Derive examples from real signatures and tests in the selected checkout.
61
+ A typical API demo uses `WordVectors.from_arrays`,
62
+ `Encoder.from_word_vectors`, and `encode`; verify their current arguments.
63
+ - Use documented commands only when the selected change has a CLI entry.
64
+ Do not invent a general fse CLI or carry over Cargo or Proqi TUI setup.
65
+ - For persistence, search, or validation, show one observable result, such as
66
+ the output shape, a round trip, or the exact expected exception.
67
+ - Run examples against the exact checkout with its existing environment if
68
+ available. If setup is needed and permitted, use uv and the Makefile.
69
+ Do not download models, run benchmarks, or perform heavy builds merely
70
+ to explain a change. Respect resource reservations even for setup.
71
+ - Read-only inspection and tiny offline demos need no Herdr or terminal UI.
72
+ A live visual demo is useful only if the selected work actually adds visual
73
+ behavior. Prepare its real state before describing the observed result.
74
+ - Distinguish tests inspected, tests executed, expected output, and observed
75
+ output. If a demo is blocked, explain the limit rather than claiming it ran.
76
+
77
+ ## Keep strict pace
78
+
79
+ Advance only when the user's entire reply is `next`, ignoring case, surrounding
80
+ whitespace, and terminal punctuation. Every other reply discusses the current
81
+ item. Answer it concisely and keep that item active. Do not offer back, skip,
82
+ or overview controls. Never show more than one agenda item per response.
83
+
84
+ Use roughly 100 to 250 words per item when useful, less for a simple change:
85
+
86
+ ```text
87
+ 2 / 5: <current item>
88
+
89
+ <what it means and why it exists>
90
+
91
+ <one optional tiny demo and its observable result>
92
+
93
+ Schreib next.
94
+ ```
95
+
96
+ End each non-final item and discussion reply with `Schreib next.` in German
97
+ or `Say next.` in English. For a final item with a live demo still under
98
+ inspection, keep it available and end with `Letzter Punkt. Schreib next,
99
+ wenn du fertig bist.` (English: `Final item. Say next when you are finished.`).
100
+ That next ends inspection, not another agenda item. Otherwise end the final
101
+ item with `Walkthrough abgeschlossen.` or `Walkthrough complete.`
102
+
103
+ ## Retain ownership and require cleanup approval
104
+
105
+ Track every temporary checkout, directory, process, and optional pane created.
106
+ Never inherit automatic deletion permission from another project's skill.
107
+ Completion, abandonment, and `next` do not authorize removal. Ask for explicit
108
+ approval of any cleanup action that requires it under local rules. Until then,
109
+ retain the resources and report their exact paths or IDs and ownership.
110
+
111
+ Immediately before an approved destructive action, resolve each target through
112
+ structured state and show its ID, name, and path where available. Verify that
113
+ it matches the recorded walkthrough-owned target. Act on one verified target
114
+ per call, then list again to confirm only that target disappeared. For a
115
+ walkthrough-created detached worktree, also verify its recorded HEAD and empty
116
+ tracked and untracked status. Remove without force only after approval.
117
+
118
+ Preserve every reused implementation worktree, agent, pane, and pre-existing
119
+ service. If ownership, identity, revision, or cleanliness differs, retain the
120
+ resource and report why. Never force cleanup. At the end, report created
121
+ resources that remain, approved cleanup results, and the reused checkout's
122
+ path, branch, and status when applicable.
@@ -0,0 +1,6 @@
1
+ interface:
2
+ display_name: "fse Walkthrough"
3
+ short_description: "Explain and demonstrate fse changes step by step"
4
+ default_prompt: "Use $walkthrough to explain and demonstrate the supplied fse work one concise item at a time."
5
+ policy:
6
+ allow_implicit_invocation: true
@@ -0,0 +1,58 @@
1
+ default_install_hook_types: [pre-commit]
2
+ default_stages: [pre-commit]
3
+
4
+ repos:
5
+ - repo: https://github.com/pre-commit/pre-commit-hooks
6
+ rev: v6.0.0
7
+ hooks:
8
+ - id: no-commit-to-branch
9
+ args: ["--branch", "master"]
10
+ - id: check-yaml
11
+ args: ["--unsafe"]
12
+ - id: check-toml
13
+ - id: end-of-file-fixer
14
+ exclude: ^(evaluation|notebooks|tests/test_data)/
15
+ - id: trailing-whitespace
16
+ exclude: ^(evaluation|notebooks|tests/test_data)/
17
+ - id: check-added-large-files
18
+ args: ["--maxkb=500"]
19
+ - id: check-merge-conflict
20
+ - id: debug-statements
21
+
22
+ - repo: https://github.com/astral-sh/ruff-pre-commit
23
+ rev: v0.17.2
24
+ hooks:
25
+ - id: ruff
26
+ args: [--fix]
27
+ files: ^(src|tests|tools|benchmarks)/
28
+ - id: ruff-format
29
+ files: ^(src|tests|tools|benchmarks)/
30
+
31
+ - repo: local
32
+ hooks:
33
+ - id: import-linter
34
+ name: import contracts
35
+ entry: uv run --no-sync lint-imports --no-cache
36
+ language: system
37
+ pass_filenames: false
38
+ files: ^(src/|pyproject\.toml$)
39
+ - id: guardrails
40
+ name: guardrails
41
+ entry: uv run --no-sync python tools/check_guardrails.py
42
+ language: system
43
+ pass_filenames: false
44
+ # The paths of [tool.fse.guardrails] plus both configuration files.
45
+ # Keep the canonical expression checked by tools/check_guardrails.py.
46
+ files: ^(?:src/|tests/|tools/|benchmarks/|docs/assets/|recipes/|integrations/|setup\.py$|pyproject\.toml$|\.pre-commit-config\.yaml$)
47
+ - id: vulture
48
+ name: unused code
49
+ entry: uv run --no-sync vulture
50
+ language: system
51
+ pass_filenames: false
52
+ files: ^(src|tests|tools|benchmarks)/|^pyproject\.toml$
53
+ - id: deptry
54
+ name: dependencies
55
+ entry: uv run --no-sync deptry src
56
+ language: system
57
+ pass_filenames: false
58
+ files: ^src/|^pyproject\.toml$