meta-hackathon-project / openenv.yaml
Vidhiii1711's picture
updated some files
9d5d2ab
Raw History Blame Contribute Delete
2.25 kB
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