Skip to content

Commit 035a381

Browse files
committed
more changes
1 parent 9353f36 commit 035a381

13 files changed

Lines changed: 700 additions & 65 deletions

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ tokens.env
197197
benchmark_results/
198198
scratch/artifacts/
199199
scratch/example-docker-task
200+
scratch/rsync-backups/
200201
asv-output/
201202
output
202-
203+
*context_registry*
203204
# Database files
204205
*.db

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ ignore = [
127127
[tool.ruff.lint.per-file-ignores]
128128
"tests/*" = ["S101"]
129129
"*.py" = ["TRY003"]
130+
"scratch/notebooks/*.ipynb" = ["S101"]
130131

131132
[tool.ruff.format]
132133
preview = true

scratch/notebooks/collect_benchmarked_commits.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"results_dir = benchmark_dir / \"results\"\n",
5151
"dashboard_dir = benchmark_dir / \"dashboards\"\n",
5252
"context_registry = ContextRegistry.load_from_file(context_registry_loc)\n",
53-
"assert results_dir.exists(), f\"Results dir {results_dir.absolute()} does not exist\" # noqa: S101\n",
53+
"assert results_dir.exists(), f\"Results dir {results_dir.absolute()} does not exist\"\n",
5454
"dashboard_dir.mkdir(exist_ok=True, parents=True)"
5555
]
5656
},

scratch/notebooks/dashboard_analysis.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"name": "stderr",
1818
"output_type": "stream",
1919
"text": [
20-
"22:26:31 WARNING simple_useragent.core: Falling back to historic user agent.\n"
20+
"20:57:15 WARNING simple_useragent.core: Falling back to historic user agent.\n"
2121
]
2222
}
2323
],
@@ -65,7 +65,7 @@
6565
},
6666
{
6767
"cell_type": "code",
68-
"execution_count": null,
68+
"execution_count": 3,
6969
"id": "f322236c",
7070
"metadata": {},
7171
"outputs": [
@@ -330,7 +330,7 @@
330330
" )\n",
331331
"\n",
332332
" merged_frame = frame.merge(commits, on=[\"repo_name\", \"gt_hash\"], how=\"left\")\n",
333-
" assert all(merged_frame.notnull().all()) # noqa: S101\n",
333+
" assert all(merged_frame.notnull().all())\n",
334334
" bps.append(merged_frame)\n",
335335
"\n",
336336
"all_enriched = pd.concat(bps, ignore_index=True)\n",
@@ -433,7 +433,7 @@
433433
},
434434
{
435435
"cell_type": "code",
436-
"execution_count": 5,
436+
"execution_count": 6,
437437
"id": "cb11de87",
438438
"metadata": {},
439439
"outputs": [
@@ -581,7 +581,7 @@
581581
"21 From 95bc2f0609fb858ae85af43ab018f7fd367d075e ... "
582582
]
583583
},
584-
"execution_count": 5,
584+
"execution_count": 6,
585585
"metadata": {},
586586
"output_type": "execute_result"
587587
}

0 commit comments

Comments
 (0)