You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A full list of available bug checkers can be retrieved using:
128
128
129
129
```bash
130
-
java -jar Litterbox-1.10.full.jar --help
130
+
java -jar Litterbox-1.11.full.jar --help
131
131
```
132
132
133
133
To select all bug patterns, you can also use the term `bugs` in the
@@ -139,7 +139,7 @@ list; to select all code smell checks use `smells`.
139
139
The bug patterns can be reported per scripts and procedures instead of for the whole program. In this case, only the bug patterns that can be detected through intra-scripts and intra-procedures analysis are considered.
140
140
141
141
```bash
142
-
java -jar Litterbox-1.10.full.jar check \
142
+
java -jar Litterbox-1.11.full.jar check \
143
143
--path <path/to/project.json> \
144
144
--output <result.csv> \
145
145
--detectors script-bugs \
@@ -164,7 +164,7 @@ LitterBox can produce statistics on code metrics of a project (e.g.,
164
164
number of blocks, number of sprites, weighted method count):
LitterBox can generate a Graphviz `.dot` file representing various graphs of the project, such as the Abstract Syntax Tree (AST) or Control Flow Graph (CFG).
Since version 1.7 Litterbox can automatically refactor a given Scratch project to improve its readability:
221
221
222
222
```bash
223
-
java -jar Litterbox-1.10.full.jar \
223
+
java -jar Litterbox-1.11.full.jar \
224
224
refactoring \
225
225
--path <path/to/project.json> \
226
226
--output <path/to/output-dir>
@@ -233,16 +233,16 @@ The resulting set of refactored versions of the original project will be placed
233
233
234
234
### LLM Interaction
235
235
236
-
Since version 1.10 LitterBox allows you to ask an LLM about a Scratch program and makes it possible to automatically integrate LLM-provided issue fixes into the program.
236
+
Since version 1.11 LitterBox allows you to ask an LLM about a Scratch program and makes it possible to automatically integrate LLM-provided issue fixes into the program.
237
237
You can find all features under the `llm` subcommand:
238
238
```bash
239
-
java -jar Litterbox-1.10.full.jar llm --help
239
+
java -jar Litterbox-1.11.full.jar llm --help
240
240
```
241
241
242
242
It supports either the OpenAI API, or a self-hosted Ollama instance.
243
243
To provide an OpenAI API key, start LitterBox like
You can find other configuration options that can be passed via `-D` flags (e.g., model choice, Ollama API endpoint) in `src/main/resources/scratchllm.properties`.
0 commit comments