Skip to content

Commit 9aaee99

Browse files
committed
more fixes
1 parent 57e4892 commit 9aaee99

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/format.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Format
33
on:
44
push:
55
paths:
6-
- 'utils/**'
6+
- 'CollaborativeCoding/**'
77
pull_request:
88
paths:
9-
- 'utils/**'
9+
- 'CollaborativeCoding/**'
1010

1111
jobs:
1212
format:
@@ -28,8 +28,8 @@ jobs:
2828
2929
- name: Run Ruff check
3030
run: |
31-
ruff check utils/
31+
ruff check CollaborativeCoding/
3232
3333
- name: Run isort check
3434
run: |
35-
isort --check-only utils/
35+
isort --check-only CollaborativeCoding/

CollaborativeCoding/load_metric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class MetricWrapper(nn.Module):
3131
Resets the state of all metric computations.
3232
Examples
3333
--------
34-
>>> from utils import MetricWrapperProposed
34+
>>> from CollaborativeCoding import MetricWrapperProposed
3535
>>> metrics = MetricWrapperProposed(2, "entropy", "f1", "precision")
3636
>>> y_true = [0, 1, 0, 1]
3737
>>> y_pred = [0, 1, 1, 0]

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
]
1212

1313
# search this directory for Python files
14-
autoapi_dirs = ["../utils"]
14+
autoapi_dirs = ["../CollaborativeCoding"]
1515

1616
myst_enable_extensions = [
1717
"colon_fence", # ::: can be used instead of ``` for better rendering

0 commit comments

Comments
 (0)