Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
d1bdfae
update dependencies
apowers313 Jul 3, 2023
5c7f5df
remove template code
apowers313 Jul 3, 2023
f1e200b
update install to do everything
apowers313 Jul 3, 2023
1949f89
add sphinx doc generation
apowers313 Jul 4, 2023
e76bf9c
eventing scaffolding
apowers313 Jul 4, 2023
2eac0af
component scaffolding
apowers313 Jul 4, 2023
99ccd0a
initial graphdb prototype
apowers313 Jul 4, 2023
e07268d
add gym
apowers313 Jul 7, 2023
dceb9b3
add setup
apowers313 Jul 7, 2023
b7aa75c
initial event framework
apowers313 Jul 7, 2023
7b3d4b6
consolidate eventbus to events file
apowers313 Jul 7, 2023
61644de
initial component
apowers313 Jul 7, 2023
ad3f319
add default class
apowers313 Jul 7, 2023
9304fc1
rename eventbus_test
apowers313 Jul 7, 2023
f26df8c
update pytest
apowers313 Jul 7, 2023
26d32df
initial perception skeleton
apowers313 Jul 7, 2023
3af919c
placeholder file
apowers313 Jul 7, 2023
473f34d
move default settings to code
apowers313 Jul 7, 2023
8fed82c
fix tests
apowers313 Jul 7, 2023
f787de0
update dependencies
apowers313 Jul 7, 2023
2d31dc0
remove py dependency
apowers313 Jul 7, 2023
cb29b77
ignore safety check
apowers313 Jul 7, 2023
0b4ee38
rough outline of cached nodes and edges
apowers313 Jul 8, 2023
7026c4e
initial gym syntax
apowers313 Jul 10, 2023
dc70688
add cached Node and Edge
apowers313 Jul 10, 2023
5b29d63
add dependencies, poetry script
apowers313 Jul 10, 2023
8dd041d
add some notes for future documentation
apowers313 Jul 10, 2023
8f32608
add EventBus name
apowers313 Jul 10, 2023
fee3591
delint
apowers313 Jul 10, 2023
dcdd6fb
initial working graph test
apowers313 Jul 11, 2023
1623132
make graphdb a singleton
apowers313 Jul 11, 2023
02bee2f
clean up test structure and output
apowers313 Jul 12, 2023
7328a0c
add db testing and mocks
apowers313 Jul 13, 2023
b66b9c9
fix db mocks
apowers313 Jul 13, 2023
6d4ed93
refactor mocks
apowers313 Jul 13, 2023
98176fc
rename issue templates so that they temporarily don't get used
apowers313 Jul 15, 2023
cf5ae41
expand event testing
apowers313 Jul 15, 2023
0f6016e
skeleton of record feature
apowers313 Jul 15, 2023
78378d3
start exporting modules
apowers313 Jul 15, 2023
fe71c7d
add some documentation
apowers313 Jul 15, 2023
01cbf55
expanded graphdb functionality and testing
apowers313 Jul 15, 2023
860e449
add docs generation
apowers313 Jul 15, 2023
3bc8ccb
update dependencies
apowers313 Jul 15, 2023
3aa5cf2
fix test gh action
apowers313 Jul 15, 2023
b1a75c4
add coverage, delint
apowers313 Jul 15, 2023
72e1758
remove coverage badge, switching to coveralls
apowers313 Jul 15, 2023
01b7038
don't use live tests in cicd
apowers313 Jul 15, 2023
1d8f00a
tests use html coverage by default
apowers313 Jul 15, 2023
61a29c1
ignore coverage.lcov
apowers313 Jul 15, 2023
55c5d35
add missing mocks
apowers313 Jul 15, 2023
87a15c6
add coverage, update docs
apowers313 Jul 15, 2023
aa2547b
fix lint on cicd
apowers313 Jul 15, 2023
185ad83
make test depend on lint
apowers313 Jul 16, 2023
f0f0a45
add database recording for testing mocks
apowers313 Jul 16, 2023
5adbc14
test multiple event listeners
apowers313 Jul 16, 2023
01f0f3d
revamp db test mocking
apowers313 Jul 16, 2023
1d052a0
fix db mock recording
apowers313 Jul 16, 2023
3323b84
fix docs and coverage cicd
apowers313 Jul 16, 2023
b95d0a3
fix coverage
apowers313 Jul 16, 2023
61ac1c7
add vscode settings for formatting on save
apowers313 Jul 16, 2023
7674b14
streamline badges, add link to docs
apowers313 Jul 16, 2023
ae2c48d
fix docs cicd
apowers313 Jul 16, 2023
c7cb6fa
disable release drafter
apowers313 Jul 17, 2023
d47fc44
re-enable build on push
apowers313 Jul 17, 2023
bea9720
disable release drafter
apowers313 Jul 17, 2023
4ee8af3
remove windows and mac build because poetry install fails
apowers313 Jul 17, 2023
9b3e3c7
add sphinx fix for github pages
apowers313 Jul 17, 2023
4bebd97
remove docs and coverage matrix
apowers313 Jul 17, 2023
276c5b0
delint
apowers313 Jul 17, 2023
8ed1edd
delint
apowers313 Jul 17, 2023
db88a62
update pre-commit
apowers313 Jul 18, 2023
e4c0d69
delint
apowers313 Jul 18, 2023
6ec2904
don't allow live db in cicd
apowers313 Jul 18, 2023
0b7b34c
remove pygrep
apowers313 Jul 18, 2023
7cb4b67
add node.create
apowers313 Jul 18, 2023
9cbf275
remove release drafter
apowers313 Jul 18, 2023
69bf5af
update build badge
apowers313 Jul 18, 2023
7cc4cc3
ignore script in test coverage
apowers313 Jul 18, 2023
768d153
ignore .ruff_cache
apowers313 Jul 21, 2023
6edc093
minor doc formatting
apowers313 Jul 21, 2023
e023a3f
add test fixture to clean up db
apowers313 Jul 21, 2023
5e5050d
initial Node.update
apowers313 Jul 21, 2023
c889b74
add node update tests
apowers313 Jul 22, 2023
9ab3148
add node connect and some docs
apowers313 Jul 22, 2023
fb183f5
change linting order
apowers313 Jul 22, 2023
e9c9241
save nodes when no longer referenced
apowers313 Jul 22, 2023
cfeb15c
refactor raw_query into raw_fetch and raw_execute
apowers313 Jul 22, 2023
45e2c05
update debug messages
apowers313 Jul 22, 2023
accabdf
update test mock data
apowers313 Jul 22, 2023
0926267
remove PYTHONPATH from test
apowers313 Jul 22, 2023
5115885
fix params bug in execute
apowers313 Jul 22, 2023
e5d5d8f
update db mock data structure
apowers313 Jul 22, 2023
b9a1ca3
add workspace config
apowers313 Jul 22, 2023
539241b
update db test mocks
apowers313 Jul 22, 2023
cfef40a
remove windows junk
apowers313 Jul 23, 2023
8e88736
add some edge docs
apowers313 Jul 23, 2023
7a009da
update sphynx options
apowers313 Jul 23, 2023
6ea9d8c
add update-api-docs to build
apowers313 Jul 23, 2023
8cb40df
ignore generated api docs
apowers313 Jul 23, 2023
d54e4f4
add edge create
apowers313 Jul 23, 2023
64adad3
test container build
apowers313 Jul 25, 2023
70349f2
container build take 2
apowers313 Jul 25, 2023
2f8fd3f
container build take 3
apowers313 Jul 25, 2023
ab3633b
container build take 4
apowers313 Jul 25, 2023
6b1c37b
build take 5
apowers313 Jul 26, 2023
5c2056c
build take 6
apowers313 Jul 26, 2023
1841c4d
container build take 7
apowers313 Jul 26, 2023
ccbeb5d
container build take 8
apowers313 Jul 26, 2023
3ccd36f
container build take
apowers313 Jul 26, 2023
a6f4a3e
container build take 10
apowers313 Jul 26, 2023
10a9810
fix node __del__ cache bug
apowers313 Jul 27, 2023
410b39f
configure pytest warnings as errors
apowers313 Jul 27, 2023
5372cb2
move towards live db for testing
apowers313 Jul 27, 2023
9267739
fix caching errors
apowers313 Jul 28, 2023
4db0150
update build to save log artifacts
apowers313 Jul 28, 2023
f29a633
add log mount to container build
apowers313 Jul 28, 2023
0c2b65b
add log mount to container build take 2
apowers313 Jul 28, 2023
28070ad
add memgraph service to build and load test data
apowers313 Jul 28, 2023
4caa872
add load-data to makefile
apowers313 Jul 28, 2023
a5bfc5f
fix typo in github actions build
apowers313 Jul 28, 2023
536b2c4
fix env in github actions build
apowers313 Jul 28, 2023
bb6de85
fix env in github actions build take 2
apowers313 Jul 28, 2023
d68a199
fix github build by adding poetry
apowers313 Jul 28, 2023
2b58dcc
update dependencies
apowers313 Jul 28, 2023
fc0afa1
fix github build by switching container image
apowers313 Jul 28, 2023
5fccf65
fix github build by adding port mapping
apowers313 Jul 29, 2023
31a8817
fix github build by changing image
apowers313 Jul 29, 2023
717c1e9
fix github build by changing image take 2
apowers313 Jul 29, 2023
6d3f9f1
fix github build by adding service with port and localhost
apowers313 Jul 29, 2023
614b83c
fix github build by using 127.0.0.1
apowers313 Jul 29, 2023
73dc4ec
streamline and delint build yml
apowers313 Jul 29, 2023
47f209f
rename actions badge to build
apowers313 Jul 29, 2023
7cac599
refactor tests to clear db cache after tests
apowers313 Jul 29, 2023
83cb405
add edge update
apowers313 Jul 29, 2023
def769d
refactor tests to remove db mocks
apowers313 Jul 29, 2023
258e472
refactor int to NodeId and EdgeId
apowers313 Jul 29, 2023
1787663
add node delete, edge delete, simplify tests
apowers313 Jul 30, 2023
fdb6771
add test for saving edge on zero reference count
apowers313 Jul 30, 2023
c39035e
replace gqlalchemy with pymgclient
apowers313 Jul 30, 2023
efee851
delint
apowers313 Jul 31, 2023
294cf9c
use strict typing
apowers313 Aug 1, 2023
f365488
use python 3.10
apowers313 Aug 9, 2023
8b83577
convert node to basemodel
apowers313 Aug 9, 2023
76e6e8c
add edge basemodel
apowers313 Aug 9, 2023
c17ed88
remove poetry python version
apowers313 Aug 9, 2023
7a90747
revert to python 3.10 for build
apowers313 Aug 9, 2023
eca23ab
refactor data for node and edge
apowers313 Aug 10, 2023
7628af2
clean up data types
apowers313 Aug 10, 2023
affb1fa
start enabling schema by subclassing
apowers313 Aug 10, 2023
c1411bc
update dependencies
apowers313 Aug 11, 2023
61d6728
code reorg
apowers313 Aug 11, 2023
b4ecb38
delint
apowers313 Aug 12, 2023
d06203f
add node classmethods, docs
apowers313 Aug 12, 2023
b67c69f
update docs, add dependency checking
apowers313 Aug 12, 2023
5530bc8
ignore autogenerated docs/reference
apowers313 Aug 12, 2023
db7ed06
update dependencies
apowers313 Aug 12, 2023
da591e8
update edge to use self, add edge documentation
apowers313 Aug 12, 2023
5ed2b8f
update badges
apowers313 Aug 13, 2023
7681fdb
add example exports
apowers313 Aug 13, 2023
caab8a9
add pytest emoji
apowers313 Aug 13, 2023
90b865b
add logger config
apowers313 Aug 13, 2023
fb35253
add event docs
apowers313 Aug 15, 2023
9bf6b1b
add action, environment, gymnasium
apowers313 Aug 16, 2023
a93dd6b
update to latest docker image
apowers313 Aug 21, 2023
600699b
update dependencies
apowers313 Aug 21, 2023
7e187b7
add ci label management
apowers313 Aug 21, 2023
3b9fd46
saving nethack bits for bottom line
apowers313 Aug 25, 2023
f3f6991
refactor label files
apowers313 Aug 26, 2023
9157e29
update dependencies
apowers313 Aug 26, 2023
17e548e
update labels path
apowers313 Aug 26, 2023
27df6e2
add doc coverage to pre-push
apowers313 Aug 26, 2023
f108fcc
use makefile for pre-commit
apowers313 Aug 26, 2023
544376c
configure doc coverage
apowers313 Aug 26, 2023
403e790
update labels workflow
apowers313 Aug 26, 2023
9ede495
update ruff
apowers313 Aug 26, 2023
226be50
add high priority label
apowers313 Aug 26, 2023
346690e
update labels
apowers313 Aug 26, 2023
765b057
add all labels
apowers313 Aug 26, 2023
51ea67e
add label icons
apowers313 Aug 26, 2023
600645b
fix bug label bug
apowers313 Aug 26, 2023
9cf228e
remove github template junk, reduce dependabot verbosity
apowers313 Aug 26, 2023
73d8764
add log filter
apowers313 Aug 27, 2023
711df7d
add play to Makefile
apowers313 Aug 27, 2023
12626de
add event to string conversation
apowers313 Aug 27, 2023
35a68f9
delint
apowers313 Aug 27, 2023
755d212
refactor config
apowers313 Aug 27, 2023
960f63c
delint
apowers313 Aug 27, 2023
99f11d5
delint
apowers313 Aug 27, 2023
3eb358c
refactor logging for modules
apowers313 Aug 27, 2023
379965d
ignore del errors during testing
apowers313 Aug 29, 2023
b26d94d
refactor node and edge cache
apowers313 Aug 29, 2023
d4aa713
remove cache info
apowers313 Aug 29, 2023
bfb0a6e
refactor graphdb to allow multiple databases
apowers313 Aug 29, 2023
e75d32c
improve event pretty printing
apowers313 Aug 29, 2023
f1ae5c6
ignore nle play data
apowers313 Aug 30, 2023
3f84e3a
interim commit for gym interface
apowers313 Aug 30, 2023
554277a
add register component, replace environment with perception
apowers313 Sep 1, 2023
b6f5a3b
refactor init, refactor config, refactor gym
apowers313 Sep 3, 2023
c16e86a
delint
apowers313 Sep 3, 2023
dd84b55
refactor component, add perception, add action
apowers313 Sep 5, 2023
fa5e91c
update coverage specs
apowers313 Sep 5, 2023
7707994
remove better_exceptions, reconfigure pytest
apowers313 Sep 5, 2023
60462de
refactor connection interface
apowers313 Sep 6, 2023
5a8f274
refactor settings, remove dynaconf, add component tests, add percepti…
apowers313 Sep 7, 2023
331257a
fix config prefix
apowers313 Sep 13, 2023
83ce93d
fix bus connection shutdown, add delta perception
apowers313 Sep 14, 2023
6135e65
fix coverage reporting
apowers313 Sep 16, 2023
8954286
add coverage lcov file generation
apowers313 Sep 16, 2023
8d6768c
fix lint warning
apowers313 Sep 16, 2023
7fb119e
initial module documentation
apowers313 Sep 17, 2023
5044966
remove environment module
apowers313 Sep 17, 2023
36d7f89
add initial class documentation
apowers313 Sep 18, 2023
66c368a
enable all code in docs, even if undocumented
apowers313 Sep 18, 2023
65043d0
add docs for eventbus attributes
apowers313 Sep 18, 2023
7827ea9
increase doc coverage requirement
apowers313 Sep 18, 2023
acd7543
add docs
apowers313 Sep 19, 2023
7cde3c9
add FeatureExtractor
apowers313 Sep 19, 2023
4cd2e7d
add docs
apowers313 Sep 19, 2023
18bd061
add ability to pass config to Config.init
apowers313 Sep 20, 2023
82a2a5b
add doc index
apowers313 Sep 20, 2023
698eb0e
refactor delta, refactor perception bus
apowers313 Sep 20, 2023
81e3a6b
fix doc build
apowers313 Sep 20, 2023
aee7143
update dependencies
apowers313 Jan 20, 2024
cbd4600
update docs
apowers313 Jan 20, 2024
0e82cb0
disable pytest reporing emojis to fix vscode :(
apowers313 Jan 21, 2024
a832af0
fix post-testing error when db isn't closed
apowers313 Jan 21, 2024
71a1114
ignore graphdb mypy errors, ignore new safety errors
apowers313 Apr 27, 2024
83d8fcb
update vscode settings
apowers313 Apr 27, 2024
4b0285e
update build deps
apowers313 Apr 27, 2024
1de269a
delint
apowers313 Apr 27, 2024
01fdd9e
fix safety
apowers313 Apr 27, 2024
e58c46f
update poetry lock file
apowers313 Apr 27, 2024
e69f8c5
update docs
apowers313 Apr 27, 2024
0e45057
update ruff dependency
apowers313 May 4, 2024
f43a5ac
fix vscode settings, add recommended vscode extensions
apowers313 May 4, 2024
9d06e73
:arrow_up: Bump pytest-html from 3.2.0 to 4.1.1
dependabot[bot] May 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

28 changes: 0 additions & 28 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"
allow:
- dependency-type: "all"
commit-message:
Expand All @@ -17,7 +17,7 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"
allow:
- dependency-type: "all"
commit-message:
Expand All @@ -27,7 +27,7 @@ updates:
- package-ecosystem: "docker"
directory: "/docker"
schedule:
interval: "weekly"
interval: "monthly"
allow:
- dependency-type: "all"
commit-message:
Expand Down
33 changes: 33 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
- name: priority:high
description: This is a high priority
color: e99695
- name: priority:medium
description: This is a medium priority
color: fef2c0
- name: priority:low
description: This is a low priority
color: c2e0c6
- name: 🐞 type:bug
description: Error. Does not compute.
color: ffffff
- name: ☢️ type:core
description: Core feature
color: ffffff
- name: ⬇ type:dep
description: Pull requests that update a dependency file
color: ffffff
- name: 📦 type:devops
description: CI/CD
color: ffffff
- name: 📒 type:docs
description: Improvements or additions to documentation
color: ffffff
- name: ♻️ type:refactor
description: Refactoring to streamline code.
color: ffffff
- name: ✏️ type:test
description: Improvements to tests or test coverage
color: ffffff
- name: 🛠 type:tools
description: Supporting features for debugging, etc.
color: ffffff
44 changes: 22 additions & 22 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Release drafter configuration https://github.com/release-drafter/release-drafter#configuration
# Emojis were chosen to match the https://gitmoji.carloscuesta.me/
# # Release drafter configuration https://github.com/release-drafter/release-drafter#configuration
# # Emojis were chosen to match the https://gitmoji.carloscuesta.me/

name-template: "v$NEXT_PATCH_VERSION"
tag-template: "v$NEXT_PATCH_VERSION"
# name-template: "v$NEXT_PATCH_VERSION"
# tag-template: "v$NEXT_PATCH_VERSION"

categories:
- title: ":rocket: Features"
labels: [enhancement, feature]
- title: ":wrench: Fixes & Refactoring"
labels: [bug, refactoring, bugfix, fix]
- title: ":package: Build System & CI/CD"
labels: [build, ci, testing]
- title: ":boom: Breaking Changes"
labels: [breaking]
- title: ":pencil: Documentation"
labels: [documentation]
- title: ":arrow_up: Dependencies updates"
labels: [dependencies]
# categories:
# - title: ":rocket: Features"
# labels: [enhancement, feature]
# - title: ":wrench: Fixes & Refactoring"
# labels: [bug, refactoring, bugfix, fix]
# - title: ":package: Build System & CI/CD"
# labels: [build, ci, testing]
# - title: ":boom: Breaking Changes"
# labels: [breaking]
# - title: ":pencil: Documentation"
# labels: [documentation]
# - title: ":arrow_up: Dependencies updates"
# labels: [dependencies]

template: |
## What’s Changed
# template: |
# ## What’s Changed

$CHANGES
# $CHANGES

## :busts_in_silhouette: List of contributors
# ## :busts_in_silhouette: List of contributors

$CONTRIBUTORS
# $CONTRIBUTORS
88 changes: 78 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,110 @@
name: build
name: Build

on: [push, pull_request]
on: [push]

jobs:
build:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.9"]
os: [ubuntu-latest]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v4.7.0
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: make poetry-download
run: |
make poetry-download
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Set up cache
uses: actions/cache@v2.1.6
uses: actions/cache@v3.3.1
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}

- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run safety checks
run: |
make check-safety

- name: Run style checks
run: |
make check-codestyle

build:
needs: lint

runs-on: ubuntu-latest

services:
mg:
image: ghcr.io/apowers313/roc-dev:1.3.0
ports:
- 7687:7687

strategy:
matrix:
# TODO: fix poetry install on mac and windows
# os: [windows-latest, ubuntu-latest, macos-latest]
os: [ubuntu-latest]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.0
with:
python-version: ${{ matrix.python-version }}

- name: Set up cache
uses: actions/cache@v3.3.1
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}

- name: Install poetry
run: |
make poetry-download
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install

# - name: Load database test data
# run: |
# make load-data

- name: Run tests
run: |
make test

- name: Run safety checks
- name: Build coverage
run: |
make check-safety
make coverage

- name: Publish Coverage
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: coverage.lcov

- name: Docs build
run: |
make docs

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: site
16 changes: 0 additions & 16 deletions .github/workflows/greetings.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Sync labels
on:
push:
branches:
- master
paths:
- .github/labels.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml
Loading