Index / Business and law / Finance, banking and insurance
LexEnvs Credit Card Optimization Tasks
endishai/lexenvs-tasks
Complete 164 credit card optimisation scenarios by recommending the best cards with expected value calculations under a user's spending and constraints.
Good for
- RL on constrained financial recommendations
- rubric-scored evaluation
Reward
- How it is scored
- Mixed
- Signal
- Graded, 0 to 1
A Harbor server scores answers on weighted dimensions such as EV accuracy and constraint compliance, with some dimensions needing human review.
How to run it
1. From the cardcopied from the publisher's own instructions
from datasets import load_dataset
dataset = load_dataset("endishai/lexenvs-tasks")2. Get the filesthe whole repository, to a local folder
hf download endishai/lexenvs-tasks --repo-type dataset --local-dir lexenvs-tasks
3. Check it with Harborcommon pattern, not from this card
# the oracle agent runs the reference solution, so no model is called
harbor run --repo https://huggingface.co/datasets/endishai/lexenvs-tasks --agent oracleIf every task passes, the environment works on your machine. Then swap in your own agent and model. Some repositories keep the tasks in a subfolder; the card says where.
Framework documentation: Harbor.