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.11.full.jar --help
130
+
java -jar Litterbox-1.12.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.11.full.jar check \
142
+
java -jar Litterbox-1.12.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.11.full.jar \
223
+
java -jar Litterbox-1.12.full.jar \
224
224
refactoring \
225
225
--path <path/to/project.json> \
226
226
--output <path/to/output-dir>
@@ -236,7 +236,7 @@ LitterBox can automatically inject known bug patterns into Scratch projects. Thi
236
236
creating test datasets or for studying bug fixes:
237
237
238
238
```bash
239
-
java -jar Litterbox-1.11.full.jar inject \
239
+
java -jar Litterbox-1.12.full.jar inject \
240
240
--path <path/to/project.sb3> \
241
241
--output <path/to/output-dir>
242
242
```
@@ -255,7 +255,7 @@ For each bug pattern that can be injected, LitterBox creates a separate output f
255
255
LitterBox can compare two versions of a project to identify which bugs were fixed, which are new, and which persist:
256
256
257
257
```bash
258
-
java -jar Litterbox-1.11.full.jar diff \
258
+
java -jar Litterbox-1.12.full.jar diff \
259
259
--before <old_version> \
260
260
--after <new_version>
261
261
```
@@ -277,24 +277,24 @@ Options:
277
277
Example comparing with a prior analysis report:
278
278
279
279
```bash
280
-
java -jar Litterbox-1.11.full.jar diff \
280
+
java -jar Litterbox-1.12.full.jar diff \
281
281
--before prior_report.json \
282
282
--after fixed_project.sb3 \
283
283
--output diff_report.json
284
284
```
285
285
286
286
### LLM Interaction
287
287
288
-
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.
288
+
Since version 1.12 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.
289
289
You can find all features under the `llm` subcommand:
290
290
```bash
291
-
java -jar Litterbox-1.11.full.jar llm --help
291
+
java -jar Litterbox-1.12.full.jar llm --help
292
292
```
293
293
294
294
It supports either the OpenAI API, or a self-hosted Ollama instance.
295
295
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`.
300
300
@@ -312,7 +312,7 @@ For our integration of some of the LLM-features into the Scratch browser interfa
312
312
To see an overview of the available command line options, type:
0 commit comments