File size: 1,934 Bytes
b086716
 
 
 
 
 
 
 
c5997d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
---
title: Cloud Data Janitor
emoji: 🧹
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
---
# Cloud Data Janitor

## Overview

Cloud Data Janitor is an OpenEnv-compatible environment that simulates a messy cloud storage system similar to Google Drive.  
An agent interacts with the environment to organize files, delete unnecessary data, and optimize storage.

The environment follows the standard OpenEnv API:

- reset()
- state()
- step()

Rewards are given based on how well the agent completes tasks.

---

## Tasks

The environment includes three difficulty levels:

### Easy
Organize important documents by moving them into the correct folder.

### Medium
Delete unnecessary files while preserving important files.

### Hard
Optimize storage usage while protecting critical folders.

Each task returns a score between **0.0 and 1.0**.

---

## Project Structure

cloud-data-janitor/

agent/  
environment/  
actions/  
grader/  
utils/  
data/

inference.py  
openenv.yaml  
Dockerfile  
requirements.txt  
README.md  

---

## How to Run

### Run Locally

python inference.py

---

### Run Specific Task (Windows)

set MY_ENV_V4_TASK=easy  
python inference.py

To run other tasks:

set MY_ENV_V4_TASK=medium  
python inference.py

set MY_ENV_V4_TASK=hard  
python inference.py

---

## Run with Docker

Build the Docker image:

docker build -t cloud-data-janitor .

Run the environment:

docker run -e MY_ENV_V4_TASK=easy cloud-data-janitor

You can replace easy with:

medium  
hard  

---

## Output Format

The program prints:

[START]  
[STEP]  
[END]

Example:

[START] task=easy env=cloud-data-janitor model=rule-agent  
[STEP] step=1 reward=0.50 done=false error=null  
[END] success=true steps=2 score=1.00 rewards=0.50,1.00  

---

## Requirements

- Python 3.10 or later
- Docker

---

## Status

This project is:

- OpenEnv compatible
- Deterministic
- Docker ready
- Fully functional
- Submission ready