backtesting
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]:
- The validation script
scripts/validate.pyuses thesubprocess.runfunction to execute thepytesttest runner. - Evidence:
subprocess.run([sys.executable, "-m", "pytest", "skills/backtesting/tests/test_ratios.py", "-q"], ...) - This execution is restricted to a specific local test file and is used solely for regression testing of the framework's mathematical ratios.
- [SAFE]:
- All core financial logic is implemented via flat NumPy-vectorized functions in
scripts/ratios.pyandscripts/indicators.py. - Data ingestion is restricted to structured CSV files processed through Pandas, with no evidence of dynamic code generation from external data.
- The skill does not perform any network operations or include external dependencies beyond well-known scientific libraries.
Audit Metadata