Upload README.md
Browse files
README.md
CHANGED
|
@@ -314,7 +314,7 @@ pip install huggingface_hub tqdm
|
|
| 314 |
|
| 315 |
<div style="margin-left: 40px;">
|
| 316 |
|
| 317 |
-
The following examples show common filtering workflows.
|
| 318 |
|
| 319 |
</div>
|
| 320 |
|
|
@@ -347,7 +347,7 @@ python scripts/filter_cases.py \
|
|
| 347 |
|
| 348 |
<div style="margin-left: 64px;">
|
| 349 |
|
| 350 |
-
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
| 351 |
|
| 352 |
```bash
|
| 353 |
python scripts/filter_cases.py \
|
|
@@ -375,7 +375,7 @@ python scripts/filter_cases.py \
|
|
| 375 |
|
| 376 |
<div style="margin-left: 64px;">
|
| 377 |
|
| 378 |
-
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
| 379 |
|
| 380 |
```bash
|
| 381 |
python scripts/filter_cases.py \
|
|
|
|
| 314 |
|
| 315 |
<div style="margin-left: 40px;">
|
| 316 |
|
| 317 |
+
Parse the case-to-repository assignment file and export selected cases to JSON. The following examples show common filtering workflows.
|
| 318 |
|
| 319 |
</div>
|
| 320 |
|
|
|
|
| 347 |
|
| 348 |
<div style="margin-left: 64px;">
|
| 349 |
|
| 350 |
+
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`(All physical phenomena and their abbreviations can be found in Part Data Fields.):
|
| 351 |
|
| 352 |
```bash
|
| 353 |
python scripts/filter_cases.py \
|
|
|
|
| 375 |
|
| 376 |
<div style="margin-left: 64px;">
|
| 377 |
|
| 378 |
+
`--num` is the global number of cases sampled after filtering (This is because the number of cases meeting the filtering criteria may be much larger than the number you need.). The default random seed is `42`.
|
| 379 |
|
| 380 |
```bash
|
| 381 |
python scripts/filter_cases.py \
|