raptor-studio 0.8.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 (438) hide show
  1. raptor_studio-0.8.0/LICENSE +49 -0
  2. raptor_studio-0.8.0/LICENSES/Apache-2.0.txt +201 -0
  3. raptor_studio-0.8.0/NOTICE.md +38 -0
  4. raptor_studio-0.8.0/PKG-INFO +275 -0
  5. raptor_studio-0.8.0/README.md +232 -0
  6. raptor_studio-0.8.0/THIRD_PARTY_NOTICES.md +36 -0
  7. raptor_studio-0.8.0/docs/IEC61078.md +76 -0
  8. raptor_studio-0.8.0/docs/KEYBOARD_SHORTCUTS.md +91 -0
  9. raptor_studio-0.8.0/docs/MCP.md +222 -0
  10. raptor_studio-0.8.0/docs/RBDS_FORMAT.md +561 -0
  11. raptor_studio-0.8.0/docs/completions/_raptor +11 -0
  12. raptor_studio-0.8.0/docs/completions/raptor +38 -0
  13. raptor_studio-0.8.0/docs/completions/raptor.fish +213 -0
  14. raptor_studio-0.8.0/docs/formulas.html +690 -0
  15. raptor_studio-0.8.0/docs/js/mathjax/LICENSE +202 -0
  16. raptor_studio-0.8.0/docs/js/mathjax/core.js +1 -0
  17. raptor_studio-0.8.0/docs/js/mathjax/input/asciimath.js +1 -0
  18. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/tex.js +1 -0
  19. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  20. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  21. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  22. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  23. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  24. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  25. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  26. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  27. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  28. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  29. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  30. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  31. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  32. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  33. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  34. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  35. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  36. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  37. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  38. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  39. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  40. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  41. raptor_studio-0.8.0/docs/js/mathjax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  42. raptor_studio-0.8.0/docs/js/mathjax/output/chtml.js +1 -0
  43. raptor_studio-0.8.0/docs/js/mathjax/startup.js +1 -0
  44. raptor_studio-0.8.0/docs/js/mathjax-config.js +7 -0
  45. raptor_studio-0.8.0/docs/man/raptor-compare.1 +58 -0
  46. raptor_studio-0.8.0/docs/man/raptor-completion.1 +9 -0
  47. raptor_studio-0.8.0/docs/man/raptor-config.1 +9 -0
  48. raptor_studio-0.8.0/docs/man/raptor-config.5 +16 -0
  49. raptor_studio-0.8.0/docs/man/raptor-convert.1 +17 -0
  50. raptor_studio-0.8.0/docs/man/raptor-diff.1 +61 -0
  51. raptor_studio-0.8.0/docs/man/raptor-doctor.1 +14 -0
  52. raptor_studio-0.8.0/docs/man/raptor-estimate.1 +20 -0
  53. raptor_studio-0.8.0/docs/man/raptor-extract.1 +51 -0
  54. raptor_studio-0.8.0/docs/man/raptor-fev.1 +87 -0
  55. raptor_studio-0.8.0/docs/man/raptor-get.1 +22 -0
  56. raptor_studio-0.8.0/docs/man/raptor-gui.1 +17 -0
  57. raptor_studio-0.8.0/docs/man/raptor-help.1 +9 -0
  58. raptor_studio-0.8.0/docs/man/raptor-info.1 +17 -0
  59. raptor_studio-0.8.0/docs/man/raptor-mcp.1 +85 -0
  60. raptor_studio-0.8.0/docs/man/raptor-render.1 +32 -0
  61. raptor_studio-0.8.0/docs/man/raptor-report.1 +20 -0
  62. raptor_studio-0.8.0/docs/man/raptor-run.1 +192 -0
  63. raptor_studio-0.8.0/docs/man/raptor-set-paths.7 +39 -0
  64. raptor_studio-0.8.0/docs/man/raptor-set.1 +38 -0
  65. raptor_studio-0.8.0/docs/man/raptor-spf.1 +20 -0
  66. raptor_studio-0.8.0/docs/man/raptor-step.1 +51 -0
  67. raptor_studio-0.8.0/docs/man/raptor-sweep.1 +130 -0
  68. raptor_studio-0.8.0/docs/man/raptor-tables.1 +67 -0
  69. raptor_studio-0.8.0/docs/man/raptor-validate.1 +86 -0
  70. raptor_studio-0.8.0/docs/man/raptor.1 +117 -0
  71. raptor_studio-0.8.0/docs/manual.html +2639 -0
  72. raptor_studio-0.8.0/docs/ops_asciidoctor.css +556 -0
  73. raptor_studio-0.8.0/new_docs/book.adoc +70 -0
  74. raptor_studio-0.8.0/new_docs/book.html +11742 -0
  75. raptor_studio-0.8.0/new_docs/chapters/appendix-developer-options.adoc +72 -0
  76. raptor_studio-0.8.0/new_docs/chapters/appendix-glossary.adoc +209 -0
  77. raptor_studio-0.8.0/new_docs/chapters/appendix-iec61078.adoc +71 -0
  78. raptor_studio-0.8.0/new_docs/chapters/ch-capstone-flight.adoc +341 -0
  79. raptor_studio-0.8.0/new_docs/chapters/ch-capstone-line.adoc +256 -0
  80. raptor_studio-0.8.0/new_docs/chapters/ch-dependency.adoc +213 -0
  81. raptor_studio-0.8.0/new_docs/chapters/ch-events.adoc +186 -0
  82. raptor_studio-0.8.0/new_docs/chapters/ch-phasing.adoc +243 -0
  83. raptor_studio-0.8.0/new_docs/chapters/ch-transients.adoc +207 -0
  84. raptor_studio-0.8.0/new_docs/chapters/ch00-welcome.adoc +185 -0
  85. raptor_studio-0.8.0/new_docs/chapters/ch01-first-model.adoc +311 -0
  86. raptor_studio-0.8.0/new_docs/chapters/ch02-redundancy.adoc +181 -0
  87. raptor_studio-0.8.0/new_docs/chapters/ch03-voting.adoc +163 -0
  88. raptor_studio-0.8.0/new_docs/chapters/ch04-distributions.adoc +191 -0
  89. raptor_studio-0.8.0/new_docs/chapters/ch05-repair.adoc +195 -0
  90. raptor_studio-0.8.0/new_docs/chapters/ch06-many-trials.adoc +202 -0
  91. raptor_studio-0.8.0/new_docs/chapters/ch07-sparing.adoc +167 -0
  92. raptor_studio-0.8.0/new_docs/chapters/ch08-standby.adoc +158 -0
  93. raptor_studio-0.8.0/new_docs/chapters/ch09-preventive.adoc +188 -0
  94. raptor_studio-0.8.0/new_docs/chapters/ch10-hierarchy.adoc +286 -0
  95. raptor_studio-0.8.0/new_docs/chapters/ch11-capacity.adoc +192 -0
  96. raptor_studio-0.8.0/new_docs/chapters/ch12-cost.adoc +168 -0
  97. raptor_studio-0.8.0/new_docs/chapters/ch13-weaklink.adoc +241 -0
  98. raptor_studio-0.8.0/new_docs/chapters/ch14-capstone.adoc +296 -0
  99. raptor_studio-0.8.0/new_docs/chapters/ch15-debugger.adoc +211 -0
  100. raptor_studio-0.8.0/new_docs/chapters/ch16-mcp.adoc +1522 -0
  101. raptor_studio-0.8.0/new_docs/images/app-first-look.png +0 -0
  102. raptor_studio-0.8.0/new_docs/images/bakery-loaded.png +0 -0
  103. raptor_studio-0.8.0/new_docs/images/carcare-results.png +0 -0
  104. raptor_studio-0.8.0/new_docs/images/carwash-loaded.png +0 -0
  105. raptor_studio-0.8.0/new_docs/images/dc-loaded.png +0 -0
  106. raptor_studio-0.8.0/new_docs/images/dc-power-inside.png +0 -0
  107. raptor_studio-0.8.0/new_docs/images/dist-shapes.svg +1 -0
  108. raptor_studio-0.8.0/new_docs/images/drone-loaded.png +0 -0
  109. raptor_studio-0.8.0/new_docs/images/espresso-loaded.png +0 -0
  110. raptor_studio-0.8.0/new_docs/images/espressodep-badge.png +0 -0
  111. raptor_studio-0.8.0/new_docs/images/finale-loaded.png +0 -0
  112. raptor_studio-0.8.0/new_docs/images/flight1-loaded.png +0 -0
  113. raptor_studio-0.8.0/new_docs/images/flight1-results.png +0 -0
  114. raptor_studio-0.8.0/new_docs/images/kofn-drone.svg +53 -0
  115. raptor_studio-0.8.0/new_docs/images/lantern-loaded.png +0 -0
  116. raptor_studio-0.8.0/new_docs/images/lantern-results.png +0 -0
  117. raptor_studio-0.8.0/new_docs/images/laundromat-naive.png +0 -0
  118. raptor_studio-0.8.0/new_docs/images/parallel-pumps.svg +36 -0
  119. raptor_studio-0.8.0/new_docs/images/prodline-loaded.png +0 -0
  120. raptor_studio-0.8.0/new_docs/images/prodline1-results.png +0 -0
  121. raptor_studio-0.8.0/new_docs/images/runs_converge.svg +1 -0
  122. raptor_studio-0.8.0/new_docs/images/series-lantern.svg +25 -0
  123. raptor_studio-0.8.0/new_docs/images/simulate-cores.png +0 -0
  124. raptor_studio-0.8.0/new_docs/images/start-new.png +0 -0
  125. raptor_studio-0.8.0/new_docs/images/start-page.png +0 -0
  126. raptor_studio-0.8.0/new_docs/images/step-fail.png +0 -0
  127. raptor_studio-0.8.0/new_docs/images/step-ribbon.png +0 -0
  128. raptor_studio-0.8.0/new_docs/images/step-start.png +0 -0
  129. raptor_studio-0.8.0/new_docs/images/sweep-dialog.png +0 -0
  130. raptor_studio-0.8.0/new_docs/images/tacotruck-loaded.png +0 -0
  131. raptor_studio-0.8.0/new_docs/images/van-engine-inside.png +0 -0
  132. raptor_studio-0.8.0/new_docs/images/van-loaded.png +0 -0
  133. raptor_studio-0.8.0/new_docs/images/van-tires-inside.png +0 -0
  134. raptor_studio-0.8.0/new_docs/images/vendo-data-tables.png +0 -0
  135. raptor_studio-0.8.0/new_docs/images/vendo-results.png +0 -0
  136. raptor_studio-0.8.0/new_docs/images/water-loaded.png +0 -0
  137. raptor_studio-0.8.0/new_docs/images/water2-sysconfig.png +0 -0
  138. raptor_studio-0.8.0/new_docs/models/AirlinerMission.rbds +2121 -0
  139. raptor_studio-0.8.0/new_docs/models/Bakery1.rbds +658 -0
  140. raptor_studio-0.8.0/new_docs/models/CarCare0.rbds +342 -0
  141. raptor_studio-0.8.0/new_docs/models/CarCare1.rbds +342 -0
  142. raptor_studio-0.8.0/new_docs/models/CarWash1.rbds +494 -0
  143. raptor_studio-0.8.0/new_docs/models/DC1.rbds +2456 -0
  144. raptor_studio-0.8.0/new_docs/models/DC2.rbds +2663 -0
  145. raptor_studio-0.8.0/new_docs/models/Drone1.rbds +1275 -0
  146. raptor_studio-0.8.0/new_docs/models/Espresso1.rbds +658 -0
  147. raptor_studio-0.8.0/new_docs/models/EspressoDep1.rbds +658 -0
  148. raptor_studio-0.8.0/new_docs/models/FinaleShow1.rbds +554 -0
  149. raptor_studio-0.8.0/new_docs/models/Flight1.rbds +1182 -0
  150. raptor_studio-0.8.0/new_docs/models/HospitalPower.rbds +3087 -0
  151. raptor_studio-0.8.0/new_docs/models/Lantern1.rbds +560 -0
  152. raptor_studio-0.8.0/new_docs/models/Laundromat1.rbds +342 -0
  153. raptor_studio-0.8.0/new_docs/models/ProdLine0.rbds +1761 -0
  154. raptor_studio-0.8.0/new_docs/models/ProdLine1.rbds +1761 -0
  155. raptor_studio-0.8.0/new_docs/models/TacoTruck1.rbds +451 -0
  156. raptor_studio-0.8.0/new_docs/models/Toaster_Expo.rbds +342 -0
  157. raptor_studio-0.8.0/new_docs/models/Toaster_Fixed.rbds +342 -0
  158. raptor_studio-0.8.0/new_docs/models/Toaster_Weibull.rbds +342 -0
  159. raptor_studio-0.8.0/new_docs/models/Van1.rbds +1272 -0
  160. raptor_studio-0.8.0/new_docs/models/VanFlat.rbds +1021 -0
  161. raptor_studio-0.8.0/new_docs/models/Vendo1.rbds +451 -0
  162. raptor_studio-0.8.0/new_docs/models/Water1.rbds +678 -0
  163. raptor_studio-0.8.0/new_docs/models/Water2.rbds +679 -0
  164. raptor_studio-0.8.0/new_docs/models/WaterTreatment.rbds +2854 -0
  165. raptor_studio-0.8.0/new_docs/ops_asciidoctor.css +556 -0
  166. raptor_studio-0.8.0/pyproject.toml +284 -0
  167. raptor_studio-0.8.0/raptor/__init__.py +4 -0
  168. raptor_studio-0.8.0/raptor/api/__init__.py +5 -0
  169. raptor_studio-0.8.0/raptor/api/analyse.py +624 -0
  170. raptor_studio-0.8.0/raptor/api/annotations.py +554 -0
  171. raptor_studio-0.8.0/raptor/api/batch.py +104 -0
  172. raptor_studio-0.8.0/raptor/api/build.py +3386 -0
  173. raptor_studio-0.8.0/raptor/api/distributions.py +94 -0
  174. raptor_studio-0.8.0/raptor/api/estimate.py +660 -0
  175. raptor_studio-0.8.0/raptor/api/importance.py +452 -0
  176. raptor_studio-0.8.0/raptor/api/inspect.py +273 -0
  177. raptor_studio-0.8.0/raptor/api/isolate.py +572 -0
  178. raptor_studio-0.8.0/raptor/api/limits.py +74 -0
  179. raptor_studio-0.8.0/raptor/api/markdown.py +833 -0
  180. raptor_studio-0.8.0/raptor/api/metric_definitions.py +122 -0
  181. raptor_studio-0.8.0/raptor/api/model_diff.py +1115 -0
  182. raptor_studio-0.8.0/raptor/api/paths.py +294 -0
  183. raptor_studio-0.8.0/raptor/api/presentation.py +433 -0
  184. raptor_studio-0.8.0/raptor/api/rates.py +345 -0
  185. raptor_studio-0.8.0/raptor/api/render.py +195 -0
  186. raptor_studio-0.8.0/raptor/api/report_html.py +478 -0
  187. raptor_studio-0.8.0/raptor/api/results.py +153 -0
  188. raptor_studio-0.8.0/raptor/api/run.py +1178 -0
  189. raptor_studio-0.8.0/raptor/api/run_tables.py +134 -0
  190. raptor_studio-0.8.0/raptor/api/series.py +417 -0
  191. raptor_studio-0.8.0/raptor/api/stepping.py +107 -0
  192. raptor_studio-0.8.0/raptor/api/table_export.py +315 -0
  193. raptor_studio-0.8.0/raptor/api/tables.py +794 -0
  194. raptor_studio-0.8.0/raptor/api/validate.py +869 -0
  195. raptor_studio-0.8.0/raptor/api/workspace.py +1308 -0
  196. raptor_studio-0.8.0/raptor/bundled.py +40 -0
  197. raptor_studio-0.8.0/raptor/cli/__init__.py +6 -0
  198. raptor_studio-0.8.0/raptor/cli/__main__.py +3 -0
  199. raptor_studio-0.8.0/raptor/cli/cmd_gui.py +52 -0
  200. raptor_studio-0.8.0/raptor/cli/cmd_info.py +242 -0
  201. raptor_studio-0.8.0/raptor/cli/cmd_mcp.py +23 -0
  202. raptor_studio-0.8.0/raptor/cli/cmd_misc.py +225 -0
  203. raptor_studio-0.8.0/raptor/cli/cmd_run.py +370 -0
  204. raptor_studio-0.8.0/raptor/cli/cmd_tools.py +649 -0
  205. raptor_studio-0.8.0/raptor/cli/common.py +227 -0
  206. raptor_studio-0.8.0/raptor/cli/exitcodes.py +30 -0
  207. raptor_studio-0.8.0/raptor/cli/main.py +196 -0
  208. raptor_studio-0.8.0/raptor/cli/manpages.py +321 -0
  209. raptor_studio-0.8.0/raptor/cli/runopts.py +118 -0
  210. raptor_studio-0.8.0/raptor/core/__init__.py +0 -0
  211. raptor_studio-0.8.0/raptor/core/annotations.py +69 -0
  212. raptor_studio-0.8.0/raptor/core/dev_options.py +220 -0
  213. raptor_studio-0.8.0/raptor/core/diagnostics.py +50 -0
  214. raptor_studio-0.8.0/raptor/core/distro_rules.py +365 -0
  215. raptor_studio-0.8.0/raptor/core/engine/__init__.py +0 -0
  216. raptor_studio-0.8.0/raptor/core/engine/accounting.py +174 -0
  217. raptor_studio-0.8.0/raptor/core/engine/block_env.py +168 -0
  218. raptor_studio-0.8.0/raptor/core/engine/block_lifecycle.py +4039 -0
  219. raptor_studio-0.8.0/raptor/core/engine/blocks.py +369 -0
  220. raptor_studio-0.8.0/raptor/core/engine/capacity.py +785 -0
  221. raptor_studio-0.8.0/raptor/core/engine/cascade.py +198 -0
  222. raptor_studio-0.8.0/raptor/core/engine/cascade_cold.py +278 -0
  223. raptor_studio-0.8.0/raptor/core/engine/cascade_dependency.py +206 -0
  224. raptor_studio-0.8.0/raptor/core/engine/cascade_phase.py +361 -0
  225. raptor_studio-0.8.0/raptor/core/engine/cascade_status.py +269 -0
  226. raptor_studio-0.8.0/raptor/core/engine/cold_standby.py +931 -0
  227. raptor_studio-0.8.0/raptor/core/engine/costs.py +330 -0
  228. raptor_studio-0.8.0/raptor/core/engine/cumulative.py +259 -0
  229. raptor_studio-0.8.0/raptor/core/engine/data_files.py +92 -0
  230. raptor_studio-0.8.0/raptor/core/engine/dependency.py +1090 -0
  231. raptor_studio-0.8.0/raptor/core/engine/diststats.py +158 -0
  232. raptor_studio-0.8.0/raptor/core/engine/domain_tree.py +99 -0
  233. raptor_studio-0.8.0/raptor/core/engine/driver.py +890 -0
  234. raptor_studio-0.8.0/raptor/core/engine/errors.py +75 -0
  235. raptor_studio-0.8.0/raptor/core/engine/eventlog.py +186 -0
  236. raptor_studio-0.8.0/raptor/core/engine/events.py +201 -0
  237. raptor_studio-0.8.0/raptor/core/engine/fev.py +555 -0
  238. raptor_studio-0.8.0/raptor/core/engine/fmeca.py +185 -0
  239. raptor_studio-0.8.0/raptor/core/engine/graph.py +645 -0
  240. raptor_studio-0.8.0/raptor/core/engine/interrupts.py +63 -0
  241. raptor_studio-0.8.0/raptor/core/engine/invariants.py +80 -0
  242. raptor_studio-0.8.0/raptor/core/engine/kickoff.py +1131 -0
  243. raptor_studio-0.8.0/raptor/core/engine/load.py +245 -0
  244. raptor_studio-0.8.0/raptor/core/engine/model_checks.py +134 -0
  245. raptor_studio-0.8.0/raptor/core/engine/negative_draws.py +35 -0
  246. raptor_studio-0.8.0/raptor/core/engine/nodes.py +719 -0
  247. raptor_studio-0.8.0/raptor/core/engine/orchestrator.py +1104 -0
  248. raptor_studio-0.8.0/raptor/core/engine/phasing.py +244 -0
  249. raptor_studio-0.8.0/raptor/core/engine/pool.py +570 -0
  250. raptor_studio-0.8.0/raptor/core/engine/report_format.py +376 -0
  251. raptor_studio-0.8.0/raptor/core/engine/reporting.py +540 -0
  252. raptor_studio-0.8.0/raptor/core/engine/reports.py +1852 -0
  253. raptor_studio-0.8.0/raptor/core/engine/run_control.py +97 -0
  254. raptor_studio-0.8.0/raptor/core/engine/runner.py +678 -0
  255. raptor_studio-0.8.0/raptor/core/engine/sim_details.py +130 -0
  256. raptor_studio-0.8.0/raptor/core/engine/spf.py +90 -0
  257. raptor_studio-0.8.0/raptor/core/engine/spf_fev.py +192 -0
  258. raptor_studio-0.8.0/raptor/core/engine/stats.py +130 -0
  259. raptor_studio-0.8.0/raptor/core/engine/step_session.py +160 -0
  260. raptor_studio-0.8.0/raptor/core/engine/system_status.py +533 -0
  261. raptor_studio-0.8.0/raptor/core/engine/triggers.py +148 -0
  262. raptor_studio-0.8.0/raptor/core/engine/wait_sites.py +201 -0
  263. raptor_studio-0.8.0/raptor/core/engine/weak_metric.py +283 -0
  264. raptor_studio-0.8.0/raptor/core/fileio/__init__.py +0 -0
  265. raptor_studio-0.8.0/raptor/core/fileio/builder.py +553 -0
  266. raptor_studio-0.8.0/raptor/core/fileio/legacy_layout.py +868 -0
  267. raptor_studio-0.8.0/raptor/core/fileio/phase_edit.py +221 -0
  268. raptor_studio-0.8.0/raptor/core/fileio/rbd.py +900 -0
  269. raptor_studio-0.8.0/raptor/core/fileio/rbdlib.py +410 -0
  270. raptor_studio-0.8.0/raptor/core/fileio/rbds.py +877 -0
  271. raptor_studio-0.8.0/raptor/core/fileio/rbl.py +322 -0
  272. raptor_studio-0.8.0/raptor/core/fileio/typed.py +548 -0
  273. raptor_studio-0.8.0/raptor/core/fileio/view_transform.py +307 -0
  274. raptor_studio-0.8.0/raptor/core/fileio/xlsx_writer.py +284 -0
  275. raptor_studio-0.8.0/raptor/core/input_rules.py +1050 -0
  276. raptor_studio-0.8.0/raptor/core/model.py +635 -0
  277. raptor_studio-0.8.0/raptor/core/rng.py +476 -0
  278. raptor_studio-0.8.0/raptor/core/run_experiment.py +441 -0
  279. raptor_studio-0.8.0/raptor/core/run_manifest.py +148 -0
  280. raptor_studio-0.8.0/raptor/core/scheduler.py +1121 -0
  281. raptor_studio-0.8.0/raptor/gui/__init__.py +1 -0
  282. raptor_studio-0.8.0/raptor/gui/app.py +201 -0
  283. raptor_studio-0.8.0/raptor/gui/clipboard_plan.py +287 -0
  284. raptor_studio-0.8.0/raptor/gui/command_table.py +1263 -0
  285. raptor_studio-0.8.0/raptor/gui/commands.py +553 -0
  286. raptor_studio-0.8.0/raptor/gui/cores.py +40 -0
  287. raptor_studio-0.8.0/raptor/gui/dev_inspector.py +157 -0
  288. raptor_studio-0.8.0/raptor/gui/dev_settings.py +53 -0
  289. raptor_studio-0.8.0/raptor/gui/examples.py +91 -0
  290. raptor_studio-0.8.0/raptor/gui/hierarchy_plan.py +448 -0
  291. raptor_studio-0.8.0/raptor/gui/model_edit.py +645 -0
  292. raptor_studio-0.8.0/raptor/gui/new_model.py +144 -0
  293. raptor_studio-0.8.0/raptor/gui/open_models.py +100 -0
  294. raptor_studio-0.8.0/raptor/gui/resources/__init__.py +1 -0
  295. raptor_studio-0.8.0/raptor/gui/resources/design_tokens.py +945 -0
  296. raptor_studio-0.8.0/raptor/gui/resources/examples/AirlinerMission_dark.png +0 -0
  297. raptor_studio-0.8.0/raptor/gui/resources/examples/AirlinerMission_light.png +0 -0
  298. raptor_studio-0.8.0/raptor/gui/resources/examples/Bakery1_dark.png +0 -0
  299. raptor_studio-0.8.0/raptor/gui/resources/examples/Bakery1_light.png +0 -0
  300. raptor_studio-0.8.0/raptor/gui/resources/examples/CarCare0_dark.png +0 -0
  301. raptor_studio-0.8.0/raptor/gui/resources/examples/CarCare0_light.png +0 -0
  302. raptor_studio-0.8.0/raptor/gui/resources/examples/CarCare1_dark.png +0 -0
  303. raptor_studio-0.8.0/raptor/gui/resources/examples/CarCare1_light.png +0 -0
  304. raptor_studio-0.8.0/raptor/gui/resources/examples/CarWash1_dark.png +0 -0
  305. raptor_studio-0.8.0/raptor/gui/resources/examples/CarWash1_light.png +0 -0
  306. raptor_studio-0.8.0/raptor/gui/resources/examples/DC1_dark.png +0 -0
  307. raptor_studio-0.8.0/raptor/gui/resources/examples/DC1_light.png +0 -0
  308. raptor_studio-0.8.0/raptor/gui/resources/examples/DC2_dark.png +0 -0
  309. raptor_studio-0.8.0/raptor/gui/resources/examples/DC2_light.png +0 -0
  310. raptor_studio-0.8.0/raptor/gui/resources/examples/Drone1_dark.png +0 -0
  311. raptor_studio-0.8.0/raptor/gui/resources/examples/Drone1_light.png +0 -0
  312. raptor_studio-0.8.0/raptor/gui/resources/examples/Espresso1_dark.png +0 -0
  313. raptor_studio-0.8.0/raptor/gui/resources/examples/Espresso1_light.png +0 -0
  314. raptor_studio-0.8.0/raptor/gui/resources/examples/EspressoDep1_dark.png +0 -0
  315. raptor_studio-0.8.0/raptor/gui/resources/examples/EspressoDep1_light.png +0 -0
  316. raptor_studio-0.8.0/raptor/gui/resources/examples/FinaleShow1_dark.png +0 -0
  317. raptor_studio-0.8.0/raptor/gui/resources/examples/FinaleShow1_light.png +0 -0
  318. raptor_studio-0.8.0/raptor/gui/resources/examples/Flight1_dark.png +0 -0
  319. raptor_studio-0.8.0/raptor/gui/resources/examples/Flight1_light.png +0 -0
  320. raptor_studio-0.8.0/raptor/gui/resources/examples/HospitalPower_dark.png +0 -0
  321. raptor_studio-0.8.0/raptor/gui/resources/examples/HospitalPower_light.png +0 -0
  322. raptor_studio-0.8.0/raptor/gui/resources/examples/Lantern1_dark.png +0 -0
  323. raptor_studio-0.8.0/raptor/gui/resources/examples/Lantern1_light.png +0 -0
  324. raptor_studio-0.8.0/raptor/gui/resources/examples/Laundromat1_dark.png +0 -0
  325. raptor_studio-0.8.0/raptor/gui/resources/examples/Laundromat1_light.png +0 -0
  326. raptor_studio-0.8.0/raptor/gui/resources/examples/ProdLine0_dark.png +0 -0
  327. raptor_studio-0.8.0/raptor/gui/resources/examples/ProdLine0_light.png +0 -0
  328. raptor_studio-0.8.0/raptor/gui/resources/examples/ProdLine1_dark.png +0 -0
  329. raptor_studio-0.8.0/raptor/gui/resources/examples/ProdLine1_light.png +0 -0
  330. raptor_studio-0.8.0/raptor/gui/resources/examples/TacoTruck1_dark.png +0 -0
  331. raptor_studio-0.8.0/raptor/gui/resources/examples/TacoTruck1_light.png +0 -0
  332. raptor_studio-0.8.0/raptor/gui/resources/examples/Toaster_Expo_dark.png +0 -0
  333. raptor_studio-0.8.0/raptor/gui/resources/examples/Toaster_Expo_light.png +0 -0
  334. raptor_studio-0.8.0/raptor/gui/resources/examples/Toaster_Fixed_dark.png +0 -0
  335. raptor_studio-0.8.0/raptor/gui/resources/examples/Toaster_Fixed_light.png +0 -0
  336. raptor_studio-0.8.0/raptor/gui/resources/examples/Toaster_Weibull_dark.png +0 -0
  337. raptor_studio-0.8.0/raptor/gui/resources/examples/Toaster_Weibull_light.png +0 -0
  338. raptor_studio-0.8.0/raptor/gui/resources/examples/Van1_dark.png +0 -0
  339. raptor_studio-0.8.0/raptor/gui/resources/examples/Van1_light.png +0 -0
  340. raptor_studio-0.8.0/raptor/gui/resources/examples/VanFlat_dark.png +0 -0
  341. raptor_studio-0.8.0/raptor/gui/resources/examples/VanFlat_light.png +0 -0
  342. raptor_studio-0.8.0/raptor/gui/resources/examples/Vendo1_dark.png +0 -0
  343. raptor_studio-0.8.0/raptor/gui/resources/examples/Vendo1_light.png +0 -0
  344. raptor_studio-0.8.0/raptor/gui/resources/examples/Water1_dark.png +0 -0
  345. raptor_studio-0.8.0/raptor/gui/resources/examples/Water1_light.png +0 -0
  346. raptor_studio-0.8.0/raptor/gui/resources/examples/Water2_dark.png +0 -0
  347. raptor_studio-0.8.0/raptor/gui/resources/examples/Water2_light.png +0 -0
  348. raptor_studio-0.8.0/raptor/gui/resources/examples/WaterTreatment_dark.png +0 -0
  349. raptor_studio-0.8.0/raptor/gui/resources/examples/WaterTreatment_light.png +0 -0
  350. raptor_studio-0.8.0/raptor/gui/resources/icons.py +2147 -0
  351. raptor_studio-0.8.0/raptor/gui/resources/indicator_images.py +96 -0
  352. raptor_studio-0.8.0/raptor/gui/resources/raptor_icon.png +0 -0
  353. raptor_studio-0.8.0/raptor/gui/resources/raptor_logo.png +0 -0
  354. raptor_studio-0.8.0/raptor/gui/row_ops.py +152 -0
  355. raptor_studio-0.8.0/raptor/gui/ui/__init__.py +1 -0
  356. raptor_studio-0.8.0/raptor/gui/ui/backstage.py +743 -0
  357. raptor_studio-0.8.0/raptor/gui/ui/batch_dialogs.py +1114 -0
  358. raptor_studio-0.8.0/raptor/gui/ui/block_labels.py +202 -0
  359. raptor_studio-0.8.0/raptor/gui/ui/block_library.py +68 -0
  360. raptor_studio-0.8.0/raptor/gui/ui/contrast.py +44 -0
  361. raptor_studio-0.8.0/raptor/gui/ui/data_tables.py +1848 -0
  362. raptor_studio-0.8.0/raptor/gui/ui/diagram.py +6043 -0
  363. raptor_studio-0.8.0/raptor/gui/ui/diagram_annotations.py +908 -0
  364. raptor_studio-0.8.0/raptor/gui/ui/diagram_commands.py +1125 -0
  365. raptor_studio-0.8.0/raptor/gui/ui/diagram_common.py +65 -0
  366. raptor_studio-0.8.0/raptor/gui/ui/diagram_items.py +1886 -0
  367. raptor_studio-0.8.0/raptor/gui/ui/diagram_live.py +889 -0
  368. raptor_studio-0.8.0/raptor/gui/ui/diagram_menu.py +324 -0
  369. raptor_studio-0.8.0/raptor/gui/ui/dialogs.py +1834 -0
  370. raptor_studio-0.8.0/raptor/gui/ui/diff_dialog.py +389 -0
  371. raptor_studio-0.8.0/raptor/gui/ui/distro_combo.py +98 -0
  372. raptor_studio-0.8.0/raptor/gui/ui/distro_editor.py +340 -0
  373. raptor_studio-0.8.0/raptor/gui/ui/empirical_dialog.py +180 -0
  374. raptor_studio-0.8.0/raptor/gui/ui/event_log_model.py +155 -0
  375. raptor_studio-0.8.0/raptor/gui/ui/explorer.py +239 -0
  376. raptor_studio-0.8.0/raptor/gui/ui/expr_eval.py +199 -0
  377. raptor_studio-0.8.0/raptor/gui/ui/fev_mixin.py +383 -0
  378. raptor_studio-0.8.0/raptor/gui/ui/filedialogs.py +150 -0
  379. raptor_studio-0.8.0/raptor/gui/ui/help_viewer.py +415 -0
  380. raptor_studio-0.8.0/raptor/gui/ui/inspector.py +3790 -0
  381. raptor_studio-0.8.0/raptor/gui/ui/isolate_mixin.py +168 -0
  382. raptor_studio-0.8.0/raptor/gui/ui/main_window.py +9290 -0
  383. raptor_studio-0.8.0/raptor/gui/ui/modality.py +17 -0
  384. raptor_studio-0.8.0/raptor/gui/ui/msgbox.py +27 -0
  385. raptor_studio-0.8.0/raptor/gui/ui/param_entry.py +148 -0
  386. raptor_studio-0.8.0/raptor/gui/ui/phasing_dialog.py +1027 -0
  387. raptor_studio-0.8.0/raptor/gui/ui/plots.py +695 -0
  388. raptor_studio-0.8.0/raptor/gui/ui/pool_dialogs.py +684 -0
  389. raptor_studio-0.8.0/raptor/gui/ui/preflight.py +282 -0
  390. raptor_studio-0.8.0/raptor/gui/ui/printing.py +215 -0
  391. raptor_studio-0.8.0/raptor/gui/ui/qtcompat.py +8 -0
  392. raptor_studio-0.8.0/raptor/gui/ui/rates_dialog.py +428 -0
  393. raptor_studio-0.8.0/raptor/gui/ui/report_pdf.py +263 -0
  394. raptor_studio-0.8.0/raptor/gui/ui/result_streams.py +120 -0
  395. raptor_studio-0.8.0/raptor/gui/ui/results.py +3626 -0
  396. raptor_studio-0.8.0/raptor/gui/ui/ribbon_builders.py +723 -0
  397. raptor_studio-0.8.0/raptor/gui/ui/rule_gate.py +127 -0
  398. raptor_studio-0.8.0/raptor/gui/ui/run_eta.py +131 -0
  399. raptor_studio-0.8.0/raptor/gui/ui/run_experiment_mixin.py +742 -0
  400. raptor_studio-0.8.0/raptor/gui/ui/run_panel.py +1050 -0
  401. raptor_studio-0.8.0/raptor/gui/ui/settings.py +293 -0
  402. raptor_studio-0.8.0/raptor/gui/ui/shortcuts_window.py +87 -0
  403. raptor_studio-0.8.0/raptor/gui/ui/splash.py +165 -0
  404. raptor_studio-0.8.0/raptor/gui/ui/table_export.py +177 -0
  405. raptor_studio-0.8.0/raptor/gui/ui/tables_dialog.py +345 -0
  406. raptor_studio-0.8.0/raptor/gui/ui/units_conv.py +78 -0
  407. raptor_studio-0.8.0/raptor/gui/widgets/__init__.py +1 -0
  408. raptor_studio-0.8.0/raptor/gui/widgets/ribbon.py +725 -0
  409. raptor_studio-0.8.0/raptor/mcp/__init__.py +1 -0
  410. raptor_studio-0.8.0/raptor/mcp/__main__.py +4 -0
  411. raptor_studio-0.8.0/raptor/mcp/async_runs.py +160 -0
  412. raptor_studio-0.8.0/raptor/mcp/context.py +151 -0
  413. raptor_studio-0.8.0/raptor/mcp/docs.py +195 -0
  414. raptor_studio-0.8.0/raptor/mcp/examples.py +62 -0
  415. raptor_studio-0.8.0/raptor/mcp/http_transport.py +302 -0
  416. raptor_studio-0.8.0/raptor/mcp/jobs.py +103 -0
  417. raptor_studio-0.8.0/raptor/mcp/output_schemas.json +1311 -0
  418. raptor_studio-0.8.0/raptor/mcp/prompts.py +66 -0
  419. raptor_studio-0.8.0/raptor/mcp/resources.py +220 -0
  420. raptor_studio-0.8.0/raptor/mcp/result.py +337 -0
  421. raptor_studio-0.8.0/raptor/mcp/schemas.py +378 -0
  422. raptor_studio-0.8.0/raptor/mcp/server.py +500 -0
  423. raptor_studio-0.8.0/raptor/mcp/tools_data.py +192 -0
  424. raptor_studio-0.8.0/raptor/mcp/tools_metrics.py +150 -0
  425. raptor_studio-0.8.0/raptor/mcp/tools_model.py +1930 -0
  426. raptor_studio-0.8.0/raptor/mcp/tools_run.py +866 -0
  427. raptor_studio-0.8.0/raptor/mcp/tools_tables.py +204 -0
  428. raptor_studio-0.8.0/raptor/mcp/tools_view.py +123 -0
  429. raptor_studio-0.8.0/raptor/render/__init__.py +10 -0
  430. raptor_studio-0.8.0/raptor/render/scene_pixmap.py +114 -0
  431. raptor_studio-0.8.0/raptor/render/worker.py +540 -0
  432. raptor_studio-0.8.0/raptor_studio.egg-info/PKG-INFO +275 -0
  433. raptor_studio-0.8.0/raptor_studio.egg-info/SOURCES.txt +436 -0
  434. raptor_studio-0.8.0/raptor_studio.egg-info/dependency_links.txt +1 -0
  435. raptor_studio-0.8.0/raptor_studio.egg-info/entry_points.txt +6 -0
  436. raptor_studio-0.8.0/raptor_studio.egg-info/requires.txt +16 -0
  437. raptor_studio-0.8.0/raptor_studio.egg-info/top_level.txt +1 -0
  438. raptor_studio-0.8.0/setup.cfg +4 -0
