Commit Graph

3 Commits

Author SHA1 Message Date
kiankyars
a62f7f208c Restructure (#274)
* add changes

* refactor: clean up unused Docker scripts and redundant files

Remove unused and redundant files from fle/cluster/docker/:

- main.py: Redundant Python script that duplicates run_local.sh functionality
  with hardcoded ports and basic container management. Not used in workflow.

- install-docker.sh: AWS EC2-specific setup script with hardcoded instance
  (ec2-18-133-239-115) and outdated Amazon Linux commands. Current workflow
  uses docker-compose instead.

- probe.sh: Simple port checking script using lsof. Redundant since
  docker-compose handles health checks and container status monitoring.

- setup_docker_repo.sh: AWS ECR-specific setup with hardcoded AWS account
  (216370203482). Contains mostly commented code and unused ECR repository
  configuration. Not used in current workflow.

- requirements.txt: Redundant Python dependency file. Docker is a system
  dependency, not a Python package. The Python docker SDK is already
  included in pyproject.toml dependencies.

Kept essential files: Dockerfile, build scripts, run scripts, config/,
mods/, and README.md which are actively used in the Docker workflow.

* refactor: move lib/ and tools/ to mods/, clean up fle/env/utils/ (all deleted files were unused), prep for entrypoints/ refactor

* readd

* last undo

* refactor: move evaluator.py to algorithms/mcts, move experiment entrypoints to entrypoints/, update imports accordingly

* version info

* incorrect gitignore

* style: replace all relative imports in fle.agents with absolute imports

* simplify gitignore

* commit

* gitignore

* redo

* update

* No code is importing the fle.agents.data package/module

* exclude data/prompts from ruff lint/format in pre-commit

* yaml

* Files were cleared but not deleted

* finalize Neel's suggestions

* Jul 12, 2025 at 13:29

* Jul 12, 2025 at 15:47

* push

* Jul 12, 2025 at 16:03

* Jul 12, 2025 at 16:03

* Jul 12, 2025 at 16:03

* fix

* fix

* fix

* push

* push

* Jul 12, 2025 at 17:48

* remove publish on merge
2025-07-17 17:12:47 +03:00
Neel Kant
2412bccd52 Adding/Tweaking gym env tests (#249)
* started restructure

* mv scripts

* wont need sys.paths - breaking change

* rename env/src to env

* renamed from env.src to from env.

* mcp server changes

* added fle.env.__init__ with changed imports

* eval changes

* db_client to commons

* moved modules around and continuing to standardaise and fix imports

* even more module import fixes + stdzn

* agents changes no bueno

* import fixes and standardization

* DANGEROUS SCRIPT REMOVED

* removed legacy_gym_env

* fixing imports

* removed rcon from env

* gym_eval works

* Update .gitignore

Remove s/venv type and add trajectory_logs which was added in gym pr.

* remove Exceptions pursuant to issue 229.

* move MANUAL_short.md to algorithms/beam since that’s where it’s used. And delete MANUAL.md since it’s unused.

* add back exception removed incorrectly

* fixing env -> fle/env

* updated for new structure

* leftover changes

* update project structure in readme

* removed legacy building scripts

* moved common.models.camera.py::Camera to entities.py

* reduce relative imports + move time TimeMetrics to fix circular imports

* move all file writes to .fle directory

* fix camera circular import + reduce relative imports

* clean entrypoint + -m fle.run --run_config runs out of the box

* fixed imports

* remove deprecated code from db_client.py

* type annotation error - the function signature says it returns List[str] but it actually returns a tuple of three lists.

* moved camera.py out of entities

* fixed path issues

* fixed imports

* fixes to save_load but not for blueprint_based_policy

* fix code pushed by mistake

* fixed imports + brought some usage upto date

* import fixes

* fixed game.instance usage

* fixed imports

* fixed imports

* moved cluster_ips to commons

* remove unused section in readme

* fix: standardize all README naming to README.md

* added cluster dep

* Delete manifest since it is only used with setup tools which has been removed. And migrate pytest.ini to pyproject.

* delete function in fle/cluster/scenarios/default_lab_scenario/control.lua tagged for deletion

* add missing quotations

* hot fix to render was using old luaplayer moved to agent character

* cluster commons change

* removed path

* default lab scenario small

added new

* add project urls

* rewrite clean.sh

* add more tests and correct older ones

* more observation tests

* Fixed direction ref

---------

Co-authored-by: hrshtt <harshsha64@gmail.com>
Co-authored-by: kiankyars <69437137+kiankyars@users.noreply.github.com>
Co-authored-by: Kian Kyars <kiankyars@gmail.com>
Co-authored-by: Jack Hopkins <jack.hopkins@me.com>
2025-07-06 19:40:19 -07:00
Jack Hopkins
2eb53cc6bf Plots 2024-12-11 13:44:32 +00:00