Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions environments/community/crypto_defi_reasoning/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Crypto DeFi Reasoning Environment

## Overview
Trains LLMs to reason about DeFi protocol health, tokenomics, liquidity metrics,
and on-chain data using structured mathematical analysis.

The model is given real-world style DeFi scenarios and must:
1. Reason through the data mathematically inside `<reasoning>` tags
2. Produce a verdict: **HEALTHY**, **OVERVALUED**, **UNDERVALUED**, or **RISKY**

## Scenario Types
| Type | Description |
|---|---|
| Tokenomics Health | FDV/MCap ratio, circulating supply pressure, volume analysis |
| Liquidity Analysis | TVL/MCap ratio, protocol revenue, inflation rate |
| DeFi Yield | APY sustainability, token emission pressure on TVL |
| On-Chain Activity | Active wallets, transaction volume vs market cap |

## Reward Signal
| Component | Score |
|---|---|
| Correct verdict label | 0.5 |
| Has `<reasoning>` block | 0.2 |
| Reasoning contains numerical calculations | 0.1 |
| Reasoning depth (>100 chars) | 0.1 |
| Has `<verdict>` block | 0.1 |

## Usage
```bash
python environments/community/crypto_defi_reasoning/crypto_defi_reasoning_server.py serve \
--openai.model_name NousResearch/Hermes-3-Llama-3.1-8B \
--slurm false
```

## Author
Investorquab — community contributor
Empty file.
Loading