Skip to content

Commit 4a6e495

Browse files
committed
fix: Resolve all Ruff linting errors (45 issues fixed)
- Convert Optional[T] to T | None (modern Python 3.10+ syntax) - Remove unused variables and imports - Fix exception handling with proper from/None syntax - Update isinstance calls to use | syntax - Remove whitespace from blank lines - Fix outdated version blocks - Apply auto-formatting fixes - Fix end-of-file issues in JSON files ✅ All 45 Ruff errors resolved ✅ Code now follows modern Python standards ✅ Ready for GitHub CI success
1 parent d9ac9a6 commit 4a6e495

111 files changed

Lines changed: 1209 additions & 539 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

coverage.xml

Lines changed: 582 additions & 523 deletions
Large diffs are not rendered by default.

data/realtime_simulation/performance/week_01_performance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"total_matches": 10,
44
"correct_predictions": 6,
55
"week": 1,
6-
"timestamp": "2025-07-11T08:28:30.885553"
6+
"timestamp": "2025-07-11T11:09:49.332946"
77
}

data/realtime_simulation/performance/week_02_performance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"total_matches": 9,
44
"correct_predictions": 6,
55
"week": 2,
6-
"timestamp": "2025-07-11T08:28:35.940253"
6+
"timestamp": "2025-07-11T11:09:59.374065"
77
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"accuracy": 0.7,
2+
"accuracy": 0.6,
33
"total_matches": 10,
4-
"correct_predictions": 7,
4+
"correct_predictions": 6,
55
"week": 3,
6-
"timestamp": "2025-07-11T08:28:40.974296"
6+
"timestamp": "2025-07-11T11:10:09.412283"
77
}

data/realtime_simulation/performance/week_04_performance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"total_matches": 10,
44
"correct_predictions": 6,
55
"week": 4,
6-
"timestamp": "2025-07-11T00:30:22.204696"
6+
"timestamp": "2025-07-11T11:10:19.452062"
77
}

data/realtime_simulation/performance/week_06_performance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"total_matches": 10,
44
"correct_predictions": 7,
55
"week": 6,
6-
"timestamp": "2025-07-11T00:27:54.640571"
6+
"timestamp": "2025-07-11T11:10:50.187937"
77
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"accuracy": 0.6,
2+
"accuracy": 0.5,
33
"total_matches": 10,
4-
"correct_predictions": 6,
4+
"correct_predictions": 5,
55
"week": 7,
6-
"timestamp": "2025-07-11T00:27:57.676420"
6+
"timestamp": "2025-07-11T11:11:00.229128"
77
}

data/realtime_simulation/performance/week_08_performance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"total_matches": 11,
44
"correct_predictions": 5,
55
"week": 8,
6-
"timestamp": "2025-07-11T00:28:00.715797"
6+
"timestamp": "2025-07-11T11:11:24.527778"
77
}

data/realtime_simulation/performance/week_09_performance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"total_matches": 10,
44
"correct_predictions": 6,
55
"week": 9,
6-
"timestamp": "2025-07-11T00:23:11.731565"
6+
"timestamp": "2025-07-11T11:11:34.569950"
77
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"accuracy": 0.7,
3+
"total_matches": 10,
4+
"correct_predictions": 7,
5+
"week": 11,
6+
"timestamp": "2025-07-11T11:11:44.605608"
7+
}

0 commit comments

Comments
 (0)