File size: 2,246 Bytes
e7729e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d5d2ab
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
spec_version: 1
name: smart-farm-irrigation
type: space
runtime: fastapi
app: server.app:app
port: 8000

metadata:
  title: Smart Farm Irrigation Assistant
  description: >
    An AI environment that simulates real-world crop irrigation management.
    The AI agent decides how much to water crops daily based on weather 
    conditions, soil moisture, and crop health to maximize crop yield 
    while minimizing water waste.
  author: Vidhi Singh
  version: 1.0.0
  tags:
    - agriculture
    - irrigation
    - real-world
    - water-conservation
    - india

tasks:
  - name: easy_irrigation
    description: >
      Keep soil moisture in healthy range for 7 days.
      Fixed temperature, no rainfall. Beginner level.
    difficulty: easy
    max_steps: 7
    scoring: 0.0-1.0

  - name: medium_irrigation
    description: >
      Manage irrigation across 14 days with changing 
      temperatures and random rainfall events.
      AI must avoid watering on rainy days.
    difficulty: medium
    max_steps: 14
    scoring: 0.0-1.0

  - name: hard_irrigation
    description: >
      Full 30-day crop season management across 3 crop 
      stages (seedling, growing, mature). Each stage needs
      different moisture levels. Maximize final crop yield.
    difficulty: hard
    max_steps: 30
    scoring: 0.0-1.0

observation_space:
  temperature:
    type: float
    range: 0.0-60.0
    unit: celsius
    source: weather_api
  rainfall:
    type: float
    range: 0.0-500.0
    unit: mm
    source: weather_api
  soil_moisture:
    type: float
    range: 0.0-100.0
    unit: percentage
    source: sensor_or_calculated
    optional: true
  crop_health:
    type: enum
    options: [poor, fair, good, excellent]
    source: user_input
  day_number:
    type: integer
    range: 1-30
    source: auto
  crop_stage:
    type: enum
    options: [seedling, growing, mature]
    source: auto

action_space:
  water_amount:
    type: enum
    options:
      none: 0mm of water
      low: 10mm of water
      medium: 25mm of water
      high: 50mm of water

reward:
  type: float
  range: -1.0 to 1.0
  signals:
    - moisture_in_ideal_range
    - water_conservation_bonus
    - rain_day_penalty
    - crop_stage_compliance
    - final_yield_score