extract-test-set

Extract test set from raw prices

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "extract-test-set" with this command: npx skills add tradingstrategy-ai/web3-ethereum-defi/tradingstrategy-ai-web3-ethereum-defi-extract-test-set

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:

  • vault database

  • data wrangling

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

get-block-number

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

check-vault-onchain

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

extract-project-logo

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

more-vaults

No summary provided by upstream source.

Repository SourceNeeds Review