File size: 1,314 Bytes
5c6ca01
 
 
 
 
 
 
35bb9d3
 
 
 
048f186
 
 
 
35bb9d3
 
 
 
 
048f186
35bb9d3
048f186
 
 
35bb9d3
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
spec_version: 1
name: ShopManagerEng
type: space
runtime: fastapi
app: server.app:app
port: 8000

tasks:
  - id: market_timing
    name: "Market Price Analyst"
    description: >
      Long-horizon Phase 1: get gold (troy oz) at a reasonable cost using live or synthetic
      market quotes, coordinate with optional inventory-urgent signals, then proceed to
      craft and sell. May require multiple market steps in real mode (no hard round cap);
      synthetic mode supports classic round-budget runs.
    grader:
      type: reward_threshold
      threshold: 0.3

  - id: demand_crafter
    name: "Demand-Based Crafter (Inventory)"
    description: >
      Phase 2: use demand and demand_forecast, gold stock, and costs to pick which product
      to craft. Products: ring (1oz + $200), necklace (2oz + $300), bracelet (0.5oz + $100).
      FIFO (SQLite) pricing applies in real + DB mode for true metal cost.
    grader:
      type: reward_threshold
      threshold: 0.2

  - id: profit_negotiator
    name: "Profit Maximizer"
    description: >
      Complete the full pipeline: buy gold at a good price, craft the
      best product based on demand, and negotiate with the customer.
      Counter-offer to drive up the price before accepting.
    grader:
      type: reward_threshold
      threshold: 0.25