AASSRv2 Core
Current core release:
v1.0.1
AASSRv2 Core는 환경 구현, 플러그인 구현, 학습 실험과 자산을 포함하지 않는 순수 Python 인지 코어 패키지다. 상태와 행동, 지식 저장, 예측·상상, 정책, 궤적 평가, 환경 독립 실행 계약과 선택 설치형 PyQt Core Workbench를 제공한다.
Release scope
이 브랜치가 배포하는 범위는 다음뿐이다.
core/: AASSRv2 Core 런타임과 환경 독립 계약aassrv2_gui/: 플러그인을 포함하지 않는 PyQt Core Workbenchtests/: Core 단위·계약 테스트pyproject.toml:aassrv2-core빌드 메타데이터LICENSE,VERSION: 라이선스와 릴리즈 버전
GridWorld를 포함한 구체 환경, 플러그인, training pipeline, 연구 runner, notebook, checkpoint와 실행 결과는 이 릴리즈에 포함하지 않는다.
Install
Python 3.10 이상이 필요하다. 런타임 외부 의존성은 없다.
python -m pip install .
설치 후:
from core import Action, AASSRCore, Plugin, State
class CounterSession(Plugin):
def __init__(self) -> None:
self.value = 0
self.increment = Action("increment")
def observe(self) -> State:
return State({"value": self.value})
def available_actions(self) -> list[Action]:
return [self.increment]
def execute(self, action: Action) -> None:
if action != self.increment:
raise ValueError(action.key)
self.value += 1
core = AASSRCore(CounterSession())
transition = core.act(core.available_actions()[0])
PyQt Core Workbench
GUI를 함께 설치한다.
python -m pip install ".[gui]"
다음 중 하나로 실행한다.
aassrv2-gui
python -m aassrv2_gui
Workbench는 특정 환경이나 플러그인을 내장하지 않는다. 사용자가 현재 상태와 다음
상태를 JSON 객체로 입력하고 행동을 선택하면 실제 AASSRCore.act()를 실행해 다음을
확인할 수 있다.
- 현재 semantic state와 사용 가능한 action
- 실행된
(State, Action, Next State)ASEQ - transition history와 memory revision
- Core가 허용하는 flat scalar JSON 상태 계약
Verify and build
python -m pip install -r requirements-dev.txt
python -m pytest -q
python -m build
python -m twine check dist/*
빌드 결과의 wheel과 source distribution에는 core와 환경 독립
aassrv2_gui 패키지만 포함된다. PyQt6는 gui extra를 선택했을 때만 설치되므로
Core 자체의 런타임 의존성은 계속 0개다.
License
MIT. 자세한 내용은 LICENSE를 참고한다.
Metadata
Release files for aassrv2-core 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aassrv2_core-1.0.1.tar.gz | 25.5 kB | Without provenance | Details for aassrv2_core-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aassrv2_core-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for aassrv2_core-1.0.1-py3-none-any.whl |
Total release size: 50.4 kB
Release files / aassrv2_core-1.0.1.tar.gz
| Download URL | aassrv2_core-1.0.1.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e76a6d44349cd163b0a9f3b1a74562e95979f1390f47be937d92f51391cdc83
|
|
BLAKE2b-256 checksum How to use checksums |
311666950f5e853a2dcc4beda0c8107ecf9cca8d68804212d79bc038a323ddb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / aassrv2_core-1.0.1-py3-none-any.whl
| Download URL | aassrv2_core-1.0.1-py3-none-any.whl |
|---|---|
| Size | 24.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50d8ba683e547db752c9966fc8ceea59fb0f24991c0f6a1196149c7f7ac53de4
|
|
BLAKE2b-256 checksum How to use checksums |
b109e5db4347a306a5231cf58d41d24808826592c2e6fadf4cd0b491af8f1e16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for aassrv2-core 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.