Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
313519e
Use highlighted axis for print display
r59q Aug 30, 2025
44be7bb
Add IconButton component
r59q Aug 30, 2025
611f678
Reorder license lotifier
r59q Aug 30, 2025
b579973
Use icon buttons
r59q Sep 1, 2025
a480296
Use more IconButton
r59q Sep 1, 2025
0cac1f3
Add types to stores
r59q Sep 18, 2025
800396e
Move vector to core
r59q Sep 18, 2025
ab89425
Move LiveDataVector to core
r59q Sep 18, 2025
d2aab4d
Add base vector to core
r59q Sep 18, 2025
647ebcb
Remove playground
r59q Sep 18, 2025
9813404
Move axis to core
r59q Sep 18, 2025
5d1d7e9
rename model to entities in core
r59q Sep 18, 2025
aed28d9
Move filters to core
r59q Sep 18, 2025
603e158
Move confidence to core
r59q Sep 23, 2025
1ea56f8
Rename Gesture to GestureState
r59q Sep 23, 2025
f43bfed
Remove duplicate confidence type
r59q Sep 23, 2025
37d3790
Move baselivedatavector
r59q Sep 23, 2025
1e8f12d
Move livedata buffer
r59q Sep 23, 2025
8291a45
Move ModelTrainer and ModelRegistry to core
r59q Sep 23, 2025
c6fbd99
Move repository interface into core
r59q Sep 24, 2025
68cf786
Move models to core
r59q Sep 24, 2025
25e16a3
Prettier
r59q Sep 24, 2025
a516ebb
Add classifier interface
r59q Sep 24, 2025
bcbcc6a
First batch of core shared logic
r59q Nov 24, 2025
1e603c3
Second batch of core shared logic
r59q Nov 24, 2025
91a3ab5
Fix compile issues for legacy components
r59q Nov 25, 2025
b4b5762
Add AppRoot to path
r59q Nov 25, 2025
1092e3f
Prettier lint
r59q Nov 25, 2025
c59aa30
Fix tests
r59q Nov 25, 2025
f666040
Move document title to app instead of app root
r59q Nov 26, 2025
c7a6340
Move error reconnect to controller
r59q Nov 26, 2025
f8f6f09
Prettier
r59q Nov 26, 2025
e3240f5
Add the makecode embed package
r59q Dec 7, 2025
d3bd8c7
Add makecode path
r59q Dec 9, 2025
994be93
Add makecode iframe
r59q Dec 9, 2025
11400e0
Add back button to embedded view
r59q Dec 15, 2025
b9fdc86
Remove unused imports
r59q Dec 15, 2025
79bc66b
Add 'To MakeCode' button
r59q Dec 16, 2025
1704409
Implement Feature controller
r59q Jan 5, 2026
e754d14
Make mlmachine set itself up for better dependency management
r59q Jan 5, 2026
3c153b7
Fix identifier tests
r59q Jan 5, 2026
cd08bb0
Prettier
r59q Jan 5, 2026
e68b36e
Create output service
r59q Jan 7, 2026
7dcb8cf
Update license identifier
r59q Jan 7, 2026
c52b770
Add states repository source
r59q Jan 7, 2026
6de86d1
Opening makecode page now sets override state
r59q Jan 7, 2026
c897cbc
Improve tests and localstorage keyval store
r59q Jan 8, 2026
8131550
Split up devices into Devices and Connection
r59q Jan 8, 2026
9eb6d5e
Split up devices and move some of the logic to the controller
r59q Jan 10, 2026
1ff2f5b
Change dev overlay to be event transparent
r59q Jan 10, 2026
d8ec098
Add makecode project saving/loading
r59q Jan 11, 2026
455e93c
Only show makecode link when no changes to makecode project is made
r59q Jan 11, 2026
2fe12bb
Add MakeCode blocks view
r59q Jan 12, 2026
c7cf68a
Make blocks renderer
r59q Jan 12, 2026
cf5041a
prettier
r59q Jan 12, 2026
954fbd6
Fix the makecode link when no project changes have been made
r59q Jan 12, 2026
d76edd6
Add license notifier to missing file
r59q Jan 12, 2026
0bc467b
Add translations
r59q Jan 13, 2026
60df6ee
Support hex file download from makecode embedding
r59q Jan 13, 2026
f901af0
Add download handler
r59q Jan 14, 2026
0d0ae63
Extract logic to ts
r59q Jan 14, 2026
498eda7
Remove commented-out code
r59q Jan 14, 2026
9d35872
Move file utility to utils, try another strategy for hex creation
r59q Jan 14, 2026
8c799c9
Add padding logic
r59q Jan 14, 2026
5b081ca
Separate universal hexes
r59q Jan 14, 2026
dd39034
Update comment
r59q Jan 14, 2026
ccca37c
Remove the padding logic again
r59q Jan 14, 2026
6f83c43
Add overlay tied to the new MicrobitFlashing object
r59q Jan 17, 2026
0dc69b3
cleanup: Move logic to controller
r59q Jan 17, 2026
bbf1b52
Make flashing progress bar smoother
r59q Jan 17, 2026
e2c590d
Remove output controller as argument in microbit handlers
r59q Jan 17, 2026
86f8ab1
Correctly set output target
r59q Jan 18, 2026
9cc1696
Bump microbyte, remove logic for finding versioned hex file
r59q Jan 18, 2026
4dbb40d
prettier
r59q Jan 18, 2026
e07115f
Fix bug where correct combined hex could be found
r59q Jan 18, 2026
dc6eced
prettier
r59q Jan 18, 2026
f13a31f
Rename err to con
r59q Jan 18, 2026
3ccb82e
Bump microbyte, fix bug where micro:bit was wrongly disconnected
r59q Jan 19, 2026
6c28ebc
Fix the incorrect disconnection logic
r59q Jan 28, 2026
4533da8
Add warning to flashing hex in makecode when bluetooth isn't enabled
r59q Jan 30, 2026
06873e8
Add protection for faulty hexes
r59q Jan 30, 2026
9c8ea90
Remove snackbar from the old stores implementation
r59q Feb 3, 2026
bb038aa
Remove fingerprint enabled from old stores implementation
r59q Feb 3, 2026
d33d468
Add available and selected axes to states
r59q Feb 3, 2026
771a651
Add validation service
r59q Feb 4, 2026
4c22d5e
Add redirect after flashing hex file
r59q Feb 11, 2026
6e1d146
tweak behaviour of model page to respect feature flag
r59q Feb 18, 2026
da48abc
Remove unused parameter from output handler
r59q Feb 18, 2026
0fa9709
Add makecode warning for connect dialog
r59q Feb 18, 2026
47a427a
Add Makecode feature introduction
r59q Feb 25, 2026
ebcad53
Merge branch 'production-math' into development
Karlo-Emilo Feb 27, 2026
531a2ca
Fix error 153
r59q Feb 27, 2026
ffeab5f
Merge branch 'development' of github.com:microbit-foundation/cctd-ml-…
r59q Feb 27, 2026
a1b7aa9
Add a todo
r59q Mar 4, 2026
3662d5c
Update the makecode/knn intro video
r59q Mar 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
79 changes: 79 additions & 0 deletions .github/workflows/math.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.

