scientific-writer 2.1.1__py3-none-any.whl → 2.2.2__py3-none-any.whl

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.

Potentially problematic release.


This version of scientific-writer might be problematic. Click here for more details.

Files changed (311) hide show
  1. scientific_writer/.claude/settings.local.json +30 -0
  2. scientific_writer/.claude/skills/citation-management/SKILL.md +1046 -0
  3. scientific_writer/.claude/skills/citation-management/assets/bibtex_template.bib +264 -0
  4. scientific_writer/.claude/skills/citation-management/assets/citation_checklist.md +386 -0
  5. scientific_writer/.claude/skills/citation-management/references/bibtex_formatting.md +908 -0
  6. scientific_writer/.claude/skills/citation-management/references/citation_validation.md +794 -0
  7. scientific_writer/.claude/skills/citation-management/references/google_scholar_search.md +725 -0
  8. scientific_writer/.claude/skills/citation-management/references/metadata_extraction.md +870 -0
  9. scientific_writer/.claude/skills/citation-management/references/pubmed_search.md +839 -0
  10. scientific_writer/.claude/skills/citation-management/scripts/doi_to_bibtex.py +204 -0
  11. scientific_writer/.claude/skills/citation-management/scripts/extract_metadata.py +569 -0
  12. scientific_writer/.claude/skills/citation-management/scripts/format_bibtex.py +349 -0
  13. scientific_writer/.claude/skills/citation-management/scripts/search_google_scholar.py +282 -0
  14. scientific_writer/.claude/skills/citation-management/scripts/search_pubmed.py +398 -0
  15. scientific_writer/.claude/skills/citation-management/scripts/validate_citations.py +497 -0
  16. scientific_writer/.claude/skills/clinical-reports/IMPLEMENTATION_SUMMARY.md +641 -0
  17. scientific_writer/.claude/skills/clinical-reports/README.md +236 -0
  18. scientific_writer/.claude/skills/clinical-reports/SKILL.md +1088 -0
  19. scientific_writer/.claude/skills/clinical-reports/assets/case_report_template.md +352 -0
  20. scientific_writer/.claude/skills/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
  21. scientific_writer/.claude/skills/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
  22. scientific_writer/.claude/skills/clinical-reports/assets/consult_note_template.md +305 -0
  23. scientific_writer/.claude/skills/clinical-reports/assets/discharge_summary_template.md +453 -0
  24. scientific_writer/.claude/skills/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
  25. scientific_writer/.claude/skills/clinical-reports/assets/history_physical_template.md +305 -0
  26. scientific_writer/.claude/skills/clinical-reports/assets/lab_report_template.md +309 -0
  27. scientific_writer/.claude/skills/clinical-reports/assets/pathology_report_template.md +249 -0
  28. scientific_writer/.claude/skills/clinical-reports/assets/quality_checklist.md +338 -0
  29. scientific_writer/.claude/skills/clinical-reports/assets/radiology_report_template.md +318 -0
  30. scientific_writer/.claude/skills/clinical-reports/assets/soap_note_template.md +253 -0
  31. scientific_writer/.claude/skills/clinical-reports/references/case_report_guidelines.md +570 -0
  32. scientific_writer/.claude/skills/clinical-reports/references/clinical_trial_reporting.md +693 -0
  33. scientific_writer/.claude/skills/clinical-reports/references/data_presentation.md +530 -0
  34. scientific_writer/.claude/skills/clinical-reports/references/diagnostic_reports_standards.md +629 -0
  35. scientific_writer/.claude/skills/clinical-reports/references/medical_terminology.md +588 -0
  36. scientific_writer/.claude/skills/clinical-reports/references/patient_documentation.md +744 -0
  37. scientific_writer/.claude/skills/clinical-reports/references/peer_review_standards.md +585 -0
  38. scientific_writer/.claude/skills/clinical-reports/references/regulatory_compliance.md +577 -0
  39. scientific_writer/.claude/skills/clinical-reports/scripts/check_deidentification.py +346 -0
  40. scientific_writer/.claude/skills/clinical-reports/scripts/compliance_checker.py +78 -0
  41. scientific_writer/.claude/skills/clinical-reports/scripts/extract_clinical_data.py +102 -0
  42. scientific_writer/.claude/skills/clinical-reports/scripts/format_adverse_events.py +103 -0
  43. scientific_writer/.claude/skills/clinical-reports/scripts/generate_report_template.py +163 -0
  44. scientific_writer/.claude/skills/clinical-reports/scripts/terminology_validator.py +133 -0
  45. scientific_writer/.claude/skills/clinical-reports/scripts/validate_case_report.py +334 -0
  46. scientific_writer/.claude/skills/clinical-reports/scripts/validate_trial_report.py +89 -0
  47. scientific_writer/.claude/skills/document-skills/docx/LICENSE.txt +30 -0
  48. scientific_writer/.claude/skills/document-skills/docx/SKILL.md +197 -0
  49. scientific_writer/.claude/skills/document-skills/docx/docx-js.md +350 -0
  50. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  51. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  52. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  53. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  54. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  55. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  56. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  57. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  58. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  59. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  60. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  61. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  62. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  63. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  64. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  65. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  66. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  67. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  68. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  69. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  70. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  71. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  72. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  73. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  74. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  75. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  76. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  77. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  78. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  79. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  80. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  81. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  82. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  83. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  84. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  85. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  86. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  87. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  88. scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  89. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/pack.py +159 -0
  90. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/unpack.py +29 -0
  91. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validate.py +69 -0
  92. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  93. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/base.py +951 -0
  94. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/docx.py +274 -0
  95. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  96. scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  97. scientific_writer/.claude/skills/document-skills/docx/ooxml.md +610 -0
  98. scientific_writer/.claude/skills/document-skills/docx/scripts/__init__.py +1 -0
  99. scientific_writer/.claude/skills/document-skills/docx/scripts/document.py +1276 -0
  100. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/comments.xml +3 -0
  101. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsExtended.xml +3 -0
  102. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  103. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsIds.xml +3 -0
  104. scientific_writer/.claude/skills/document-skills/docx/scripts/templates/people.xml +3 -0
  105. scientific_writer/.claude/skills/document-skills/docx/scripts/utilities.py +374 -0
  106. scientific_writer/.claude/skills/document-skills/pdf/LICENSE.txt +30 -0
  107. scientific_writer/.claude/skills/document-skills/pdf/SKILL.md +294 -0
  108. scientific_writer/.claude/skills/document-skills/pdf/forms.md +205 -0
  109. scientific_writer/.claude/skills/document-skills/pdf/reference.md +612 -0
  110. scientific_writer/.claude/skills/document-skills/pdf/scripts/check_bounding_boxes.py +70 -0
  111. scientific_writer/.claude/skills/document-skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  112. scientific_writer/.claude/skills/document-skills/pdf/scripts/check_fillable_fields.py +12 -0
  113. scientific_writer/.claude/skills/document-skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  114. scientific_writer/.claude/skills/document-skills/pdf/scripts/create_validation_image.py +41 -0
  115. scientific_writer/.claude/skills/document-skills/pdf/scripts/extract_form_field_info.py +152 -0
  116. scientific_writer/.claude/skills/document-skills/pdf/scripts/fill_fillable_fields.py +114 -0
  117. scientific_writer/.claude/skills/document-skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  118. scientific_writer/.claude/skills/document-skills/pptx/LICENSE.txt +30 -0
  119. scientific_writer/.claude/skills/document-skills/pptx/SKILL.md +484 -0
  120. scientific_writer/.claude/skills/document-skills/pptx/html2pptx.md +625 -0
  121. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  122. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  123. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  124. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  125. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  126. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  127. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  128. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  129. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  130. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  131. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  132. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  133. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  134. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  135. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  136. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  137. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  138. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  139. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  140. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  141. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  142. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  143. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  144. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  145. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  146. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  147. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  148. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  149. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  150. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  151. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  152. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  153. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  154. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  155. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  156. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  157. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  158. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  159. scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  160. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/pack.py +159 -0
  161. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/unpack.py +29 -0
  162. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validate.py +69 -0
  163. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
  164. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/base.py +951 -0
  165. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/docx.py +274 -0
  166. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
  167. scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
  168. scientific_writer/.claude/skills/document-skills/pptx/ooxml.md +427 -0
  169. scientific_writer/.claude/skills/document-skills/pptx/scripts/html2pptx.js +979 -0
  170. scientific_writer/.claude/skills/document-skills/pptx/scripts/inventory.py +1020 -0
  171. scientific_writer/.claude/skills/document-skills/pptx/scripts/rearrange.py +231 -0
  172. scientific_writer/.claude/skills/document-skills/pptx/scripts/replace.py +385 -0
  173. scientific_writer/.claude/skills/document-skills/pptx/scripts/thumbnail.py +450 -0
  174. scientific_writer/.claude/skills/document-skills/xlsx/LICENSE.txt +30 -0
  175. scientific_writer/.claude/skills/document-skills/xlsx/SKILL.md +289 -0
  176. scientific_writer/.claude/skills/document-skills/xlsx/recalc.py +178 -0
  177. scientific_writer/.claude/skills/hypothesis-generation/SKILL.md +155 -0
  178. scientific_writer/.claude/skills/hypothesis-generation/assets/hypothesis_output_template.md +302 -0
  179. scientific_writer/.claude/skills/hypothesis-generation/references/experimental_design_patterns.md +327 -0
  180. scientific_writer/.claude/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +196 -0
  181. scientific_writer/.claude/skills/hypothesis-generation/references/literature_search_strategies.md +505 -0
  182. scientific_writer/.claude/skills/latex-posters/README.md +417 -0
  183. scientific_writer/.claude/skills/latex-posters/SKILL.md +919 -0
  184. scientific_writer/.claude/skills/latex-posters/assets/baposter_template.tex +257 -0
  185. scientific_writer/.claude/skills/latex-posters/assets/beamerposter_template.tex +244 -0
  186. scientific_writer/.claude/skills/latex-posters/assets/poster_quality_checklist.md +358 -0
  187. scientific_writer/.claude/skills/latex-posters/assets/tikzposter_template.tex +251 -0
  188. scientific_writer/.claude/skills/latex-posters/references/latex_poster_packages.md +745 -0
  189. scientific_writer/.claude/skills/latex-posters/references/poster_content_guide.md +748 -0
  190. scientific_writer/.claude/skills/latex-posters/references/poster_design_principles.md +806 -0
  191. scientific_writer/.claude/skills/latex-posters/references/poster_layout_design.md +900 -0
  192. scientific_writer/.claude/skills/latex-posters/scripts/review_poster.sh +214 -0
  193. scientific_writer/.claude/skills/literature-review/SKILL.md +546 -0
  194. scientific_writer/.claude/skills/literature-review/assets/review_template.md +412 -0
  195. scientific_writer/.claude/skills/literature-review/references/citation_styles.md +166 -0
  196. scientific_writer/.claude/skills/literature-review/references/database_strategies.md +381 -0
  197. scientific_writer/.claude/skills/literature-review/scripts/generate_pdf.py +176 -0
  198. scientific_writer/.claude/skills/literature-review/scripts/search_databases.py +303 -0
  199. scientific_writer/.claude/skills/literature-review/scripts/verify_citations.py +222 -0
  200. scientific_writer/.claude/skills/markitdown/INSTALLATION_GUIDE.md +318 -0
  201. scientific_writer/.claude/skills/markitdown/LICENSE.txt +22 -0
  202. scientific_writer/.claude/skills/markitdown/OPENROUTER_INTEGRATION.md +359 -0
  203. scientific_writer/.claude/skills/markitdown/QUICK_REFERENCE.md +309 -0
  204. scientific_writer/.claude/skills/markitdown/README.md +184 -0
  205. scientific_writer/.claude/skills/markitdown/SKILL.md +450 -0
  206. scientific_writer/.claude/skills/markitdown/SKILL_SUMMARY.md +307 -0
  207. scientific_writer/.claude/skills/markitdown/assets/example_usage.md +463 -0
  208. scientific_writer/.claude/skills/markitdown/references/api_reference.md +399 -0
  209. scientific_writer/.claude/skills/markitdown/references/file_formats.md +542 -0
  210. scientific_writer/.claude/skills/markitdown/scripts/batch_convert.py +228 -0
  211. scientific_writer/.claude/skills/markitdown/scripts/convert_literature.py +283 -0
  212. scientific_writer/.claude/skills/markitdown/scripts/convert_with_ai.py +243 -0
  213. scientific_writer/.claude/skills/paper-2-web/SKILL.md +455 -0
  214. scientific_writer/.claude/skills/paper-2-web/references/installation.md +141 -0
  215. scientific_writer/.claude/skills/paper-2-web/references/paper2poster.md +346 -0
  216. scientific_writer/.claude/skills/paper-2-web/references/paper2video.md +305 -0
  217. scientific_writer/.claude/skills/paper-2-web/references/paper2web.md +187 -0
  218. scientific_writer/.claude/skills/paper-2-web/references/usage_examples.md +436 -0
  219. scientific_writer/.claude/skills/peer-review/SKILL.md +375 -0
  220. scientific_writer/.claude/skills/peer-review/references/common_issues.md +552 -0
  221. scientific_writer/.claude/skills/peer-review/references/reporting_standards.md +290 -0
  222. scientific_writer/.claude/skills/research-grants/README.md +285 -0
  223. scientific_writer/.claude/skills/research-grants/SKILL.md +896 -0
  224. scientific_writer/.claude/skills/research-grants/assets/budget_justification_template.md +453 -0
  225. scientific_writer/.claude/skills/research-grants/assets/nih_specific_aims_template.md +166 -0
  226. scientific_writer/.claude/skills/research-grants/assets/nsf_project_summary_template.md +92 -0
  227. scientific_writer/.claude/skills/research-grants/references/broader_impacts.md +392 -0
  228. scientific_writer/.claude/skills/research-grants/references/darpa_guidelines.md +636 -0
  229. scientific_writer/.claude/skills/research-grants/references/doe_guidelines.md +586 -0
  230. scientific_writer/.claude/skills/research-grants/references/nih_guidelines.md +851 -0
  231. scientific_writer/.claude/skills/research-grants/references/nsf_guidelines.md +570 -0
  232. scientific_writer/.claude/skills/research-grants/references/specific_aims_guide.md +458 -0
  233. scientific_writer/.claude/skills/research-lookup/README.md +116 -0
  234. scientific_writer/.claude/skills/research-lookup/SKILL.md +443 -0
  235. scientific_writer/.claude/skills/research-lookup/examples.py +174 -0
  236. scientific_writer/.claude/skills/research-lookup/lookup.py +93 -0
  237. scientific_writer/.claude/skills/research-lookup/research_lookup.py +335 -0
  238. scientific_writer/.claude/skills/research-lookup/scripts/research_lookup.py +261 -0
  239. scientific_writer/.claude/skills/scholar-evaluation/SKILL.md +254 -0
  240. scientific_writer/.claude/skills/scholar-evaluation/references/evaluation_framework.md +663 -0
  241. scientific_writer/.claude/skills/scholar-evaluation/scripts/calculate_scores.py +378 -0
  242. scientific_writer/.claude/skills/scientific-critical-thinking/SKILL.md +530 -0
  243. scientific_writer/.claude/skills/scientific-critical-thinking/references/common_biases.md +364 -0
  244. scientific_writer/.claude/skills/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
  245. scientific_writer/.claude/skills/scientific-critical-thinking/references/experimental_design.md +496 -0
  246. scientific_writer/.claude/skills/scientific-critical-thinking/references/logical_fallacies.md +478 -0
  247. scientific_writer/.claude/skills/scientific-critical-thinking/references/scientific_method.md +169 -0
  248. scientific_writer/.claude/skills/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
  249. scientific_writer/.claude/skills/scientific-schematics/SKILL.md +2035 -0
  250. scientific_writer/.claude/skills/scientific-schematics/assets/block_diagram_template.tex +199 -0
  251. scientific_writer/.claude/skills/scientific-schematics/assets/circuit_template.tex +159 -0
  252. scientific_writer/.claude/skills/scientific-schematics/assets/flowchart_template.tex +161 -0
  253. scientific_writer/.claude/skills/scientific-schematics/assets/pathway_template.tex +162 -0
  254. scientific_writer/.claude/skills/scientific-schematics/assets/tikz_styles.tex +422 -0
  255. scientific_writer/.claude/skills/scientific-schematics/references/best_practices.md +562 -0
  256. scientific_writer/.claude/skills/scientific-schematics/references/diagram_types.md +637 -0
  257. scientific_writer/.claude/skills/scientific-schematics/references/python_libraries.md +791 -0
  258. scientific_writer/.claude/skills/scientific-schematics/references/tikz_guide.md +734 -0
  259. scientific_writer/.claude/skills/scientific-schematics/scripts/circuit_generator.py +307 -0
  260. scientific_writer/.claude/skills/scientific-schematics/scripts/compile_tikz.py +292 -0
  261. scientific_writer/.claude/skills/scientific-schematics/scripts/generate_flowchart.py +281 -0
  262. scientific_writer/.claude/skills/scientific-schematics/scripts/pathway_diagram.py +406 -0
  263. scientific_writer/.claude/skills/scientific-writing/SKILL.md +443 -0
  264. scientific_writer/.claude/skills/scientific-writing/references/citation_styles.md +720 -0
  265. scientific_writer/.claude/skills/scientific-writing/references/figures_tables.md +806 -0
  266. scientific_writer/.claude/skills/scientific-writing/references/imrad_structure.md +658 -0
  267. scientific_writer/.claude/skills/scientific-writing/references/reporting_guidelines.md +748 -0
  268. scientific_writer/.claude/skills/scientific-writing/references/writing_principles.md +824 -0
  269. scientific_writer/.claude/skills/treatment-plans/README.md +483 -0
  270. scientific_writer/.claude/skills/treatment-plans/SKILL.md +817 -0
  271. scientific_writer/.claude/skills/treatment-plans/assets/chronic_disease_management_plan.tex +636 -0
  272. scientific_writer/.claude/skills/treatment-plans/assets/general_medical_treatment_plan.tex +616 -0
  273. scientific_writer/.claude/skills/treatment-plans/assets/mental_health_treatment_plan.tex +745 -0
  274. scientific_writer/.claude/skills/treatment-plans/assets/pain_management_plan.tex +770 -0
  275. scientific_writer/.claude/skills/treatment-plans/assets/perioperative_care_plan.tex +724 -0
  276. scientific_writer/.claude/skills/treatment-plans/assets/quality_checklist.md +471 -0
  277. scientific_writer/.claude/skills/treatment-plans/assets/rehabilitation_treatment_plan.tex +727 -0
  278. scientific_writer/.claude/skills/treatment-plans/references/goal_setting_frameworks.md +411 -0
  279. scientific_writer/.claude/skills/treatment-plans/references/intervention_guidelines.md +507 -0
  280. scientific_writer/.claude/skills/treatment-plans/references/regulatory_compliance.md +476 -0
  281. scientific_writer/.claude/skills/treatment-plans/references/specialty_specific_guidelines.md +607 -0
  282. scientific_writer/.claude/skills/treatment-plans/references/treatment_plan_standards.md +456 -0
  283. scientific_writer/.claude/skills/treatment-plans/scripts/check_completeness.py +318 -0
  284. scientific_writer/.claude/skills/treatment-plans/scripts/generate_template.py +244 -0
  285. scientific_writer/.claude/skills/treatment-plans/scripts/timeline_generator.py +369 -0
  286. scientific_writer/.claude/skills/treatment-plans/scripts/validate_treatment_plan.py +367 -0
  287. scientific_writer/.claude/skills/venue-templates/SKILL.md +590 -0
  288. scientific_writer/.claude/skills/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
  289. scientific_writer/.claude/skills/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
  290. scientific_writer/.claude/skills/venue-templates/assets/journals/nature_article.tex +171 -0
  291. scientific_writer/.claude/skills/venue-templates/assets/journals/neurips_article.tex +283 -0
  292. scientific_writer/.claude/skills/venue-templates/assets/journals/plos_one.tex +317 -0
  293. scientific_writer/.claude/skills/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
  294. scientific_writer/.claude/skills/venue-templates/references/conferences_formatting.md +564 -0
  295. scientific_writer/.claude/skills/venue-templates/references/grants_requirements.md +787 -0
  296. scientific_writer/.claude/skills/venue-templates/references/journals_formatting.md +486 -0
  297. scientific_writer/.claude/skills/venue-templates/references/posters_guidelines.md +628 -0
  298. scientific_writer/.claude/skills/venue-templates/scripts/customize_template.py +206 -0
  299. scientific_writer/.claude/skills/venue-templates/scripts/query_template.py +260 -0
  300. scientific_writer/.claude/skills/venue-templates/scripts/validate_format.py +255 -0
  301. scientific_writer/CLAUDE.md +748 -0
  302. scientific_writer/__init__.py +2 -2
  303. scientific_writer/api.py +14 -7
  304. scientific_writer/cli.py +12 -7
  305. scientific_writer/core.py +27 -5
  306. {scientific_writer-2.1.1.dist-info → scientific_writer-2.2.2.dist-info}/METADATA +5 -1
  307. scientific_writer-2.2.2.dist-info/RECORD +312 -0
  308. scientific_writer-2.1.1.dist-info/RECORD +0 -11
  309. {scientific_writer-2.1.1.dist-info → scientific_writer-2.2.2.dist-info}/WHEEL +0 -0
  310. {scientific_writer-2.1.1.dist-info → scientific_writer-2.2.2.dist-info}/entry_points.txt +0 -0
  311. {scientific_writer-2.1.1.dist-info → scientific_writer-2.2.2.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,478 @@
1
+ # Logical Fallacies in Scientific Discourse
2
+
3
+ ## Fallacies of Causation
4
+
5
+ ### 1. Post Hoc Ergo Propter Hoc (After This, Therefore Because of This)
6
+ **Description:** Assuming that because B happened after A, A caused B.
7
+
8
+ **Examples:**
9
+ - "I took this supplement and my cold went away, so the supplement cured my cold."
10
+ - "Autism diagnoses increased after vaccine schedules changed, so vaccines cause autism."
11
+ - "I wore my lucky socks and won the game, so the socks caused the win."
12
+
13
+ **Why fallacious:** Temporal sequence is necessary but not sufficient for causation. Correlation ≠ causation.
14
+
15
+ **Related:** *Cum hoc ergo propter hoc* (with this, therefore because of this) - correlation mistaken for causation even without temporal order.
16
+
17
+ ### 2. Confusing Correlation with Causation
18
+ **Description:** Assuming correlation implies direct causal relationship.
19
+
20
+ **Examples:**
21
+ - "Countries that eat more chocolate have more Nobel Prize winners, so chocolate makes you smarter."
22
+ - "Ice cream sales correlate with drowning deaths, so ice cream causes drowning."
23
+
24
+ **Reality:** Often due to confounding variables (hot weather causes both ice cream sales and swimming).
25
+
26
+ ### 3. Reverse Causation
27
+ **Description:** Confusing cause and effect direction.
28
+
29
+ **Examples:**
30
+ - "Depression is associated with inflammation, so inflammation causes depression." (Could be: depression causes inflammation)
31
+ - "Wealthy people are healthier, so wealth causes health." (Could be: health enables wealth accumulation)
32
+
33
+ **Solution:** Longitudinal studies and experimental designs to establish temporal order.
34
+
35
+ ### 4. Single Cause Fallacy
36
+ **Description:** Attributing complex phenomena to one cause when multiple factors contribute.
37
+
38
+ **Examples:**
39
+ - "Crime is caused by poverty." (Ignores many other contributing factors)
40
+ - "Heart disease is caused by fat intake." (Oversimplifies multifactorial disease)
41
+
42
+ **Reality:** Most outcomes have multiple contributing causes.
43
+
44
+ ## Fallacies of Generalization
45
+
46
+ ### 5. Hasty Generalization
47
+ **Description:** Drawing broad conclusions from insufficient evidence.
48
+
49
+ **Examples:**
50
+ - "My uncle smoked and lived to 90, so smoking isn't dangerous."
51
+ - "This drug worked in 5 patients, so it's effective for everyone."
52
+ - "I saw three black swans, so all swans are black."
53
+
54
+ **Why fallacious:** Small, unrepresentative samples don't support universal claims.
55
+
56
+ ### 6. Anecdotal Fallacy
57
+ **Description:** Using personal experience or isolated examples as proof.
58
+
59
+ **Examples:**
60
+ - "I know someone who survived cancer using alternative medicine, so it works."
61
+ - "My grandmother never exercised and lived to 100, so exercise is unnecessary."
62
+
63
+ **Why fallacious:** Anecdotes are unreliable due to selection bias, memory bias, and confounding. Plural of anecdote ≠ data.
64
+
65
+ ### 7. Cherry Picking (Suppressing Evidence)
66
+ **Description:** Selecting only evidence that supports your position while ignoring contradictory evidence.
67
+
68
+ **Examples:**
69
+ - Citing only studies showing supplement benefits while ignoring null findings
70
+ - Highlighting successful predictions while ignoring failed ones
71
+ - Showing graphs that start at convenient points
72
+
73
+ **Detection:** Look for systematic reviews, not individual studies.
74
+
75
+ ### 8. Ecological Fallacy
76
+ **Description:** Inferring individual characteristics from group statistics.
77
+
78
+ **Example:**
79
+ - "Average income in this neighborhood is high, so this person must be wealthy."
80
+ - "This country has low disease rates, so any individual from there is unlikely to have disease."
81
+
82
+ **Why fallacious:** Group-level patterns don't necessarily apply to individuals.
83
+
84
+ ## Fallacies of Authority and Tradition
85
+
86
+ ### 9. Appeal to Authority (Argumentum ad Verecundiam)
87
+ **Description:** Accepting claims because an authority figure said them, without evidence.
88
+
89
+ **Examples:**
90
+ - "Dr. X says this treatment works, so it must." (If Dr. X provides no data)
91
+ - "Einstein believed in God, so God exists." (Einstein's physics expertise doesn't transfer)
92
+ - "99% of doctors recommend..." (Appeal to majority + authority without evidence)
93
+
94
+ **Valid use of authority:** Experts providing evidence-based consensus in their domain.
95
+
96
+ **Invalid:** Authority opinions without evidence, or outside their expertise.
97
+
98
+ ### 10. Appeal to Antiquity/Tradition
99
+ **Description:** Assuming something is true or good because it's old or traditional.
100
+
101
+ **Examples:**
102
+ - "Traditional medicine has been used for thousands of years, so it must work."
103
+ - "This theory has been accepted for decades, so it must be correct."
104
+
105
+ **Why fallacious:** Age doesn't determine validity. Many old beliefs have been disproven.
106
+
107
+ ### 11. Appeal to Novelty
108
+ **Description:** Assuming something is better because it's new.
109
+
110
+ **Examples:**
111
+ - "This is the latest treatment, so it must be superior."
112
+ - "New research overturns everything we knew." (Often overstated)
113
+
114
+ **Why fallacious:** New ≠ better. Established treatments often outperform novel ones.
115
+
116
+ ## Fallacies of Relevance
117
+
118
+ ### 12. Ad Hominem (Attack the Person)
119
+ **Description:** Attacking the person making the argument rather than the argument itself.
120
+
121
+ **Types:**
122
+ - **Abusive:** "He's an idiot, so his theory is wrong."
123
+ - **Circumstantial:** "She's funded by industry, so her findings are false."
124
+ - **Tu Quoque:** "You smoke, so your anti-smoking argument is invalid."
125
+
126
+ **Why fallacious:** Personal characteristics don't determine argument validity.
127
+
128
+ **Note:** Conflicts of interest are worth noting but don't invalidate evidence.
129
+
130
+ ### 13. Genetic Fallacy
131
+ **Description:** Judging something based on its origin rather than its merits.
132
+
133
+ **Examples:**
134
+ - "This idea came from a drug company, so it's wrong."
135
+ - "Ancient Greeks believed this, so it's outdated."
136
+
137
+ **Better approach:** Evaluate evidence regardless of source.
138
+
139
+ ### 14. Appeal to Emotion
140
+ **Description:** Manipulating emotions instead of presenting evidence.
141
+
142
+ **Types:**
143
+ - **Appeal to fear:** "If you don't vaccinate, your child will die."
144
+ - **Appeal to pity:** "Think of the suffering patients who need this unproven treatment."
145
+ - **Appeal to flattery:** "Smart people like you know that..."
146
+
147
+ **Why fallacious:** Emotional reactions don't determine truth.
148
+
149
+ ### 15. Appeal to Consequences (Argumentum ad Consequentiam)
150
+ **Description:** Arguing something is true/false based on whether consequences are desirable.
151
+
152
+ **Examples:**
153
+ - "Climate change can't be real because the solutions would hurt the economy."
154
+ - "Free will must exist because without it, morality is impossible."
155
+
156
+ **Why fallacious:** Reality is independent of what we wish were true.
157
+
158
+ ### 16. Appeal to Nature (Naturalistic Fallacy)
159
+ **Description:** Assuming "natural" means good, safe, or effective.
160
+
161
+ **Examples:**
162
+ - "This treatment is natural, so it's safe."
163
+ - "Organic food is natural, so it's healthier."
164
+ - "Vaccines are unnatural, so they're harmful."
165
+
166
+ **Why fallacious:**
167
+ - Many natural things are deadly (arsenic, snake venom, hurricanes)
168
+ - Many synthetic things are beneficial (antibiotics, vaccines)
169
+ - "Natural" is often poorly defined
170
+
171
+ ### 17. Moralistic Fallacy
172
+ **Description:** Assuming what ought to be true is true.
173
+
174
+ **Examples:**
175
+ - "There shouldn't be sex differences in ability, so they don't exist."
176
+ - "People should be rational, so they are."
177
+
178
+ **Why fallacious:** Desires about reality don't change reality.
179
+
180
+ ## Fallacies of Structure
181
+
182
+ ### 18. False Dichotomy (False Dilemma)
183
+ **Description:** Presenting only two options when more exist.
184
+
185
+ **Examples:**
186
+ - "Either you're with us or against us."
187
+ - "It's either genetic or environmental." (Usually both)
188
+ - "Either the treatment works or it doesn't." (Ignores partial effects)
189
+
190
+ **Reality:** Most issues have multiple options and shades of gray.
191
+
192
+ ### 19. Begging the Question (Circular Reasoning)
193
+ **Description:** Assuming what you're trying to prove.
194
+
195
+ **Examples:**
196
+ - "This medicine works because it has healing properties." (What are healing properties? That it works!)
197
+ - "God exists because the Bible says so, and the Bible is true because it's God's word."
198
+
199
+ **Detection:** Check if the conclusion is hidden in the premises.
200
+
201
+ ### 20. Moving the Goalposts
202
+ **Description:** Changing standards of evidence after initial standards are met.
203
+
204
+ **Example:**
205
+ - Skeptic: "Show me one study."
206
+ - [Shows study]
207
+ - Skeptic: "That's just one study; show me a meta-analysis."
208
+ - [Shows meta-analysis]
209
+ - Skeptic: "But meta-analyses have limitations..."
210
+
211
+ **Why problematic:** No amount of evidence will ever be sufficient.
212
+
213
+ ### 21. Slippery Slope
214
+ **Description:** Arguing that one step will inevitably lead to extreme outcomes without justification.
215
+
216
+ **Example:**
217
+ - "If we allow gene editing for disease, we'll end up with designer babies and eugenics."
218
+
219
+ **When valid:** If intermediate steps are actually likely.
220
+
221
+ **When fallacious:** If chain of events is speculative without evidence.
222
+
223
+ ### 22. Straw Man
224
+ **Description:** Misrepresenting an argument to make it easier to attack.
225
+
226
+ **Example:**
227
+ - Position: "We should teach evolution in schools."
228
+ - Straw man: "So you think we should tell kids they're just monkeys?"
229
+
230
+ **Detection:** Ask: Is this really what they're claiming?
231
+
232
+ ## Fallacies of Statistical and Scientific Reasoning
233
+
234
+ ### 23. Texas Sharpshooter Fallacy
235
+ **Description:** Cherry-picking data clusters to fit a pattern, like shooting arrows then drawing targets around them.
236
+
237
+ **Examples:**
238
+ - Finding cancer clusters and claiming environmental causes (without accounting for random clustering)
239
+ - Data mining until finding significant correlations
240
+
241
+ **Why fallacious:** Patterns in random data are inevitable; finding them doesn't prove causation.
242
+
243
+ ### 24. Base Rate Fallacy
244
+ **Description:** Ignoring prior probability when evaluating evidence.
245
+
246
+ **Example:**
247
+ - Disease affects 0.1% of population; test is 99% accurate
248
+ - Positive test ≠ 99% probability of disease
249
+ - Actually ~9% probability (due to false positives exceeding true positives)
250
+
251
+ **Solution:** Use Bayesian reasoning; consider base rates.
252
+
253
+ ### 25. Prosecutor's Fallacy
254
+ **Description:** Confusing P(Evidence|Innocent) with P(Innocent|Evidence).
255
+
256
+ **Example:**
257
+ - "The probability of this DNA match occurring by chance is 1 in 1 million, so there's only a 1 in 1 million chance the defendant is innocent."
258
+
259
+ **Why fallacious:** Ignores base rates and prior probability.
260
+
261
+ ### 26. McNamara Fallacy (Quantitative Fallacy)
262
+ **Description:** Focusing only on what can be easily measured while ignoring important unmeasured factors.
263
+
264
+ **Example:**
265
+ - Judging school quality only by test scores (ignoring creativity, social skills, ethics)
266
+ - Measuring healthcare only by quantifiable outcomes (ignoring quality of life)
267
+
268
+ **Quote:** "Not everything that counts can be counted, and not everything that can be counted counts."
269
+
270
+ ### 27. Multiple Comparisons Fallacy
271
+ **Description:** Not accounting for increased false positive rate when testing many hypotheses.
272
+
273
+ **Example:**
274
+ - Testing 20 hypotheses at p < .05 gives ~65% chance of at least one false positive
275
+ - Claiming jellybean color X causes acne after testing 20 colors
276
+
277
+ **Solution:** Correct for multiple comparisons (Bonferroni, FDR).
278
+
279
+ ### 28. Reification (Hypostatization)
280
+ **Description:** Treating abstract concepts as if they were concrete things.
281
+
282
+ **Examples:**
283
+ - "Evolution wants organisms to survive." (Evolution doesn't "want")
284
+ - "The gene for intelligence" (Intelligence isn't one gene)
285
+ - "Nature selects..." (Nature doesn't consciously select)
286
+
287
+ **Why problematic:** Can lead to confused thinking about mechanisms.
288
+
289
+ ## Fallacies of Scope and Definition
290
+
291
+ ### 29. No True Scotsman
292
+ **Description:** Retroactively excluding counterexamples by redefining criteria.
293
+
294
+ **Example:**
295
+ - "No natural remedy has side effects."
296
+ - "But poison ivy is natural and causes reactions."
297
+ - "Well, no *true* natural remedy has side effects."
298
+
299
+ **Why fallacious:** Moves goalposts to protect claim from falsification.
300
+
301
+ ### 30. Equivocation
302
+ **Description:** Using a word with multiple meanings inconsistently.
303
+
304
+ **Example:**
305
+ - "Evolution is just a theory. Theories are guesses. So evolution is just a guess."
306
+ - (Conflates colloquial "theory" with scientific "theory")
307
+
308
+ **Detection:** Check if key terms are used consistently.
309
+
310
+ ### 31. Ambiguity
311
+ **Description:** Using vague language that can be interpreted multiple ways.
312
+
313
+ **Example:**
314
+ - "Quantum healing" (What does "quantum" mean here?)
315
+ - "Natural" (Animals? Not synthetic? Organic? Common?)
316
+
317
+ **Why problematic:** Claims become unfalsifiable when terms are undefined.
318
+
319
+ ### 32. Mind Projection Fallacy
320
+ **Description:** Projecting mental constructs onto reality.
321
+
322
+ **Example:**
323
+ - Assuming categories that exist in language exist in nature
324
+ - "Which chromosome is the gene for X on?" when X is polygenic and partially environmental
325
+
326
+ **Better:** Recognize human categories may not carve nature at the joints.
327
+
328
+ ## Fallacies Specific to Science
329
+
330
+ ### 33. Galileo Gambit
331
+ **Description:** "They laughed at Galileo, and he was right, so if they're laughing at me, I must be right too."
332
+
333
+ **Why fallacious:**
334
+ - They laughed at Galileo, and he was right
335
+ - They also laughed at countless crackpots who were wrong
336
+ - Being an outsider doesn't make you right
337
+
338
+ **Reality:** Revolutionary ideas are usually well-supported by evidence.
339
+
340
+ ### 34. Argument from Ignorance (Ad Ignorantiam)
341
+ **Description:** Assuming something is true because it hasn't been proven false (or vice versa).
342
+
343
+ **Examples:**
344
+ - "No one has proven homeopathy doesn't work, so it works."
345
+ - "We haven't found evidence of harm, so it must be safe."
346
+
347
+ **Why fallacious:** Absence of evidence ≠ evidence of absence (though it can be, depending on how hard we've looked).
348
+
349
+ **Burden of proof:** Falls on the claimant, not the skeptic.
350
+
351
+ ### 35. God of the Gaps
352
+ **Description:** Explaining gaps in knowledge by invoking supernatural or unfalsifiable causes.
353
+
354
+ **Examples:**
355
+ - "We don't fully understand consciousness, so it must be spiritual."
356
+ - "This complexity couldn't arise naturally, so it must be designed."
357
+
358
+ **Why problematic:**
359
+ - Fills gaps with non-explanations
360
+ - Discourages genuine investigation
361
+ - History shows gaps get filled by natural explanations
362
+
363
+ ### 36. Nirvana Fallacy (Perfect Solution Fallacy)
364
+ **Description:** Rejecting solutions because they're imperfect.
365
+
366
+ **Examples:**
367
+ - "Vaccines aren't 100% effective, so they're worthless."
368
+ - "This diet doesn't work for everyone, so it doesn't work."
369
+
370
+ **Reality:** Most interventions are partial; perfection is rare.
371
+
372
+ **Better:** Compare to alternatives, not to perfection.
373
+
374
+ ### 37. Special Pleading
375
+ **Description:** Applying standards to others but not to oneself.
376
+
377
+ **Examples:**
378
+ - "My anecdotes count as evidence, but yours don't."
379
+ - "Mainstream medicine needs RCTs, but my alternative doesn't."
380
+ - "Correlation doesn't imply causation—except when it supports my view."
381
+
382
+ **Why fallacious:** Evidence standards should apply consistently.
383
+
384
+ ### 38. Unfalsifiability
385
+ **Description:** Formulating claims in ways that cannot be tested or disproven.
386
+
387
+ **Examples:**
388
+ - "This energy can't be detected by any instrument."
389
+ - "It works, but only if you truly believe."
390
+ - "Failures prove the conspiracy is even deeper."
391
+
392
+ **Why problematic:** Unfalsifiable claims aren't scientific; they can't be tested.
393
+
394
+ **Good science:** Makes specific, testable predictions.
395
+
396
+ ### 39. Affirming the Consequent
397
+ **Description:** If A, then B. B is true. Therefore, A is true.
398
+
399
+ **Example:**
400
+ - "If the drug works, symptoms improve. Symptoms improved. Therefore, the drug worked."
401
+ - (Could be placebo, natural history, regression to mean)
402
+
403
+ **Why fallacious:** Other causes could produce the same outcome.
404
+
405
+ **Valid form:** Modus ponens: If A, then B. A is true. Therefore, B is true.
406
+
407
+ ### 40. Denying the Antecedent
408
+ **Description:** If A, then B. A is false. Therefore, B is false.
409
+
410
+ **Example:**
411
+ - "If you have fever, you have infection. You don't have fever. Therefore, you don't have infection."
412
+
413
+ **Why fallacious:** B can be true even when A is false.
414
+
415
+ ## Avoiding Logical Fallacies
416
+
417
+ ### Practical Steps
418
+
419
+ 1. **Identify the claim** - What exactly is being argued?
420
+
421
+ 2. **Identify the evidence** - What supports the claim?
422
+
423
+ 3. **Check the logic** - Does the evidence actually support the claim?
424
+
425
+ 4. **Look for hidden assumptions** - What unstated beliefs does the argument rely on?
426
+
427
+ 5. **Consider alternatives** - What other explanations fit the evidence?
428
+
429
+ 6. **Check for emotional manipulation** - Is the argument relying on feelings rather than facts?
430
+
431
+ 7. **Evaluate the source** - Are there conflicts of interest? Is this within their expertise?
432
+
433
+ 8. **Look for balance** - Are counterarguments addressed fairly?
434
+
435
+ 9. **Assess the evidence** - Is it anecdotal, observational, or experimental? How strong?
436
+
437
+ 10. **Be charitable** - Interpret arguments in their strongest form (steel man, not straw man).
438
+
439
+ ### Questions to Ask
440
+
441
+ - Is the conclusion supported by the premises?
442
+ - Are there unstated assumptions?
443
+ - Is the evidence relevant to the conclusion?
444
+ - Are counterarguments acknowledged?
445
+ - Could alternative explanations account for the evidence?
446
+ - Is the reasoning consistent?
447
+ - Are terms defined clearly?
448
+ - Is evidence being cherry-picked?
449
+ - Are emotions being manipulated?
450
+ - Would this reasoning apply consistently to other cases?
451
+
452
+ ### Common Patterns
453
+
454
+ **Good Arguments:**
455
+ - Clearly defined terms
456
+ - Relevant, sufficient evidence
457
+ - Valid logical structure
458
+ - Acknowledges limitations and alternatives
459
+ - Proportional conclusions
460
+ - Transparent about uncertainty
461
+ - Applies consistent standards
462
+
463
+ **Poor Arguments:**
464
+ - Vague or shifting definitions
465
+ - Irrelevant or insufficient evidence
466
+ - Logical leaps
467
+ - Ignores counterevidence
468
+ - Overclaimed conclusions
469
+ - False certainty
470
+ - Double standards
471
+
472
+ ## Remember
473
+
474
+ - **Fallacious reasoning doesn't mean the conclusion is false** - just that this argument doesn't support it.
475
+ - **Identifying fallacies isn't about winning** - it's about better understanding reality.
476
+ - **We all commit fallacies** - recognizing them in ourselves is as important as in others.
477
+ - **Charity principle** - Interpret arguments generously; don't assume bad faith.
478
+ - **Focus on claims, not people** - Ad hominem goes both ways.
@@ -0,0 +1,169 @@
1
+ # Scientific Method Core Principles
2
+
3
+ ## Fundamental Principles
4
+
5
+ ### 1. Empiricism
6
+ - Knowledge derives from observable, measurable evidence
7
+ - Claims must be testable through observation or experiment
8
+ - Subjective experience alone is insufficient for scientific conclusions
9
+
10
+ ### 2. Falsifiability (Popper's Criterion)
11
+ - A hypothesis must be capable of being proven false
12
+ - Unfalsifiable claims are not scientific (e.g., "invisible, undetectable forces")
13
+ - Good hypotheses make specific, testable predictions
14
+
15
+ ### 3. Reproducibility
16
+ - Results must be replicable by independent researchers
17
+ - Methods must be described with sufficient detail for replication
18
+ - Single studies are rarely definitive; replication strengthens confidence
19
+
20
+ ### 4. Parsimony (Occam's Razor)
21
+ - Prefer simpler explanations over complex ones when both fit the data
22
+ - Don't multiply entities unnecessarily
23
+ - Extraordinary claims require extraordinary evidence
24
+
25
+ ### 5. Systematic Observation
26
+ - Use standardized, rigorous methods
27
+ - Control for confounding variables
28
+ - Minimize observer bias through blinding and protocols
29
+
30
+ ## The Scientific Process
31
+
32
+ ### 1. Question Formation
33
+ - Identify a specific, answerable question
34
+ - Ensure the question is within the scope of scientific inquiry
35
+ - Consider whether current methods can address the question
36
+
37
+ ### 2. Literature Review
38
+ - Survey existing knowledge
39
+ - Identify gaps and contradictions
40
+ - Build on previous work rather than reinventing
41
+
42
+ ### 3. Hypothesis Development
43
+ - State a clear, testable prediction
44
+ - Define variables operationally
45
+ - Specify the expected relationship between variables
46
+
47
+ ### 4. Experimental Design
48
+ - Choose appropriate methodology
49
+ - Identify independent and dependent variables
50
+ - Control confounding variables
51
+ - Select appropriate sample size and population
52
+ - Plan statistical analyses in advance
53
+
54
+ ### 5. Data Collection
55
+ - Follow protocols consistently
56
+ - Record all observations, including unexpected results
57
+ - Maintain detailed lab notebooks or data logs
58
+ - Use validated measurement instruments
59
+
60
+ ### 6. Analysis
61
+ - Apply appropriate statistical methods
62
+ - Test assumptions of statistical tests
63
+ - Consider effect size, not just significance
64
+ - Look for alternative explanations
65
+
66
+ ### 7. Interpretation
67
+ - Distinguish between correlation and causation
68
+ - Acknowledge limitations
69
+ - Consider alternative interpretations
70
+ - Avoid overgeneralizing beyond the data
71
+
72
+ ### 8. Communication
73
+ - Report methods transparently
74
+ - Include negative results
75
+ - Acknowledge conflicts of interest
76
+ - Make data and code available when possible
77
+
78
+ ## Critical Evaluation Criteria
79
+
80
+ ### When Reviewing Scientific Work, Ask:
81
+
82
+ **Validity Questions:**
83
+ - Does the study measure what it claims to measure?
84
+ - Are the methods appropriate for the research question?
85
+ - Were controls adequate?
86
+ - Could confounding variables explain the results?
87
+
88
+ **Reliability Questions:**
89
+ - Are measurements consistent?
90
+ - Would the study produce similar results if repeated?
91
+ - Are inter-rater reliability and measurement precision reported?
92
+
93
+ **Generalizability Questions:**
94
+ - Is the sample representative of the target population?
95
+ - Are the conditions realistic or artificial?
96
+ - Do the results apply beyond the specific context?
97
+
98
+ **Statistical Questions:**
99
+ - Is the sample size adequate for the analysis?
100
+ - Are the statistical tests appropriate?
101
+ - Are effect sizes reported alongside p-values?
102
+ - Were multiple comparisons corrected?
103
+
104
+ **Logical Questions:**
105
+ - Do the conclusions follow from the data?
106
+ - Are alternative explanations considered?
107
+ - Are causal claims supported by the study design?
108
+ - Are limitations acknowledged?
109
+
110
+ ## Red Flags in Scientific Claims
111
+
112
+ 1. **Cherry-picking data** - Highlighting only supporting evidence
113
+ 2. **Moving goalposts** - Changing predictions after seeing results
114
+ 3. **Ad hoc hypotheses** - Adding explanations to rescue a failed prediction
115
+ 4. **Appeal to authority** - "Expert X says" without evidence
116
+ 5. **Anecdotal evidence** - Relying on personal stories over systematic data
117
+ 6. **Correlation implies causation** - Confusing association with causality
118
+ 7. **Post hoc rationalization** - Explaining results after the fact without prediction
119
+ 8. **Ignoring base rates** - Not considering prior probability
120
+ 9. **Confirmation bias** - Seeking only evidence that supports beliefs
121
+ 10. **Publication bias** - Only positive results get published
122
+
123
+ ## Standards for Causal Inference
124
+
125
+ ### Bradford Hill Criteria (adapted)
126
+ 1. **Strength** - Strong associations are more likely causal
127
+ 2. **Consistency** - Repeated observations by different researchers
128
+ 3. **Specificity** - Specific outcomes from specific causes
129
+ 4. **Temporality** - Cause precedes effect (essential)
130
+ 5. **Biological gradient** - Dose-response relationship
131
+ 6. **Plausibility** - Coherent with existing knowledge
132
+ 7. **Coherence** - Consistent with other evidence
133
+ 8. **Experiment** - Experimental evidence supports causation
134
+ 9. **Analogy** - Similar cause-effect relationships exist
135
+
136
+ ### Establishing Causation Requires:
137
+ - Temporal precedence (cause before effect)
138
+ - Covariation (cause and effect correlate)
139
+ - Elimination of alternative explanations
140
+ - Ideally: experimental manipulation showing cause produces effect
141
+
142
+ ## Peer Review and Scientific Consensus
143
+
144
+ ### Understanding Peer Review
145
+ - Filters obvious errors but isn't perfect
146
+ - Reviewers can miss problems or have biases
147
+ - Published ≠ proven; it means "passed initial scrutiny"
148
+ - Retraction mechanisms exist for flawed papers
149
+
150
+ ### Scientific Consensus
151
+ - Emerges from convergence of multiple independent lines of evidence
152
+ - Consensus can change with new evidence
153
+ - Individual studies rarely overturn consensus
154
+ - Consider the weight of evidence, not individual papers
155
+
156
+ ## Open Science Principles
157
+
158
+ ### Transparency Practices
159
+ - Preregistration of hypotheses and methods
160
+ - Open data sharing
161
+ - Open-source code
162
+ - Preprints for rapid dissemination
163
+ - Registered reports (peer review before data collection)
164
+
165
+ ### Why Transparency Matters
166
+ - Reduces publication bias
167
+ - Enables verification
168
+ - Prevents p-hacking and HARKing (Hypothesizing After Results are Known)
169
+ - Accelerates scientific progress