Skip to content

ScratchLog+: Live Analytics of Learners’ Exercise Progress#1

Draft
b-fein wants to merge 43 commits into
githubfrom
code-embeddings
Draft

ScratchLog+: Live Analytics of Learners’ Exercise Progress#1
b-fein wants to merge 43 commits into
githubfrom
code-embeddings

Conversation

@b-fein
Copy link
Copy Markdown
Member

@b-fein b-fein commented May 10, 2026

Note

Whisker and the Scratch-GUI are added as Git submodules to this repository. You might want to git clone --recursive to fetch them. Alternatively, you can run git submodule update --init after a regular clone.


ScratchLog+

Required Configuration

To connect the embedding connector to an OpenAI-compatible endpoint, create a .env file with the contents

LLM_API_ENDPOINT=http://url.to.my.endpoint/
LLM_API_KEY=if-needed-for-the-provider
# example for https://ollama.com/library/qwen3-embedding,
# other embedding models should work as well
LLM_MODEL=qwen3-embedding:8b

(Optional): Add the pre-seeded database with a demo course

Download the database snapshot and move it to the root of this repository: ase2026_scratchlog-plus_demo.sql.gz

Mount the downloaded file to the database container by configuring it in the docker-compose.yaml file:

services:
  #
  database:
    #
    volumes:
      - ase2026_scratchlog-plus_demo.sql.gz:/docker-entrypoint-initdb.d/init.sql.gz
      - scratchlog-db:/var/lib/mysql
    #

Then, a user admin with password ASE2026tool can be used to log into the ScratchLog user interface.

Running the Application

After this configuration, the application can be started with Docker Compose as described in the readme.

The ScratchLog user interface will be available at http://localhost:8090 and the Scratch user interface at http://localhost:8601.
An initial admin password for ScratchLog will be automatically generated and be printed to the log (docker compose logs scratchlog).


See also our extension to Whisker at se2p/whisker#12

@b-fein b-fein changed the title Exercise Progress Dashboard ScratchLog+: Exercise Progress Dashboard May 11, 2026
@b-fein b-fein force-pushed the code-embeddings branch from 89c4a1b to f51c558 Compare May 11, 2026 06:27
b-fein added 28 commits May 11, 2026 08:30
The IDs of the nodes in the graph does not seem to be deterministic.
Therefore, the caching in the embedding-connector does not work (since
the JSON-string is different).
Method names with underscores are fine there. This is required due to
how JPA generates the queries from the names.
@b-fein b-fein force-pushed the code-embeddings branch from f51c558 to 580feef Compare May 11, 2026 06:32
@b-fein b-fein changed the title ScratchLog+: Exercise Progress Dashboard ScratchLog+: Live Analytics of Learners’ Exercise Progress May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant