################ REPO: ailed ################ f390a3c chore: scaffold ailed library ---- diff --stat ---- .gitignore | 4 + pyproject.toml | 16 ++ src/ailed/__init__.py | 1 + tests/test_smoke.py | 2 + uv.lock | 691 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 714 insertions(+) ---- full diff -U10 (uv.lock elided, it is generated) ---- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..64c75f7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.venv/ +__pycache__/ +*.egg-info/ +.pytest_cache/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..c2c2357 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[project] +name = "ailed" +version = "0.1.0" +description = "Relational-affective organism: affective CPPN, RP, GRP, 2-axis affect" +requires-python = ">=3.11" +dependencies = ["torch>=2.2", "numpy>=1.26"] + +[dependency-groups] +dev = ["pytest>=8"] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["src/ailed"] diff --git a/src/ailed/__init__.py b/src/ailed/__init__.py new file mode 100644 index 0000000..1fa96c2 --- /dev/null +++ b/src/ailed/__init__.py @@ -0,0 +1 @@ +"""AILED: relational-affective organism. See AILED_General_Specification.md.""" diff --git a/tests/test_smoke.py b/tests/test_smoke.py new file mode 100644 index 0000000..ad3d8a2 --- /dev/null +++ b/tests/test_smoke.py @@ -0,0 +1,2 @@ +def test_import(): + import ailed # noqa: F401 ################ REPO: experiments ################ b1944ee chore: scaffold experiments repo depending on ../ailed ---- diff --stat ---- .gitignore | 4 + pyproject.toml | 14 ++ tests/test_smoke.py | 2 + uv.lock | 712 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 732 insertions(+) ---- full diff -U10 (uv.lock elided, it is generated) ---- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..39d6dc8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.venv/ +__pycache__/ +.pytest_cache/ +results/*.json diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..95548a8 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "ailed-experiments" +version = "0.1.0" +requires-python = ">=3.11" +dependencies = ["ailed", "torch>=2.2", "numpy>=1.26"] + +[tool.uv.sources] +ailed = { path = "../ailed", editable = true } + +[dependency-groups] +dev = ["pytest>=8"] + +[tool.pytest.ini_options] +pythonpath = ["."] diff --git a/tests/test_smoke.py b/tests/test_smoke.py new file mode 100644 index 0000000..eb78778 --- /dev/null +++ b/tests/test_smoke.py @@ -0,0 +1,2 @@ +def test_library_importable(): + import ailed # noqa: F401 ################ REPO: paper ################ c58386b chore: paper scaffold ---- diff --stat ---- .gitignore | 4 ++++ README.md | 9 +++++++++ 2 files changed, 13 insertions(+) ---- full diff -U10 (uv.lock elided, it is generated) ---- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5895bce --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.aux +*.log +*.out +_build/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..14eade1 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# AILED: A Domain-Free Relational-Affective Organism + +Manuscript for the second AILED paper. Design: `../AILED_General_Specification.md`. + +Claims: +- **A1, affect-gated adaptation.** Arousal biases the memory gate; recovery after an unannounced regime change approaches the change-flag oracle. +- **A2, affective topology.** The CPPN kernel with affect as input recovers part of the regime-id oracle's ceiling. + +Results are produced by `../experiments/regime.py` and copied here as tables. ################ tracked files ################ -- ailed .gitignore pyproject.toml src/ailed/__init__.py tests/test_smoke.py uv.lock -- experiments .gitignore pyproject.toml tests/test_smoke.py uv.lock -- paper .gitignore README.md