@@ -0,0 +1,49 @@
1
+ ## Booz Allen Public License v1.0
2
+
3
+
4
+ ### INTRODUCTION
5
+ The Booz Allen Public License allows government, non-profit academic, other non-profit, and commercial entities access to distinctive, disruptive, and robust code with the goal of Empowering People to Change the World℠. Products licensed under the Booz Allen Public License are founded on the basis that collective ingenuity can make the largest impact in the community.
6
+
7
+ ### DEFINITIONS
8
+ * **Commercial Entity.** “Commercial Entity” means any individual or entity other than a government, non-profit academic, or other non-profit entity.
9
+ * **Derivative.** “Derivative” means any work of authorship in Source Code or Object Code form that results from an addition to, deletion from, or modification of the Source Code of the Product.
10
+ * **License.** “License” means this Booz Allen Public License.
11
+ * **Object Code.** “Object Code” means the form resulting from transformation or translation of Source Code into machine readable code, including but not limited to, compiled object code.
12
+ * **Originator.** “Originator” means each individual or legal entity that creates, contributes to the creation of, or owns the Product.
13
+ * **Patent Claims.** “Patent Claims” means any patent claim(s) in any patent to which Originator has a right to grant a license that would be infringed by Your making, using, selling, offering for sale, having made, or importing of the Product, but for the grant of this License.
14
+ * **Product.** “Product” means the Source Code of the software which the initial Originator made available under this License, and any Derivative of such Source Code.
15
+ * **Source Code.** “Source Code” means software in human-readable form.
16
+ * **You.** “You” means either an individual or an entity (if you are taking this license on behalf of an entity) that exercises the rights granted under this License.
17
+
18
+ ### LICENSE
19
+ **Government/Non-Profit Academic/Other Non-Profit.**
20
+ This Section applies if You are not a Commercial Entity.
21
+
22
+ * **License.** Subject to the terms and conditions of this License, each Originator hereby grants You a perpetual, worldwide, non-exclusive, royalty-free license to reproduce, display, perform, modify, distribute and otherwise use the Product and Derivatives, in Source Code and Object Code form, in accordance with the terms and conditions of this License in order to support the general public good and for your internal business purposes.
23
+ * **Distribution.** You may distribute to third parties copies of the Product, including any Derivative that You create, in Source Code or Object Code form. If You distribute copies of the Product, including any Derivative that You create, in Source Code form, such distribution must be under the terms of this License and You must inform recipients of the Source Code that the Product is governed under this License and how they can obtain a copy of this License. You may distribute to third parties copies of the Product, including any Derivative that You create, in Object Code form, or allow third parties to access or use the Product, including any Derivative that You create, under a license of Your choice.
24
+ * **Commercial Sales.** You may not distribute, or allow third parties to access or use, the Product or any Derivative for a fee, unless You first obtain permission from the Originator. If Booz Allen Hamilton is the Originator, please contact Booz Allen Hamilton at <opensource@bah.com>.
25
+
26
+ **Commercial Entities**.
27
+ This Section applies if You are a Commercial Entity.
28
+
29
+ * **License.** Subject to the terms and conditions of this License, each Originator hereby grants You a perpetual, worldwide, non-exclusive, royalty-free license to reproduce, display, perform, modify, distribute and otherwise use the Product and Derivatives, in Source Code and Object Code form, in accordance with the terms and conditions of this License for the sole purpose of Your internal business purposes and the provision of services to government, non-profit academic, and other non-profit entities.
30
+ * **Distribution and Derivatives.** You may distribute to third parties copies of the Product, including any Derivative that You create, in Source Code or Object Code form. If You distribute copies of the Product, including any Derivative that You create, in Source Code form, such distribution must be under the terms of this License and You must inform recipients of the Source Code that the Product is governed under this License and how they can obtain a copy of this License. You may distribute to third parties copies of the Product, including any Derivative that You create, in Object Code form, or allow third parties to access or use the Product, including any Derivative that You create, under a license of Your choice, provided that You make available, and inform the recipient of such distribution how they can obtain, a copy of the Source Code thereof, at no charge, and inform the recipient of the Source Code that the Product is governed under this License and how they can obtain a copy of this License.
31
+ * **Commercial Sales.** You may not distribute, or allow third parties to access or use, the Product or any Derivative for a fee, unless You first obtain permission from the Originator. If Booz Allen Hamilton, please contact Booz Allen Hamilton at <opensource@bah.com>.
32
+
33
+
34
+ **Patent Claim(s)**.
35
+ This Section applies regardless of whether You are a government, non-profit academic, or other non-profit entity or a Commercial Entity.
36
+
37
+ * **Patent License.** Subject to the limitations in the Sections above, each Originator hereby grants You a perpetual, worldwide, non-exclusive, royalty-free license under Patent Claims of such Originator to make, use, sell, offer for sale, have made, and import the Product. The foregoing patent license does not apply (a) to any code that an Originator has removed from the Product, or (b) for infringement caused by Your modifications of the Product or the combination of any Derivative created by You or on Your behalf with other software.
38
+
39
+ ### GENERAL TERMS
40
+ This Section applies regardless of whether You are a government, non-profit academic, or other non-profit entity or a Commercial Entity.
41
+
42
+ * **Required Notices.** If You distribute the Product or a Derivative, in Object Code or Source Code form, You shall not remove or otherwise modify any proprietary markings or notices contained within or placed upon the Product or any Derivative. Any distribution of the Product or a Derivative, in Object Code or Source Code form, shall contain a clear and conspicuous Originator copyright and license reference in accordance with the below:
43
+ * *Unmodified Product Notice*: “This software package is licensed under the Booz Allen Public License. Copyright © 20__ [Copyright Holder Name]. All Rights Reserved.”
44
+ * *Derivative Notice*: “This software package is licensed under the Booz Allen Public License. Portions of this code are Copyright © 20__ [Copyright Holder Name]. All Rights Reserved.”
45
+ * **Compliance with Laws.** You agree that You shall not reproduce, display, perform, modify, distribute and otherwise use the Product in any way that violates applicable law or regulation or infringes or violates the rights of others, including, but not limited to, third party intellectual property, privacy, and publicity rights.
46
+ * **Disclaimer.** You understand that the Product is licensed to You, and not sold. The Product is provided on an “As Is” basis, without any warranties, representations, and guarantees, whether oral or written, express, implied or statutory, with regard to the Product, including without limitation, warranties of merchantability, fitness for a particular purpose, title, non-infringement, non-interference, and warranties arising from course of dealing or usage of trade, to the maximum extent permitted by applicable law. Originator does not warrant that (i) the Product will meet your needs; (ii) the Product will be error-free or accessible at all times; or (iii) the use or the results of the use of the Product will be correct, accurate, timely, or otherwise reliable. You acknowledge that the Product has not been prepared to meet Your individual requirements, whether or not such requirements have been communicated to Originator. You assume all responsibility for use of the Product.
47
+ * **Limitation of Liability.** Under no circumstances and under no legal theory, whether tort (including negligence), contract, or otherwise, shall any Originator, or anyone who distributes the Product in accordance with this License, be liable to You for any direct, indirect, special, incidental, or consequential damages of any character including, without limitation, damages for lost profits, loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses, even if informed of the possibility of such damages.
48
+ * **Severability.** If the application of any provision of this License to any particular facts or circumstances shall be held to be invalid or unenforceable, then the validity and enforceability of other provisions of this License shall not in any way be affected or impaired thereby.
49
+
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,38 @@
1
+ # NOTICE
2
+
3
+ This product, **RAPTOR Studio**, is a Python port of the
4
+ RAPTOR reliability simulation tool (Raptor 7).
5
+
6
+ ## Original RAPTOR
7
+
8
+ RAPTOR was originally created at **ARINC** by:
9
+
10
+ - Chuck Carter
11
+ - Steve Brown
12
+ - Tony Malerich
13
+ - Elizabeth Grimes
14
+
15
+ The original source was later released as open source by
16
+ **Booz Allen Hamilton** (https://github.com/boozallen/raptor) under the
17
+ **Booz Allen Public License v1.0**. We gratefully thank Booz Allen
18
+ Hamilton for making RAPTOR open source, without which this project
19
+ would not exist. The original RAPTOR code and its documentation remain
20
+ © ARINC and Booz Allen Hamilton; see `LICENSE` (Booz Allen Public
21
+ License v1.0).
22
+
23
+ ## This port
24
+
25
+ Copyright © 2026 OpenPowerShift. New code contributed to this project
26
+ (the Python simulation engine, the RAPTOR Studio GUI, documentation and
27
+ installers) is licensed under the **Apache License, Version 2.0**
28
+ (see `LICENSES/Apache-2.0.txt`). As a derivative of the original RAPTOR
29
+ product, this distribution as a whole remains subject to the Booz Allen
30
+ Public License v1.0 for the portions derived from RAPTOR.
31
+
32
+ Distribution of this software package must carry a clear and
33
+ conspicuous Originator copyright and license reference in accordance
34
+ with the Booz Allen Public License's Required Notices, e.g.:
35
+
36
+ > This software package is licensed under the Booz Allen Public
37
+ > License. Portions of this code are Copyright © 2026 OpenPowerShift.
38
+ > All Rights Reserved.
@@ -0,0 +1,275 @@
1
+ Metadata-Version: 2.4
2
+ Name: raptor-studio
3
+ Version: 0.8.0
4
+ Summary: RAPTOR Studio — reliability block diagram simulation (open Python port of Raptor 7)
5
+ Author: OpenPowerShift
6
+ License-Expression: LicenseRef-BAPL-1.0 AND Apache-2.0
7
+ Project-URL: Homepage, https://github.com/openpowershift/RaptorStudio
8
+ Project-URL: Issues, https://github.com/openpowershift/RaptorStudio/issues
9
+ Keywords: reliability,simulation,rbd,ram,raptor,monte-carlo
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: X11 Applications :: Qt
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Intended Audience :: Manufacturing
14
+ Classifier: Operating System :: Microsoft :: Windows
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Scientific/Engineering
22
+ Requires-Python: >=3.12
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ License-File: LICENSES/Apache-2.0.txt
26
+ License-File: NOTICE.md
27
+ License-File: THIRD_PARTY_NOTICES.md
28
+ Requires-Dist: PySide6==6.11.1
29
+ Requires-Dist: weasyprint>=61
30
+ Provides-Extra: dev
31
+ Requires-Dist: pytest; extra == "dev"
32
+ Requires-Dist: pytest-cov; extra == "dev"
33
+ Requires-Dist: pytest-xdist; extra == "dev"
34
+ Requires-Dist: hypothesis; extra == "dev"
35
+ Requires-Dist: pyinstaller>=6; extra == "dev"
36
+ Requires-Dist: build; extra == "dev"
37
+ Requires-Dist: ruff; extra == "dev"
38
+ Requires-Dist: mypy; extra == "dev"
39
+ Provides-Extra: mcp
40
+ Requires-Dist: mcp<3,>=2.2; extra == "mcp"
41
+ Requires-Dist: pydantic>=2; extra == "mcp"
42
+ Dynamic: license-file
43
+
44
+ # RAPTOR Studio
45
+
46
+ An open-source reliability block diagram (RBD) simulator for Windows, macOS and Linux. Draw a diagram of parts that
47
+ can fail and be repaired, run thousands of simulated futures, and read availability, reliability, maintenance,
48
+ spares and cost numbers like an engineer, then find out **which part to spend money on**.
49
+
50
+ ![RAPTOR Studio: draw a system, simulate it, read the results (animated tour of the application)](https://raw.githubusercontent.com/openpowershift/RaptorStudio/main/docs/readme/app-tour.gif)
51
+
52
+ RAPTOR Studio carries on from Raptor 7, the simulator written at ARINC and released as open source by Booz Allen
53
+ Hamilton. Its simulation engine was ported from Raptor 7's own source and checked, event by event, against what Raptor 7
54
+ itself writes, so the numbers are the ones reliability engineers already trust. Models made in Raptor 7 open here.
55
+ Around that engine is a new application, a command line, and an AI-assistant server.
56
+
57
+ Like Raptor 7, it is released under the Booz Allen Public License (BAPL). Anyone may use, modify and share it, but a
58
+ commercial entity may use it only for its internal business and for services to government and non-profit
59
+ organisations, and nobody may charge a fee for it without Booz Allen Hamilton's permission. See
60
+ [Licence & credits](#licence--credits).
61
+
62
+ ## Why use it
63
+
64
+ - **Numbers you can rely on.** The detailed event logs and report files of hundreds of models captured from Raptor 7
65
+ are reproduced character for character, including its random-number generator. Where Raptor 7 does something
66
+ surprising, the port reproduces it and says so.
67
+ - **It tells you what to fix, not just how you are doing.** Weak-link analysis, single-point-failure lists and
68
+ **importance measures** (Birnbaum, RAW, RRW and Vesely–Fussell, see below) rank the parts of your system by how much
69
+ they matter, and colour the diagram to match.
70
+ - **Built for speed.** Runs split across your processor cores, and the engine, layout, validation and file loading
71
+ have been tuned so that models with hundreds or thousands of blocks are practical to build, open and run. We expect
72
+ it to be faster than Raptor 7 on most models, particularly large ones and batches on several cores. `raptor estimate`
73
+ times a few runs and tells you how long a full batch will take before you start it.
74
+ - **Runs anywhere.** One installer or `pip install`, on Windows, macOS and Linux.
75
+ - **Scriptable.** Everything the application does is also a command (`raptor run`, `sweep`, `compare`, `diff`,
76
+ `estimate`, `validate`, `spf`, `fev`, `step`, `extract`, `render` and more) with machine-readable results. It fits in
77
+ a continuous-integration job, a Jupyter notebook or a shell loop.
78
+ - **Usable from an AI assistant.** An MCP server with **64 tools** lets an assistant build, edit, validate, simulate,
79
+ compare and explain models, run long batches in the background, and draw the diagram. The
80
+ [MCP server reference](https://github.com/openpowershift/RaptorStudio/blob/main/docs/MCP.md) covers install, client
81
+ setup and every tool, resource and prompt. The recording below is a real run of those tools (the numbers are the
82
+ engine's; the assistant's narration is scripted):
83
+
84
+ ![An assistant builds a cooling-loop model, simulates it, lists its single points of failure and sweeps a parameter through the MCP server](https://raw.githubusercontent.com/openpowershift/RaptorStudio/main/docs/readme/mcp-demo.gif)
85
+
86
+ - **A model file you can read and diff.** `.rbds` is one JSON document with friendly field names, and `raptor diff`
87
+ (or **File ▸ Differences**) says in words what changed between two versions of a model. `.rbd` files open and save
88
+ exactly as before.
89
+ - **Documentation that ships with it.** _Break It Before It Breaks_, a 23-chapter tutorial book with a model for each
90
+ chapter that opens from the page, a field-by-field reference manual, and a formulas page. **F1** opens the right
91
+ section.
92
+
93
+ ## Which part matters most? Importance measures
94
+
95
+ Availability says how good the system is. Importance says **which block to improve**. Switch on **Run ▸ Analysis ▸
96
+ Importance measures** (or `raptor run --importance both`, or `importance` on the MCP `simulate` tool) and RAPTOR Studio
97
+ re-simulates the model with each block in turn made unable to fail, and with it dead, then ranks every block by how
98
+ much the system moves. You get:
99
+
100
+ - **Birnbaum**, **RAW** (risk achievement worth), **RRW** (risk reduction worth) and **Vesely–Fussell** importance, the
101
+ IEC 61078 Annex D measures, each with its sampling error so you can tell a real ranking from noise;
102
+ - an **Importance** tab in the results, and a **Show on Canvas** colouring that paints the most influential blocks red
103
+ and badges each block with its rank;
104
+ - an up-front time estimate that includes the extra batches, so a long analysis never surprises you.
105
+
106
+ The equations are on the Formulas page, and the tutorial's weak-link chapter works through an example.
107
+
108
+ ## What is new compared with Raptor 7
109
+
110
+ | | |
111
+ | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
112
+ | **Importance measures** | Rank blocks by Birnbaum, RAW, RRW and Vesely–Fussell importance, with sampling error, a results tab and a canvas overlay. |
113
+ | **Parallel batches** | Runs spread over your cores (`-j N` on the command line); results are reproducible for a given core count, and one core reproduces Raptor 7's own random sequence exactly. |
114
+ | **Run-time estimate** | Know how long a batch will take before you start it, in the app, on the command line and from an assistant. |
115
+ | **Check part of a model** | Run one hierarchy on its own, with its input assumed available, or save it as a standalone model (`raptor extract`). The results are labelled as isolated. |
116
+ | **Parameter sweeps and comparisons** | Vary any field over a list of values, or run two or more models side by side, from the application, the command line or an assistant. **Differences** shows what is different between two models, and runs nothing. |
117
+ | **AI assistant (MCP)** | 64 tools to build, edit, run, analyse and explain models, over stdio or authenticated HTTP. |
118
+ | **Stepping debugger** | Step a run event by event, pause on a condition, jump to the next run, and see what each step changed. Failure Effects View and the Single Point Failure file are also available headless. |
119
+ | **Several models at once** | Each model opens in its own window with its own undo history and results. |
120
+ | **Edit while looking at results** | Results stay on screen while you edit; undo and redo for edits; spread-banded Weak Link, Cost, Capacity, Spares and Importance colourings. |
121
+ | **Block labels and rates** | Choose what the lines under each block show (mean, standard deviation, rate); keep the derivation of a failure rate in a named, reusable Rate. |
122
+ | **Reports** | Results export as PDF, HTML, AsciiDoc, spreadsheet, CSV or JSON (a versioned schema). |
123
+ | **Diagram** | Light and dark themes, dockable panels, annotations, mini-map, key tips for every ribbon button, and a diagram renderer for documents (`raptor render`). |
124
+ | **Safer files** | Validation catches the model shapes that crash Raptor 7 on open (a node's declared path count, a stale phase header) before you save them. |
125
+
126
+ ## Install
127
+
128
+ ### Windows / macOS / Linux (recommended for non-technical users)
129
+
130
+ Grab the installer for your platform from the
131
+ [Releases page](https://github.com/openpowershift/RaptorStudio/releases):
132
+
133
+ | File | Platform | Install |
134
+ | -------------------------------------- | --------------------------------- | ------------------------------------------------ |
135
+ | `raptor-studio-*-windows-setup.exe` | Windows 10/11 (x64) | Double-click, follow the wizard |
136
+ | `raptor-studio-*-windows-portable.zip` | Windows 10/11 (x64) | Unzip anywhere, run `raptor-studio.exe` |
137
+ | `raptor-studio-*-macos-arm64.dmg` | macOS 13+ (Apple Silicon) | Open the DMG, drag RAPTOR Studio to Applications |
138
+ | `raptor-studio-*-macos-x64.dmg` | macOS 13+ (Intel) | Open the DMG, drag RAPTOR Studio to Applications |
139
+ | `raptor-studio-*-linux-amd64.deb` | Debian/Ubuntu (x64) | Double-click or `sudo apt install ./…deb` |
140
+ | `raptor-studio-*-linux-x86_64.AppImage` | Most Linux distros (x64) | `chmod +x` the file, then run it |
141
+
142
+ Verify the checksums against `SHA256SUMS.txt` in the same release. The installers carry the desktop application only;
143
+ the `raptor` command line and the MCP server come with the pip package (below).
144
+
145
+ **macOS note (unsigned build):** Gatekeeper will ask for confirmation.
146
+ Right-click **RAPTOR Studio** → **Open** → **Open**, or run
147
+ `xattr -cr "/Applications/RAPTOR Studio.app"` once in Terminal.
148
+
149
+ **Windows note (unsigned build):** SmartScreen may show
150
+ "Windows protected your PC" — click **More info** → **Run anyway**.
151
+
152
+ ### PyPI (technical users, and for the MCP server)
153
+
154
+ ```bash
155
+ pip install raptor-studio # the application and command line
156
+ pip install "raptor-studio[mcp]" # plus the MCP server for AI assistants
157
+ ```
158
+
159
+ or, isolated from your system Python:
160
+
161
+ ```bash
162
+ pipx install "raptor-studio[mcp]"
163
+ ```
164
+
165
+ For the assistant server alone, `uvx raptor-studio-mcp --workspace ~/raptor-models` runs it without an install
166
+ step.
167
+
168
+ Then run `raptor-studio` for the application, `raptor --help` for the command line, or `raptor-studio-mcp` for the
169
+ assistant server. Requirements: Python 3.12+. The PDF export uses WeasyPrint, which needs system Pango — Linux:
170
+ `sudo apt install libpango-1.0-0 libpangocairo-1.0-0`, macOS: `brew install pango`. The Windows/macOS installers
171
+ bundle it.
172
+
173
+ ## A first run from the command line
174
+
175
+ ```bash
176
+ raptor validate model.rbd # errors and warnings
177
+ raptor run model.rbd -n 200 -j 4 # 200 runs on 4 processes, summary on screen
178
+ raptor run model.rbd -n 500 --importance both # also rank the blocks by importance
179
+ raptor run model.rbd -r events -r end-of-run -o results/ # also write Raptor 7-format report files
180
+ raptor sweep model.rbd --vary "block:Pump A.repair_params[0]=12,24,48" --metric Availability
181
+ raptor diff before.rbds after.rbds # what changed between two versions
182
+ ```
183
+
184
+ `raptor help` lists every command and topic.
185
+
186
+ ## Learning materials
187
+
188
+ The app opens on a start page with a blank model, worked examples (from the guide's basics to a hospital's
189
+ emergency power, a water-treatment works, a data centre and a phased airliner flight) and links to the
190
+ built-in documentation, which the **Help** ribbon tab also opens:
191
+
192
+ - **User Guide** — the tutorial book _Break It Before It Breaks_: 23 chapters, from a three-block lantern to a tuned
193
+ data centre, with companion `.rbds` models you can open straight from the book (the `opsmodel` buttons).
194
+ - **Reference Manual** — field-by-field reference; **F1** jumps to the section for the focused panel or dialog.
195
+ - **Formulas** — every metric, the importance measures and the distribution table as equations, on one page.
196
+ - **Keyboard shortcuts** — [`docs/KEYBOARD_SHORTCUTS.md`](https://github.com/openpowershift/RaptorStudio/blob/main/docs/KEYBOARD_SHORTCUTS.md), also under **Help**. Press **Alt**
197
+ in the app to show a key tip on every ribbon button.
198
+ - **AI assistant** — [`docs/MCP.md`](https://github.com/openpowershift/RaptorStudio/blob/main/docs/MCP.md) and the book's last chapter.
199
+ - **File format** — [`docs/RBDS_FORMAT.md`](https://github.com/openpowershift/RaptorStudio/blob/main/docs/RBDS_FORMAT.md) describes the `.rbds` JSON format.
200
+
201
+ ## IEC 61078
202
+
203
+ IEC 61078:2016 defines reliability block diagrams and the methods used to evaluate them. RAPTOR Studio uses the same
204
+ vocabulary (series, parallel, m-out-of-n, sub-RBDs, repaired and non-repaired blocks) but evaluates a model by
205
+ **Monte Carlo simulation**, which lets it include repair, spares, phases, dependencies and limited resources. It is not
206
+ a certified implementation of the standard, and this is a capability statement, not a compliance claim.
207
+
208
+ In short: series, parallel, mixed and m-out-of-n structures, repaired and non-repaired blocks and sub-RBDs are
209
+ supported, and the standard's worked examples are regression-tested against the simulator. The Annex D importance
210
+ measures are **estimated by re-simulation** (see above). Minimal cut/tie sets, Boolean and BDD evaluation, analytical
211
+ availability and PFD<sub>avg</sub>, repeated blocks, non-coherent blocks and PAND/SEQ/CCF gates are **not** implemented.
212
+ The full clause-by-clause table is in [`docs/IEC61078.md`](https://github.com/openpowershift/RaptorStudio/blob/main/docs/IEC61078.md); MCP clients can read it with
213
+ `read_doc('iec61078')`.
214
+
215
+ ## How the fidelity is checked
216
+
217
+ The engine is tested against files written by Raptor 7 itself, captured while driving it under Wine and, for the
218
+ hardest cases, while following its scheduler with a debugger.
219
+
220
+ - `tests/golden/` holds over 200 models with Raptor 7's output for each. Their event logs, report files and
221
+ random-draw logs are compared exactly, and a scan of the captured event logs currently finds **none** of the
222
+ recorded runs different.
223
+ - The engine code names the Raptor 7 procedure each part reproduces, and the design of each part is described in [`docs/engine-design/`](https://github.com/openpowershift/RaptorStudio/blob/main/docs/engine-design/README.adoc).
224
+ - More than 7,500 automated tests run on every change, including the application's own windows and dialogs and an
225
+ adversarial test of the MCP server.
226
+
227
+ ## Development
228
+
229
+ ```bash
230
+ pip install -e ".[dev,mcp]" # `mcp` extra needed by the MCP server tests
231
+ pytest # unit + fast integration; add -m slow for UI sweeps
232
+ ```
233
+
234
+ [`CONTRIBUTING.md`](https://github.com/openpowershift/RaptorStudio/blob/main/CONTRIBUTING.md) describes the test tiers and the conventions for changing the engine.
235
+ The docs render with Ruby asciidoctor: `new_docs/tools/render_docs.sh` (see `new_docs/README.md`).
236
+
237
+ ### Repository layout
238
+
239
+ | Path | Contents |
240
+ | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
241
+ | `raptor/` | The application: `core/` engine, `api/`, `cli/`, `gui/`, `mcp/`, `render/` |
242
+ | `tests/` | `unit/`, `behaviour/`, `integration/` (incl. `sweeps/`), `golden/` (Raptor 7's captured output; large captures gzipped), `fixtures/` (probe models), `ladder/`, `data/` (shared sample models) |
243
+ | `new_docs/` | User Guide (tutorial book), its models and build tools |
244
+ | `docs/` | Reference manual, [engine design](https://github.com/openpowershift/RaptorStudio/blob/main/docs/engine-design/README.adoc), [MCP server reference](https://github.com/openpowershift/RaptorStudio/blob/main/docs/MCP.md), formulas, [keyboard shortcuts](https://github.com/openpowershift/RaptorStudio/blob/main/docs/KEYBOARD_SHORTCUTS.md), [`.rbds` file format](https://github.com/openpowershift/RaptorStudio/blob/main/docs/RBDS_FORMAT.md), [IEC 61078](https://github.com/openpowershift/RaptorStudio/blob/main/docs/IEC61078.md) |
245
+ | `tools/` | Developer tools the tests and CI run: engine snapshot, coverage, type gate, doc generators |
246
+ | `installer/` | Packaging (PyInstaller, Inno Setup, deb/AppImage) |
247
+ | `packaging/` | `raptor-studio-mcp`, the small PyPI package the MCP Registry lists |
248
+
249
+ ## Roadmap
250
+
251
+ Directions under consideration — ideas, not commitments, in no fixed order:
252
+
253
+ - **A live view of an assistant's work.** Watch the model an AI assistant is
254
+ building through the MCP server in a second, read-only window, redrawn on
255
+ each edit.
256
+ - **More Raptor 7 parity checks.** Keep comparing results with the original
257
+ on new model shapes and rarely used options.
258
+ - **Further solution methods.** Analytical and fault-tree solvers beside the
259
+ simulation, for quick answers and cross-checks; minimal cut/tie sets and BDD
260
+ evaluation; importance of whole hierarchies; common-cause and dynamic gates.
261
+ - **Richer maintenance and logistics.** Crews, shifts and supply chains that
262
+ the model can express directly.
263
+ - **Uncertainty and sensitivity analysis.** Ask which input matters most, and
264
+ how sure the answer is.
265
+
266
+ ## Licence & credits
267
+
268
+ RAPTOR was originally created at ARINC (Chuck Carter, Steve Brown,
269
+ Tony Malerich, Elizabeth Grimes) and released as open source by
270
+ **Booz Allen Hamilton** — many thanks to BAH. RAPTOR-derived material
271
+ stays under the **Booz Allen Public License v1.0** (`LICENSE`); new
272
+ code in this port is licensed under the **Apache License 2.0**
273
+ (`LICENSES/Apache-2.0.txt`). See `NOTICE.md` for attribution details.
274
+
275
+ <!-- mcp-name: io.github.OpenPowerShift/raptor-studio -->