name: Testing deployment

env:
APP_LOCATION: "/" # location of your client code
APP_ARTIFACT_LOCATION: "/dist" # location of client code build output

on:
push:
branches:
- production-math
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- production-math

permissions:
issues: write
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Tests
run: |
npm ci
npm test
formatting_and_linting:
name: Prettier / svelte Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Run prettier
shell: bash
run: |
npm ci
npm run checkFormat
- name: Svelte check
shell: bash
run: npm run check

build_and_deploy:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build And Deploy
uses: Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_PRODUCTION_MATH_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: ${{ env.APP_LOCATION }}
app_artifact_location: ${{ env.APP_ARTIFACT_LOCATION }}

close:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close
steps:
- name: Close
uses: Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_PRODUCTION_MATH_TOKEN }}
action: "close"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ ML-Machine utilises several packages, most notable of which are the following:
- [TensorFlow.js](https://github.com/tensorflow/tfjs) provides machine learning capabilities.
- [Smoothie Charts](https://github.com/joewalnes/smoothie) and [chart.js](https://github.com/chartjs/Chart.js) provides
a visualisation kit.
- [MakeCode-Embed](https://www.npmjs.com/package/@microbit/makecode-embed) for makecode integration. Additional docs: https://microbit-foundation.github.io/makecode-embed/interfaces/react.MakeCodeProject.html

## Contributions

Expand Down
3 changes: 2 additions & 1 deletion features.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"fingerprint": true,
"recordingDuration": 1800,
"printableRecordings": true,
"dialogRecordings": true
"dialogRecordings": true,
"makecodeIntroductionVideo": true
}
2 changes: 1 addition & 1 deletion microbit/v1/source/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion microbit/v2/source/codebook.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion microbit/v2/source/helpers.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion microbit/v2/source/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion microbit/v2/source/smileys.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion microbit/v2/source/sound.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion microbit/v2/source/sounds.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion microbit/v2/source/utilities.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2023-2025, Center for Computational Thinking and Design at Aarhus University and contributors
* (c) 2023-2026, Center for Computational Thinking and Design at Aarhus University and contributors
*
* SPDX-License-Identifier: MIT
*/
Expand Down
Loading
Loading