Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
329 commits
Select commit Hold shift + click to select a range
864c0c7
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
94b61ea
Making a doc cleanup.
DrLynch Dec 26, 2022
5d728a1
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
2c37e0a
Updating running for observer server.
Jan 8, 2023
8410f9e
Fixing minor error in writing analysis.
Jan 8, 2023
8eda692
Updating with comments.
DrLynch Feb 9, 2023
38b9fd4
Minor cleaning.
DrLynch Mar 3, 2023
6956a5c
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
34cbe91
Adding exec.
Mar 3, 2023
1f77305
Fixing load error on google.py startup to ablate unneeded code.
Mar 7, 2023
cac7a8a
Fixing basic error in aggregator.
Mar 7, 2023
2d3fbfd
Fixing new dashboard structure.
Mar 7, 2023
e388676
Minor tweak to service startup.
DrLynch Mar 16, 2023
de8f063
Making minor fix in module loading for new libraries.
DrLynch Mar 16, 2023
6266fb6
Adding explicit cuda call.
DrLynch Mar 17, 2023
e0d38fa
Updating Add script to deal with 12x bug on spacy install.
Mar 17, 2023
160df28
Rebasing from master and adding module updates.
DrLynch May 24, 2023
61212b4
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
0f4262e
Adding initialization scripts.
DrLynch Dec 8, 2022
961d9ac
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
1857392
Adding in error catch for cases where student has no last document wh…
Dec 8, 2022
40639e8
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
f273a8c
Adding updates to deal with data alignment problem.
Dec 19, 2022
4b5a6d0
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
3facc7b
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
0329115
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
aa2bfce
Removing some unnecessary info.
DrLynch Dec 26, 2022
98c3c45
Making a doc cleanup.
DrLynch Dec 26, 2022
d503dde
Updating writing analysis to better deal with event types.
Jan 8, 2023
b51dd66
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
d2060c8
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
6189557
Updating running for observer server.
Jan 8, 2023
379bb73
Fixing minor error in writing analysis.
Jan 8, 2023
4766c22
Updating documentation with additional local note files which will be…
DrLynch Nov 16, 2022
9022e96
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
20c5966
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
65aeef4
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
359fb4f
Updating doc branch.
DrLynch Dec 22, 2022
17edb05
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
6fc9660
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
d290dc3
Making a doc cleanup.
DrLynch Dec 26, 2022
fe34023
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
61390bd
Updating running for observer server.
Jan 8, 2023
3778d9c
Fixing minor error in writing analysis.
Jan 8, 2023
68c52d9
Minor cleaning.
DrLynch Mar 3, 2023
bc792f8
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
9f99592
Making minor fix in module loading for new libraries.
DrLynch Mar 16, 2023
c0107fb
Adding explicit cuda call.
DrLynch Mar 17, 2023
53cb30d
Updating Add script to deal with 12x bug on spacy install.
Mar 17, 2023
ea11dd7
Cleaning up minor differences after rebase.
DrLynch May 26, 2023
24e8956
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
6859e0f
Updating documentation on installation scripts.
DrLynch Dec 3, 2022
381bd2a
Adding initialization scripts.
DrLynch Dec 8, 2022
2f92d3c
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
d15f325
Adding in error catch for cases where student has no last document wh…
Dec 8, 2022
b5cc02e
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
b2e6e77
Adding updates to deal with data alignment problem.
Dec 19, 2022
730679d
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
2254042
Add settings to dropdown menu
JohnDamilola Dec 23, 2022
d7e897b
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
f3ff569
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
aacb047
Making a doc cleanup.
DrLynch Dec 26, 2022
07fe530
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
5af92af
Updating running for observer server.
Jan 8, 2023
ceb3957
Fixing minor error in writing analysis.
Jan 8, 2023
32c4acd
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
ec2039a
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
90e030b
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
2075b4e
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
1777003
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
1559c94
Making a doc cleanup.
DrLynch Dec 26, 2022
f127725
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
fe75022
Updating running for observer server.
Jan 8, 2023
4391a9a
Fixing minor error in writing analysis.
Jan 8, 2023
e1e99d6
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
f98dce2
Fixing basic error in aggregator.
Mar 7, 2023
52ad6cd
Fixing new dashboard structure.
Mar 7, 2023
b0665fb
Adding explicit cuda call.
DrLynch Mar 17, 2023
a0190f5
Updating Add script to deal with 12x bug on spacy install.
Mar 17, 2023
f3daae5
Rebasing from master and adding module updates.
DrLynch May 24, 2023
f3b9506
Updating documentation with additional local note files which will be…
DrLynch Nov 16, 2022
7f7e26f
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
1455604
Adding initialization scripts.
DrLynch Dec 8, 2022
d2db996
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
b1fb73c
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
06f8a63
Adding updates to deal with data alignment problem.
Dec 19, 2022
8cec8d2
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
fecea6c
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
926ad16
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
afb9f40
Making a doc cleanup.
DrLynch Dec 26, 2022
c3f28ec
Updating writing analysis to better deal with event types.
Jan 8, 2023
a28943f
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
c10ae35
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
5a4b181
Updating running for observer server.
Jan 8, 2023
093e523
Fixing minor error in writing analysis.
Jan 8, 2023
e52b109
Migrate extension from v2 to v3
JohnDamilola Jan 27, 2023
f3bc04d
Add more code comments/documentation
JohnDamilola Feb 10, 2023
4ad2fec
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
b478438
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
26dc7a7
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
4a16531
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
576ef6a
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
4119b6a
Making a doc cleanup.
DrLynch Dec 26, 2022
746a156
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
cc75cef
Updating running for observer server.
Jan 8, 2023
f884590
Fixing minor error in writing analysis.
Jan 8, 2023
e58091e
Minor cleaning.
DrLynch Mar 3, 2023
a4f39e6
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
63c8f23
Minor spacing cleanup.
DrLynch Mar 16, 2023
76669dd
Fix content script unload/reload
JohnDamilola Mar 3, 2023
8e2b087
Making minor fix in module loading for new libraries.
DrLynch Mar 16, 2023
b3424c3
Adding explicit cuda call.
DrLynch Mar 17, 2023
c09ee4d
Updating Add script to deal with 12x bug on spacy install.
Mar 17, 2023
21e64aa
Cleaning up minor differences after rebase.
DrLynch May 26, 2023
ed76fd0
Caching Initial Commit (#80)
sarthakbabbar3 Jun 8, 2023
0401d8b
Lo components fix (#96)
DrLynch Jun 28, 2023
a39530c
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
f9ee6b0
Adding initialization scripts.
DrLynch Dec 8, 2022
ee1edd2
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
69f044a
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
53f7842
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
d4baab2
Add settings to dropdown menu
JohnDamilola Dec 23, 2022
dddcc94
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
05795f0
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
055a81d
Making a doc cleanup.
DrLynch Dec 26, 2022
41ac792
Updating writing analysis to better deal with event types.
Jan 8, 2023
bdda572
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
d33a95c
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
7601da1
Updating running for observer server.
Jan 8, 2023
82b5406
Fixing minor error in writing analysis.
Jan 8, 2023
4ab7e72
Migrate extension from v2 to v3
JohnDamilola Jan 27, 2023
3e9c3cb
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
4584806
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
80e9a24
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
6d6df21
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
a5c5e9e
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
fe65051
Making a doc cleanup.
DrLynch Dec 26, 2022
69f9cab
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
1c53f6d
Updating running for observer server.
Jan 8, 2023
2260dbc
Fixing minor error in writing analysis.
Jan 8, 2023
75dbe7c
Minor cleaning.
DrLynch Mar 3, 2023
8b07a4e
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
efc0379
Fix content script unload/reload
JohnDamilola Mar 3, 2023
9f7ca86
Minor tweak to service startup.
DrLynch Mar 16, 2023
c1c8338
Making minor fix in module loading for new libraries.
DrLynch Mar 16, 2023
5164799
Adding explicit cuda call.
DrLynch Mar 17, 2023
753d225
Updating Add script to deal with 12x bug on spacy install.
Mar 17, 2023
d11e842
Fixing the manifest issue for permissions. (#81)
DrLynch May 23, 2023
3b4f5b2
Rebasing from master and adding module updates.
DrLynch May 24, 2023
f4440f7
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
76b66de
Adding initialization scripts.
DrLynch Dec 8, 2022
164fed7
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
9900392
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
11c5365
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
51814ff
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
83a32b1
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
8a6c70f
Making a doc cleanup.
DrLynch Dec 26, 2022
1e3bb5e
Updating writing analysis to better deal with event types.
Jan 8, 2023
377ab1e
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
efa792e
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
30c13ce
Updating running for observer server.
Jan 8, 2023
1c140d5
Fixing minor error in writing analysis.
Jan 8, 2023
094e767
Migrate extension from v2 to v3
JohnDamilola Jan 27, 2023
954afb6
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
17b75fb
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
01d5802
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
206e3f5
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
a8c894d
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
6a9f3c2
Making a doc cleanup.
DrLynch Dec 26, 2022
b09065e
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
4a29d61
Updating running for observer server.
Jan 8, 2023
71645d7
Fixing minor error in writing analysis.
Jan 8, 2023
c822be7
Minor cleaning.
DrLynch Mar 3, 2023
80c5b41
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
5d623b1
Fix content script unload/reload
JohnDamilola Mar 3, 2023
6a7db9f
Making minor fix in module loading for new libraries.
DrLynch Mar 16, 2023
61060bd
Adding explicit cuda call.
DrLynch Mar 17, 2023
5337b2a
Updating Add script to deal with 12x bug on spacy install.
Mar 17, 2023
8014373
Cleaning up minor differences after rebase.
DrLynch May 26, 2023
85bc9d7
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
b474c41
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
41757d0
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
fe0c44a
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
c066c23
Add settings to dropdown menu
JohnDamilola Dec 23, 2022
7f95a92
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
1585550
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
f80319d
Making a doc cleanup.
DrLynch Dec 26, 2022
96fb537
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
bdd5e6d
Updating running for observer server.
Jan 8, 2023
119d26f
Fixing minor error in writing analysis.
Jan 8, 2023
fe035ec
Migrate extension from v2 to v3
JohnDamilola Jan 27, 2023
899e13e
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
8d30001
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
ae461f5
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
0629f9a
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
01545dd
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
1dc9ca1
Making a doc cleanup.
DrLynch Dec 26, 2022
b1f2b35
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
414887d
Updating running for observer server.
Jan 8, 2023
7779da1
Fixing minor error in writing analysis.
Jan 8, 2023
1a035a4
Minor cleaning.
DrLynch Mar 3, 2023
b274547
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
9497e73
Fix content script unload/reload
JohnDamilola Mar 3, 2023
14435b1
Minor tweak to service startup.
DrLynch Mar 16, 2023
d904da4
Fixing the manifest issue for permissions. (#81)
DrLynch May 23, 2023
a67cded
Rebasing from master and adding module updates.
DrLynch May 24, 2023
b376590
Pushing general modifications made to the extension to support local …
DrLynch Nov 16, 2022
a039e87
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
db81148
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
de9131d
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
545981e
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
e303fa9
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
d23915f
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
dc5593e
Making a doc cleanup.
DrLynch Dec 26, 2022
048e613
Updating writing analysis to better deal with event types.
Jan 8, 2023
359bffa
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
7b0a36f
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
871149b
Updating running for observer server.
Jan 8, 2023
9c6d462
Fixing minor error in writing analysis.
Jan 8, 2023
0fd2a39
Migrate extension from v2 to v3
JohnDamilola Jan 27, 2023
731345b
Fix bug "Extension context invalidated"
JohnDamilola Feb 9, 2023
6b43d07
Add more code comments/documentation
JohnDamilola Feb 10, 2023
cc30975
Added in missing documentation files from prior fork and added in scr…
DrLynch Nov 16, 2022
05bbc89
Adding error trapping code for undefined ready state case along with …
Dec 8, 2022
8495df9
Adding basic cleanup to roster.py to fix the camel-case/vs underscore…
Dec 16, 2022
a8393b1
Updated with upstream content and removed local debugging printing.
DrLynch Dec 19, 2022
5e732ee
Add menu dropdown and status button
JohnDamilola Dec 17, 2022
e4ec78e
Add settings to dropdown menu
JohnDamilola Dec 23, 2022
4fc8896
Update top-right button styles
JohnDamilola Dec 23, 2022
8fa88a1
Adding fix for last-doc align via the event-wrapper.
DrLynch Dec 25, 2022
a67d9f4
Adding minor fix to wrapper which should address some basic errors.
DrLynch Dec 25, 2022
0aa7d7e
Making a doc cleanup.
DrLynch Dec 26, 2022
e5c9825
Updating writing analysis to better deal with event types.
Jan 8, 2023
c42682e
Updating to deal with unrecognized last docs and moving event wrapper…
Jan 8, 2023
c2d026a
Updating running for observer server.
Jan 8, 2023
4b53a11
Fixing minor error in writing analysis.
Jan 8, 2023
ec5f281
Fixing minor spacing differences and removing bcrypt from requirement…
DrLynch Mar 3, 2023
6681c3e
Fix content script unload/reload
JohnDamilola Mar 3, 2023
3fe6af7
Making minor fix in module loading for new libraries.
DrLynch Mar 16, 2023
dcd9615
Fix extension bugs (#76)
JohnDamilola Apr 14, 2023
9f0ede7
Fixing the manifest issue for permissions. (#81)
DrLynch May 23, 2023
6b7926e
Cleaning up minor differences after rebase.
DrLynch May 26, 2023
78e33a5
Caching Initial Commit (#80)
sarthakbabbar3 Jun 8, 2023
8893b1a
Lo components fix (#96)
DrLynch Jun 28, 2023
3287211
Updated with local changes.
DrLynch Jul 11, 2024
260e1ac
Merging in latest upstream
DrLynch Jul 24, 2024
4c23fed
Adding changes to smooth install for full packages.
DrLynch Jul 26, 2024
375ef07
Making minor change to require GPU.
DrLynch Jul 26, 2024
b6e94ab
Lynch/processorupdate (#122)
DrLynch Oct 25, 2024
917001f
Merge branch 'master' into berickson/upstream-2025-10-06
bradley-erickson Oct 7, 2025
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
49 changes: 20 additions & 29 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,31 @@ on: [push]
jobs:
lint-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pycodestyle
- name: Analysing the code with pycodestyle
run: |
pycodestyle --ignore=E501,W503 $(git ls-files 'learning_observer/*.py' 'modules/*.py')
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install Make
run: sudo apt-get install make

- name: Lint files
run: make linting-python
lint-node:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Install dependencies
run: |
npm install

- name: List unused CSS
run: npm run find-unused-css
node-version: '22.x'

- name: Lint CSS
run: npm run lint:css
- name: Install Make
run: sudo apt-get install make

- name: Lint JS
run: npm run lint:js
- name: Lint files
run: make linting-node
14 changes: 0 additions & 14 deletions .github/workflows/pytest.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Test packages

on: [push]

jobs:
test-packages:
runs-on: ubuntu-latest
strategy:
matrix:
package: ['learning_observer/', 'modules/writing_observer/']
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install Make
run: sudo apt-get install make

- name: Get list of changed files
id: changes
run: |
git fetch origin master
git diff --name-only origin/master HEAD > changed_files.txt

- name: Check if package has changes
id: package_check
run: |
if grep -qE "^${{ matrix.package }}" changed_files.txt; then
echo "run_tests=true" >> $GITHUB_ENV
else
echo "run_tests=false" >> $GITHUB_ENV
fi

- name: Skip tests if no changes
if: env.run_tests == 'false'
run: echo "Skipping tests for ${{ matrix.package }} as there are no changes."

- name: Install the base Learning Observer
if: env.run_tests == 'true'
run: make install

- name: Install the package with pip
if: env.run_tests == 'true'
run: pip install -e ${{ matrix.package }}

- name: Run tests
if: env.run_tests == 'true'
run: make test PKG=${{ matrix.package }}
27 changes: 0 additions & 27 deletions .github/workflows/versioning.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ LanguageTool-5.4
package-lock.json
learning_observer/learning_observer/static_data/google/
learning_observer/learning_observer/static_data/admins.yaml
.ipynb_checkpoints/
.ipynb_checkpoints/
.eggs/
.next/
95 changes: 57 additions & 38 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,40 @@
PACKAGES ?= wo,awe
# TODO rename these packages to something else
PACKAGES ?= wo

help:
@echo "Available commands:"
@echo ""
@echo " run Run the learning_observer Python application."
@echo " install-pre-commit-hook Install the pre-commit git hook."
@echo " install Install the learning_observer package in development mode."
@echo " install-dev Install dev dependencies (requires additional setup)."
@echo " install-packages Install specific packages: [${PACKAGES}]."
@echo " test Run tests for the specified package (PKG=<package>)."
@echo " linting-setup Setup linting tools and dependencies."
@echo " linting-python Lint Python files using pycodestyle and pylint."
@echo " linting-node Lint Node files (JS, CSS, and unused CSS detection)."
@echo " linting Perform all linting tasks (Python and Node)."
@echo " build-wo-chrome-extension Build the writing-process extension."
@echo " build-python-distribution Build a distribution for the specified package (PKG=<package>)."
@echo ""
@echo "Note: All commands are executed in the current shell environment."
@echo " Ensure your virtual environment is activated if desired, as installs and actions"
@echo " will occur in the environment where the 'make' command is run."
@echo ""
@echo "Use 'make <command>' to execute a command. For example: make run"

run:
# If you haven't done so yet, run: make install
# we need to make sure we are on the virtual env when we do this
cd learning_observer && python learning_observer

venv:
# This is unnecessary since LO installs requirements on install.
# pip install --no-cache-dir -r requirements.txt
# Install commands
install-pre-commit-hook:
# Adding pre-commit.sh to Git hooks
cp scripts/hooks/pre-commit.sh .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

# install commands
install: venv
install: install-pre-commit-hook
# The following only works with specified packages
# we need to install learning_observer in dev mode to
# more easily pass in specific files we need, such as creds
Expand All @@ -25,52 +49,28 @@ install: venv
@LODRC_CURRENT=$$(curl -s https://raw.githubusercontent.com/ETS-Next-Gen/lo_assets/main/lo_dash_react_components/lo_dash_react_components-current.tar.gz); \
pip install https://raw.githubusercontent.com/ETS-Next-Gen/lo_assets/main/lo_dash_react_components/$${LODRC_CURRENT}

install-dev: venv
install-dev:
# TODO create a dev requirements file
pip install --no-cache-dir -e learning_observer/[${PACKAGES}]
. ${HOME}/.nvm/nvm.sh && nvm use && pip install -v -e modules/lo_dash_react_components/

install-packages: venv
install-packages:
pip install -e learning_observer/[${PACKAGES}]

# Just a little bit of dependency hell...

# The AWE Components are built using a specific version of
# `spacy`. This requires an out-of-date `typing-extensions`
# package. There are few other dependecies that require a
# newer version. As far as I can tell, upgrading this package
# does not effect the functionality we receive from the AWE
# components.
# TODO remove this extra step after AWE Component's `spacy`
# is no longer version locked.
# This is no longer an issue, but we will leave until all
# dependecies can be resolved in the appropriate locations.
# pip install -U typing-extensions

# On Python3.11 with tensorflow, we get some odd errors
# regarding compatibility with `protobuf`. Some installation
# files are missing from the protobuf binary on pip.
# Using the `--no-binary` option includes all files.
pip uninstall -y protobuf
pip install --no-binary=protobuf protobuf==4.25

# testing commands
# Testing commands
test:
# this is where we run doctests
pytest modules/wo_highlight_dashboard
@if [ -z "$(PKG)" ]; then echo "No module specified, please try again with \"make test PKG=path/to/module\""; exit 1; fi
./test.sh $(PKG)

# Linting commands
linting-setup:
# Setting up linting related packages
pip install pycodestyle pylint
npm install

linting-python:
# Linting Python modules
pip install pycodestyle pylint
pycodestyle --ignore=E501,W503 $$(git ls-files 'learning_observer/*.py' 'modules/*.py')
pylint -d W0613,W0511,C0301,R0913,too-few-public-methods $$(git ls-files 'learning_observer/*.py' 'modules/*.py')

linting-node:
npm install
# TODO each of these have lots of errors and block
# the next item from running
# Starting to lint Node modules
Expand All @@ -84,8 +84,27 @@ linting-node:
linting: linting-setup linting-python linting-node
# Finished linting

build-writing-ext:
# Build commands
build-wo-chrome-extension:
# Installing LO Event
cd modules/lo_event && npm install & npm link lo_event
# Building extension
cd extension/writing-process && npm install && npm run build

build-python-distribution:
# Building distribution for package
pip install build
# Switching to package directory
cd $(PKG) && python -m build

# TODO we may want to have a separate command for uploading to testpypi
upload-python-package-to-pypi: build-python-distribution
pip install twine
# TODO we currently only upload to testpypi
# TODO we need to include `TWINE_USERNAME=__token__`
# and `TWINE_PASSWORD={ourTwineToken}` to authenticate
#
# TODO We have not fully tested the following commands.
# Try out the following steps and fix any bugs so the
# Makefile can do it automatically.
# cd $(PKG) && twine upload -r testpypi dist/*
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0+2025.10.01T21.16.15.146Z.8b205d0c.master
1 change: 1 addition & 0 deletions autodocs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_build/
generated/
apidocs/
module_readmes/
1 change: 1 addition & 0 deletions autodocs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ API
===

.. toctree::
:maxdepth: 4

apidocs/index
49 changes: 49 additions & 0 deletions autodocs/concepts.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Concepts
=============

Explanations of key ideas, principles, and background knowledge.
Follow this recommended sequence to build context before diving into
implementation details:

- :doc:`History <docs/concepts/history>` - establishes the background and
problem space the project is addressing.
- :doc:`System Design <docs/concepts/system_design>` - explains how the product
strategy and user needs translate into an overall system approach.
- :doc:`Architecture <docs/concepts/architecture>` - outlines the concrete
architecture that implements the system design.
- :doc:`Technologies <docs/concepts/technologies>` - surveys the primary tools
and platforms we rely on to realize the architecture.
- :doc:`System Settings <docs/concepts/system_settings>` - describes how the
system loads global and cascading settings.
- :doc:`Events <docs/concepts/events>` - introduces the event model that drives
data flowing through the system.
- :doc:`Reducers <docs/concepts/reducers>` - details how incoming events are
aggregated into the state our experiences depend on.
- :doc:`Communication Protocol <docs/concepts/communication_protocol>` - discusses how
the system queries data from reducers for dashboards.
- :doc:`Student Identity Mapping <docs/concepts/student_identity_mapping>` - explain
how learners information is mapped across integrations.
- :doc:`Scaling <docs/concepts/scaling>` - covers strategies for growing the
system once the fundamentals are in place.
- :doc:`Auth <docs/concepts/auth>` - describes authentication considerations
that secure access to the system.
- :doc:`Privacy <docs/concepts/privacy>` - documents how we protect learner data
and comply with privacy expectations.

.. toctree::
:hidden:
:maxdepth: 1
:titlesonly:

docs/concepts/history
docs/concepts/system_design
docs/concepts/architecture
docs/concepts/technologies
docs/concepts/system_settings
docs/concepts/events
docs/concepts/reducers
docs/concepts/communication_protocol
docs/concepts/student_identity_mapping
docs/concepts/scaling
docs/concepts/auth
docs/concepts/privacy
Loading
Loading