Skip to content

Commit 75e469e

Browse files
ahzero7d1ahzero7d1
authored andcommitted
Fix lint error and gitignore
1 parent 2b27378 commit 75e469e

3 files changed

Lines changed: 6 additions & 15 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ dist/
1414
.idea/
1515
.vscode/
1616
*.DS_Store
17+
18+
# python venv
19+
.venv/

cli/src/cli.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ import { args } from './args.js'
2222
import { makeUserLogFile } from "./user_log.js";
2323
import type { UserLogFile } from "./user_log.js";
2424

25-
// Array.fromAsync not yet widely used (2024)
26-
async function arrayFromAsync<T>(iter: AsyncIterable<T>): Promise<T[]> {
27-
const ret: T[] = [];
28-
for await (const e of iter) ret.push(e);
29-
return ret;
30-
}
3125

3226
async function runUser<D extends DataType, N extends Network>(
3327
task: Task<D, N>,

datasets/.gitignore

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@
22
/2_QAID_1.masked.reshaped.squared.224.png
33
/9-mnist-example.png
44
/CIFAR10/
5-
/cifar10-agents
6-
/cifar10-example.png
7-
/cifar10-labels.csv
5+
/cifar10*
86
/simple_face
97
/simple_face-example.png
10-
/titanic_test.csv
11-
/titanic_train.csv
12-
/titanic_train_with_nan.csv
13-
/titanic_test_with_nan.csv
14-
/titanic_wrong_number_columns.csv
15-
/titanic_wrong_passengerID.csv
8+
/titanic*
9+
/mnist*
1610

1711
# wikitext
1812
/wikitext/

0 commit comments

Comments
 (0)