@pikaa-ai/pikaa 0.3.1 → 0.3.4
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.
- package/dist/cli.js +1169 -601
- package/dist/index.js +525 -204
- package/package.json +5 -3
- package/skills/adaptyv/references/api-endpoints.md +0 -690
- package/skills/aeon/references/anomaly_detection.md +0 -154
- package/skills/aeon/references/classification.md +0 -144
- package/skills/aeon/references/clustering.md +0 -123
- package/skills/aeon/references/datasets_benchmarking.md +0 -392
- package/skills/aeon/references/distances.md +0 -256
- package/skills/aeon/references/forecasting.md +0 -109
- package/skills/aeon/references/networks.md +0 -289
- package/skills/aeon/references/regression.md +0 -118
- package/skills/aeon/references/segmentation.md +0 -163
- package/skills/aeon/references/similarity_search.md +0 -187
- package/skills/aeon/references/transformations.md +0 -246
- package/skills/analytical-method-validation/assets/validation-protocol-template.md +0 -106
- package/skills/analytical-method-validation/assets/validation-report-template.md +0 -116
- package/skills/analytical-method-validation/references/compendial-and-clsi.md +0 -96
- package/skills/analytical-method-validation/references/framework-selection.md +0 -87
- package/skills/analytical-method-validation/references/ich-m10-bioanalytical.md +0 -123
- package/skills/analytical-method-validation/references/ich-q2r2.md +0 -229
- package/skills/analytical-method-validation/references/source-ledger.md +0 -125
- package/skills/analytical-method-validation/references/statistics.md +0 -209
- package/skills/analytical-method-validation/scripts/_catalog.py +0 -499
- package/skills/analytical-method-validation/scripts/_common.py +0 -955
- package/skills/analytical-method-validation/scripts/check_accuracy_precision.py +0 -328
- package/skills/analytical-method-validation/scripts/check_bioanalytical_run.py +0 -293
- package/skills/analytical-method-validation/scripts/check_detection_limits.py +0 -310
- package/skills/analytical-method-validation/scripts/check_response.py +0 -243
- package/skills/analytical-method-validation/scripts/compare_methods.py +0 -215
- package/skills/analytical-method-validation/scripts/plan_validation.py +0 -381
- package/skills/anndata/references/best_practices.md +0 -532
- package/skills/anndata/references/concatenation.md +0 -399
- package/skills/anndata/references/data_structure.md +0 -314
- package/skills/anndata/references/io_operations.md +0 -466
- package/skills/anndata/references/manipulation.md +0 -516
- package/skills/arbor/references/arbor-upstream.md +0 -91
- package/skills/arbor/references/executor-brief.md +0 -68
- package/skills/arbor/references/htr-methodology.md +0 -177
- package/skills/arbor/references/report-template.md +0 -39
- package/skills/arbor/scripts/tree.py +0 -564
- package/skills/arboreto/references/algorithms.md +0 -152
- package/skills/arboreto/references/basic_inference.md +0 -181
- package/skills/arboreto/references/distributed_computing.md +0 -242
- package/skills/arboreto/scripts/basic_grn_inference.py +0 -107
- package/skills/astropy/references/coordinates.md +0 -280
- package/skills/astropy/references/cosmology.md +0 -309
- package/skills/astropy/references/fits.md +0 -398
- package/skills/astropy/references/tables.md +0 -495
- package/skills/astropy/references/time.md +0 -412
- package/skills/astropy/references/units.md +0 -178
- package/skills/astropy/references/wcs_and_other_modules.md +0 -377
- package/skills/autoskill/config.yaml +0 -53
- package/skills/autoskill/references/https-proxy.md +0 -62
- package/skills/autoskill/references/screenpipe-config.yaml +0 -61
- package/skills/autoskill/scripts/autoskill.py +0 -35
- package/skills/autoskill/scripts/backends.py +0 -116
- package/skills/autoskill/scripts/cluster.py +0 -54
- package/skills/autoskill/scripts/doctor.py +0 -108
- package/skills/autoskill/scripts/fetch_window.py +0 -33
- package/skills/autoskill/scripts/match_skills.py +0 -46
- package/skills/autoskill/scripts/promote.py +0 -58
- package/skills/autoskill/scripts/redact.py +0 -40
- package/skills/autoskill/scripts/run.py +0 -194
- package/skills/autoskill/scripts/synthesize.py +0 -72
- package/skills/benchling-integration/references/api_endpoints.md +0 -883
- package/skills/benchling-integration/references/authentication.md +0 -390
- package/skills/benchling-integration/references/core_capabilities.md +0 -355
- package/skills/benchling-integration/references/eventbridge.md +0 -255
- package/skills/benchling-integration/references/sdk_reference.md +0 -772
- package/skills/bids/references/beps.yml +0 -637
- package/skills/bids/references/bids_schema.json +0 -21015
- package/skills/bids/references/bids_specification.md +0 -165
- package/skills/bids/references/conversion_tools.md +0 -475
- package/skills/bids/references/core_workflows.md +0 -552
- package/skills/bids/references/metadata_fields.md +0 -365
- package/skills/bids/scripts/update_schema.py +0 -89
- package/skills/biopython/references/advanced.md +0 -580
- package/skills/biopython/references/alignment.md +0 -377
- package/skills/biopython/references/blast.md +0 -463
- package/skills/biopython/references/databases.md +0 -492
- package/skills/biopython/references/phylogenetics.md +0 -566
- package/skills/biopython/references/sequence_io.md +0 -289
- package/skills/biopython/references/structure.md +0 -564
- package/skills/bioservices/references/identifier_mapping.md +0 -685
- package/skills/bioservices/references/services_reference.md +0 -638
- package/skills/bioservices/references/workflow_patterns.md +0 -813
- package/skills/bioservices/scripts/batch_id_converter.py +0 -347
- package/skills/bioservices/scripts/compound_cross_reference.py +0 -387
- package/skills/bioservices/scripts/pathway_analysis.py +0 -309
- package/skills/bioservices/scripts/protein_analysis_workflow.py +0 -441
- package/skills/bulk-rnaseq/references/counts-and-handoff.md +0 -91
- package/skills/bulk-rnaseq/references/design-and-qc.md +0 -68
- package/skills/bulk-rnaseq/references/upstream-manual.md +0 -128
- package/skills/bulk-rnaseq/references/upstream-nfcore.md +0 -108
- package/skills/bulk-rnaseq/scripts/build_counts_matrix.py +0 -203
- package/skills/bulk-rnaseq/scripts/validate_samplesheet.py +0 -206
- package/skills/cellxgene-census/references/census_schema.md +0 -218
- package/skills/cellxgene-census/references/common_patterns.md +0 -368
- package/skills/cellxgene-census/references/core_workflow_patterns.md +0 -297
- package/skills/cirq/references/building.md +0 -307
- package/skills/cirq/references/experiments.md +0 -572
- package/skills/cirq/references/hardware.md +0 -527
- package/skills/cirq/references/noise.md +0 -514
- package/skills/cirq/references/simulation.md +0 -353
- package/skills/cirq/references/transformation.md +0 -416
- package/skills/citation-management/assets/bibtex_template.bib +0 -264
- package/skills/citation-management/assets/citation_checklist.md +0 -386
- package/skills/citation-management/references/best_practices.md +0 -91
- package/skills/citation-management/references/bibtex_formatting.md +0 -908
- package/skills/citation-management/references/citation_validation.md +0 -835
- package/skills/citation-management/references/core_workflow.md +0 -569
- package/skills/citation-management/references/example_workflows.md +0 -126
- package/skills/citation-management/references/google_scholar_search.md +0 -732
- package/skills/citation-management/references/metadata_extraction.md +0 -870
- package/skills/citation-management/references/pubmed_search.md +0 -839
- package/skills/citation-management/references/script_reference.md +0 -250
- package/skills/citation-management/references/search_strategies.md +0 -110
- package/skills/citation-management/scripts/_common.py +0 -331
- package/skills/citation-management/scripts/doi_to_bibtex.py +0 -204
- package/skills/citation-management/scripts/extract_metadata.py +0 -690
- package/skills/citation-management/scripts/format_bibtex.py +0 -356
- package/skills/citation-management/scripts/search_google_scholar.py +0 -268
- package/skills/citation-management/scripts/search_openalex.py +0 -297
- package/skills/citation-management/scripts/search_pubmed.py +0 -419
- package/skills/citation-management/scripts/validate_citations.py +0 -688
- package/skills/clinical-decision-support/assets/aggregate_cohort_table_template.json +0 -114
- package/skills/clinical-decision-support/assets/aggregate_model_evaluation_template.json +0 -115
- package/skills/clinical-decision-support/assets/artifact_intended_use_template.json +0 -81
- package/skills/clinical-decision-support/assets/decision_logic_traceability_template.json +0 -108
- package/skills/clinical-decision-support/assets/deidentification_checklist_template.json +0 -176
- package/skills/clinical-decision-support/assets/evidence_profile_template.json +0 -139
- package/skills/clinical-decision-support/assets/survival_analysis_plan_template.json +0 -134
- package/skills/clinical-decision-support/references/cohort_evaluation.md +0 -142
- package/skills/clinical-decision-support/references/decision_logic_traceability.md +0 -146
- package/skills/clinical-decision-support/references/evidence_profiles.md +0 -153
- package/skills/clinical-decision-support/references/model_biomarker_evaluation.md +0 -152
- package/skills/clinical-decision-support/references/privacy_and_disclosure.md +0 -144
- package/skills/clinical-decision-support/references/regulatory_and_governance.md +0 -104
- package/skills/clinical-decision-support/references/safety_and_scope.md +0 -103
- package/skills/clinical-decision-support/references/security_validation.md +0 -60
- package/skills/clinical-decision-support/references/sources.md +0 -119
- package/skills/clinical-decision-support/references/study_reporting.md +0 -134
- package/skills/clinical-decision-support/references/survival_analysis.md +0 -156
- package/skills/clinical-decision-support/scripts/_common.py +0 -223
- package/skills/clinical-decision-support/scripts/cohort_table_generator.py +0 -288
- package/skills/clinical-decision-support/scripts/decision_logic_traceability.py +0 -313
- package/skills/clinical-decision-support/scripts/deidentification_checklist.py +0 -260
- package/skills/clinical-decision-support/scripts/evidence_profile_check.py +0 -259
- package/skills/clinical-decision-support/scripts/model_biomarker_evaluation.py +0 -345
- package/skills/clinical-decision-support/scripts/survival_plan_validator.py +0 -294
- package/skills/clinical-decision-support/scripts/validate_cds_artifact.py +0 -269
- package/skills/clinical-reports/assets/adverse_event_aggregate_input_template.csv +0 -1
- package/skills/clinical-reports/assets/case_report_template.json +0 -43
- package/skills/clinical-reports/assets/clinical_trial_csr_template.json +0 -51
- package/skills/clinical-reports/assets/clinical_trial_results_template.json +0 -66
- package/skills/clinical-reports/assets/clinical_trial_safety_aggregate_template.json +0 -49
- package/skills/clinical-reports/assets/consistency_manifest_template.json +0 -15
- package/skills/clinical-reports/assets/deidentification_process_checklist.json +0 -56
- package/skills/clinical-reports/assets/lab_report_template.json +0 -36
- package/skills/clinical-reports/assets/pathology_report_template.json +0 -36
- package/skills/clinical-reports/assets/provenance_manifest_template.json +0 -17
- package/skills/clinical-reports/assets/quality_review_checklist.json +0 -34
- package/skills/clinical-reports/assets/radiology_report_template.json +0 -34
- package/skills/clinical-reports/assets/research_summary_template.json +0 -36
- package/skills/clinical-reports/assets/terminology_manifest_template.json +0 -11
- package/skills/clinical-reports/assets/trial_protocol_reporting_checklist.json +0 -70
- package/skills/clinical-reports/references/case_report_guidelines.md +0 -72
- package/skills/clinical-reports/references/clinical_trial_reporting.md +0 -97
- package/skills/clinical-reports/references/data_presentation.md +0 -92
- package/skills/clinical-reports/references/diagnostic_reports_standards.md +0 -76
- package/skills/clinical-reports/references/medical_terminology.md +0 -84
- package/skills/clinical-reports/references/privacy_and_deidentification.md +0 -84
- package/skills/clinical-reports/references/professional_review.md +0 -78
- package/skills/clinical-reports/references/report_type_routing.md +0 -57
- package/skills/clinical-reports/references/safety_reporting.md +0 -109
- package/skills/clinical-reports/references/sources.md +0 -75
- package/skills/clinical-reports/scripts/_common.py +0 -263
- package/skills/clinical-reports/scripts/check_deidentification.py +0 -298
- package/skills/clinical-reports/scripts/consistency_checker.py +0 -390
- package/skills/clinical-reports/scripts/format_adverse_events.py +0 -455
- package/skills/clinical-reports/scripts/generate_report_template.py +0 -115
- package/skills/clinical-reports/scripts/provenance_validator.py +0 -263
- package/skills/clinical-reports/scripts/terminology_validator.py +0 -277
- package/skills/clinical-reports/scripts/validate_case_report.py +0 -278
- package/skills/clinical-reports/scripts/validate_trial_report.py +0 -534
- package/skills/cobrapy/references/api_quick_reference.md +0 -665
- package/skills/cobrapy/references/workflows.md +0 -600
- package/skills/consciousness-council/references/advanced-configurations.md +0 -96
- package/skills/dask/references/arrays.md +0 -495
- package/skills/dask/references/bags.md +0 -468
- package/skills/dask/references/best-practices.md +0 -277
- package/skills/dask/references/dataframes.md +0 -370
- package/skills/dask/references/futures.md +0 -541
- package/skills/dask/references/schedulers.md +0 -517
- package/skills/database-lookup/references/addgene.md +0 -38
- package/skills/database-lookup/references/alphafold.md +0 -52
- package/skills/database-lookup/references/alphavantage.md +0 -261
- package/skills/database-lookup/references/bea.md +0 -409
- package/skills/database-lookup/references/bindingdb.md +0 -85
- package/skills/database-lookup/references/biogrid.md +0 -110
- package/skills/database-lookup/references/bls.md +0 -235
- package/skills/database-lookup/references/brenda.md +0 -71
- package/skills/database-lookup/references/cbioportal.md +0 -206
- package/skills/database-lookup/references/census.md +0 -251
- package/skills/database-lookup/references/chebi.md +0 -103
- package/skills/database-lookup/references/chembl.md +0 -80
- package/skills/database-lookup/references/clinicaltrials.md +0 -86
- package/skills/database-lookup/references/clinpgx.md +0 -64
- package/skills/database-lookup/references/clinvar.md +0 -91
- package/skills/database-lookup/references/cod.md +0 -121
- package/skills/database-lookup/references/cosmic.md +0 -59
- package/skills/database-lookup/references/dailymed.md +0 -65
- package/skills/database-lookup/references/database_selection_guide.md +0 -166
- package/skills/database-lookup/references/datacommons.md +0 -237
- package/skills/database-lookup/references/dbsnp.md +0 -143
- package/skills/database-lookup/references/disgenet.md +0 -52
- package/skills/database-lookup/references/drugbank.md +0 -54
- package/skills/database-lookup/references/ecb.md +0 -191
- package/skills/database-lookup/references/emdb.md +0 -37
- package/skills/database-lookup/references/ena.md +0 -372
- package/skills/database-lookup/references/encode.md +0 -47
- package/skills/database-lookup/references/ensembl.md +0 -539
- package/skills/database-lookup/references/epa.md +0 -232
- package/skills/database-lookup/references/eurostat.md +0 -237
- package/skills/database-lookup/references/fda.md +0 -64
- package/skills/database-lookup/references/federal-reserve.md +0 -216
- package/skills/database-lookup/references/fred.md +0 -297
- package/skills/database-lookup/references/gene-ontology.md +0 -147
- package/skills/database-lookup/references/geo.md +0 -130
- package/skills/database-lookup/references/gnomad.md +0 -93
- package/skills/database-lookup/references/gtex.md +0 -136
- package/skills/database-lookup/references/gwas-catalog.md +0 -46
- package/skills/database-lookup/references/hca.md +0 -35
- package/skills/database-lookup/references/hpo.md +0 -48
- package/skills/database-lookup/references/human-protein-atlas.md +0 -57
- package/skills/database-lookup/references/interpro.md +0 -120
- package/skills/database-lookup/references/jaspar.md +0 -50
- package/skills/database-lookup/references/kegg.md +0 -78
- package/skills/database-lookup/references/lincs-l1000.md +0 -68
- package/skills/database-lookup/references/materials-project.md +0 -123
- package/skills/database-lookup/references/metabolomics-workbench.md +0 -98
- package/skills/database-lookup/references/monarch.md +0 -46
- package/skills/database-lookup/references/mousemine.md +0 -40
- package/skills/database-lookup/references/nasa-exoplanet-archive.md +0 -112
- package/skills/database-lookup/references/nasa.md +0 -121
- package/skills/database-lookup/references/ncbi-gene.md +0 -64
- package/skills/database-lookup/references/ncbi-protein.md +0 -104
- package/skills/database-lookup/references/ncbi-taxonomy.md +0 -121
- package/skills/database-lookup/references/nist.md +0 -105
- package/skills/database-lookup/references/noaa.md +0 -199
- package/skills/database-lookup/references/omim.md +0 -114
- package/skills/database-lookup/references/opentargets.md +0 -459
- package/skills/database-lookup/references/openweathermap.md +0 -255
- package/skills/database-lookup/references/pdb.md +0 -121
- package/skills/database-lookup/references/pride.md +0 -74
- package/skills/database-lookup/references/pubchem.md +0 -145
- package/skills/database-lookup/references/quickgo.md +0 -45
- package/skills/database-lookup/references/reactome.md +0 -140
- package/skills/database-lookup/references/retrieval-contract.md +0 -123
- package/skills/database-lookup/references/rummageo.md +0 -32
- package/skills/database-lookup/references/sdss.md +0 -130
- package/skills/database-lookup/references/sec-edgar.md +0 -315
- package/skills/database-lookup/references/simbad.md +0 -405
- package/skills/database-lookup/references/sra.md +0 -149
- package/skills/database-lookup/references/string.md +0 -283
- package/skills/database-lookup/references/tcga-gdc.md +0 -58
- package/skills/database-lookup/references/treasury.md +0 -215
- package/skills/database-lookup/references/ucsc-genome.md +0 -135
- package/skills/database-lookup/references/uniprot.md +0 -283
- package/skills/database-lookup/references/usgs.md +0 -260
- package/skills/database-lookup/references/uspto.md +0 -130
- package/skills/database-lookup/references/who.md +0 -283
- package/skills/database-lookup/references/worldbank.md +0 -239
- package/skills/database-lookup/references/zinc.md +0 -202
- package/skills/datamol/references/conformers_module.md +0 -131
- package/skills/datamol/references/core_api.md +0 -136
- package/skills/datamol/references/core_workflows.md +0 -451
- package/skills/datamol/references/descriptors_viz.md +0 -195
- package/skills/datamol/references/fragments_scaffolds.md +0 -174
- package/skills/datamol/references/io_module.md +0 -112
- package/skills/datamol/references/reactions_data.md +0 -218
- package/skills/datamol/references/workflow_patterns.md +0 -104
- package/skills/deepchem/references/api_reference.md +0 -305
- package/skills/deepchem/references/core_capabilities.md +0 -276
- package/skills/deepchem/references/typical_workflows.md +0 -109
- package/skills/deepchem/references/workflows.md +0 -491
- package/skills/deepchem/scripts/graph_neural_network.py +0 -350
- package/skills/deepchem/scripts/predict_solubility.py +0 -223
- package/skills/deepchem/scripts/transfer_learning.py +0 -443
- package/skills/deepspot-m/references/api.md +0 -186
- package/skills/deepspot-m/references/whole_slide.md +0 -174
- package/skills/deeptools/assets/quick_reference.md +0 -65
- package/skills/deeptools/references/core_workflows.md +0 -134
- package/skills/deeptools/references/effective_genome_sizes.md +0 -118
- package/skills/deeptools/references/normalization_methods.md +0 -424
- package/skills/deeptools/references/tools_reference.md +0 -569
- package/skills/deeptools/references/workflows.md +0 -476
- package/skills/deeptools/scripts/validate_files.py +0 -195
- package/skills/deeptools/scripts/workflow_generator.py +0 -520
- package/skills/depmap/references/dependency_analysis.md +0 -178
- package/skills/dhdna-profiler/references/advanced-profiling.md +0 -72
- package/skills/diffdock/assets/batch_template.csv +0 -4
- package/skills/diffdock/assets/custom_inference_config.yaml +0 -94
- package/skills/diffdock/references/confidence_and_limitations.md +0 -182
- package/skills/diffdock/references/parameters_reference.md +0 -173
- package/skills/diffdock/references/workflows_examples.md +0 -401
- package/skills/diffdock/scripts/analyze_results.py +0 -346
- package/skills/diffdock/scripts/prepare_batch_csv.py +0 -257
- package/skills/diffdock/scripts/setup_check.py +0 -283
- package/skills/dnanexus-integration/references/app-development.md +0 -371
- package/skills/dnanexus-integration/references/authentication.md +0 -226
- package/skills/dnanexus-integration/references/configuration.md +0 -444
- package/skills/dnanexus-integration/references/data-operations.md +0 -474
- package/skills/dnanexus-integration/references/job-execution.md +0 -482
- package/skills/dnanexus-integration/references/operations-and-troubleshooting.md +0 -506
- package/skills/dnanexus-integration/references/python-sdk.md +0 -548
- package/skills/dnanexus-integration/references/sources.md +0 -168
- package/skills/dnanexus-integration/references/workflow-languages.md +0 -292
- package/skills/dnanexus-integration/scripts/inspect_dxpy.py +0 -366
- package/skills/dnanexus-integration/scripts/validate_dxapp.py +0 -796
- package/skills/docx/LICENSE.txt +0 -30
- package/skills/docx/scripts/__init__.py +0 -1
- package/skills/docx/scripts/accept_changes.py +0 -135
- package/skills/docx/scripts/comment.py +0 -368
- package/skills/docx/scripts/merge_runs.py +0 -310
- package/skills/docx/scripts/office/helpers/__init__.py +0 -111
- package/skills/docx/scripts/office/helpers/pptx_chart.py +0 -170
- package/skills/docx/scripts/office/helpers/pptx_slide.py +0 -60
- package/skills/docx/scripts/office/helpers/pptx_theme.py +0 -114
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
- package/skills/docx/scripts/office/schemas/mce/mc.xsd +0 -75
- package/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
- package/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
- package/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
- package/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
- package/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
- package/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
- package/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
- package/skills/docx/scripts/office/soffice.py +0 -232
- package/skills/docx/scripts/office/validate.py +0 -173
- package/skills/docx/scripts/office/validators/__init__.py +0 -15
- package/skills/docx/scripts/office/validators/base.py +0 -875
- package/skills/docx/scripts/office/validators/docx.py +0 -466
- package/skills/docx/scripts/office/validators/pptx.py +0 -441
- package/skills/docx/scripts/office/validators/redlining.py +0 -299
- package/skills/docx/scripts/templates/comments.xml +0 -3
- package/skills/docx/scripts/templates/commentsExtended.xml +0 -3
- package/skills/docx/scripts/templates/commentsExtensible.xml +0 -3
- package/skills/docx/scripts/templates/commentsIds.xml +0 -3
- package/skills/docx/scripts/templates/people.xml +0 -3
- package/skills/esm/references/biohub-platform.md +0 -111
- package/skills/esm/references/esm-c-api.md +0 -609
- package/skills/esm/references/esm3-api.md +0 -462
- package/skills/esm/references/forge-api.md +0 -675
- package/skills/esm/references/workflows.md +0 -685
- package/skills/etetoolkit/references/api_reference.md +0 -546
- package/skills/etetoolkit/references/migration-ete3-to-ete4.md +0 -579
- package/skills/etetoolkit/references/taxonomy.md +0 -362
- package/skills/etetoolkit/references/visualization.md +0 -516
- package/skills/etetoolkit/references/workflows.md +0 -537
- package/skills/etetoolkit/scripts/quick_visualize.py +0 -455
- package/skills/etetoolkit/scripts/tree_operations.py +0 -446
- package/skills/exa-search/references/web-extract.md +0 -53
- package/skills/exa-search/references/web-search.md +0 -119
- package/skills/exa-search/scripts/exa_extract.py +0 -117
- package/skills/exa-search/scripts/exa_search.py +0 -179
- package/skills/experimental-design/references/design_types.md +0 -129
- package/skills/experimental-design/references/factorial_and_doe.md +0 -130
- package/skills/experimental-design/references/randomization_and_blocking.md +0 -116
- package/skills/experimental-design/references/sequential_and_adaptive.md +0 -97
- package/skills/experimental-design/scripts/doe_designs.py +0 -183
- package/skills/experimental-design/scripts/randomization.py +0 -171
- package/skills/exploratory-data-analysis/assets/report_template.md +0 -202
- package/skills/exploratory-data-analysis/references/bioinformatics_genomics_formats.md +0 -192
- package/skills/exploratory-data-analysis/references/chemistry_molecular_formats.md +0 -183
- package/skills/exploratory-data-analysis/references/general_scientific_formats.md +0 -259
- package/skills/exploratory-data-analysis/references/microscopy_imaging_formats.md +0 -189
- package/skills/exploratory-data-analysis/references/proteomics_metabolomics_formats.md +0 -217
- package/skills/exploratory-data-analysis/references/spectroscopy_analytical_formats.md +0 -191
- package/skills/exploratory-data-analysis/scripts/__init__.py +0 -1
- package/skills/exploratory-data-analysis/scripts/_capabilities.py +0 -576
- package/skills/exploratory-data-analysis/scripts/_common.py +0 -460
- package/skills/exploratory-data-analysis/scripts/_structured.py +0 -391
- package/skills/exploratory-data-analysis/scripts/_tabular.py +0 -905
- package/skills/exploratory-data-analysis/scripts/capability_manifest.py +0 -184
- package/skills/exploratory-data-analysis/scripts/distribution_sensitivity.py +0 -117
- package/skills/exploratory-data-analysis/scripts/eda_analyzer.py +0 -345
- package/skills/exploratory-data-analysis/scripts/image_inspector.py +0 -214
- package/skills/exploratory-data-analysis/scripts/missingness_leakage_audit.py +0 -130
- package/skills/exploratory-data-analysis/scripts/report_scaffold.py +0 -143
- package/skills/exploratory-data-analysis/scripts/sequence_inspector.py +0 -255
- package/skills/exploratory-data-analysis/scripts/tabular_profile.py +0 -109
- package/skills/flowio/references/api_reference.md +0 -355
- package/skills/flowio/references/fcs_semantics.md +0 -315
- package/skills/flowio/references/sources.md +0 -89
- package/skills/flowio/references/troubleshooting.md +0 -399
- package/skills/flowio/references/workflows.md +0 -368
- package/skills/flowio/scripts/inspect_fcs.py +0 -439
- package/skills/fluidsim/references/advanced_features.md +0 -347
- package/skills/fluidsim/references/installation.md +0 -263
- package/skills/fluidsim/references/output_analysis.md +0 -314
- package/skills/fluidsim/references/parameters.md +0 -322
- package/skills/fluidsim/references/simulation_workflow.md +0 -329
- package/skills/fluidsim/references/solvers.md +0 -191
- package/skills/fluidsim/scripts/__init__.py +0 -1
- package/skills/fluidsim/scripts/_common.py +0 -491
- package/skills/fluidsim/scripts/_schema.py +0 -872
- package/skills/fluidsim/scripts/budget_summary.py +0 -396
- package/skills/fluidsim/scripts/grid_resource_estimator.py +0 -286
- package/skills/fluidsim/scripts/output_inventory.py +0 -353
- package/skills/fluidsim/scripts/restart_compatibility.py +0 -424
- package/skills/fluidsim/scripts/simulation_dry_run.py +0 -246
- package/skills/fluidsim/scripts/solver_config_validator.py +0 -70
- package/skills/generate-image/references/models.md +0 -173
- package/skills/generate-image/scripts/generate_image.py +0 -752
- package/skills/geniml/references/bedspace.md +0 -267
- package/skills/geniml/references/consensus_peaks.md +0 -334
- package/skills/geniml/references/region2vec.md +0 -289
- package/skills/geniml/references/scembed.md +0 -307
- package/skills/geniml/references/utilities.md +0 -385
- package/skills/geniml/scripts/__init__.py +0 -1
- package/skills/geniml/scripts/_common.py +0 -399
- package/skills/geniml/scripts/bed_validator.py +0 -363
- package/skills/geniml/scripts/consensus_plan.py +0 -416
- package/skills/geniml/scripts/corpus_auditor.py +0 -304
- package/skills/geniml/scripts/embedding_plan.py +0 -476
- package/skills/geniml/scripts/model_artifact_inspector.py +0 -358
- package/skills/geniml/scripts/tokenizer_compatibility.py +0 -321
- package/skills/genomic-coordinates/references/format-conventions.md +0 -205
- package/skills/genomic-coordinates/references/reference-builds.md +0 -154
- package/skills/genomic-coordinates/references/transcript-coordinates.md +0 -141
- package/skills/genomic-coordinates/references/variant-representation.md +0 -155
- package/skills/genomic-coordinates/scripts/_common.py +0 -335
- package/skills/genomic-coordinates/scripts/audit_intervals.py +0 -511
- package/skills/genomic-coordinates/scripts/check_contigs.py +0 -382
- package/skills/genomic-coordinates/scripts/convert_coords.py +0 -180
- package/skills/genomic-coordinates/scripts/normalize_variant.py +0 -290
- package/skills/genomic-intelligence/references/api-and-auth.md +0 -45
- package/skills/genomic-intelligence/references/mcp.md +0 -94
- package/skills/genomic-intelligence/references/sequence-acquisition.md +0 -52
- package/skills/genomic-intelligence/references/tasks.md +0 -75
- package/skills/geomaster/references/advanced-gis.md +0 -376
- package/skills/geomaster/references/big-data.md +0 -363
- package/skills/geomaster/references/code-examples.md +0 -531
- package/skills/geomaster/references/coordinate-systems.md +0 -364
- package/skills/geomaster/references/core-libraries.md +0 -273
- package/skills/geomaster/references/data-sources.md +0 -330
- package/skills/geomaster/references/gis-software.md +0 -369
- package/skills/geomaster/references/industry-applications.md +0 -420
- package/skills/geomaster/references/machine-learning.md +0 -462
- package/skills/geomaster/references/programming-languages.md +0 -456
- package/skills/geomaster/references/remote-sensing.md +0 -370
- package/skills/geomaster/references/scientific-domains.md +0 -416
- package/skills/geomaster/references/specialized-topics.md +0 -428
- package/skills/geomaster/references/troubleshooting.md +0 -439
- package/skills/geopandas/references/crs-management.md +0 -231
- package/skills/geopandas/references/data-io.md +0 -323
- package/skills/geopandas/references/data-structures.md +0 -207
- package/skills/geopandas/references/geometric-operations.md +0 -262
- package/skills/geopandas/references/spatial-analysis.md +0 -294
- package/skills/geopandas/references/visualization.md +0 -230
- package/skills/geopandas/scripts/_common.py +0 -605
- package/skills/geopandas/scripts/crs_reprojection_plan.py +0 -210
- package/skills/geopandas/scripts/export_plan.py +0 -305
- package/skills/geopandas/scripts/geometry_validity_report.py +0 -227
- package/skills/geopandas/scripts/sensitive_coordinates_checklist.py +0 -230
- package/skills/geopandas/scripts/spatial_join_audit.py +0 -368
- package/skills/geopandas/scripts/vector_inventory.py +0 -140
- package/skills/get-available-resources/references/resource_semantics.md +0 -206
- package/skills/get-available-resources/references/snapshot_schema.md +0 -172
- package/skills/get-available-resources/references/sources.md +0 -124
- package/skills/get-available-resources/scripts/_common.py +0 -190
- package/skills/get-available-resources/scripts/accelerator_diagnostics.py +0 -151
- package/skills/get-available-resources/scripts/detect_resources.py +0 -1767
- package/skills/get-available-resources/scripts/plan_workload.py +0 -311
- package/skills/get-available-resources/scripts/snapshot_tools.py +0 -486
- package/skills/gget/references/common_workflows.md +0 -120
- package/skills/gget/references/database_info.md +0 -336
- package/skills/gget/references/module_catalog.md +0 -733
- package/skills/gget/references/module_reference.md +0 -526
- package/skills/gget/references/workflows.md +0 -815
- package/skills/gget/scripts/batch_sequence_analysis.py +0 -192
- package/skills/gget/scripts/enrichment_pipeline.py +0 -235
- package/skills/gget/scripts/gene_analysis.py +0 -175
- package/skills/ginkgo-cloud-lab/references/cell-free-protein-expression-hibit.md +0 -53
- package/skills/ginkgo-cloud-lab/references/cell-free-protein-expression-optimization.md +0 -85
- package/skills/ginkgo-cloud-lab/references/cell-free-protein-expression-validation.md +0 -71
- package/skills/ginkgo-cloud-lab/references/cfps-expression-purification-quantification.md +0 -60
- package/skills/ginkgo-cloud-lab/references/cfps-strep-purification-thermal-shift.md +0 -63
- package/skills/ginkgo-cloud-lab/references/cfps-strep-tag-purification-a280.md +0 -55
- package/skills/ginkgo-cloud-lab/references/echo-ms-cfps-detection.md +0 -49
- package/skills/ginkgo-cloud-lab/references/echo-ms-method-onboarding.md +0 -56
- package/skills/ginkgo-cloud-lab/references/ecoli-expression-purification-quantification.md +0 -49
- package/skills/ginkgo-cloud-lab/references/ecoli-minibinder-expression-histag-a280.md +0 -62
- package/skills/ginkgo-cloud-lab/references/ecoli-protein-expression-hibit.md +0 -44
- package/skills/ginkgo-cloud-lab/references/ecoli-protein-expression-histag-a280.md +0 -47
- package/skills/ginkgo-cloud-lab/references/fluorescent-pixel-art-generation.md +0 -73
- package/skills/ginkgo-cloud-lab/references/ivt-rna-synthesis-qpcr.md +0 -67
- package/skills/ginkgo-cloud-lab/references/minibinder-strep-tag-a280.md +0 -58
- package/skills/ginkgo-cloud-lab/references/pichia-protein-expression-labchip.md +0 -43
- package/skills/ginkgo-cloud-lab/references/spr-target-onboarding.md +0 -58
- package/skills/glycoengineering/references/glycan_databases.md +0 -165
- package/skills/gtars/references/cli.md +0 -334
- package/skills/gtars/references/coverage.md +0 -224
- package/skills/gtars/references/overlap.md +0 -220
- package/skills/gtars/references/python-api.md +0 -280
- package/skills/gtars/references/refget.md +0 -318
- package/skills/gtars/references/tokenizers.md +0 -256
- package/skills/gtars/scripts/__init__.py +0 -1
- package/skills/gtars/scripts/_common.py +0 -461
- package/skills/gtars/scripts/artifact_inspector.py +0 -328
- package/skills/gtars/scripts/bed_validator.py +0 -183
- package/skills/gtars/scripts/coverage_preflight.py +0 -256
- package/skills/gtars/scripts/execution_plan.py +0 -365
- package/skills/gtars/scripts/refget_digest_plan.py +0 -311
- package/skills/gtars/scripts/tokenizer_manifest.py +0 -238
- package/skills/histolab/references/core_capabilities.md +0 -305
- package/skills/histolab/references/filters_preprocessing.md +0 -537
- package/skills/histolab/references/slide_management.md +0 -184
- package/skills/histolab/references/tile_extraction.md +0 -421
- package/skills/histolab/references/tissue_masks.md +0 -251
- package/skills/histolab/references/typical_workflows.md +0 -196
- package/skills/histolab/references/visualization.md +0 -548
- package/skills/hugging-science/references/flagship-resources.md +0 -81
- package/skills/hugging-science/references/topics-and-slugs.md +0 -82
- package/skills/hugging-science/references/using-datasets.md +0 -107
- package/skills/hugging-science/references/using-models.md +0 -122
- package/skills/hugging-science/references/using-spaces.md +0 -119
- package/skills/hugging-science/scripts/fetch_catalog.py +0 -358
- package/skills/hypogenic/assets/dataset_manifest.example.json +0 -30
- package/skills/hypogenic/assets/result.example.json +0 -18
- package/skills/hypogenic/assets/run_config.example.json +0 -46
- package/skills/hypogenic/assets/task_config.example.yaml +0 -38
- package/skills/hypogenic/references/configuration.md +0 -136
- package/skills/hypogenic/references/datasets.md +0 -146
- package/skills/hypogenic/references/evaluation.md +0 -155
- package/skills/hypogenic/references/security.md +0 -167
- package/skills/hypogenic/references/sources.md +0 -113
- package/skills/hypogenic/references/upstream.md +0 -188
- package/skills/hypogenic/scripts/__init__.py +0 -1
- package/skills/hypogenic/scripts/_common.py +0 -1312
- package/skills/hypogenic/scripts/audit_dataset.py +0 -410
- package/skills/hypogenic/scripts/evaluate_local.py +0 -250
- package/skills/hypogenic/scripts/inspect_outputs.py +0 -166
- package/skills/hypogenic/scripts/plan_run.py +0 -247
- package/skills/hypogenic/scripts/validate_config.py +0 -192
- package/skills/hypothesis-generation/assets/evidence_ledger_template.csv +0 -2
- package/skills/hypothesis-generation/assets/falsification_controls_template.json +0 -116
- package/skills/hypothesis-generation/assets/hypothesis_record_template.json +0 -331
- package/skills/hypothesis-generation/assets/operationalization_template.json +0 -56
- package/skills/hypothesis-generation/assets/prediction_rival_matrix_template.csv +0 -3
- package/skills/hypothesis-generation/assets/preregistration_scaffold_template.md +0 -137
- package/skills/hypothesis-generation/assets/search_boundary_template.json +0 -23
- package/skills/hypothesis-generation/assets/source_ledger.csv +0 -37
- package/skills/hypothesis-generation/references/causal_inference_and_claims.md +0 -190
- package/skills/hypothesis-generation/references/concepts_and_workflow.md +0 -173
- package/skills/hypothesis-generation/references/ethics_safety_and_ai.md +0 -216
- package/skills/hypothesis-generation/references/experimental_design_patterns.md +0 -301
- package/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +0 -203
- package/skills/hypothesis-generation/references/literature_search_strategies.md +0 -208
- package/skills/hypothesis-generation/references/preregistration_and_open_science.md +0 -205
- package/skills/hypothesis-generation/references/security_validation.md +0 -74
- package/skills/hypothesis-generation/references/source_ledger.md +0 -116
- package/skills/hypothesis-generation/references/tool_reference.md +0 -246
- package/skills/hypothesis-generation/scripts/_common.py +0 -412
- package/skills/hypothesis-generation/scripts/audit_evidence_ledger.py +0 -337
- package/skills/hypothesis-generation/scripts/check_falsification_controls.py +0 -455
- package/skills/hypothesis-generation/scripts/check_operationalization.py +0 -237
- package/skills/hypothesis-generation/scripts/generate_preregistration_scaffold.py +0 -384
- package/skills/hypothesis-generation/scripts/lint_causal_claims.py +0 -189
- package/skills/hypothesis-generation/scripts/validate_hypothesis_schema.py +0 -1078
- package/skills/hypothesis-generation/scripts/validate_prediction_matrix.py +0 -286
- package/skills/imaging-data-commons/references/bigquery_guide.md +0 -858
- package/skills/imaging-data-commons/references/cli_guide.md +0 -287
- package/skills/imaging-data-commons/references/clinical_data_guide.md +0 -328
- package/skills/imaging-data-commons/references/cloud_storage_guide.md +0 -333
- package/skills/imaging-data-commons/references/dicomweb_guide.md +0 -399
- package/skills/imaging-data-commons/references/digital_pathology_guide.md +0 -403
- package/skills/imaging-data-commons/references/index_tables_guide.md +0 -203
- package/skills/imaging-data-commons/references/licensing_and_citation.md +0 -230
- package/skills/imaging-data-commons/references/mcp_guide.md +0 -181
- package/skills/imaging-data-commons/references/parquet_access_guide.md +0 -200
- package/skills/imaging-data-commons/references/rest_api_guide.md +0 -612
- package/skills/imaging-data-commons/references/sql_patterns.md +0 -462
- package/skills/imaging-data-commons/references/use_cases.md +0 -277
- package/skills/imaging-data-commons/scripts/check_version.py +0 -132
- package/skills/infographics/references/color_palettes.md +0 -496
- package/skills/infographics/references/design_principles.md +0 -636
- package/skills/infographics/references/infographic_type_catalog.md +0 -158
- package/skills/infographics/references/infographic_types.md +0 -907
- package/skills/infographics/references/iterative_refinement.md +0 -119
- package/skills/infographics/scripts/generate_infographic.py +0 -291
- package/skills/infographics/scripts/generate_infographic_ai.py +0 -1446
- package/skills/iso-standards-readiness/assets/templates/capa-record-template.json +0 -99
- package/skills/iso-standards-readiness/assets/templates/document-register-template.json +0 -75
- package/skills/iso-standards-readiness/assets/templates/evidence-manifest-template.json +0 -65
- package/skills/iso-standards-readiness/assets/templates/laboratory-scope-intake-template.json +0 -111
- package/skills/iso-standards-readiness/assets/templates/medical-laboratory-scope-intake-template.json +0 -111
- package/skills/iso-standards-readiness/assets/templates/procedures/CAPA-procedure-template.md +0 -148
- package/skills/iso-standards-readiness/assets/templates/procedures/document-control-procedure-template.md +0 -132
- package/skills/iso-standards-readiness/assets/templates/qmsr-transition-template.json +0 -181
- package/skills/iso-standards-readiness/assets/templates/quality-manual-template.md +0 -182
- package/skills/iso-standards-readiness/assets/templates/scope-intake-template.json +0 -109
- package/skills/iso-standards-readiness/assets/templates/supplier-controls-template.json +0 -119
- package/skills/iso-standards-readiness/assets/templates/traceability-matrix-template.json +0 -154
- package/skills/iso-standards-readiness/references/assurance-lanes.md +0 -116
- package/skills/iso-standards-readiness/references/evidence-architecture.md +0 -282
- package/skills/iso-standards-readiness/references/gap-analysis-checklist.md +0 -346
- package/skills/iso-standards-readiness/references/iso-13485.md +0 -236
- package/skills/iso-standards-readiness/references/iso-14971.md +0 -172
- package/skills/iso-standards-readiness/references/iso-15189.md +0 -219
- package/skills/iso-standards-readiness/references/iso-17025.md +0 -208
- package/skills/iso-standards-readiness/references/quality-manual-guide.md +0 -282
- package/skills/iso-standards-readiness/references/source-ledger.md +0 -357
- package/skills/iso-standards-readiness/scripts/_catalog.py +0 -248
- package/skills/iso-standards-readiness/scripts/_common.py +0 -558
- package/skills/iso-standards-readiness/scripts/audit_document_records.py +0 -148
- package/skills/iso-standards-readiness/scripts/check_capa.py +0 -240
- package/skills/iso-standards-readiness/scripts/check_qmsr_transition.py +0 -164
- package/skills/iso-standards-readiness/scripts/check_supplier_controls.py +0 -166
- package/skills/iso-standards-readiness/scripts/check_traceability.py +0 -171
- package/skills/iso-standards-readiness/scripts/gap_analyzer.py +0 -167
- package/skills/iso-standards-readiness/scripts/validate_evidence_manifest.py +0 -246
- package/skills/iso-standards-readiness/scripts/validate_scope_intake.py +0 -209
- package/skills/lab-hardware-cad/assets/standards.json +0 -198
- package/skills/lab-hardware-cad/references/behavior-rigs.md +0 -136
- package/skills/lab-hardware-cad/references/build123d-patterns.md +0 -363
- package/skills/lab-hardware-cad/references/fabrication-limits.md +0 -156
- package/skills/lab-hardware-cad/references/labware-adapters.md +0 -190
- package/skills/lab-hardware-cad/references/microfluidics.md +0 -157
- package/skills/lab-hardware-cad/references/optomechanics.md +0 -148
- package/skills/lab-hardware-cad/references/validation.md +0 -132
- package/skills/lab-hardware-cad/scripts/_common.py +0 -650
- package/skills/lab-hardware-cad/scripts/check.py +0 -645
- package/skills/lab-hardware-cad/scripts/gen.py +0 -264
- package/skills/lab-hardware-cad/scripts/snapshot.py +0 -278
- package/skills/labarchive-integration/references/api_reference.md +0 -250
- package/skills/labarchive-integration/references/authentication_guide.md +0 -191
- package/skills/labarchive-integration/references/integrations.md +0 -162
- package/skills/labarchive-integration/references/sources.md +0 -213
- package/skills/labarchive-integration/scripts/entry_operations.py +0 -381
- package/skills/labarchive-integration/scripts/notebook_operations.py +0 -451
- package/skills/labarchive-integration/scripts/setup_config.py +0 -258
- package/skills/lamindb/references/annotation-validation.md +0 -510
- package/skills/lamindb/references/core-concepts.md +0 -383
- package/skills/lamindb/references/data-management.md +0 -432
- package/skills/lamindb/references/integrations.md +0 -663
- package/skills/lamindb/references/ontologies.md +0 -498
- package/skills/lamindb/references/setup-deployment.md +0 -755
- package/skills/latchbio-integration/references/data-management.md +0 -257
- package/skills/latchbio-integration/references/latch-mcp.md +0 -158
- package/skills/latchbio-integration/references/nextflow-snakemake.md +0 -258
- package/skills/latchbio-integration/references/operations-and-debugging.md +0 -320
- package/skills/latchbio-integration/references/registry.md +0 -275
- package/skills/latchbio-integration/references/resource-configuration.md +0 -274
- package/skills/latchbio-integration/references/ui-and-automation.md +0 -355
- package/skills/latchbio-integration/references/verified-workflows.md +0 -226
- package/skills/latchbio-integration/references/workflow-creation.md +0 -275
- package/skills/latchbio-integration/scripts/inspect_latch_sdk.py +0 -290
- package/skills/latex-posters/assets/baposter_template.tex +0 -257
- package/skills/latex-posters/assets/beamerposter_template.tex +0 -244
- package/skills/latex-posters/assets/poster_quality_checklist.md +0 -358
- package/skills/latex-posters/assets/tikzposter_template.tex +0 -251
- package/skills/latex-posters/references/ai_graphics_for_posters.md +0 -524
- package/skills/latex-posters/references/compilation_and_quality_control.md +0 -467
- package/skills/latex-posters/references/latex_poster_packages.md +0 -745
- package/skills/latex-posters/references/latex_poster_reference.md +0 -241
- package/skills/latex-posters/references/poster_content_guide.md +0 -748
- package/skills/latex-posters/references/poster_design_principles.md +0 -806
- package/skills/latex-posters/references/poster_layout_design.md +0 -900
- package/skills/latex-posters/references/poster_patterns_and_presentation.md +0 -81
- package/skills/latex-posters/scripts/generate_schematic.py +0 -198
- package/skills/latex-posters/scripts/generate_schematic_ai.py +0 -950
- package/skills/latex-posters/scripts/review_poster.sh +0 -214
- package/skills/liteparse/references/api_reference.md +0 -169
- package/skills/liteparse/references/choosing_a_parser.md +0 -70
- package/skills/liteparse/references/cli_reference.md +0 -118
- package/skills/liteparse/references/ocr_and_formats.md +0 -143
- package/skills/liteparse/references/output_formats.md +0 -146
- package/skills/liteparse/scripts/batch_parse_dir.py +0 -163
- package/skills/literature-review/assets/review_template.md +0 -412
- package/skills/literature-review/references/citation_styles.md +0 -166
- package/skills/literature-review/references/core_workflow.md +0 -260
- package/skills/literature-review/references/database_strategies.md +0 -455
- package/skills/literature-review/references/example_workflow.md +0 -68
- package/skills/literature-review/references/search_and_citation.md +0 -157
- package/skills/literature-review/scripts/generate_pdf.py +0 -176
- package/skills/literature-review/scripts/generate_schematic.py +0 -198
- package/skills/literature-review/scripts/generate_schematic_ai.py +0 -950
- package/skills/literature-review/scripts/search_databases.py +0 -303
- package/skills/literature-review/scripts/verify_citations.py +0 -222
- package/skills/markdown-mermaid-writing/assets/examples/example-research-report.md +0 -221
- package/skills/markdown-mermaid-writing/references/diagrams/architecture.md +0 -108
- package/skills/markdown-mermaid-writing/references/diagrams/block.md +0 -177
- package/skills/markdown-mermaid-writing/references/diagrams/c4.md +0 -136
- package/skills/markdown-mermaid-writing/references/diagrams/class.md +0 -246
- package/skills/markdown-mermaid-writing/references/diagrams/complex_examples.md +0 -384
- package/skills/markdown-mermaid-writing/references/diagrams/er.md +0 -222
- package/skills/markdown-mermaid-writing/references/diagrams/flowchart.md +0 -177
- package/skills/markdown-mermaid-writing/references/diagrams/gantt.md +0 -138
- package/skills/markdown-mermaid-writing/references/diagrams/git_graph.md +0 -74
- package/skills/markdown-mermaid-writing/references/diagrams/kanban.md +0 -107
- package/skills/markdown-mermaid-writing/references/diagrams/mindmap.md +0 -74
- package/skills/markdown-mermaid-writing/references/diagrams/packet.md +0 -55
- package/skills/markdown-mermaid-writing/references/diagrams/pie.md +0 -52
- package/skills/markdown-mermaid-writing/references/diagrams/quadrant.md +0 -66
- package/skills/markdown-mermaid-writing/references/diagrams/radar.md +0 -59
- package/skills/markdown-mermaid-writing/references/diagrams/requirement.md +0 -88
- package/skills/markdown-mermaid-writing/references/diagrams/sankey.md +0 -71
- package/skills/markdown-mermaid-writing/references/diagrams/sequence.md +0 -174
- package/skills/markdown-mermaid-writing/references/diagrams/state.md +0 -150
- package/skills/markdown-mermaid-writing/references/diagrams/timeline.md +0 -96
- package/skills/markdown-mermaid-writing/references/diagrams/treemap.md +0 -66
- package/skills/markdown-mermaid-writing/references/diagrams/user_journey.md +0 -108
- package/skills/markdown-mermaid-writing/references/diagrams/xy_chart.md +0 -53
- package/skills/markdown-mermaid-writing/references/diagrams/zenuml.md +0 -71
- package/skills/markdown-mermaid-writing/references/markdown_style_guide.md +0 -733
- package/skills/markdown-mermaid-writing/references/mermaid_style_guide.md +0 -458
- package/skills/markdown-mermaid-writing/templates/decision_record.md +0 -211
- package/skills/markdown-mermaid-writing/templates/how_to_guide.md +0 -275
- package/skills/markdown-mermaid-writing/templates/issue.md +0 -303
- package/skills/markdown-mermaid-writing/templates/kanban.md +0 -223
- package/skills/markdown-mermaid-writing/templates/presentation.md +0 -312
- package/skills/markdown-mermaid-writing/templates/project_documentation.md +0 -412
- package/skills/markdown-mermaid-writing/templates/pull_request.md +0 -319
- package/skills/markdown-mermaid-writing/templates/research_paper.md +0 -304
- package/skills/markdown-mermaid-writing/templates/status_report.md +0 -185
- package/skills/market-research-reports/assets/FORMATTING_GUIDE.md +0 -149
- package/skills/market-research-reports/assets/claims_ledger_template.csv +0 -4
- package/skills/market-research-reports/assets/competitor_feature_matrix_template.csv +0 -5
- package/skills/market-research-reports/assets/consistency_check_template.csv +0 -3
- package/skills/market-research-reports/assets/forecast_sensitivity_template.json +0 -90
- package/skills/market-research-reports/assets/market_report_template.tex +0 -279
- package/skills/market-research-reports/assets/market_research.sty +0 -241
- package/skills/market-research-reports/assets/market_sizing_scenarios_template.json +0 -129
- package/skills/market-research-reports/assets/report_manifest_template.json +0 -27
- package/skills/market-research-reports/assets/source_ledger_template.csv +0 -4
- package/skills/market-research-reports/references/data_analysis_patterns.md +0 -290
- package/skills/market-research-reports/references/evidence_model.md +0 -148
- package/skills/market-research-reports/references/methods_and_ethics.md +0 -162
- package/skills/market-research-reports/references/official_data_sources.md +0 -196
- package/skills/market-research-reports/references/report_structure_guide.md +0 -283
- package/skills/market-research-reports/references/sources.md +0 -73
- package/skills/market-research-reports/references/visual_generation_guide.md +0 -158
- package/skills/market-research-reports/scripts/_common.py +0 -312
- package/skills/market-research-reports/scripts/audit_claim_citations.py +0 -326
- package/skills/market-research-reports/scripts/calculate_market_sizing.py +0 -389
- package/skills/market-research-reports/scripts/check_unit_consistency.py +0 -217
- package/skills/market-research-reports/scripts/forecast_sensitivity.py +0 -326
- package/skills/market-research-reports/scripts/generate_report_scaffold.py +0 -444
- package/skills/market-research-reports/scripts/validate_competitor_matrix.py +0 -223
- package/skills/market-research-reports/scripts/validate_evidence_ledger.py +0 -291
- package/skills/markitdown/references/api_reference.md +0 -418
- package/skills/markitdown/references/cloud_and_ocr.md +0 -320
- package/skills/markitdown/references/file_formats.md +0 -281
- package/skills/markitdown/references/mcp_and_plugins.md +0 -243
- package/skills/markitdown/references/migration.md +0 -356
- package/skills/markitdown/references/security.md +0 -246
- package/skills/markitdown/references/workflows.md +0 -309
- package/skills/markitdown/scripts/batch_convert.py +0 -354
- package/skills/markitdown/scripts/convert_literature.py +0 -405
- package/skills/markitdown/scripts/inspect_installation.py +0 -162
- package/skills/matchms/references/filtering.md +0 -299
- package/skills/matchms/references/importing_exporting.md +0 -323
- package/skills/matchms/references/migration.md +0 -387
- package/skills/matchms/references/similarity.md +0 -413
- package/skills/matchms/references/sources.md +0 -113
- package/skills/matchms/references/workflows.md +0 -451
- package/skills/matchms/scripts/library_search.py +0 -593
- package/skills/matlab/assets/project_manifest_template.json +0 -33
- package/skills/matlab/assets/python_compatibility_r2026a.json +0 -27
- package/skills/matlab/assets/reproducibility_manifest_template.json +0 -32
- package/skills/matlab/references/data-import-export.md +0 -221
- package/skills/matlab/references/executing-scripts.md +0 -213
- package/skills/matlab/references/graphics-visualization.md +0 -181
- package/skills/matlab/references/mathematics.md +0 -208
- package/skills/matlab/references/matrices-arrays.md +0 -228
- package/skills/matlab/references/octave-compatibility.md +0 -212
- package/skills/matlab/references/programming.md +0 -225
- package/skills/matlab/references/python-integration.md +0 -248
- package/skills/matlab/scripts/_common.py +0 -263
- package/skills/matlab/scripts/generate_function_scaffold.py +0 -165
- package/skills/matlab/scripts/inventory_mat_file.py +0 -351
- package/skills/matlab/scripts/plan_batch_command.py +0 -257
- package/skills/matlab/scripts/plan_python_compatibility.py +0 -176
- package/skills/matlab/scripts/reproducibility_report.py +0 -233
- package/skills/matlab/scripts/scan_m_code.py +0 -433
- package/skills/matlab/scripts/validate_project_manifest.py +0 -348
- package/skills/matplotlib/references/api_reference.md +0 -409
- package/skills/matplotlib/references/common_issues.md +0 -562
- package/skills/matplotlib/references/plot_types.md +0 -469
- package/skills/matplotlib/references/styling_guide.md +0 -600
- package/skills/matplotlib/scripts/plot_template.py +0 -406
- package/skills/matplotlib/scripts/style_configurator.py +0 -412
- package/skills/medchem/references/api_guide.md +0 -331
- package/skills/medchem/references/rules_catalog.md +0 -328
- package/skills/medchem/scripts/filter_molecules.py +0 -302
- package/skills/modal/references/api_reference.md +0 -225
- package/skills/modal/references/examples.md +0 -276
- package/skills/modal/references/functions.md +0 -260
- package/skills/modal/references/getting-started.md +0 -171
- package/skills/modal/references/gpu.md +0 -177
- package/skills/modal/references/images.md +0 -266
- package/skills/modal/references/resources.md +0 -117
- package/skills/modal/references/scaling.md +0 -173
- package/skills/modal/references/scheduled-jobs.md +0 -147
- package/skills/modal/references/secrets.md +0 -119
- package/skills/modal/references/volumes.md +0 -247
- package/skills/modal/references/web-endpoints.md +0 -259
- package/skills/molecular-dynamics/references/mdanalysis_analysis.md +0 -208
- package/skills/molfeat/references/api_reference.md +0 -429
- package/skills/molfeat/references/available_featurizers.md +0 -335
- package/skills/molfeat/references/choosing_a_featurizer.md +0 -192
- package/skills/molfeat/references/examples.md +0 -720
- package/skills/ncats-arax/references/output-schema.md +0 -186
- package/skills/ncats-arax/references/query-contract.md +0 -140
- package/skills/ncats-arax/scripts/arax_client.py +0 -2087
- package/skills/networkx/references/algorithms.md +0 -384
- package/skills/networkx/references/generators.md +0 -385
- package/skills/networkx/references/graph-basics.md +0 -284
- package/skills/networkx/references/io.md +0 -457
- package/skills/networkx/references/visualization.md +0 -531
- package/skills/neurokit2/references/bio_module.md +0 -244
- package/skills/neurokit2/references/complexity.md +0 -212
- package/skills/neurokit2/references/ecg_cardiac.md +0 -193
- package/skills/neurokit2/references/eda.md +0 -185
- package/skills/neurokit2/references/eeg.md +0 -204
- package/skills/neurokit2/references/emg.md +0 -157
- package/skills/neurokit2/references/eog.md +0 -154
- package/skills/neurokit2/references/epochs_events.md +0 -199
- package/skills/neurokit2/references/hrv.md +0 -205
- package/skills/neurokit2/references/ppg.md +0 -191
- package/skills/neurokit2/references/rsp.md +0 -212
- package/skills/neurokit2/references/signal_processing.md +0 -160
- package/skills/neurokit2/scripts/_common.py +0 -567
- package/skills/neurokit2/scripts/ecg_hrv_pipeline.py +0 -303
- package/skills/neurokit2/scripts/eda_pipeline.py +0 -288
- package/skills/neurokit2/scripts/generate_synthetic.py +0 -221
- package/skills/neurokit2/scripts/inspect_signal.py +0 -362
- package/skills/neurokit2/scripts/plan_epochs.py +0 -281
- package/skills/neurokit2/scripts/validate_multimodal.py +0 -350
- package/skills/neuropixels-analysis/assets/analysis_template.py +0 -271
- package/skills/neuropixels-analysis/references/AI_CURATION.md +0 -164
- package/skills/neuropixels-analysis/references/ANALYSIS.md +0 -392
- package/skills/neuropixels-analysis/references/AUTOMATED_CURATION.md +0 -435
- package/skills/neuropixels-analysis/references/MOTION_CORRECTION.md +0 -323
- package/skills/neuropixels-analysis/references/PREPROCESSING.md +0 -273
- package/skills/neuropixels-analysis/references/QUALITY_METRICS.md +0 -359
- package/skills/neuropixels-analysis/references/SPIKE_SORTING.md +0 -339
- package/skills/neuropixels-analysis/references/api_reference.md +0 -229
- package/skills/neuropixels-analysis/references/plotting_guide.md +0 -454
- package/skills/neuropixels-analysis/references/standard_workflow.md +0 -305
- package/skills/neuropixels-analysis/scripts/compute_metrics.py +0 -182
- package/skills/neuropixels-analysis/scripts/explore_recording.py +0 -168
- package/skills/neuropixels-analysis/scripts/export_to_phy.py +0 -79
- package/skills/neuropixels-analysis/scripts/neuropixels_pipeline.py +0 -442
- package/skills/neuropixels-analysis/scripts/preprocess_recording.py +0 -122
- package/skills/neuropixels-analysis/scripts/run_sorting.py +0 -98
- package/skills/nextflow/references/configuration.md +0 -276
- package/skills/nextflow/references/containers.md +0 -92
- package/skills/nextflow/references/developing.md +0 -301
- package/skills/nextflow/references/language.md +0 -327
- package/skills/nextflow/references/nf-core-tools.md +0 -130
- package/skills/nextflow/references/running-pipelines.md +0 -131
- package/skills/nextflow/references/testing.md +0 -189
- package/skills/omero-integration/references/advanced.md +0 -273
- package/skills/omero-integration/references/connection.md +0 -293
- package/skills/omero-integration/references/data_access.md +0 -359
- package/skills/omero-integration/references/image_processing.md +0 -286
- package/skills/omero-integration/references/metadata.md +0 -313
- package/skills/omero-integration/references/rois.md +0 -291
- package/skills/omero-integration/references/scripts.md +0 -304
- package/skills/omero-integration/references/sources.md +0 -194
- package/skills/omero-integration/references/tables.md +0 -269
- package/skills/omero-integration/scripts/export_image_metadata.py +0 -560
- package/skills/omero-integration/scripts/inventory.py +0 -302
- package/skills/omero-integration/scripts/omero_common.py +0 -490
- package/skills/omero-integration/scripts/plan_transfer.py +0 -393
- package/skills/omero-integration/scripts/validate_config.py +0 -140
- package/skills/onekgpd/assets/kgpe.json +0 -48032
- package/skills/onekgpd/references/annotation_vocabularies.md +0 -187
- package/skills/onekgpd/references/onekgpd_commands.md +0 -296
- package/skills/onekgpd/scripts/onekgpd_api.py +0 -794
- package/skills/onekgpd/scripts/onekgpd_meta.py +0 -485
- package/skills/ontology-term-resolution/references/curation-rules.md +0 -110
- package/skills/ontology-term-resolution/references/ols4-api.md +0 -135
- package/skills/ontology-term-resolution/references/ontology-registry.md +0 -110
- package/skills/ontology-term-resolution/scripts/ols_client.py +0 -341
- package/skills/ontology-term-resolution/scripts/resolve_terms.py +0 -255
- package/skills/ontology-term-resolution/scripts/validate_terms.py +0 -297
- package/skills/open-notebook/references/api_reference.md +0 -715
- package/skills/open-notebook/references/architecture.md +0 -163
- package/skills/open-notebook/references/configuration.md +0 -226
- package/skills/open-notebook/references/examples.md +0 -290
- package/skills/open-notebook/scripts/chat_interaction.py +0 -190
- package/skills/open-notebook/scripts/notebook_management.py +0 -142
- package/skills/open-notebook/scripts/source_ingestion.py +0 -160
- package/skills/openpiv/references/advanced_algorithms.md +0 -233
- package/skills/openpiv/scripts/__init__.py +0 -1
- package/skills/openpiv/scripts/analyze.py +0 -143
- package/skills/openpiv/scripts/run_example.py +0 -78
- package/skills/openpiv/scripts/runner.py +0 -214
- package/skills/opentrons-integration/references/api_reference.md +0 -382
- package/skills/opentrons-integration/references/liquid_handling.md +0 -387
- package/skills/opentrons-integration/references/migration-api-2-19-to-2-29.md +0 -328
- package/skills/opentrons-integration/references/modules_and_deck.md +0 -409
- package/skills/opentrons-integration/references/protocol_authoring.md +0 -352
- package/skills/opentrons-integration/references/sources.md +0 -151
- package/skills/opentrons-integration/references/validation_and_operations.md +0 -314
- package/skills/opentrons-integration/requirements-flex.txt +0 -1
- package/skills/opentrons-integration/requirements-ot2.txt +0 -1
- package/skills/opentrons-integration/scripts/absorbance_reader_template.py +0 -82
- package/skills/opentrons-integration/scripts/basic_protocol_template.py +0 -68
- package/skills/opentrons-integration/scripts/ot2_basic_protocol_template.py +0 -63
- package/skills/opentrons-integration/scripts/pcr_setup_template.py +0 -146
- package/skills/opentrons-integration/scripts/runtime_parameters_template.py +0 -110
- package/skills/opentrons-integration/scripts/serial_dilution_template.py +0 -113
- package/skills/optimize-for-gpu/references/code_transformation_patterns.md +0 -301
- package/skills/optimize-for-gpu/references/cucim.md +0 -679
- package/skills/optimize-for-gpu/references/cudf.md +0 -762
- package/skills/optimize-for-gpu/references/cugraph.md +0 -733
- package/skills/optimize-for-gpu/references/cuml.md +0 -710
- package/skills/optimize-for-gpu/references/cupy.md +0 -668
- package/skills/optimize-for-gpu/references/cuspatial.md +0 -420
- package/skills/optimize-for-gpu/references/cuvs.md +0 -671
- package/skills/optimize-for-gpu/references/cuxfilter.md +0 -600
- package/skills/optimize-for-gpu/references/decision_framework.md +0 -234
- package/skills/optimize-for-gpu/references/installation.md +0 -121
- package/skills/optimize-for-gpu/references/kvikio.md +0 -612
- package/skills/optimize-for-gpu/references/numba.md +0 -808
- package/skills/optimize-for-gpu/references/raft.md +0 -312
- package/skills/optimize-for-gpu/references/warp.md +0 -623
- package/skills/pacsomatic/config.yaml +0 -42
- package/skills/pacsomatic/references/agent-playbook.md +0 -73
- package/skills/pacsomatic/references/config-and-output.md +0 -100
- package/skills/pacsomatic/references/pacsomatic_guide.md +0 -254
- package/skills/pacsomatic/scripts/run_pacsomatic.py +0 -794
- package/skills/paper-lookup/references/arxiv.md +0 -275
- package/skills/paper-lookup/references/biorxiv.md +0 -163
- package/skills/paper-lookup/references/core.md +0 -150
- package/skills/paper-lookup/references/crossref.md +0 -181
- package/skills/paper-lookup/references/europepmc.md +0 -226
- package/skills/paper-lookup/references/medrxiv.md +0 -126
- package/skills/paper-lookup/references/openalex.md +0 -174
- package/skills/paper-lookup/references/pmc.md +0 -228
- package/skills/paper-lookup/references/pubmed.md +0 -124
- package/skills/paper-lookup/references/semantic-scholar.md +0 -203
- package/skills/paper-lookup/references/unpaywall.md +0 -127
- package/skills/paper-lookup/scripts/_common.py +0 -227
- package/skills/paper-lookup/scripts/arxiv_atom.py +0 -200
- package/skills/paper-lookup/scripts/jats_to_text.py +0 -324
- package/skills/paper-lookup/scripts/openalex_abstract.py +0 -163
- package/skills/paper-lookup/scripts/paginate.py +0 -490
- package/skills/paperclip/references/cli-reference.md +0 -389
- package/skills/paperclip/references/installation.md +0 -341
- package/skills/paperclip/references/map-reduce.md +0 -252
- package/skills/paperclip/references/python-sdk.md +0 -323
- package/skills/paperclip/references/repos-and-workspace.md +0 -271
- package/skills/paperclip/references/search-and-retrieval.md +0 -281
- package/skills/parallel-web/references/data-enrichment.md +0 -104
- package/skills/parallel-web/references/deep-research.md +0 -91
- package/skills/parallel-web/references/findall.md +0 -81
- package/skills/parallel-web/references/monitor.md +0 -83
- package/skills/parallel-web/references/web-extract.md +0 -59
- package/skills/parallel-web/references/web-search.md +0 -100
- package/skills/pathml/references/data_management.md +0 -357
- package/skills/pathml/references/graphs.md +0 -335
- package/skills/pathml/references/image_loading.md +0 -301
- package/skills/pathml/references/machine_learning.md +0 -408
- package/skills/pathml/references/multiparametric.md +0 -352
- package/skills/pathml/references/preprocessing.md +0 -371
- package/skills/pathml/scripts/_common.py +0 -385
- package/skills/pathml/scripts/image_qc.py +0 -325
- package/skills/pathml/scripts/plan_inference.py +0 -282
- package/skills/pathml/scripts/plan_pipeline.py +0 -239
- package/skills/pathml/scripts/slide_manifest.py +0 -405
- package/skills/pathml/scripts/validate_spatial_schema.py +0 -420
- package/skills/pathogen-variant-surveillance/references/lapis-api.md +0 -209
- package/skills/pathogen-variant-surveillance/references/lineage-nomenclature.md +0 -126
- package/skills/pathogen-variant-surveillance/references/surveillance-caveats.md +0 -149
- package/skills/pathogen-variant-surveillance/scripts/lapis_client.py +0 -776
- package/skills/pathogen-variant-surveillance/scripts/lineage_prevalence.py +0 -310
- package/skills/pathogen-variant-surveillance/scripts/mutation_profile.py +0 -215
- package/skills/pathogen-variant-surveillance/scripts/reporting_lag.py +0 -217
- package/skills/pathogen-variant-surveillance/scripts/resolve_lineage.py +0 -198
- package/skills/pathway-enrichment/references/databases-and-gene-sets.md +0 -140
- package/skills/pathway-enrichment/references/gseapy.md +0 -189
- package/skills/pathway-enrichment/references/interpretation.md +0 -118
- package/skills/pathway-enrichment/scripts/run_enrichment.py +0 -231
- package/skills/pdf/LICENSE.txt +0 -30
- package/skills/pdf/forms.md +0 -294
- package/skills/pdf/reference.md +0 -612
- package/skills/pdf/scripts/check_bounding_boxes.py +0 -65
- package/skills/pdf/scripts/check_fillable_fields.py +0 -11
- package/skills/pdf/scripts/convert_pdf_to_images.py +0 -33
- package/skills/pdf/scripts/create_validation_image.py +0 -37
- package/skills/pdf/scripts/extract_form_field_info.py +0 -122
- package/skills/pdf/scripts/extract_form_structure.py +0 -115
- package/skills/pdf/scripts/fill_fillable_fields.py +0 -98
- package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +0 -107
- package/skills/peer-review/assets/citation_references_template.csv +0 -2
- package/skills/peer-review/assets/claim_evidence_matrix_template.csv +0 -4
- package/skills/peer-review/assets/reporting_checklist_template.csv +0 -31
- package/skills/peer-review/assets/reporting_guidelines.json +0 -466
- package/skills/peer-review/assets/review_intake_template.json +0 -52
- package/skills/peer-review/assets/review_scaffold_template.md +0 -68
- package/skills/peer-review/assets/source_ledger.csv +0 -32
- package/skills/peer-review/assets/statistical_reproducibility_template.json +0 -210
- package/skills/peer-review/assets/study_profile_template.json +0 -12
- package/skills/peer-review/references/common_issues.md +0 -257
- package/skills/peer-review/references/ethical_review_practice.md +0 -233
- package/skills/peer-review/references/reporting_standards.md +0 -249
- package/skills/peer-review/references/security_validation.md +0 -75
- package/skills/peer-review/references/statistical_reproducibility.md +0 -329
- package/skills/peer-review/references/tool_reference.md +0 -253
- package/skills/peer-review/scripts/_common.py +0 -398
- package/skills/peer-review/scripts/audit_citations.py +0 -207
- package/skills/peer-review/scripts/audit_statistics_reproducibility.py +0 -305
- package/skills/peer-review/scripts/generate_review_scaffold.py +0 -81
- package/skills/peer-review/scripts/lint_review.py +0 -254
- package/skills/peer-review/scripts/select_reporting_guidelines.py +0 -383
- package/skills/peer-review/scripts/validate_claim_evidence.py +0 -221
- package/skills/peer-review/scripts/validate_review_intake.py +0 -452
- package/skills/pennylane/references/advanced_features.md +0 -667
- package/skills/pennylane/references/devices_backends.md +0 -562
- package/skills/pennylane/references/getting_started.md +0 -232
- package/skills/pennylane/references/optimization.md +0 -670
- package/skills/pennylane/references/quantum_chemistry.md +0 -576
- package/skills/pennylane/references/quantum_circuits.md +0 -443
- package/skills/pennylane/references/quantum_ml.md +0 -555
- package/skills/phylogenetics/references/iqtree_inference.md +0 -181
- package/skills/phylogenetics/scripts/phylogenetic_analysis.py +0 -272
- package/skills/pi-agent/references/compaction.md +0 -76
- package/skills/pi-agent/references/containerization.md +0 -80
- package/skills/pi-agent/references/custom-provider.md +0 -131
- package/skills/pi-agent/references/development.md +0 -61
- package/skills/pi-agent/references/environment-variables.md +0 -57
- package/skills/pi-agent/references/extensions.md +0 -185
- package/skills/pi-agent/references/json.md +0 -69
- package/skills/pi-agent/references/keybindings.md +0 -58
- package/skills/pi-agent/references/llama-cpp.md +0 -69
- package/skills/pi-agent/references/models.md +0 -114
- package/skills/pi-agent/references/overview.md +0 -37
- package/skills/pi-agent/references/packages.md +0 -103
- package/skills/pi-agent/references/pi-interview.md +0 -123
- package/skills/pi-agent/references/pi-mcp-adapter.md +0 -191
- package/skills/pi-agent/references/pi-subagents.md +0 -371
- package/skills/pi-agent/references/pi-web-access.md +0 -243
- package/skills/pi-agent/references/prompt-templates.md +0 -48
- package/skills/pi-agent/references/providers.md +0 -122
- package/skills/pi-agent/references/quickstart.md +0 -73
- package/skills/pi-agent/references/rpc.md +0 -95
- package/skills/pi-agent/references/sdk.md +0 -151
- package/skills/pi-agent/references/security.md +0 -52
- package/skills/pi-agent/references/session-format.md +0 -90
- package/skills/pi-agent/references/sessions.md +0 -56
- package/skills/pi-agent/references/settings.md +0 -102
- package/skills/pi-agent/references/shell-aliases.md +0 -15
- package/skills/pi-agent/references/skills.md +0 -83
- package/skills/pi-agent/references/terminal-setup.md +0 -87
- package/skills/pi-agent/references/termux.md +0 -31
- package/skills/pi-agent/references/themes.md +0 -69
- package/skills/pi-agent/references/tmux.md +0 -44
- package/skills/pi-agent/references/tui.md +0 -97
- package/skills/pi-agent/references/usage.md +0 -129
- package/skills/pi-agent/references/windows.md +0 -23
- package/skills/pkpd-modeling/assets/nca-reporting-checklist.md +0 -72
- package/skills/pkpd-modeling/assets/popk-analysis-plan.md +0 -136
- package/skills/pkpd-modeling/references/antimicrobial-and-tdm.md +0 -110
- package/skills/pkpd-modeling/references/bioequivalence.md +0 -132
- package/skills/pkpd-modeling/references/dataset-standards.md +0 -103
- package/skills/pkpd-modeling/references/ddi-and-qt.md +0 -132
- package/skills/pkpd-modeling/references/nca-conventions.md +0 -128
- package/skills/pkpd-modeling/references/pbpk.md +0 -103
- package/skills/pkpd-modeling/references/pd-and-exposure-response.md +0 -149
- package/skills/pkpd-modeling/references/population-pk.md +0 -133
- package/skills/pkpd-modeling/references/regulatory-guidance.md +0 -82
- package/skills/pkpd-modeling/references/software-ecosystem.md +0 -123
- package/skills/pkpd-modeling/references/source-ledger.md +0 -89
- package/skills/pkpd-modeling/references/special-populations.md +0 -126
- package/skills/pkpd-modeling/references/structural-models.md +0 -140
- package/skills/pkpd-modeling/references/tmdd-and-biologics.md +0 -115
- package/skills/pkpd-modeling/scripts/_common.py +0 -327
- package/skills/pkpd-modeling/scripts/_models.py +0 -673
- package/skills/pkpd-modeling/scripts/allometry_and_fih.py +0 -346
- package/skills/pkpd-modeling/scripts/bioequivalence.py +0 -480
- package/skills/pkpd-modeling/scripts/check_popk_dataset.py +0 -400
- package/skills/pkpd-modeling/scripts/ddi_static.py +0 -346
- package/skills/pkpd-modeling/scripts/exposure_response.py +0 -328
- package/skills/pkpd-modeling/scripts/fit_compartmental.py +0 -558
- package/skills/pkpd-modeling/scripts/nca.py +0 -587
- package/skills/pkpd-modeling/scripts/simulate_regimen.py +0 -323
- package/skills/pkpd-modeling/scripts/tdm_bayes.py +0 -312
- package/skills/polars/references/best_practices.md +0 -651
- package/skills/polars/references/core_concepts.md +0 -380
- package/skills/polars/references/io_guide.md +0 -564
- package/skills/polars/references/operations.md +0 -602
- package/skills/polars/references/pandas_migration.md +0 -417
- package/skills/polars/references/transformations.md +0 -549
- package/skills/polars-bio/references/bioframe_migration.md +0 -250
- package/skills/polars-bio/references/configuration.md +0 -187
- package/skills/polars-bio/references/file_io.md +0 -469
- package/skills/polars-bio/references/interval_operations.md +0 -370
- package/skills/polars-bio/references/pileup_operations.md +0 -176
- package/skills/polars-bio/references/sql_processing.md +0 -224
- package/skills/pptx/LICENSE.txt +0 -30
- package/skills/pptx/scripts/__init__.py +0 -0
- package/skills/pptx/scripts/add_slide.py +0 -367
- package/skills/pptx/scripts/clean.py +0 -309
- package/skills/pptx/scripts/office/helpers/__init__.py +0 -111
- package/skills/pptx/scripts/office/helpers/pptx_chart.py +0 -170
- package/skills/pptx/scripts/office/helpers/pptx_slide.py +0 -60
- package/skills/pptx/scripts/office/helpers/pptx_theme.py +0 -114
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
- package/skills/pptx/scripts/office/schemas/mce/mc.xsd +0 -75
- package/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
- package/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
- package/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
- package/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
- package/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
- package/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
- package/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
- package/skills/pptx/scripts/office/soffice.py +0 -232
- package/skills/pptx/scripts/office/validate.py +0 -173
- package/skills/pptx/scripts/office/validators/__init__.py +0 -15
- package/skills/pptx/scripts/office/validators/base.py +0 -875
- package/skills/pptx/scripts/office/validators/docx.py +0 -466
- package/skills/pptx/scripts/office/validators/pptx.py +0 -441
- package/skills/pptx/scripts/office/validators/redlining.py +0 -299
- package/skills/pptx/scripts/thumbnail.py +0 -311
- package/skills/pptx-posters/assets/generation_dependencies.json +0 -5
- package/skills/pptx-posters/assets/poster_manifest_template.json +0 -154
- package/skills/pptx-posters/assets/poster_quality_checklist.md +0 -192
- package/skills/pptx-posters/references/manifest_spec.md +0 -297
- package/skills/pptx-posters/references/poster_content_guide.md +0 -176
- package/skills/pptx-posters/references/poster_design_principles.md +0 -226
- package/skills/pptx-posters/references/poster_layout_design.md +0 -189
- package/skills/pptx-posters/references/pptx_security.md +0 -202
- package/skills/pptx-posters/references/security_validation.md +0 -90
- package/skills/pptx-posters/references/source_ledger.md +0 -256
- package/skills/pptx-posters/scripts/_common.py +0 -396
- package/skills/pptx-posters/scripts/_manifest.py +0 -1318
- package/skills/pptx-posters/scripts/_pptx.py +0 -1484
- package/skills/pptx-posters/scripts/check_layout.py +0 -179
- package/skills/pptx-posters/scripts/check_palette.py +0 -142
- package/skills/pptx-posters/scripts/generate_poster.py +0 -427
- package/skills/pptx-posters/scripts/inspect_pptx.py +0 -40
- package/skills/pptx-posters/scripts/inventory_images.py +0 -252
- package/skills/pptx-posters/scripts/plan_export.py +0 -201
- package/skills/pptx-posters/scripts/validate_manifest.py +0 -55
- package/skills/primekg/scripts/query_primekg.py +0 -128
- package/skills/protocolsio-integration/assets/protocol-snapshot.schema.json +0 -179
- package/skills/protocolsio-integration/references/additional_features.md +0 -202
- package/skills/protocolsio-integration/references/authentication.md +0 -135
- package/skills/protocolsio-integration/references/discussions.md +0 -192
- package/skills/protocolsio-integration/references/file_manager.md +0 -256
- package/skills/protocolsio-integration/references/protocols_api.md +0 -256
- package/skills/protocolsio-integration/references/workspaces.md +0 -192
- package/skills/protocolsio-integration/scripts/__init__.py +0 -1
- package/skills/protocolsio-integration/scripts/_common.py +0 -613
- package/skills/protocolsio-integration/scripts/pagination_helper.py +0 -248
- package/skills/protocolsio-integration/scripts/plan_write_request.py +0 -657
- package/skills/protocolsio-integration/scripts/protocols_read.py +0 -493
- package/skills/protocolsio-integration/scripts/validate_auth_config.py +0 -128
- package/skills/protocolsio-integration/scripts/validate_protocol_json.py +0 -358
- package/skills/pufferlib/references/environments.md +0 -260
- package/skills/pufferlib/references/integration.md +0 -192
- package/skills/pufferlib/references/policies.md +0 -181
- package/skills/pufferlib/references/training.md +0 -287
- package/skills/pufferlib/references/vectorization.md +0 -210
- package/skills/pufferlib/scripts/__init__.py +0 -1
- package/skills/pufferlib/scripts/_common.py +0 -199
- package/skills/pufferlib/scripts/benchmark_vectorization.py +0 -244
- package/skills/pufferlib/scripts/env_contract_validator.py +0 -198
- package/skills/pufferlib/scripts/env_template.py +0 -210
- package/skills/pufferlib/scripts/inspect_checkpoint.py +0 -225
- package/skills/pufferlib/scripts/repro_plan.py +0 -177
- package/skills/pufferlib/scripts/train_template.py +0 -282
- package/skills/pufferlib/scripts/validate_plan.py +0 -570
- package/skills/pydeseq2/references/analysis_patterns.md +0 -70
- package/skills/pydeseq2/references/api_reference.md +0 -256
- package/skills/pydeseq2/references/core_workflow_steps.md +0 -162
- package/skills/pydeseq2/references/workflow_guide.md +0 -603
- package/skills/pydeseq2/scripts/run_deseq2_analysis.py +0 -388
- package/skills/pydicom/references/common_tags.md +0 -277
- package/skills/pydicom/references/transfer_syntaxes.md +0 -348
- package/skills/pydicom/scripts/__init__.py +0 -1
- package/skills/pydicom/scripts/_common.py +0 -916
- package/skills/pydicom/scripts/anonymize_dicom.py +0 -713
- package/skills/pydicom/scripts/deidentification_audit.py +0 -380
- package/skills/pydicom/scripts/dicom_inventory.py +0 -402
- package/skills/pydicom/scripts/dicom_to_image.py +0 -459
- package/skills/pydicom/scripts/extract_metadata.py +0 -330
- package/skills/pydicom/scripts/pixel_frame_planner.py +0 -303
- package/skills/pydicom/scripts/transfer_syntax_inspector.py +0 -245
- package/skills/pydicom/scripts/uid_mapping_validator.py +0 -240
- package/skills/pyhealth/assets/starter_pipeline.py +0 -58
- package/skills/pyhealth/references/datasets.md +0 -126
- package/skills/pyhealth/references/examples.md +0 -237
- package/skills/pyhealth/references/installation.md +0 -112
- package/skills/pyhealth/references/medcode.md +0 -94
- package/skills/pyhealth/references/models.md +0 -114
- package/skills/pyhealth/references/tasks.md +0 -143
- package/skills/pylabrobot/assets/protocol-manifest.schema.json +0 -367
- package/skills/pylabrobot/references/analytical-equipment.md +0 -200
- package/skills/pylabrobot/references/hardware-backends.md +0 -215
- package/skills/pylabrobot/references/liquid-handling.md +0 -223
- package/skills/pylabrobot/references/material-handling.md +0 -229
- package/skills/pylabrobot/references/resources.md +0 -238
- package/skills/pylabrobot/references/visualization.md +0 -187
- package/skills/pylabrobot/scripts/__init__.py +0 -1
- package/skills/pylabrobot/scripts/_common.py +0 -718
- package/skills/pylabrobot/scripts/check_deck_geometry.py +0 -52
- package/skills/pylabrobot/scripts/generate_simulation_plan.py +0 -140
- package/skills/pylabrobot/scripts/inspect_backends.py +0 -216
- package/skills/pylabrobot/scripts/plan_transfers.py +0 -59
- package/skills/pylabrobot/scripts/validate_manifest.py +0 -47
- package/skills/pymatgen/references/analysis_modules.md +0 -352
- package/skills/pymatgen/references/core_classes.md +0 -290
- package/skills/pymatgen/references/io_formats.md +0 -323
- package/skills/pymatgen/references/materials_project_api.md +0 -406
- package/skills/pymatgen/references/transformations_workflows.md +0 -385
- package/skills/pymatgen/scripts/_common.py +0 -316
- package/skills/pymatgen/scripts/artifact_manifest.py +0 -172
- package/skills/pymatgen/scripts/composition_structure_validator.py +0 -300
- package/skills/pymatgen/scripts/io_conversion_plan.py +0 -204
- package/skills/pymatgen/scripts/mp_query.py +0 -416
- package/skills/pymatgen/scripts/phase_diagram_generator.py +0 -415
- package/skills/pymatgen/scripts/structure_analyzer.py +0 -293
- package/skills/pymatgen/scripts/structure_converter.py +0 -219
- package/skills/pymatgen/scripts/symmetry_sensitivity_report.py +0 -212
- package/skills/pymc/assets/hierarchical_model_template.py +0 -332
- package/skills/pymc/assets/linear_regression_template.py +0 -244
- package/skills/pymc/references/distributions.md +0 -345
- package/skills/pymc/references/model_patterns.md +0 -130
- package/skills/pymc/references/sampling_inference.md +0 -432
- package/skills/pymc/references/standard_workflow.md +0 -176
- package/skills/pymc/references/workflows.md +0 -530
- package/skills/pymc/scripts/model_comparison.py +0 -409
- package/skills/pymc/scripts/model_diagnostics.py +0 -328
- package/skills/pymoo/references/algorithms.md +0 -232
- package/skills/pymoo/references/constraints_mcdm.md +0 -417
- package/skills/pymoo/references/operators.md +0 -345
- package/skills/pymoo/references/parallelization.md +0 -80
- package/skills/pymoo/references/problems.md +0 -265
- package/skills/pymoo/references/quick_start_workflows.md +0 -404
- package/skills/pymoo/references/visualization.md +0 -353
- package/skills/pymoo/scripts/custom_problem_example.py +0 -181
- package/skills/pymoo/scripts/decision_making_example.py +0 -161
- package/skills/pymoo/scripts/many_objective_example.py +0 -74
- package/skills/pymoo/scripts/multi_objective_example.py +0 -63
- package/skills/pymoo/scripts/single_objective_example.py +0 -59
- package/skills/pyopenms/references/data_structures.md +0 -498
- package/skills/pyopenms/references/feature_detection.md +0 -495
- package/skills/pyopenms/references/file_io.md +0 -359
- package/skills/pyopenms/references/identification.md +0 -431
- package/skills/pyopenms/references/metabolomics.md +0 -548
- package/skills/pyopenms/references/signal_processing.md +0 -444
- package/skills/pyopenms/scripts/accurate_mass_search.py +0 -111
- package/skills/pyopenms/scripts/align_link_quantify.py +0 -140
- package/skills/pyopenms/scripts/consensus_to_matrix.py +0 -70
- package/skills/pyopenms/scripts/convert_format.py +0 -95
- package/skills/pyopenms/scripts/detect_adducts.py +0 -90
- package/skills/pyopenms/scripts/detect_features_centroided.py +0 -80
- package/skills/pyopenms/scripts/detect_features_metabo.py +0 -110
- package/skills/pyopenms/scripts/digest_protein.py +0 -102
- package/skills/pyopenms/scripts/export_gnps_sirius.py +0 -90
- package/skills/pyopenms/scripts/extract_chromatograms.py +0 -105
- package/skills/pyopenms/scripts/inspect_ms_data.py +0 -167
- package/skills/pyopenms/scripts/mass_calculator.py +0 -92
- package/skills/pyopenms/scripts/plot_ms_data.py +0 -129
- package/skills/pyopenms/scripts/process_identifications.py +0 -111
- package/skills/pyopenms/scripts/process_spectra.py +0 -124
- package/skills/pyopenms/scripts/theoretical_spectrum.py +0 -75
- package/skills/pysam/references/alignment_files.md +0 -374
- package/skills/pysam/references/api_reference.md +0 -421
- package/skills/pysam/references/common_workflows.md +0 -442
- package/skills/pysam/references/coordinates_and_indexing.md +0 -318
- package/skills/pysam/references/cram_and_performance.md +0 -314
- package/skills/pysam/references/migration_to_0_24.md +0 -177
- package/skills/pysam/references/sequence_files.md +0 -316
- package/skills/pysam/references/sources.md +0 -132
- package/skills/pysam/references/variant_files.md +0 -396
- package/skills/pysam/scripts/alignment_qc.py +0 -326
- package/skills/pysam/scripts/filter_alignments.py +0 -359
- package/skills/pysam/scripts/inspect_hts.py +0 -485
- package/skills/pysam/scripts/variant_summary.py +0 -362
- package/skills/pytdc/references/datasets.md +0 -242
- package/skills/pytdc/references/oracles.md +0 -273
- package/skills/pytdc/references/sources.md +0 -165
- package/skills/pytdc/references/utilities.md +0 -364
- package/skills/pytdc/scripts/_common.py +0 -205
- package/skills/pytdc/scripts/benchmark_evaluation.py +0 -367
- package/skills/pytdc/scripts/cache_audit.py +0 -146
- package/skills/pytdc/scripts/discover_metadata.py +0 -174
- package/skills/pytdc/scripts/load_and_split_data.py +0 -374
- package/skills/pytdc/scripts/molecular_generation.py +0 -417
- package/skills/pytorch-lightning/references/best_practices.md +0 -724
- package/skills/pytorch-lightning/references/callbacks.md +0 -564
- package/skills/pytorch-lightning/references/data_module.md +0 -565
- package/skills/pytorch-lightning/references/distributed_training.md +0 -644
- package/skills/pytorch-lightning/references/lightning_module.md +0 -487
- package/skills/pytorch-lightning/references/logging.md +0 -636
- package/skills/pytorch-lightning/references/trainer.md +0 -641
- package/skills/pytorch-lightning/scripts/quick_trainer_setup.py +0 -473
- package/skills/pytorch-lightning/scripts/template_datamodule.py +0 -328
- package/skills/pytorch-lightning/scripts/template_lightning_module.py +0 -220
- package/skills/pyzotero/references/authentication.md +0 -105
- package/skills/pyzotero/references/cli.md +0 -102
- package/skills/pyzotero/references/collections.md +0 -113
- package/skills/pyzotero/references/error-handling.md +0 -108
- package/skills/pyzotero/references/exports.md +0 -102
- package/skills/pyzotero/references/files-attachments.md +0 -97
- package/skills/pyzotero/references/full-text.md +0 -68
- package/skills/pyzotero/references/mcp.md +0 -90
- package/skills/pyzotero/references/pagination.md +0 -79
- package/skills/pyzotero/references/read-api.md +0 -137
- package/skills/pyzotero/references/saved-searches.md +0 -77
- package/skills/pyzotero/references/search-params.md +0 -90
- package/skills/pyzotero/references/tags.md +0 -87
- package/skills/pyzotero/references/write-api.md +0 -123
- package/skills/qiskit/references/algorithms.md +0 -311
- package/skills/qiskit/references/backends.md +0 -382
- package/skills/qiskit/references/circuits.md +0 -319
- package/skills/qiskit/references/migration.md +0 -338
- package/skills/qiskit/references/patterns.md +0 -386
- package/skills/qiskit/references/primitives.md +0 -400
- package/skills/qiskit/references/setup.md +0 -253
- package/skills/qiskit/references/sources.md +0 -156
- package/skills/qiskit/references/testing.md +0 -428
- package/skills/qiskit/references/transpilation.md +0 -333
- package/skills/qiskit/references/visualization.md +0 -361
- package/skills/qiskit/scripts/check_environment.py +0 -260
- package/skills/qiskit/scripts/inspect_runtime.py +0 -224
- package/skills/qiskit/scripts/run_local_primitives.py +0 -200
- package/skills/qutip/references/advanced.md +0 -413
- package/skills/qutip/references/analysis.md +0 -319
- package/skills/qutip/references/core_concepts.md +0 -300
- package/skills/qutip/references/time_evolution.md +0 -373
- package/skills/qutip/references/visualization.md +0 -334
- package/skills/qutip/scripts/_common.py +0 -370
- package/skills/qutip/scripts/convergence_sweep.py +0 -358
- package/skills/qutip/scripts/qobj_model_validator.py +0 -327
- package/skills/qutip/scripts/result_audit.py +0 -395
- package/skills/qutip/scripts/solver_config_planner.py +0 -297
- package/skills/qutip/scripts/steady_state_spectrum_planner.py +0 -245
- package/skills/qutip/scripts/two_level_simulation.py +0 -394
- package/skills/rdkit/references/api_reference.md +0 -443
- package/skills/rdkit/references/core_capabilities.md +0 -604
- package/skills/rdkit/references/descriptors_reference.md +0 -595
- package/skills/rdkit/references/smarts_patterns.md +0 -668
- package/skills/rdkit/references/workflows_and_best_practices.md +0 -169
- package/skills/rdkit/scripts/molecular_properties.py +0 -243
- package/skills/rdkit/scripts/similarity_search.py +0 -297
- package/skills/rdkit/scripts/substructure_filter.py +0 -386
- package/skills/relsa-severity-assessment/assets/example_cohort.csv +0 -55
- package/skills/relsa-severity-assessment/references/forecasting.md +0 -155
- package/skills/relsa-severity-assessment/references/relsa-method.md +0 -175
- package/skills/relsa-severity-assessment/references/thresholds-and-zones.md +0 -154
- package/skills/relsa-severity-assessment/scripts/_common.py +0 -287
- package/skills/relsa-severity-assessment/scripts/forecast_relsa.py +0 -757
- package/skills/relsa-severity-assessment/scripts/kde_thresholds.py +0 -369
- package/skills/relsa-severity-assessment/scripts/relsa_score.py +0 -488
- package/skills/research-grants/assets/budget_justification_template.md +0 -453
- package/skills/research-grants/assets/nih_specific_aims_template.md +0 -166
- package/skills/research-grants/assets/nsf_project_summary_template.md +0 -92
- package/skills/research-grants/references/broader_impacts.md +0 -392
- package/skills/research-grants/references/core_components.md +0 -397
- package/skills/research-grants/references/darpa_guidelines.md +0 -636
- package/skills/research-grants/references/doe_guidelines.md +0 -586
- package/skills/research-grants/references/nih_guidelines.md +0 -853
- package/skills/research-grants/references/nsf_guidelines.md +0 -570
- package/skills/research-grants/references/nstc_guidelines.md +0 -733
- package/skills/research-grants/references/proposal_types_and_resubmission.md +0 -81
- package/skills/research-grants/references/review_criteria.md +0 -93
- package/skills/research-grants/references/specific_aims_guide.md +0 -458
- package/skills/research-grants/references/writing_principles.md +0 -94
- package/skills/research-lookup/scripts/manuscript_packet.py +0 -754
- package/skills/research-lookup/scripts/research_lookup.py +0 -1204
- package/skills/rowan/references/access_and_pricing.md +0 -37
- package/skills/rowan/references/batch_and_webhooks.md +0 -255
- package/skills/rowan/references/end_to_end_example.md +0 -119
- package/skills/rowan/references/troubleshooting.md +0 -106
- package/skills/rowan/references/workflow_catalog.md +0 -308
- package/skills/scanpy/assets/analysis_template.py +0 -301
- package/skills/scanpy/assets/celltype_mapping.json +0 -10
- package/skills/scanpy/assets/gene_signatures.json +0 -9
- package/skills/scanpy/assets/pipeline_config.json +0 -19
- package/skills/scanpy/references/analysis_workflow.md +0 -236
- package/skills/scanpy/references/api_reference.md +0 -267
- package/skills/scanpy/references/plotting_guide.md +0 -365
- package/skills/scanpy/references/r_interop.md +0 -292
- package/skills/scanpy/references/standard_workflow.md +0 -223
- package/skills/scanpy/scripts/_common.py +0 -127
- package/skills/scanpy/scripts/annotate.py +0 -84
- package/skills/scanpy/scripts/batch_correct.py +0 -65
- package/skills/scanpy/scripts/cluster.py +0 -63
- package/skills/scanpy/scripts/convert.py +0 -43
- package/skills/scanpy/scripts/find_markers.py +0 -75
- package/skills/scanpy/scripts/inspect_data.py +0 -81
- package/skills/scanpy/scripts/plot.py +0 -78
- package/skills/scanpy/scripts/preprocess.py +0 -88
- package/skills/scanpy/scripts/pseudobulk.py +0 -74
- package/skills/scanpy/scripts/qc_analysis.py +0 -104
- package/skills/scanpy/scripts/reduce_dimensions.py +0 -64
- package/skills/scanpy/scripts/run_pipeline.py +0 -182
- package/skills/scanpy/scripts/score_genes.py +0 -82
- package/skills/scanpy/scripts/subset.py +0 -64
- package/skills/scholar-evaluation/assets/evaluation_template.json +0 -50
- package/skills/scholar-evaluation/assets/evidence_manifest_template.json +0 -63
- package/skills/scholar-evaluation/assets/process_checklist_template.json +0 -70
- package/skills/scholar-evaluation/assets/ratings_template.csv +0 -21
- package/skills/scholar-evaluation/assets/rubric_template.json +0 -301
- package/skills/scholar-evaluation/references/evaluation_framework.md +0 -264
- package/skills/scholar-evaluation/references/local_tooling.md +0 -232
- package/skills/scholar-evaluation/references/responsible_assessment.md +0 -196
- package/skills/scholar-evaluation/references/security_validation.md +0 -95
- package/skills/scholar-evaluation/references/source_ledger.md +0 -222
- package/skills/scholar-evaluation/scripts/_common.py +0 -986
- package/skills/scholar-evaluation/scripts/calculate_scores.py +0 -57
- package/skills/scholar-evaluation/scripts/check_process.py +0 -231
- package/skills/scholar-evaluation/scripts/check_traceability.py +0 -233
- package/skills/scholar-evaluation/scripts/generate_report_scaffold.py +0 -231
- package/skills/scholar-evaluation/scripts/summarize_agreement.py +0 -235
- package/skills/scholar-evaluation/scripts/validate_rubric.py +0 -54
- package/skills/scholar-evaluation/scripts/weight_sensitivity.py +0 -251
- package/skills/scientific-brainstorming/references/brainstorming_methods.md +0 -292
- package/skills/scientific-brainstorming/references/facilitation_workflows.md +0 -284
- package/skills/scientific-brainstorming/references/idea_evaluation.md +0 -268
- package/skills/scientific-brainstorming/references/responsible_ai.md +0 -220
- package/skills/scientific-brainstorming/references/sources.md +0 -364
- package/skills/scientific-brainstorming/scripts/_common.py +0 -307
- package/skills/scientific-brainstorming/scripts/evaluate_matrix.py +0 -518
- package/skills/scientific-brainstorming/scripts/session_scaffold.py +0 -248
- package/skills/scientific-brainstorming/scripts/validate_register.py +0 -654
- package/skills/scientific-critical-thinking/references/common_biases.md +0 -364
- package/skills/scientific-critical-thinking/references/core_capabilities.md +0 -407
- package/skills/scientific-critical-thinking/references/evidence_hierarchy.md +0 -485
- package/skills/scientific-critical-thinking/references/experimental_design.md +0 -496
- package/skills/scientific-critical-thinking/references/logical_fallacies.md +0 -478
- package/skills/scientific-critical-thinking/references/scientific_method.md +0 -169
- package/skills/scientific-critical-thinking/references/statistical_pitfalls.md +0 -506
- package/skills/scientific-schematics/references/best_practices.md +0 -574
- package/skills/scientific-schematics/references/iterative_refinement.md +0 -315
- package/skills/scientific-schematics/scripts/example_usage.sh +0 -92
- package/skills/scientific-schematics/scripts/generate_schematic.py +0 -198
- package/skills/scientific-schematics/scripts/generate_schematic_ai.py +0 -950
- package/skills/scientific-slides/assets/beamer_template_conference.tex +0 -407
- package/skills/scientific-slides/assets/beamer_template_defense.tex +0 -906
- package/skills/scientific-slides/assets/beamer_template_seminar.tex +0 -870
- package/skills/scientific-slides/assets/powerpoint_design_guide.md +0 -662
- package/skills/scientific-slides/assets/timing_guidelines.md +0 -597
- package/skills/scientific-slides/references/beamer_guide.md +0 -1019
- package/skills/scientific-slides/references/common_pitfalls.md +0 -85
- package/skills/scientific-slides/references/data_visualization_slides.md +0 -708
- package/skills/scientific-slides/references/presentation_structure.md +0 -642
- package/skills/scientific-slides/references/presentation_workflow.md +0 -196
- package/skills/scientific-slides/references/prompt_writing.md +0 -42
- package/skills/scientific-slides/references/script_reference.md +0 -143
- package/skills/scientific-slides/references/slide_capabilities.md +0 -360
- package/skills/scientific-slides/references/slide_design_principles.md +0 -849
- package/skills/scientific-slides/references/talk_types_guide.md +0 -687
- package/skills/scientific-slides/references/visual_review_workflow.md +0 -775
- package/skills/scientific-slides/scripts/generate_schematic.py +0 -198
- package/skills/scientific-slides/scripts/generate_schematic_ai.py +0 -950
- package/skills/scientific-slides/scripts/generate_slide_image.py +0 -197
- package/skills/scientific-slides/scripts/generate_slide_image_ai.py +0 -877
- package/skills/scientific-slides/scripts/pdf_to_images.py +0 -221
- package/skills/scientific-slides/scripts/slides_to_pdf.py +0 -235
- package/skills/scientific-slides/scripts/validate_presentation.py +0 -408
- package/skills/scientific-visualization/assets/color_palettes.py +0 -263
- package/skills/scientific-visualization/assets/nature.mplstyle +0 -68
- package/skills/scientific-visualization/assets/presentation.mplstyle +0 -68
- package/skills/scientific-visualization/assets/publication.mplstyle +0 -77
- package/skills/scientific-visualization/assets/publisher_profiles.json +0 -269
- package/skills/scientific-visualization/references/color_palettes.md +0 -227
- package/skills/scientific-visualization/references/journal_requirements.md +0 -169
- package/skills/scientific-visualization/references/matplotlib_examples.md +0 -336
- package/skills/scientific-visualization/references/publication_guidelines.md +0 -196
- package/skills/scientific-visualization/references/sources.md +0 -76
- package/skills/scientific-visualization/scripts/_common.py +0 -136
- package/skills/scientific-visualization/scripts/export_plan.py +0 -493
- package/skills/scientific-visualization/scripts/figure_export.py +0 -642
- package/skills/scientific-visualization/scripts/image_metadata.py +0 -731
- package/skills/scientific-visualization/scripts/palette_audit.py +0 -327
- package/skills/scientific-visualization/scripts/style_presets.py +0 -501
- package/skills/scientific-visualization/scripts/style_preview.py +0 -232
- package/skills/scientific-writing/assets/REPORT_FORMATTING_GUIDE.md +0 -60
- package/skills/scientific-writing/assets/authorship_template.json +0 -56
- package/skills/scientific-writing/assets/claim_evidence_template.csv +0 -2
- package/skills/scientific-writing/assets/consistency_manifest_template.json +0 -43
- package/skills/scientific-writing/assets/manuscript_manifest_template.json +0 -37
- package/skills/scientific-writing/assets/manuscript_scaffold.md +0 -65
- package/skills/scientific-writing/assets/reporting_coverage_template.json +0 -6
- package/skills/scientific-writing/assets/reporting_guidelines.json +0 -529
- package/skills/scientific-writing/assets/source_manifest_template.json +0 -27
- package/skills/scientific-writing/references/authorship_ai_confidentiality.md +0 -111
- package/skills/scientific-writing/references/citation_styles.md +0 -92
- package/skills/scientific-writing/references/cli_reference.md +0 -113
- package/skills/scientific-writing/references/evidence_workflow.md +0 -94
- package/skills/scientific-writing/references/figures_tables.md +0 -94
- package/skills/scientific-writing/references/imrad_structure.md +0 -114
- package/skills/scientific-writing/references/journal_policies.md +0 -56
- package/skills/scientific-writing/references/professional_report_formatting.md +0 -82
- package/skills/scientific-writing/references/reporting_guidelines.md +0 -107
- package/skills/scientific-writing/references/research_integrity_open_science.md +0 -97
- package/skills/scientific-writing/references/source_ledger.md +0 -268
- package/skills/scientific-writing/references/writing_principles.md +0 -97
- package/skills/scientific-writing/scripts/_common.py +0 -240
- package/skills/scientific-writing/scripts/audit_claims.py +0 -241
- package/skills/scientific-writing/scripts/check_consistency.py +0 -408
- package/skills/scientific-writing/scripts/check_references.py +0 -219
- package/skills/scientific-writing/scripts/lint_manuscript.py +0 -171
- package/skills/scientific-writing/scripts/scaffold_manuscript.py +0 -143
- package/skills/scientific-writing/scripts/select_reporting_guidelines.py +0 -214
- package/skills/scientific-writing/scripts/validate_authorship.py +0 -322
- package/skills/scientific-writing/scripts/validate_manifest.py +0 -460
- package/skills/scikit-bio/references/api_reference.md +0 -766
- package/skills/scikit-learn/references/common_workflows.md +0 -107
- package/skills/scikit-learn/references/core_capabilities.md +0 -133
- package/skills/scikit-learn/references/model_evaluation.md +0 -592
- package/skills/scikit-learn/references/pipelines_and_composition.md +0 -612
- package/skills/scikit-learn/references/preprocessing.md +0 -606
- package/skills/scikit-learn/references/quick_reference.md +0 -436
- package/skills/scikit-learn/references/supervised_learning.md +0 -379
- package/skills/scikit-learn/references/unsupervised_learning.md +0 -517
- package/skills/scikit-learn/scripts/classification_pipeline.py +0 -257
- package/skills/scikit-learn/scripts/clustering_analysis.py +0 -386
- package/skills/scikit-survival/references/competing-risks.md +0 -302
- package/skills/scikit-survival/references/cox-models.md +0 -252
- package/skills/scikit-survival/references/data-handling.md +0 -278
- package/skills/scikit-survival/references/ensemble-models.md +0 -287
- package/skills/scikit-survival/references/evaluation-metrics.md +0 -391
- package/skills/scikit-survival/references/svm-models.md +0 -277
- package/skills/scikit-survival/scripts/_common.py +0 -456
- package/skills/scikit-survival/scripts/competing_risk_cif.py +0 -286
- package/skills/scikit-survival/scripts/evaluate_survival_metrics.py +0 -296
- package/skills/scikit-survival/scripts/model_report.py +0 -297
- package/skills/scikit-survival/scripts/train_survival_model.py +0 -583
- package/skills/scikit-survival/scripts/validate_survival_csv.py +0 -172
- package/skills/scvelo/references/velocity_models.md +0 -168
- package/skills/scvelo/scripts/rna_velocity_workflow.py +0 -240
- package/skills/scvi-tools/references/differential-expression.md +0 -597
- package/skills/scvi-tools/references/models-atac-seq.md +0 -329
- package/skills/scvi-tools/references/models-multimodal.md +0 -400
- package/skills/scvi-tools/references/models-scrna-seq.md +0 -333
- package/skills/scvi-tools/references/models-spatial.md +0 -432
- package/skills/scvi-tools/references/models-specialized.md +0 -376
- package/skills/scvi-tools/references/theoretical-foundations.md +0 -438
- package/skills/scvi-tools/references/workflows.md +0 -559
- package/skills/seaborn/references/examples.md +0 -824
- package/skills/seaborn/references/function_reference.md +0 -772
- package/skills/seaborn/references/grids_and_levels.md +0 -85
- package/skills/seaborn/references/objects_interface.md +0 -963
- package/skills/seaborn/references/palettes_and_theming.md +0 -110
- package/skills/seaborn/references/patterns_and_troubleshooting.md +0 -114
- package/skills/seaborn/references/plotting_functions.md +0 -178
- package/skills/shap/references/data-maskers.md +0 -287
- package/skills/shap/references/explainers.md +0 -376
- package/skills/shap/references/migration.md +0 -415
- package/skills/shap/references/modalities.md +0 -353
- package/skills/shap/references/plots.md +0 -406
- package/skills/shap/references/theory.md +0 -352
- package/skills/shap/references/troubleshooting.md +0 -442
- package/skills/shap/references/workflows.md +0 -565
- package/skills/shap/scripts/tabular_report.py +0 -326
- package/skills/simpy/references/cli-guide.md +0 -266
- package/skills/simpy/references/events.md +0 -225
- package/skills/simpy/references/monitoring.md +0 -260
- package/skills/simpy/references/process-interaction.md +0 -269
- package/skills/simpy/references/real-time.md +0 -174
- package/skills/simpy/references/resources.md +0 -274
- package/skills/simpy/references/simulation-methodology.md +0 -293
- package/skills/simpy/references/sources.md +0 -167
- package/skills/simpy/scripts/_common.py +0 -473
- package/skills/simpy/scripts/basic_simulation_template.py +0 -415
- package/skills/simpy/scripts/bounded_queue_scenario.py +0 -126
- package/skills/simpy/scripts/event_trace_summary.py +0 -296
- package/skills/simpy/scripts/replication_runner.py +0 -194
- package/skills/simpy/scripts/resource_monitor.py +0 -474
- package/skills/simpy/scripts/validate_simulation_config.py +0 -111
- package/skills/stable-baselines3/references/algorithms.md +0 -348
- package/skills/stable-baselines3/references/callbacks.md +0 -571
- package/skills/stable-baselines3/references/custom_environments.md +0 -528
- package/skills/stable-baselines3/references/vectorized_envs.md +0 -580
- package/skills/stable-baselines3/scripts/custom_env_template.py +0 -314
- package/skills/stable-baselines3/scripts/evaluate_agent.py +0 -245
- package/skills/stable-baselines3/scripts/train_rl_agent.py +0 -165
- package/skills/statistical-analysis/references/assumptions_and_diagnostics.md +0 -379
- package/skills/statistical-analysis/references/bayesian_statistics.md +0 -686
- package/skills/statistical-analysis/references/effect_sizes_and_power.md +0 -649
- package/skills/statistical-analysis/references/reporting_standards.md +0 -482
- package/skills/statistical-analysis/references/test_selection_guide.md +0 -129
- package/skills/statistical-analysis/scripts/assumption_checks.py +0 -652
- package/skills/statistical-power/references/closed_form_recipes.md +0 -174
- package/skills/statistical-power/references/effect_sizes.md +0 -121
- package/skills/statistical-power/references/simulation_based_power.md +0 -101
- package/skills/statistical-power/scripts/power.py +0 -320
- package/skills/statistical-power/scripts/simulate_power.py +0 -217
- package/skills/statsmodels/references/discrete_choice.md +0 -669
- package/skills/statsmodels/references/glm.md +0 -619
- package/skills/statsmodels/references/linear_models.md +0 -447
- package/skills/statsmodels/references/model_selection.md +0 -99
- package/skills/statsmodels/references/modeling_capabilities.md +0 -168
- package/skills/statsmodels/references/quick_start_guide.md +0 -154
- package/skills/statsmodels/references/stats_diagnostics.md +0 -859
- package/skills/statsmodels/references/time_series.md +0 -723
- package/skills/sympy/references/advanced-topics.md +0 -635
- package/skills/sympy/references/code-generation-printing.md +0 -628
- package/skills/sympy/references/core-capabilities.md +0 -348
- package/skills/sympy/references/core_capabilities.md +0 -190
- package/skills/sympy/references/matrices-linear-algebra.md +0 -526
- package/skills/sympy/references/physics-mechanics.md +0 -592
- package/skills/tamarind/references/api_reference.md +0 -165
- package/skills/tamarind/references/examples.md +0 -132
- package/skills/tamarind/references/tool_catalog.md +0 -66
- package/skills/tamarind/references/workflows.md +0 -263
- package/skills/timesfm-forecasting/examples/anomaly-detection/detect_anomalies.py +0 -524
- package/skills/timesfm-forecasting/examples/anomaly-detection/output/anomaly_detection.json +0 -448
- package/skills/timesfm-forecasting/examples/anomaly-detection/output/anomaly_detection.png +0 -0
- package/skills/timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py +0 -568
- package/skills/timesfm-forecasting/examples/covariates-forecasting/output/covariates_data.png +0 -0
- package/skills/timesfm-forecasting/examples/covariates-forecasting/output/covariates_metadata.json +0 -59
- package/skills/timesfm-forecasting/examples/covariates-forecasting/output/sales_with_covariates.csv +0 -109
- package/skills/timesfm-forecasting/examples/global-temperature/generate_animation_data.py +0 -147
- package/skills/timesfm-forecasting/examples/global-temperature/generate_gif.py +0 -248
- package/skills/timesfm-forecasting/examples/global-temperature/generate_html.py +0 -544
- package/skills/timesfm-forecasting/examples/global-temperature/output/animation_data.json +0 -5441
- package/skills/timesfm-forecasting/examples/global-temperature/output/forecast_animation.gif +0 -0
- package/skills/timesfm-forecasting/examples/global-temperature/output/forecast_output.csv +0 -13
- package/skills/timesfm-forecasting/examples/global-temperature/output/forecast_output.json +0 -188
- package/skills/timesfm-forecasting/examples/global-temperature/output/forecast_visualization.png +0 -0
- package/skills/timesfm-forecasting/examples/global-temperature/output/interactive_forecast.html +0 -5939
- package/skills/timesfm-forecasting/examples/global-temperature/run_example.sh +0 -53
- package/skills/timesfm-forecasting/examples/global-temperature/run_forecast.py +0 -167
- package/skills/timesfm-forecasting/examples/global-temperature/temperature_anomaly.csv +0 -37
- package/skills/timesfm-forecasting/examples/global-temperature/visualize_forecast.py +0 -123
- package/skills/timesfm-forecasting/references/api_reference.md +0 -231
- package/skills/timesfm-forecasting/references/data_preparation.md +0 -272
- package/skills/timesfm-forecasting/references/examples_and_validation.md +0 -103
- package/skills/timesfm-forecasting/references/output_and_config.md +0 -93
- package/skills/timesfm-forecasting/references/performance_tuning.md +0 -80
- package/skills/timesfm-forecasting/references/system_requirements.md +0 -201
- package/skills/timesfm-forecasting/references/workflows.md +0 -126
- package/skills/timesfm-forecasting/scripts/check_system.py +0 -521
- package/skills/timesfm-forecasting/scripts/forecast_csv.py +0 -269
- package/skills/torch-geometric/references/custom_datasets.md +0 -239
- package/skills/torch-geometric/references/explainability.md +0 -208
- package/skills/torch-geometric/references/heterogeneous.md +0 -241
- package/skills/torch-geometric/references/link_prediction.md +0 -226
- package/skills/torch-geometric/references/message_passing.md +0 -121
- package/skills/torch-geometric/references/scaling.md +0 -269
- package/skills/torchdrug/references/core_concepts.md +0 -241
- package/skills/torchdrug/references/datasets.md +0 -179
- package/skills/torchdrug/references/knowledge_graphs.md +0 -226
- package/skills/torchdrug/references/models_architectures.md +0 -223
- package/skills/torchdrug/references/molecular_generation.md +0 -246
- package/skills/torchdrug/references/molecular_property_prediction.md +0 -239
- package/skills/torchdrug/references/protein_modeling.md +0 -221
- package/skills/torchdrug/references/retrosynthesis.md +0 -247
- package/skills/transformers/references/generation.md +0 -473
- package/skills/transformers/references/models.md +0 -371
- package/skills/transformers/references/pipelines.md +0 -334
- package/skills/transformers/references/tokenizers.md +0 -449
- package/skills/transformers/references/training.md +0 -504
- package/skills/treatment-plans/assets/clinician_authored_intervention_template.json +0 -11
- package/skills/treatment-plans/assets/goals_monitoring_checkpoint_template.json +0 -13
- package/skills/treatment-plans/assets/informed_preference_shared_decision_template.json +0 -11
- package/skills/treatment-plans/assets/intended_use_handoff_template.json +0 -83
- package/skills/treatment-plans/assets/source_fact_manifest_template.json +0 -11
- package/skills/treatment-plans/assets/transition_reconciliation_template.json +0 -27
- package/skills/treatment-plans/references/documentation_workflow.md +0 -165
- package/skills/treatment-plans/references/privacy_governance.md +0 -119
- package/skills/treatment-plans/references/safety_scope.md +0 -101
- package/skills/treatment-plans/references/security_validation.md +0 -68
- package/skills/treatment-plans/references/shared_decision_handoff.md +0 -138
- package/skills/treatment-plans/references/source_boundaries.md +0 -127
- package/skills/treatment-plans/references/source_ledger.md +0 -131
- package/skills/treatment-plans/scripts/_common.py +0 -1160
- package/skills/treatment-plans/scripts/check_completeness.py +0 -572
- package/skills/treatment-plans/scripts/check_consistency.py +0 -386
- package/skills/treatment-plans/scripts/generate_template.py +0 -133
- package/skills/treatment-plans/scripts/privacy_process_check.py +0 -213
- package/skills/treatment-plans/scripts/timeline_generator.py +0 -260
- package/skills/treatment-plans/scripts/validate_traceability.py +0 -147
- package/skills/treatment-plans/scripts/validate_treatment_plan.py +0 -95
- package/skills/umap-learn/references/api_reference.md +0 -574
- package/skills/uncertainty-and-units/references/domain-conversions.md +0 -188
- package/skills/uncertainty-and-units/references/gum-methodology.md +0 -219
- package/skills/uncertainty-and-units/references/pint-recipes.md +0 -228
- package/skills/uncertainty-and-units/references/plausibility-scales.md +0 -168
- package/skills/uncertainty-and-units/references/reporting-rules.md +0 -133
- package/skills/uncertainty-and-units/references/uncertainties-recipes.md +0 -167
- package/skills/uncertainty-and-units/scripts/_common.py +0 -666
- package/skills/uncertainty-and-units/scripts/audit_units.py +0 -575
- package/skills/uncertainty-and-units/scripts/check_plausibility.py +0 -894
- package/skills/uncertainty-and-units/scripts/convert_units.py +0 -280
- package/skills/uncertainty-and-units/scripts/format_result.py +0 -326
- package/skills/uncertainty-and-units/scripts/propagate_uncertainty.py +0 -662
- package/skills/uncertainty-and-units/scripts/uncertainty_budget.py +0 -363
- package/skills/usfiscaldata/references/api-basics.md +0 -105
- package/skills/usfiscaldata/references/datasets-debt.md +0 -166
- package/skills/usfiscaldata/references/datasets-fiscal.md +0 -212
- package/skills/usfiscaldata/references/datasets-interest-rates.md +0 -188
- package/skills/usfiscaldata/references/datasets-securities.md +0 -238
- package/skills/usfiscaldata/references/examples.md +0 -258
- package/skills/usfiscaldata/references/parameters.md +0 -182
- package/skills/usfiscaldata/references/response-format.md +0 -178
- package/skills/vaex/references/core_dataframes.md +0 -373
- package/skills/vaex/references/data_processing.md +0 -555
- package/skills/vaex/references/io_operations.md +0 -718
- package/skills/vaex/references/machine_learning.md +0 -728
- package/skills/vaex/references/performance.md +0 -571
- package/skills/vaex/references/visualization.md +0 -644
- package/skills/venue-templates/assets/examples/cell_summary_example.md +0 -247
- package/skills/venue-templates/assets/examples/medical_structured_abstract.md +0 -313
- package/skills/venue-templates/assets/examples/nature_abstract_examples.md +0 -213
- package/skills/venue-templates/assets/examples/neurips_introduction_example.md +0 -245
- package/skills/venue-templates/assets/grants/nih_specific_aims.tex +0 -237
- package/skills/venue-templates/assets/grants/nsf_proposal_template.tex +0 -384
- package/skills/venue-templates/assets/journals/elsarticle-harv.bst +0 -1598
- package/skills/venue-templates/assets/journals/elsarticle-num-names.bst +0 -1535
- package/skills/venue-templates/assets/journals/elsarticle-num.bst +0 -1509
- package/skills/venue-templates/assets/journals/elsarticle-template-harv.tex +0 -286
- package/skills/venue-templates/assets/journals/elsarticle-template-num-names.tex +0 -284
- package/skills/venue-templates/assets/journals/elsarticle-template-num.tex +0 -286
- package/skills/venue-templates/assets/journals/nature_article.tex +0 -174
- package/skills/venue-templates/assets/journals/neurips_article.tex +0 -292
- package/skills/venue-templates/assets/journals/plos_one.tex +0 -320
- package/skills/venue-templates/assets/posters/beamerposter_academic.tex +0 -312
- package/skills/venue-templates/references/cell_press_style.md +0 -486
- package/skills/venue-templates/references/conferences_formatting.md +0 -175
- package/skills/venue-templates/references/cs_conference_style.md +0 -465
- package/skills/venue-templates/references/grants_requirements.md +0 -267
- package/skills/venue-templates/references/journals_formatting.md +0 -200
- package/skills/venue-templates/references/medical_journal_styles.md +0 -536
- package/skills/venue-templates/references/ml_conference_style.md +0 -562
- package/skills/venue-templates/references/nature_science_style.md +0 -407
- package/skills/venue-templates/references/posters_guidelines.md +0 -630
- package/skills/venue-templates/references/reviewer_expectations.md +0 -422
- package/skills/venue-templates/references/venue_writing_styles.md +0 -323
- package/skills/venue-templates/scripts/customize_template.py +0 -206
- package/skills/venue-templates/scripts/query_template.py +0 -202
- package/skills/venue-templates/scripts/validate_format.py +0 -321
- package/skills/waypoint-bio/references/cli-reference.md +0 -210
- package/skills/waypoint-bio/references/compass-benchmark.md +0 -124
- package/skills/waypoint-bio/references/data-preparation.md +0 -200
- package/skills/waypoint-bio/references/python-api.md +0 -219
- package/skills/waypoint-bio/scripts/profiler_to_waypoint.py +0 -481
- package/skills/waypoint-bio/scripts/vocab_coverage.py +0 -235
- package/skills/what-if-oracle/references/scenario-templates.md +0 -137
- package/skills/xlsx/LICENSE.txt +0 -30
- package/skills/xlsx/scripts/office/helpers/__init__.py +0 -111
- package/skills/xlsx/scripts/office/helpers/pptx_chart.py +0 -170
- package/skills/xlsx/scripts/office/helpers/pptx_slide.py +0 -60
- package/skills/xlsx/scripts/office/helpers/pptx_theme.py +0 -114
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
- package/skills/xlsx/scripts/office/schemas/mce/mc.xsd +0 -75
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
- package/skills/xlsx/scripts/office/soffice.py +0 -232
- package/skills/xlsx/scripts/office/validate.py +0 -173
- package/skills/xlsx/scripts/office/validators/__init__.py +0 -15
- package/skills/xlsx/scripts/office/validators/base.py +0 -875
- package/skills/xlsx/scripts/office/validators/docx.py +0 -466
- package/skills/xlsx/scripts/office/validators/pptx.py +0 -441
- package/skills/xlsx/scripts/office/validators/redlining.py +0 -299
- package/skills/xlsx/scripts/recalc.py +0 -308
- package/skills/zarr-python/references/api_reference.md +0 -162
- package/skills/zarr-python/references/chunking_and_compression.md +0 -138
- package/skills/zarr-python/references/integration.md +0 -147
- package/skills/zarr-python/references/performance_and_patterns.md +0 -198
- package/skills/zarr-python/references/storage_backends.md +0 -91
- package/skills/zarr-python/references/v3_migration.md +0 -127
|
@@ -1,955 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""Shared statistics and I/O for analytical method validation checks.
|
|
3
|
-
|
|
4
|
-
Standard library only. Every distribution function here is implemented from the
|
|
5
|
-
regularised incomplete beta and gamma functions so the scripts run in any
|
|
6
|
-
Python 3.11+ interpreter without numpy or scipy.
|
|
7
|
-
|
|
8
|
-
These helpers compute and report. They never decide that a procedure is
|
|
9
|
-
validated, fit for purpose, or acceptable to a regulator -- that judgement
|
|
10
|
-
belongs to the analyst and the quality unit.
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
from __future__ import annotations
|
|
14
|
-
|
|
15
|
-
import argparse
|
|
16
|
-
import csv
|
|
17
|
-
import io
|
|
18
|
-
import json
|
|
19
|
-
import math
|
|
20
|
-
import sys
|
|
21
|
-
from dataclasses import dataclass, field
|
|
22
|
-
from pathlib import Path
|
|
23
|
-
from typing import Any, Iterable, Sequence
|
|
24
|
-
|
|
25
|
-
# --------------------------------------------------------------------------
|
|
26
|
-
# Limits and exit codes
|
|
27
|
-
# --------------------------------------------------------------------------
|
|
28
|
-
|
|
29
|
-
MAX_INPUT_BYTES = 5_000_000
|
|
30
|
-
MAX_ROWS = 20_000
|
|
31
|
-
|
|
32
|
-
EXIT_OK = 0
|
|
33
|
-
EXIT_FINDINGS = 1
|
|
34
|
-
EXIT_INPUT_ERROR = 2
|
|
35
|
-
|
|
36
|
-
TINY = 1e-300
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class InputError(Exception):
|
|
40
|
-
"""Raised for malformed or out-of-bounds user input."""
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
# --------------------------------------------------------------------------
|
|
44
|
-
# Special functions
|
|
45
|
-
# --------------------------------------------------------------------------
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
def _betacf(a: float, b: float, x: float, itmax: int = 400, eps: float = 3e-16) -> float:
|
|
49
|
-
"""Continued fraction for the incomplete beta function (Lentz's method)."""
|
|
50
|
-
qab, qap, qam = a + b, a + 1.0, a - 1.0
|
|
51
|
-
c = 1.0
|
|
52
|
-
d = 1.0 - qab * x / qap
|
|
53
|
-
if abs(d) < TINY:
|
|
54
|
-
d = TINY
|
|
55
|
-
d = 1.0 / d
|
|
56
|
-
h = d
|
|
57
|
-
for m in range(1, itmax + 1):
|
|
58
|
-
m2 = 2 * m
|
|
59
|
-
aa = m * (b - m) * x / ((qam + m2) * (a + m2))
|
|
60
|
-
d = 1.0 + aa * d
|
|
61
|
-
if abs(d) < TINY:
|
|
62
|
-
d = TINY
|
|
63
|
-
c = 1.0 + aa / c
|
|
64
|
-
if abs(c) < TINY:
|
|
65
|
-
c = TINY
|
|
66
|
-
d = 1.0 / d
|
|
67
|
-
h *= d * c
|
|
68
|
-
aa = -(a + m) * (qab + m) * x / ((a + m2) * (qap + m2))
|
|
69
|
-
d = 1.0 + aa * d
|
|
70
|
-
if abs(d) < TINY:
|
|
71
|
-
d = TINY
|
|
72
|
-
c = 1.0 + aa / c
|
|
73
|
-
if abs(c) < TINY:
|
|
74
|
-
c = TINY
|
|
75
|
-
d = 1.0 / d
|
|
76
|
-
delta = d * c
|
|
77
|
-
h *= delta
|
|
78
|
-
if abs(delta - 1.0) < eps:
|
|
79
|
-
break
|
|
80
|
-
return h
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
def betainc(a: float, b: float, x: float) -> float:
|
|
84
|
-
"""Regularised incomplete beta function I_x(a, b)."""
|
|
85
|
-
if x <= 0.0:
|
|
86
|
-
return 0.0
|
|
87
|
-
if x >= 1.0:
|
|
88
|
-
return 1.0
|
|
89
|
-
log_front = (
|
|
90
|
-
math.lgamma(a + b)
|
|
91
|
-
- math.lgamma(a)
|
|
92
|
-
- math.lgamma(b)
|
|
93
|
-
+ a * math.log(x)
|
|
94
|
-
+ b * math.log1p(-x)
|
|
95
|
-
)
|
|
96
|
-
front = math.exp(log_front)
|
|
97
|
-
if x < (a + 1.0) / (a + b + 2.0):
|
|
98
|
-
return front * _betacf(a, b, x) / a
|
|
99
|
-
return 1.0 - front * _betacf(b, a, 1.0 - x) / b
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
def gammainc_lower(a: float, x: float) -> float:
|
|
103
|
-
"""Regularised lower incomplete gamma P(a, x)."""
|
|
104
|
-
if x <= 0.0:
|
|
105
|
-
return 0.0
|
|
106
|
-
if x < a + 1.0:
|
|
107
|
-
# Series representation.
|
|
108
|
-
term = 1.0 / a
|
|
109
|
-
total = term
|
|
110
|
-
n = a
|
|
111
|
-
for _ in range(1000):
|
|
112
|
-
n += 1.0
|
|
113
|
-
term *= x / n
|
|
114
|
-
total += term
|
|
115
|
-
if abs(term) < abs(total) * 1e-16:
|
|
116
|
-
break
|
|
117
|
-
return total * math.exp(-x + a * math.log(x) - math.lgamma(a))
|
|
118
|
-
# Continued fraction for Q(a, x), then complement.
|
|
119
|
-
b = x + 1.0 - a
|
|
120
|
-
c = 1.0 / TINY
|
|
121
|
-
d = 1.0 / b
|
|
122
|
-
h = d
|
|
123
|
-
for i in range(1, 1000):
|
|
124
|
-
an = -i * (i - a)
|
|
125
|
-
b += 2.0
|
|
126
|
-
d = an * d + b
|
|
127
|
-
if abs(d) < TINY:
|
|
128
|
-
d = TINY
|
|
129
|
-
c = b + an / c
|
|
130
|
-
if abs(c) < TINY:
|
|
131
|
-
c = TINY
|
|
132
|
-
d = 1.0 / d
|
|
133
|
-
delta = d * c
|
|
134
|
-
h *= delta
|
|
135
|
-
if abs(delta - 1.0) < 1e-16:
|
|
136
|
-
break
|
|
137
|
-
q = math.exp(-x + a * math.log(x) - math.lgamma(a)) * h
|
|
138
|
-
return 1.0 - q
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
def _bisect_ppf(cdf, target: float, lo: float, hi: float, tol: float = 1e-12) -> float:
|
|
142
|
-
"""Invert a monotone CDF by bisection."""
|
|
143
|
-
for _ in range(300):
|
|
144
|
-
mid = 0.5 * (lo + hi)
|
|
145
|
-
if cdf(mid) < target:
|
|
146
|
-
lo = mid
|
|
147
|
-
else:
|
|
148
|
-
hi = mid
|
|
149
|
-
if hi - lo < tol * max(1.0, abs(mid)):
|
|
150
|
-
break
|
|
151
|
-
return 0.5 * (lo + hi)
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
def t_cdf(t: float, df: float) -> float:
|
|
155
|
-
"""CDF of Student's t with df degrees of freedom."""
|
|
156
|
-
if df <= 0:
|
|
157
|
-
raise InputError("t distribution needs df > 0")
|
|
158
|
-
x = df / (df + t * t)
|
|
159
|
-
half = 0.5 * betainc(0.5 * df, 0.5, x)
|
|
160
|
-
return half if t <= 0 else 1.0 - half
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
def t_ppf(p: float, df: float) -> float:
|
|
164
|
-
"""Quantile of Student's t."""
|
|
165
|
-
if not 0.0 < p < 1.0:
|
|
166
|
-
raise InputError("t_ppf needs 0 < p < 1")
|
|
167
|
-
return _bisect_ppf(lambda t: t_cdf(t, df), p, -1e4, 1e4)
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
def chi2_cdf(x: float, df: float) -> float:
|
|
171
|
-
"""CDF of the chi-square distribution."""
|
|
172
|
-
if x <= 0:
|
|
173
|
-
return 0.0
|
|
174
|
-
return gammainc_lower(0.5 * df, 0.5 * x)
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
def chi2_ppf(p: float, df: float) -> float:
|
|
178
|
-
"""Quantile of the chi-square distribution."""
|
|
179
|
-
if not 0.0 < p < 1.0:
|
|
180
|
-
raise InputError("chi2_ppf needs 0 < p < 1")
|
|
181
|
-
return _bisect_ppf(lambda x: chi2_cdf(x, df), p, 1e-12, 1e6)
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
def f_cdf(x: float, df1: float, df2: float) -> float:
|
|
185
|
-
"""CDF of the F distribution."""
|
|
186
|
-
if x <= 0:
|
|
187
|
-
return 0.0
|
|
188
|
-
return betainc(0.5 * df1, 0.5 * df2, df1 * x / (df1 * x + df2))
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
def f_sf(x: float, df1: float, df2: float) -> float:
|
|
192
|
-
"""Upper tail of the F distribution (the p-value for an F test).
|
|
193
|
-
|
|
194
|
-
Computed from the complementary incomplete beta rather than as 1 - cdf,
|
|
195
|
-
which underflows to exactly 0 for large F and would print a lack-of-fit
|
|
196
|
-
p-value of 0 in a validation report.
|
|
197
|
-
"""
|
|
198
|
-
if x <= 0:
|
|
199
|
-
return 1.0
|
|
200
|
-
return betainc(0.5 * df2, 0.5 * df1, df2 / (df1 * x + df2))
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
def z_ppf(p: float) -> float:
|
|
204
|
-
"""Standard normal quantile."""
|
|
205
|
-
from statistics import NormalDist
|
|
206
|
-
|
|
207
|
-
return NormalDist().inv_cdf(p)
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
# --------------------------------------------------------------------------
|
|
211
|
-
# Descriptive helpers
|
|
212
|
-
# --------------------------------------------------------------------------
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
def mean(values: Sequence[float]) -> float:
|
|
216
|
-
if not values:
|
|
217
|
-
raise InputError("mean of an empty sequence")
|
|
218
|
-
return math.fsum(values) / len(values)
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
def sample_sd(values: Sequence[float]) -> float:
|
|
222
|
-
n = len(values)
|
|
223
|
-
if n < 2:
|
|
224
|
-
return float("nan")
|
|
225
|
-
m = mean(values)
|
|
226
|
-
return math.sqrt(math.fsum((v - m) ** 2 for v in values) / (n - 1))
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
def rsd_percent(values: Sequence[float]) -> float:
|
|
230
|
-
"""Relative standard deviation (%CV). NaN when the mean is ~0."""
|
|
231
|
-
m = mean(values)
|
|
232
|
-
if abs(m) < 1e-15:
|
|
233
|
-
return float("nan")
|
|
234
|
-
return 100.0 * sample_sd(values) / abs(m)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
def median(values: Sequence[float]) -> float:
|
|
238
|
-
if not values:
|
|
239
|
-
raise InputError("median of an empty sequence")
|
|
240
|
-
s = sorted(values)
|
|
241
|
-
n = len(s)
|
|
242
|
-
mid = n // 2
|
|
243
|
-
return s[mid] if n % 2 else 0.5 * (s[mid - 1] + s[mid])
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
def sd_confidence_interval(sd: float, df: float, level: float = 0.90) -> tuple[float, float]:
|
|
247
|
-
"""Chi-square confidence interval for a standard deviation."""
|
|
248
|
-
if df <= 0 or not math.isfinite(sd):
|
|
249
|
-
return (float("nan"), float("nan"))
|
|
250
|
-
alpha = 1.0 - level
|
|
251
|
-
lo_chi = chi2_ppf(1.0 - alpha / 2.0, df)
|
|
252
|
-
hi_chi = chi2_ppf(alpha / 2.0, df)
|
|
253
|
-
return (sd * math.sqrt(df / lo_chi), sd * math.sqrt(df / hi_chi))
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
# --------------------------------------------------------------------------
|
|
257
|
-
# Regression
|
|
258
|
-
# --------------------------------------------------------------------------
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
@dataclass
|
|
262
|
-
class LinearFit:
|
|
263
|
-
"""Weighted least-squares straight-line fit and its diagnostics."""
|
|
264
|
-
|
|
265
|
-
n: int
|
|
266
|
-
slope: float
|
|
267
|
-
intercept: float
|
|
268
|
-
se_slope: float
|
|
269
|
-
se_intercept: float
|
|
270
|
-
residual_sd: float
|
|
271
|
-
r_squared: float
|
|
272
|
-
r: float
|
|
273
|
-
df: int
|
|
274
|
-
residuals: list[float] = field(default_factory=list)
|
|
275
|
-
fitted: list[float] = field(default_factory=list)
|
|
276
|
-
weights: list[float] = field(default_factory=list)
|
|
277
|
-
|
|
278
|
-
def predict(self, x: float) -> float:
|
|
279
|
-
return self.intercept + self.slope * x
|
|
280
|
-
|
|
281
|
-
def slope_ci(self, level: float = 0.95) -> tuple[float, float]:
|
|
282
|
-
t = t_ppf(0.5 + level / 2.0, self.df)
|
|
283
|
-
return (self.slope - t * self.se_slope, self.slope + t * self.se_slope)
|
|
284
|
-
|
|
285
|
-
def intercept_ci(self, level: float = 0.95) -> tuple[float, float]:
|
|
286
|
-
t = t_ppf(0.5 + level / 2.0, self.df)
|
|
287
|
-
return (self.intercept - t * self.se_intercept, self.intercept + t * self.se_intercept)
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
def fit_linear(
|
|
291
|
-
xs: Sequence[float], ys: Sequence[float], weights: Sequence[float] | None = None
|
|
292
|
-
) -> LinearFit:
|
|
293
|
-
"""Fit y = a + b*x by (optionally weighted) least squares."""
|
|
294
|
-
n = len(xs)
|
|
295
|
-
if n != len(ys):
|
|
296
|
-
raise InputError("x and y must be the same length")
|
|
297
|
-
if n < 3:
|
|
298
|
-
raise InputError("a regression needs at least 3 points")
|
|
299
|
-
w = [1.0] * n if weights is None else [float(v) for v in weights]
|
|
300
|
-
if len(w) != n:
|
|
301
|
-
raise InputError("weights must match the number of points")
|
|
302
|
-
if any(v < 0 for v in w):
|
|
303
|
-
raise InputError("weights must be non-negative")
|
|
304
|
-
|
|
305
|
-
sw = math.fsum(w)
|
|
306
|
-
swx = math.fsum(wi * xi for wi, xi in zip(w, xs))
|
|
307
|
-
swy = math.fsum(wi * yi for wi, yi in zip(w, ys))
|
|
308
|
-
swxx = math.fsum(wi * xi * xi for wi, xi in zip(w, xs))
|
|
309
|
-
swxy = math.fsum(wi * xi * yi for wi, xi, yi in zip(w, xs, ys))
|
|
310
|
-
denom = sw * swxx - swx * swx
|
|
311
|
-
if abs(denom) < 1e-300:
|
|
312
|
-
raise InputError("x values are collinear or identical; slope is undefined")
|
|
313
|
-
|
|
314
|
-
slope = (sw * swxy - swx * swy) / denom
|
|
315
|
-
intercept = (swy - slope * swx) / sw
|
|
316
|
-
fitted = [intercept + slope * xi for xi in xs]
|
|
317
|
-
residuals = [yi - fi for yi, fi in zip(ys, fitted)]
|
|
318
|
-
df = n - 2
|
|
319
|
-
ss_res = math.fsum(wi * ri * ri for wi, ri in zip(w, residuals))
|
|
320
|
-
residual_sd = math.sqrt(ss_res / df)
|
|
321
|
-
se_slope = residual_sd * math.sqrt(sw / denom)
|
|
322
|
-
se_intercept = residual_sd * math.sqrt(swxx / denom)
|
|
323
|
-
|
|
324
|
-
ybar_w = swy / sw
|
|
325
|
-
ss_tot = math.fsum(wi * (yi - ybar_w) ** 2 for wi, yi in zip(w, ys))
|
|
326
|
-
r_squared = 1.0 - ss_res / ss_tot if ss_tot > 0 else float("nan")
|
|
327
|
-
r = math.copysign(math.sqrt(max(0.0, r_squared)), slope)
|
|
328
|
-
|
|
329
|
-
return LinearFit(
|
|
330
|
-
n=n,
|
|
331
|
-
slope=slope,
|
|
332
|
-
intercept=intercept,
|
|
333
|
-
se_slope=se_slope,
|
|
334
|
-
se_intercept=se_intercept,
|
|
335
|
-
residual_sd=residual_sd,
|
|
336
|
-
r_squared=r_squared,
|
|
337
|
-
r=r,
|
|
338
|
-
df=df,
|
|
339
|
-
residuals=residuals,
|
|
340
|
-
fitted=fitted,
|
|
341
|
-
weights=w,
|
|
342
|
-
)
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
def runs_test(residuals: Sequence[float]) -> dict[str, Any]:
|
|
346
|
-
"""Wald-Wolfowitz runs test on residual signs.
|
|
347
|
-
|
|
348
|
-
ICH Q2(R2) 3.2.2.1 asks for the impact of any non-random pattern in the
|
|
349
|
-
residual plot to be assessed. Curvature shows up as too few runs.
|
|
350
|
-
"""
|
|
351
|
-
signs = [1 if r >= 0 else -1 for r in residuals if r != 0]
|
|
352
|
-
n = len(signs)
|
|
353
|
-
n_pos = sum(1 for s in signs if s > 0)
|
|
354
|
-
n_neg = n - n_pos
|
|
355
|
-
runs = 1 + sum(1 for i in range(1, n) if signs[i] != signs[i - 1]) if n else 0
|
|
356
|
-
if n_pos < 1 or n_neg < 1 or n < 8:
|
|
357
|
-
return {
|
|
358
|
-
"runs": runs,
|
|
359
|
-
"n_pos": n_pos,
|
|
360
|
-
"n_neg": n_neg,
|
|
361
|
-
"z": float("nan"),
|
|
362
|
-
"p_value": float("nan"),
|
|
363
|
-
"note": "too few points for a meaningful runs test (need n>=8 with both signs)",
|
|
364
|
-
}
|
|
365
|
-
exp = 2.0 * n_pos * n_neg / n + 1.0
|
|
366
|
-
var = (2.0 * n_pos * n_neg * (2.0 * n_pos * n_neg - n)) / (n * n * (n - 1.0))
|
|
367
|
-
if var <= 0:
|
|
368
|
-
return {"runs": runs, "n_pos": n_pos, "n_neg": n_neg, "z": float("nan"),
|
|
369
|
-
"p_value": float("nan"), "note": "degenerate variance"}
|
|
370
|
-
z = (runs - exp) / math.sqrt(var)
|
|
371
|
-
from statistics import NormalDist
|
|
372
|
-
|
|
373
|
-
p = 2.0 * NormalDist().cdf(-abs(z))
|
|
374
|
-
return {"runs": runs, "n_pos": n_pos, "n_neg": n_neg, "expected_runs": exp,
|
|
375
|
-
"z": z, "p_value": p, "note": ""}
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
def lack_of_fit(xs: Sequence[float], ys: Sequence[float], fit: LinearFit) -> dict[str, Any]:
|
|
379
|
-
"""ANOVA lack-of-fit F test, which needs replicate y at some x levels.
|
|
380
|
-
|
|
381
|
-
This is the statistically meaningful test of a linear calibration model.
|
|
382
|
-
r-squared is not: it rises with range and is insensitive to curvature.
|
|
383
|
-
"""
|
|
384
|
-
groups: dict[float, list[float]] = {}
|
|
385
|
-
for x, y in zip(xs, ys):
|
|
386
|
-
groups.setdefault(round(float(x), 12), []).append(float(y))
|
|
387
|
-
k = len(groups)
|
|
388
|
-
n = len(xs)
|
|
389
|
-
replicated = sum(1 for vals in groups.values() if len(vals) > 1)
|
|
390
|
-
df_pe = n - k
|
|
391
|
-
df_lof = k - 2
|
|
392
|
-
if df_pe < 1 or df_lof < 1:
|
|
393
|
-
return {
|
|
394
|
-
"applicable": False,
|
|
395
|
-
"levels": k,
|
|
396
|
-
"replicated_levels": replicated,
|
|
397
|
-
"reason": "needs replicates at >=1 level and >=3 distinct levels",
|
|
398
|
-
}
|
|
399
|
-
ss_pe = math.fsum(
|
|
400
|
-
math.fsum((v - mean(vals)) ** 2 for v in vals) for vals in groups.values()
|
|
401
|
-
)
|
|
402
|
-
ss_res = math.fsum(r * r for r in fit.residuals)
|
|
403
|
-
ss_lof = max(0.0, ss_res - ss_pe)
|
|
404
|
-
ms_pe = ss_pe / df_pe
|
|
405
|
-
ms_lof = ss_lof / df_lof
|
|
406
|
-
if ms_pe <= 0:
|
|
407
|
-
return {"applicable": False, "levels": k, "replicated_levels": replicated,
|
|
408
|
-
"reason": "zero pure-error variance; replicates are identical"}
|
|
409
|
-
f_stat = ms_lof / ms_pe
|
|
410
|
-
return {
|
|
411
|
-
"applicable": True,
|
|
412
|
-
"levels": k,
|
|
413
|
-
"replicated_levels": replicated,
|
|
414
|
-
"df_lack_of_fit": df_lof,
|
|
415
|
-
"df_pure_error": df_pe,
|
|
416
|
-
"ms_lack_of_fit": ms_lof,
|
|
417
|
-
"ms_pure_error": ms_pe,
|
|
418
|
-
"f_statistic": f_stat,
|
|
419
|
-
"p_value": f_sf(f_stat, df_lof, df_pe),
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
def heteroscedasticity(xs: Sequence[float], residuals: Sequence[float]) -> dict[str, Any]:
|
|
424
|
-
"""Compare residual spread in the lowest and highest thirds of the range.
|
|
425
|
-
|
|
426
|
-
A large ratio means unweighted least squares over-weights the top of the
|
|
427
|
-
curve, which biases back-calculated results at the bottom -- exactly where
|
|
428
|
-
an impurity reporting threshold or an LLOQ lives.
|
|
429
|
-
"""
|
|
430
|
-
pairs = sorted(zip(xs, residuals), key=lambda p: p[0])
|
|
431
|
-
n = len(pairs)
|
|
432
|
-
if n < 6:
|
|
433
|
-
return {"applicable": False, "reason": "needs at least 6 points"}
|
|
434
|
-
cut = max(2, n // 3)
|
|
435
|
-
low = [r for _, r in pairs[:cut]]
|
|
436
|
-
high = [r for _, r in pairs[-cut:]]
|
|
437
|
-
var_low = math.fsum(r * r for r in low) / len(low)
|
|
438
|
-
var_high = math.fsum(r * r for r in high) / len(high)
|
|
439
|
-
if var_low <= 0:
|
|
440
|
-
return {"applicable": False, "reason": "zero residual variance in the low third"}
|
|
441
|
-
ratio = var_high / var_low
|
|
442
|
-
return {
|
|
443
|
-
"applicable": True,
|
|
444
|
-
"n_low": len(low),
|
|
445
|
-
"n_high": len(high),
|
|
446
|
-
"variance_ratio_high_over_low": ratio,
|
|
447
|
-
"sd_ratio": math.sqrt(ratio),
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
# --------------------------------------------------------------------------
|
|
452
|
-
# Variance components (precision)
|
|
453
|
-
# --------------------------------------------------------------------------
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
@dataclass
|
|
457
|
-
class PrecisionComponents:
|
|
458
|
-
"""One-way random-effects decomposition of precision."""
|
|
459
|
-
|
|
460
|
-
grand_mean: float
|
|
461
|
-
n_total: int
|
|
462
|
-
n_groups: int
|
|
463
|
-
ms_between: float
|
|
464
|
-
ms_within: float
|
|
465
|
-
df_between: int
|
|
466
|
-
df_within: int
|
|
467
|
-
sd_repeatability: float
|
|
468
|
-
sd_between: float
|
|
469
|
-
sd_intermediate: float
|
|
470
|
-
balanced: bool
|
|
471
|
-
n_effective: float
|
|
472
|
-
|
|
473
|
-
def rsd(self, sd: float) -> float:
|
|
474
|
-
if abs(self.grand_mean) < 1e-15:
|
|
475
|
-
return float("nan")
|
|
476
|
-
return 100.0 * sd / abs(self.grand_mean)
|
|
477
|
-
|
|
478
|
-
def satterthwaite_df(self) -> float:
|
|
479
|
-
"""Effective df for the total (intermediate) SD."""
|
|
480
|
-
var_total = self.sd_intermediate ** 2
|
|
481
|
-
if var_total <= 0:
|
|
482
|
-
return float("nan")
|
|
483
|
-
n = self.n_effective
|
|
484
|
-
c1 = 1.0 / n
|
|
485
|
-
c2 = (n - 1.0) / n
|
|
486
|
-
num = var_total ** 2
|
|
487
|
-
den = 0.0
|
|
488
|
-
if self.df_between > 0:
|
|
489
|
-
den += (c1 * self.ms_between) ** 2 / self.df_between
|
|
490
|
-
if self.df_within > 0:
|
|
491
|
-
den += (c2 * self.ms_within) ** 2 / self.df_within
|
|
492
|
-
return num / den if den > 0 else float("nan")
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
def one_way_components(groups: dict[str, Sequence[float]]) -> PrecisionComponents:
|
|
496
|
-
"""Decompose precision into within-group and between-group components.
|
|
497
|
-
|
|
498
|
-
Groups are the intermediate-precision factor -- day, analyst, instrument,
|
|
499
|
-
or a combined run. Within-group scatter estimates repeatability; the total
|
|
500
|
-
estimates intermediate precision.
|
|
501
|
-
"""
|
|
502
|
-
clean = {k: [float(v) for v in vals] for k, vals in groups.items() if len(vals) >= 1}
|
|
503
|
-
if len(clean) < 2:
|
|
504
|
-
raise InputError("intermediate precision needs at least 2 groups")
|
|
505
|
-
if all(len(v) < 2 for v in clean.values()):
|
|
506
|
-
raise InputError("at least one group needs >=2 replicates to estimate repeatability")
|
|
507
|
-
|
|
508
|
-
counts = [len(v) for v in clean.values()]
|
|
509
|
-
n_total = sum(counts)
|
|
510
|
-
k = len(clean)
|
|
511
|
-
all_values = [v for vals in clean.values() for v in vals]
|
|
512
|
-
grand = mean(all_values)
|
|
513
|
-
|
|
514
|
-
ss_within = math.fsum(
|
|
515
|
-
math.fsum((v - mean(vals)) ** 2 for v in vals) for vals in clean.values()
|
|
516
|
-
)
|
|
517
|
-
ss_between = math.fsum(len(vals) * (mean(vals) - grand) ** 2 for vals in clean.values())
|
|
518
|
-
df_within = n_total - k
|
|
519
|
-
df_between = k - 1
|
|
520
|
-
ms_within = ss_within / df_within if df_within > 0 else float("nan")
|
|
521
|
-
ms_between = ss_between / df_between if df_between > 0 else float("nan")
|
|
522
|
-
|
|
523
|
-
balanced = len(set(counts)) == 1
|
|
524
|
-
if balanced:
|
|
525
|
-
n_eff = float(counts[0])
|
|
526
|
-
else:
|
|
527
|
-
# Standard unbalanced coefficient for the expected mean square.
|
|
528
|
-
n_eff = (n_total - math.fsum(c * c for c in counts) / n_total) / (k - 1)
|
|
529
|
-
|
|
530
|
-
var_within = max(0.0, ms_within) if math.isfinite(ms_within) else 0.0
|
|
531
|
-
var_between = 0.0
|
|
532
|
-
if math.isfinite(ms_between) and math.isfinite(ms_within) and n_eff > 0:
|
|
533
|
-
var_between = max(0.0, (ms_between - ms_within) / n_eff)
|
|
534
|
-
|
|
535
|
-
return PrecisionComponents(
|
|
536
|
-
grand_mean=grand,
|
|
537
|
-
n_total=n_total,
|
|
538
|
-
n_groups=k,
|
|
539
|
-
ms_between=ms_between,
|
|
540
|
-
ms_within=ms_within,
|
|
541
|
-
df_between=df_between,
|
|
542
|
-
df_within=df_within,
|
|
543
|
-
sd_repeatability=math.sqrt(var_within),
|
|
544
|
-
sd_between=math.sqrt(var_between),
|
|
545
|
-
sd_intermediate=math.sqrt(var_within + var_between),
|
|
546
|
-
balanced=balanced,
|
|
547
|
-
n_effective=n_eff,
|
|
548
|
-
)
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
# --------------------------------------------------------------------------
|
|
552
|
-
# Method comparison
|
|
553
|
-
# --------------------------------------------------------------------------
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
def deming(
|
|
557
|
-
xs: Sequence[float], ys: Sequence[float], lambda_ratio: float = 1.0
|
|
558
|
-
) -> dict[str, Any]:
|
|
559
|
-
"""Deming regression: errors in both variables.
|
|
560
|
-
|
|
561
|
-
`lambda_ratio` is var(error in y) / var(error in x) -- the variance of the
|
|
562
|
-
random error in the TEST (y) procedure over that in the COMPARATIVE (x) one.
|
|
563
|
-
Check the direction against the limits, which are unambiguous: as
|
|
564
|
-
lambda -> infinity the fit converges on the ordinary least-squares slope of
|
|
565
|
-
y on x (x treated as error-free), and as lambda -> 0 it converges on the
|
|
566
|
-
inverse regression (y treated as error-free). lambda = 1 means equal error
|
|
567
|
-
variances and reduces to orthogonal regression.
|
|
568
|
-
|
|
569
|
-
In practice lambda is estimated as (SD of x replicates / SD of y replicates)
|
|
570
|
-
squared, so equal-precision procedures give 1.
|
|
571
|
-
|
|
572
|
-
Ordinary least squares assumes x is error-free, which is false when
|
|
573
|
-
comparing two measurement procedures, and biases the slope toward zero.
|
|
574
|
-
"""
|
|
575
|
-
n = len(xs)
|
|
576
|
-
if n != len(ys):
|
|
577
|
-
raise InputError("x and y must be the same length")
|
|
578
|
-
if n < 3:
|
|
579
|
-
raise InputError("Deming regression needs at least 3 points")
|
|
580
|
-
if lambda_ratio <= 0:
|
|
581
|
-
raise InputError("lambda_ratio must be > 0")
|
|
582
|
-
|
|
583
|
-
def _fit(xv: Sequence[float], yv: Sequence[float]) -> tuple[float, float]:
|
|
584
|
-
xb, yb = mean(xv), mean(yv)
|
|
585
|
-
sxx = math.fsum((x - xb) ** 2 for x in xv)
|
|
586
|
-
syy = math.fsum((y - yb) ** 2 for y in yv)
|
|
587
|
-
sxy = math.fsum((x - xb) * (y - yb) for x, y in zip(xv, yv))
|
|
588
|
-
if abs(sxy) < 1e-300:
|
|
589
|
-
raise InputError("zero covariance; Deming slope is undefined")
|
|
590
|
-
term = syy - lambda_ratio * sxx
|
|
591
|
-
slope = (term + math.sqrt(term * term + 4.0 * lambda_ratio * sxy * sxy)) / (
|
|
592
|
-
2.0 * sxy
|
|
593
|
-
)
|
|
594
|
-
return slope, yb - slope * xb
|
|
595
|
-
|
|
596
|
-
slope, intercept = _fit(xs, ys)
|
|
597
|
-
|
|
598
|
-
# Jackknife standard errors.
|
|
599
|
-
slopes, intercepts = [], []
|
|
600
|
-
for i in range(n):
|
|
601
|
-
xv = list(xs[:i]) + list(xs[i + 1 :])
|
|
602
|
-
yv = list(ys[:i]) + list(ys[i + 1 :])
|
|
603
|
-
try:
|
|
604
|
-
s, a = _fit(xv, yv)
|
|
605
|
-
except InputError:
|
|
606
|
-
continue
|
|
607
|
-
slopes.append(s)
|
|
608
|
-
intercepts.append(a)
|
|
609
|
-
if len(slopes) > 2:
|
|
610
|
-
m = len(slopes)
|
|
611
|
-
se_slope = math.sqrt((m - 1) / m * math.fsum((s - mean(slopes)) ** 2 for s in slopes))
|
|
612
|
-
se_int = math.sqrt(
|
|
613
|
-
(m - 1) / m * math.fsum((a - mean(intercepts)) ** 2 for a in intercepts)
|
|
614
|
-
)
|
|
615
|
-
df = m - 2
|
|
616
|
-
else:
|
|
617
|
-
se_slope = se_int = float("nan")
|
|
618
|
-
df = 1
|
|
619
|
-
|
|
620
|
-
t = t_ppf(0.975, df) if df > 0 else float("nan")
|
|
621
|
-
return {
|
|
622
|
-
"n": n,
|
|
623
|
-
"lambda_ratio": lambda_ratio,
|
|
624
|
-
"slope": slope,
|
|
625
|
-
"intercept": intercept,
|
|
626
|
-
"se_slope": se_slope,
|
|
627
|
-
"se_intercept": se_int,
|
|
628
|
-
"slope_ci95": (slope - t * se_slope, slope + t * se_slope),
|
|
629
|
-
"intercept_ci95": (intercept - t * se_int, intercept + t * se_int),
|
|
630
|
-
"df": df,
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
def passing_bablok(xs: Sequence[float], ys: Sequence[float]) -> dict[str, Any]:
|
|
635
|
-
"""Passing-Bablok regression: non-parametric, no distributional assumption.
|
|
636
|
-
|
|
637
|
-
Robust to outliers and does not assume a known error-variance ratio, which
|
|
638
|
-
is why CLSI EP09-style method comparison work often prefers it.
|
|
639
|
-
"""
|
|
640
|
-
n = len(xs)
|
|
641
|
-
if n != len(ys):
|
|
642
|
-
raise InputError("x and y must be the same length")
|
|
643
|
-
if n < 5:
|
|
644
|
-
raise InputError("Passing-Bablok needs at least 5 points")
|
|
645
|
-
|
|
646
|
-
slopes: list[float] = []
|
|
647
|
-
for i in range(n):
|
|
648
|
-
for j in range(i + 1, n):
|
|
649
|
-
dx = xs[j] - xs[i]
|
|
650
|
-
dy = ys[j] - ys[i]
|
|
651
|
-
if dx == 0 and dy == 0:
|
|
652
|
-
continue
|
|
653
|
-
if dx == 0:
|
|
654
|
-
continue # vertical pair carries no finite slope
|
|
655
|
-
slopes.append(dy / dx)
|
|
656
|
-
if not slopes:
|
|
657
|
-
raise InputError("no usable pairwise slopes")
|
|
658
|
-
|
|
659
|
-
slopes.sort()
|
|
660
|
-
n_slopes = len(slopes)
|
|
661
|
-
shift = sum(1 for s in slopes if s < -1.0)
|
|
662
|
-
|
|
663
|
-
def _shifted_median(offset: int) -> float:
|
|
664
|
-
idx = n_slopes // 2 + offset
|
|
665
|
-
if n_slopes % 2:
|
|
666
|
-
return slopes[min(max(idx, 0), n_slopes - 1)]
|
|
667
|
-
lo = slopes[min(max(idx - 1, 0), n_slopes - 1)]
|
|
668
|
-
hi = slopes[min(max(idx, 0), n_slopes - 1)]
|
|
669
|
-
return 0.5 * (lo + hi)
|
|
670
|
-
|
|
671
|
-
slope = _shifted_median(shift)
|
|
672
|
-
intercept = median([y - slope * x for x, y in zip(xs, ys)])
|
|
673
|
-
|
|
674
|
-
# Rank-based 95% CI on the slope. M1 and M2 are 1-based order statistics of
|
|
675
|
-
# the shifted slope list, so both convert to 0-based with the same -1.
|
|
676
|
-
c = z_ppf(0.975) * math.sqrt(n * (n - 1.0) * (2.0 * n + 5.0) / 18.0)
|
|
677
|
-
m1 = int(round((n_slopes - c) / 2.0))
|
|
678
|
-
m2 = n_slopes - m1 + 1
|
|
679
|
-
lo_idx = min(max(m1 + shift - 1, 0), n_slopes - 1)
|
|
680
|
-
hi_idx = min(max(m2 + shift - 1, 0), n_slopes - 1)
|
|
681
|
-
slope_lo, slope_hi = slopes[lo_idx], slopes[hi_idx]
|
|
682
|
-
int_lo = median([y - slope_hi * x for x, y in zip(xs, ys)])
|
|
683
|
-
int_hi = median([y - slope_lo * x for x, y in zip(xs, ys)])
|
|
684
|
-
|
|
685
|
-
return {
|
|
686
|
-
"n": n,
|
|
687
|
-
"n_slopes": n_slopes,
|
|
688
|
-
"slope": slope,
|
|
689
|
-
"intercept": intercept,
|
|
690
|
-
"slope_ci95": (slope_lo, slope_hi),
|
|
691
|
-
"intercept_ci95": (int_lo, int_hi),
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
def bland_altman(
|
|
696
|
-
xs: Sequence[float], ys: Sequence[float], relative: bool = False
|
|
697
|
-
) -> dict[str, Any]:
|
|
698
|
-
"""Bias and limits of agreement between paired measurements."""
|
|
699
|
-
n = len(xs)
|
|
700
|
-
if n != len(ys):
|
|
701
|
-
raise InputError("x and y must be the same length")
|
|
702
|
-
if n < 3:
|
|
703
|
-
raise InputError("Bland-Altman needs at least 3 pairs")
|
|
704
|
-
means = [0.5 * (x + y) for x, y in zip(xs, ys)]
|
|
705
|
-
if relative:
|
|
706
|
-
diffs = []
|
|
707
|
-
for x, y, m in zip(xs, ys, means):
|
|
708
|
-
if abs(m) < 1e-15:
|
|
709
|
-
raise InputError("relative differences need non-zero pair means")
|
|
710
|
-
diffs.append(100.0 * (y - x) / m)
|
|
711
|
-
else:
|
|
712
|
-
diffs = [y - x for x, y in zip(xs, ys)]
|
|
713
|
-
|
|
714
|
-
bias = mean(diffs)
|
|
715
|
-
sd = sample_sd(diffs)
|
|
716
|
-
t = t_ppf(0.975, n - 1)
|
|
717
|
-
se_bias = sd / math.sqrt(n)
|
|
718
|
-
loa_lo, loa_hi = bias - 1.96 * sd, bias + 1.96 * sd
|
|
719
|
-
se_loa = sd * math.sqrt(1.0 / n + (1.96 ** 2) / (2.0 * (n - 1)))
|
|
720
|
-
|
|
721
|
-
# Proportional-bias check: does the difference trend with the mean?
|
|
722
|
-
trend = None
|
|
723
|
-
try:
|
|
724
|
-
tf = fit_linear(means, diffs)
|
|
725
|
-
t_stat = tf.slope / tf.se_slope if tf.se_slope > 0 else float("nan")
|
|
726
|
-
trend = {
|
|
727
|
-
"slope": tf.slope,
|
|
728
|
-
"p_value": 2.0 * (1.0 - t_cdf(abs(t_stat), tf.df)) if math.isfinite(t_stat) else float("nan"),
|
|
729
|
-
}
|
|
730
|
-
except InputError:
|
|
731
|
-
trend = None
|
|
732
|
-
|
|
733
|
-
return {
|
|
734
|
-
"n": n,
|
|
735
|
-
"relative": relative,
|
|
736
|
-
"bias": bias,
|
|
737
|
-
"sd_differences": sd,
|
|
738
|
-
"bias_ci95": (bias - t * se_bias, bias + t * se_bias),
|
|
739
|
-
"loa_lower": loa_lo,
|
|
740
|
-
"loa_upper": loa_hi,
|
|
741
|
-
"loa_ci95_halfwidth": t * se_loa,
|
|
742
|
-
"proportional_bias": trend,
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
def tost_paired(
|
|
747
|
-
diffs: Sequence[float], margin: float, alpha: float = 0.05
|
|
748
|
-
) -> dict[str, Any]:
|
|
749
|
-
"""Two one-sided tests for equivalence on paired differences.
|
|
750
|
-
|
|
751
|
-
Absence of a significant difference is not evidence of equivalence. TOST
|
|
752
|
-
tests the hypothesis that actually matters at a method transfer: that the
|
|
753
|
-
true difference lies inside +/- margin.
|
|
754
|
-
"""
|
|
755
|
-
n = len(diffs)
|
|
756
|
-
if n < 2:
|
|
757
|
-
raise InputError("TOST needs at least 2 differences")
|
|
758
|
-
if margin <= 0:
|
|
759
|
-
raise InputError("margin must be > 0")
|
|
760
|
-
d = mean(diffs)
|
|
761
|
-
sd = sample_sd(diffs)
|
|
762
|
-
se = sd / math.sqrt(n)
|
|
763
|
-
df = n - 1
|
|
764
|
-
if se <= 0:
|
|
765
|
-
raise InputError("zero variability; TOST is undefined")
|
|
766
|
-
t_lower = (d + margin) / se
|
|
767
|
-
t_upper = (d - margin) / se
|
|
768
|
-
p_lower = 1.0 - t_cdf(t_lower, df)
|
|
769
|
-
p_upper = t_cdf(t_upper, df)
|
|
770
|
-
p = max(p_lower, p_upper)
|
|
771
|
-
t_crit = t_ppf(1.0 - alpha, df)
|
|
772
|
-
ci = (d - t_crit * se, d + t_crit * se)
|
|
773
|
-
return {
|
|
774
|
-
"n": n,
|
|
775
|
-
"mean_difference": d,
|
|
776
|
-
"sd_difference": sd,
|
|
777
|
-
"margin": margin,
|
|
778
|
-
"alpha": alpha,
|
|
779
|
-
"p_lower": p_lower,
|
|
780
|
-
"p_upper": p_upper,
|
|
781
|
-
"p_value": p,
|
|
782
|
-
"ci_1_minus_2alpha": ci,
|
|
783
|
-
"equivalent": bool(ci[0] > -margin and ci[1] < margin),
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
# --------------------------------------------------------------------------
|
|
788
|
-
# I/O
|
|
789
|
-
# --------------------------------------------------------------------------
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
def read_input(path: str | None) -> str:
|
|
793
|
-
"""Read a bounded amount of text from a path or stdin."""
|
|
794
|
-
if path in (None, "-"):
|
|
795
|
-
# Reading a terminal would block forever with no indication why, so an
|
|
796
|
-
# omitted --input becomes an error rather than an apparent hang.
|
|
797
|
-
if path is None and sys.stdin.isatty():
|
|
798
|
-
raise InputError("no input given; pass --input FILE, or '-' to read stdin")
|
|
799
|
-
data = sys.stdin.read(MAX_INPUT_BYTES + 1)
|
|
800
|
-
else:
|
|
801
|
-
p = Path(path)
|
|
802
|
-
if not p.is_file():
|
|
803
|
-
raise InputError(f"not a file: {path}")
|
|
804
|
-
if p.stat().st_size > MAX_INPUT_BYTES:
|
|
805
|
-
raise InputError(f"input larger than {MAX_INPUT_BYTES} bytes")
|
|
806
|
-
data = p.read_text(encoding="utf-8", errors="replace")
|
|
807
|
-
if len(data) > MAX_INPUT_BYTES:
|
|
808
|
-
raise InputError(f"input larger than {MAX_INPUT_BYTES} bytes")
|
|
809
|
-
return data
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
def parse_rows(text: str, path_hint: str | None = None) -> list[dict[str, str]]:
|
|
813
|
-
"""Parse CSV, TSV, or a JSON array of objects into a list of dicts."""
|
|
814
|
-
stripped = text.lstrip()
|
|
815
|
-
if stripped.startswith("[") or stripped.startswith("{"):
|
|
816
|
-
try:
|
|
817
|
-
payload = json.loads(stripped)
|
|
818
|
-
except json.JSONDecodeError as exc:
|
|
819
|
-
raise InputError(f"invalid JSON: {exc}") from exc
|
|
820
|
-
if isinstance(payload, dict):
|
|
821
|
-
payload = payload.get("rows", payload.get("data"))
|
|
822
|
-
if not isinstance(payload, list):
|
|
823
|
-
raise InputError("JSON input must be an array of objects, or {\"rows\": [...]}")
|
|
824
|
-
# Refuse rather than truncate: silently dropping validation data would
|
|
825
|
-
# produce a clean-looking result computed on part of the study.
|
|
826
|
-
if len(payload) > MAX_ROWS:
|
|
827
|
-
raise InputError(f"more than {MAX_ROWS} rows")
|
|
828
|
-
rows = []
|
|
829
|
-
for item in payload:
|
|
830
|
-
if not isinstance(item, dict):
|
|
831
|
-
raise InputError("JSON rows must be objects")
|
|
832
|
-
rows.append({str(k): "" if v is None else str(v) for k, v in item.items()})
|
|
833
|
-
if not rows:
|
|
834
|
-
raise InputError("no data rows found")
|
|
835
|
-
return rows
|
|
836
|
-
|
|
837
|
-
delimiter = "\t" if (path_hint or "").endswith((".tsv", ".tab")) else None
|
|
838
|
-
if delimiter is None:
|
|
839
|
-
first = text.splitlines()[0] if text.splitlines() else ""
|
|
840
|
-
delimiter = "\t" if first.count("\t") > first.count(",") else ","
|
|
841
|
-
reader = csv.DictReader(io.StringIO(text), delimiter=delimiter)
|
|
842
|
-
rows = []
|
|
843
|
-
for i, row in enumerate(reader):
|
|
844
|
-
if i >= MAX_ROWS:
|
|
845
|
-
raise InputError(f"more than {MAX_ROWS} rows")
|
|
846
|
-
rows.append({(k or "").strip(): (v or "").strip() for k, v in row.items()})
|
|
847
|
-
if not rows:
|
|
848
|
-
raise InputError("no data rows found")
|
|
849
|
-
return rows
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
def require_columns(rows: list[dict[str, str]], columns: Iterable[str]) -> None:
|
|
853
|
-
present = set(rows[0].keys())
|
|
854
|
-
missing = [c for c in columns if c not in present]
|
|
855
|
-
if missing:
|
|
856
|
-
raise InputError(
|
|
857
|
-
f"missing required column(s): {', '.join(missing)}; found: {', '.join(sorted(present))}"
|
|
858
|
-
)
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
def to_float(value: str, column: str, row_index: int) -> float:
|
|
862
|
-
try:
|
|
863
|
-
return float(str(value).strip())
|
|
864
|
-
except (TypeError, ValueError) as exc:
|
|
865
|
-
raise InputError(
|
|
866
|
-
f"row {row_index + 1}: column '{column}' is not numeric: {value!r}"
|
|
867
|
-
) from exc
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
def fmt(value: Any, digits: int = 4) -> str:
|
|
871
|
-
"""Format a number for a table cell."""
|
|
872
|
-
if value is None:
|
|
873
|
-
return ""
|
|
874
|
-
if isinstance(value, bool):
|
|
875
|
-
return "yes" if value else "no"
|
|
876
|
-
if isinstance(value, float):
|
|
877
|
-
if math.isnan(value):
|
|
878
|
-
return "n/a"
|
|
879
|
-
if math.isinf(value):
|
|
880
|
-
return "inf"
|
|
881
|
-
if value != 0 and (abs(value) < 1e-4 or abs(value) >= 1e6):
|
|
882
|
-
return f"{value:.{digits}e}"
|
|
883
|
-
return f"{value:.{digits}f}"
|
|
884
|
-
return str(value)
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
def emit_table(rows: list[dict[str, Any]], stream=None) -> None:
|
|
888
|
-
"""Print aligned columns."""
|
|
889
|
-
stream = stream or sys.stdout
|
|
890
|
-
if not rows:
|
|
891
|
-
print("(no rows)", file=stream)
|
|
892
|
-
return
|
|
893
|
-
headers = list(rows[0].keys())
|
|
894
|
-
cells = [[fmt(r.get(h)) for h in headers] for r in rows]
|
|
895
|
-
widths = [
|
|
896
|
-
max(len(h), *(len(c[i]) for c in cells)) if cells else len(h)
|
|
897
|
-
for i, h in enumerate(headers)
|
|
898
|
-
]
|
|
899
|
-
print(" ".join(h.ljust(w) for h, w in zip(headers, widths)).rstrip(), file=stream)
|
|
900
|
-
for c in cells:
|
|
901
|
-
print(" ".join(v.ljust(w) for v, w in zip(c, widths)).rstrip(), file=stream)
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
def emit(rows: list[dict[str, Any]], fmt_name: str, stream=None) -> None:
|
|
905
|
-
"""Print rows as a table, TSV, or JSON."""
|
|
906
|
-
stream = stream or sys.stdout
|
|
907
|
-
if fmt_name == "json":
|
|
908
|
-
json.dump(rows, stream, indent=2, default=_json_default)
|
|
909
|
-
print(file=stream)
|
|
910
|
-
elif fmt_name == "tsv":
|
|
911
|
-
if not rows:
|
|
912
|
-
return
|
|
913
|
-
headers = list(rows[0].keys())
|
|
914
|
-
print("\t".join(headers), file=stream)
|
|
915
|
-
for r in rows:
|
|
916
|
-
print("\t".join(fmt(r.get(h)) for h in headers), file=stream)
|
|
917
|
-
else:
|
|
918
|
-
emit_table(rows, stream=stream)
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
def _json_default(obj: Any) -> Any:
|
|
922
|
-
if isinstance(obj, float) and (math.isnan(obj) or math.isinf(obj)):
|
|
923
|
-
return None
|
|
924
|
-
if isinstance(obj, tuple):
|
|
925
|
-
return list(obj)
|
|
926
|
-
raise TypeError(f"not JSON serialisable: {type(obj)!r}")
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
def note(message: str) -> None:
|
|
930
|
-
"""Write provenance and caveats to stderr so stdout stays parseable."""
|
|
931
|
-
print(f"note: {message}", file=sys.stderr)
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
def finding(message: str) -> None:
|
|
935
|
-
print(f"finding: {message}", file=sys.stderr)
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
def add_common_args(parser: argparse.ArgumentParser) -> None:
|
|
939
|
-
parser.add_argument(
|
|
940
|
-
"--format",
|
|
941
|
-
choices=("table", "tsv", "json"),
|
|
942
|
-
default="table",
|
|
943
|
-
help="output format (default: table)",
|
|
944
|
-
)
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
def run_cli(main_func) -> None:
|
|
948
|
-
"""Wrap a main() so InputError becomes a clean exit code 2."""
|
|
949
|
-
try:
|
|
950
|
-
sys.exit(main_func())
|
|
951
|
-
except InputError as exc:
|
|
952
|
-
print(f"error: {exc}", file=sys.stderr)
|
|
953
|
-
sys.exit(EXIT_INPUT_ERROR)
|
|
954
|
-
except BrokenPipeError:
|
|
955
|
-
sys.exit(EXIT_OK)
|