stata-to-pseudocode
Translare Stata to psuedocode. Use before translating to other languages.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- stata-to-pseudocode
- description
- Translare Stata to psuedocode. Use before translating to other languages.
02 资源文件 9
- 参考文档_AIWF_IMPORT.json395 B
- 资产文件assets/report_template.md3.4 KB
- 参考文档references/bioinformatics_genomics_formats.md20.7 KB
- 参考文档references/chemistry_molecular_formats.md21.5 KB
- 参考文档references/general_scientific_formats.md14.9 KB
- 参考文档references/microscopy_imaging_formats.md18.1 KB
- 参考文档references/proteomics_metabolomics_formats.md15.2 KB
- 参考文档references/spectroscopy_analytical_formats.md17.6 KB
- 脚本scripts/eda_analyzer.py20.8 KB
03 SKILL.md 正文
Stata to Pseudocode
Follow the process below to translate a stata package to an R package, whilst preserving behaviour, adapting idioms, and generating verification tests.
1. Translate the stata package to pseudocode
-- Create a pseudocode directory -- Translate the stata code in the package directory to pseudocode in the pseudocode directory -- Use the documentation in the sthlp files to inform the translation. -- Ignore all files in the testing directory -- Preserve original behaviour exactly -- Maintain code structure.
04 同仓库更多 Skills
translation-strategy
Decide whether it is worth translating a Stata package to other programming languages. Use before performing any translation.
run-stata
Use the Rstata package to run stata code
pseudocode-to-r
Translate pseudocode package to an R package whilst preserving behavior and generating verification tests. Use when translating pseudocode to R
hello
Greet the user with a friendly message
add-stata-tests-r
Iterates through each file in stata testing directory, summarises matching tests in R, adds missing tests, and summarises again. runs when user askes to "compare tests"
add-missing-tests
Iterates through each file in stata testing directory, summarises matching tests in R, adds missing tests, and summarises again. runs when user askes to "compare tests"