Files
factorio-learning-environment/clean.sh
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

13 lines
312 B
Bash
Executable File

#!/bin/bash
# Clean script to remove build artifacts before creating a new package
echo "Cleaning build artifacts..."
# Remove build directories
rm -rf dist/
rm -rf factorio_learning_environment/
# Remove any __pycache__ directories
find . -type d -name "__pycache__" -exec rm -rf {} +
echo "Clean complete."