extract-test-set
Extract raw price dataframe for a test case
How do I install this agent skill?
npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill extract-test-setIs this agent skill safe to install?
- Gen Agent Trust Hubfail
This skill instructs the agent to generate and execute ad-hoc Python code and shell commands based on user-provided input, creating a high risk of arbitrary code execution (RCE).
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/1 file flagged
What does this agent skill do?
Extract test set from raw prices
This is a skill to extract price data from the raw prices for an isolated unit test.
Inputs
- Smart contract address and a blockchain as a blockchain explorer link
- Test case name
Relevant files
Seek metadata and Parquet information here:
Ad-hoc script
Create an ad-hoc Python script that reads
Script inputs
- chain id (numeric) - address tuple
- test case name
Scripts
- Extracts the price series from
DEFAULT_UNCLEANED_PRICE_DATABASE
Script outputs
- Pytest test module with a single test case
- Related Parquet file containing price data only for this vault
Write test case
Then the script creates test_xxx file, stores metadata there inline and creates corresponding test_xxx_price.parquet file for the test case to read.
- Include only a single test function, do not generate excessive tests
Run the script
- After running the script, run the generated test case
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/tradingstrategy-ai/web3-ethereum-defi/extract-test-set">View extract-test-set on skillZs</a>