5487 lines
484 KiB
JSON
5487 lines
484 KiB
JSON
{
|
|
"version": "1.1.409",
|
|
"time": "1778532542339",
|
|
"generalDiagnostics": [
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\bet_recommender.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Positional parameter count mismatch; base method has 2, but override has 5\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"RecommendationResult\"\n    \"RecommendationResult\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 30,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\expert_recommender.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Positional parameter count mismatch; base method has 2, but override has 5\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"ExpertResult\"\n    \"ExpertResult\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 38,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\half_time_calculator.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"HalfTimePrediction\"\n    \"HalfTimePrediction\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 33,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\match_result_calculator.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"max\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 24,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"character": 40
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\match_result_calculator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Overload[(key: str, default: None = None, /) -> (float | None), (key: str, default: float, /) -> float, (key: str, default: _T@get, /) -> (float | _T@get)]\" cannot be assigned to parameter \"key\" of type \"(_T@max) -> SupportsRichComparison\" in function \"max\"\n  No overloaded function matches type \"(str) -> SupportsRichComparison\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 24,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"character": 39
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\match_result_calculator.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"MatchResultPrediction\"\n    \"MatchResultPrediction\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 26,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\other_markets_calculator.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Positional parameter count mismatch; base method has 2, but override has 3\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"OtherMarketsPrediction\"\n    \"OtherMarketsPrediction\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 30,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\over_under_calculator.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"OverUnderPrediction\"\n    \"OverUnderPrediction\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 57,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\risk_assessor.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"RiskAnalysis\"\n    \"RiskAnalysis\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 119,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 119,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\score_calculator.py",
|
|
"severity": "error",
|
|
"message": "Type \"None\" is not assignable to declared type \"MatchResultPrediction\"\n  \"None\" is not assignable to \"MatchResultPrediction\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 18,
|
|
"character": 43
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"character": 47
|
|
}
|
|
},
|
|
"rule": "reportAssignmentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\score_calculator.py",
|
|
"severity": "error",
|
|
"message": "Method \"calculate\" overrides class \"BaseCalculator\" in an incompatible manner\n  Positional parameter count mismatch; base method has 2, but override has 3\n  Return type mismatch: base method returns type \"dict[str, Any]\", override returns type \"ScorePrediction\"\n    \"ScorePrediction\" is not assignable to \"dict[str, Any]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 59,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"character": 17
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\score_calculator.py",
|
|
"severity": "error",
|
|
"message": "\"predicted_ht\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 211,
|
|
"character": 34
|
|
},
|
|
"end": {
|
|
"line": 211,
|
|
"character": 46
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\calculators\\score_calculator.py",
|
|
"severity": "error",
|
|
"message": "\"predicted_ht\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 225,
|
|
"character": 31
|
|
},
|
|
"end": {
|
|
"line": 225,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\engines\\referee_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str | None\" cannot be assigned to parameter \"league_id\" of type \"str\" in function \"get_features\"\n  Type \"str | None\" is not assignable to type \"str\"\n    \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 97,
|
|
"character": 76
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"character": 85
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\engines\\referee_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str | None\" cannot be assigned to parameter \"league_id\" of type \"str\" in function \"get_features_by_name\"\n  Type \"str | None\" is not assignable to type \"str\"\n    \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 101,
|
|
"character": 97
|
|
},
|
|
"end": {
|
|
"line": 101,
|
|
"character": 106
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\engines\\referee_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str | None\" cannot be assigned to parameter \"league_id\" of type \"str\" in function \"get_features_by_name\"\n  Type \"str | None\" is not assignable to type \"str\"\n    \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 105,
|
|
"character": 88
|
|
},
|
|
"end": {
|
|
"line": 105,
|
|
"character": 97
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\engines\\referee_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float | str\" cannot be assigned to parameter \"referee_name\" of type \"str\" in function \"__init__\"\n  Type \"float | str\" is not assignable to type \"str\"\n    \"float\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 116,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 116,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\engines\\referee_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"matches_officiated\" of type \"int\" in function \"__init__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 117,
|
|
"character": 35
|
|
},
|
|
"end": {
|
|
"line": 117,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\engines\\referee_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float | str\" cannot be assigned to parameter \"referee_name\" of type \"str\" in function \"__init__\"\n  Type \"float | str\" is not assignable to type \"str\"\n    \"float\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 138,
|
|
"character": 25
|
|
},
|
|
"end": {
|
|
"line": 138,
|
|
"character": 33
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\core\\engines\\referee_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"matches_officiated\" of type \"int\" in function \"__init__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 139,
|
|
"character": 31
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\data\\db.py",
|
|
"severity": "error",
|
|
"message": "\"pool\" is not a known attribute of module \"psycopg2\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 55,
|
|
"character": 37
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"character": 41
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\elo_system.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | list[Any]\" cannot be assigned to parameter \"recent_form\" of type \"str\" in function \"__init__\"\n  Type \"Any | list[Any]\" is not assignable to type \"str\"\n    \"list[Any]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 174,
|
|
"character": 32
|
|
},
|
|
"end": {
|
|
"line": 174,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\extractor.py",
|
|
"severity": "error",
|
|
"message": "Cannot assign to attribute \"h2h_sample_size\" for class \"MatchFeatures\"\n  Type \"float | int\" is not assignable to type \"int\"\n    \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 254,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 254,
|
|
"character": 54
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\extractor.py",
|
|
"severity": "error",
|
|
"message": "Type \"dict[Unknown, Unknown] | list[Unknown] | None\" is not assignable to return type \"dict[str, Any] | None\"\n  Type \"dict[Unknown, Unknown] | list[Unknown] | None\" is not assignable to type \"dict[str, Any] | None\"\n    Type \"list[Unknown]\" is not assignable to type \"dict[str, Any] | None\"\n      \"list[Unknown]\" is not assignable to \"dict[str, Any]\"\n      \"list[Unknown]\" is not assignable to \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 887,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 887,
|
|
"character": 67
|
|
}
|
|
},
|
|
"rule": "reportReturnType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\extractor.py",
|
|
"severity": "error",
|
|
"message": "Type \"dict[Unknown, Unknown] | list[Unknown]\" is not assignable to return type \"dict[str, Any] | None\"\n  Type \"dict[Unknown, Unknown] | list[Unknown]\" is not assignable to type \"dict[str, Any] | None\"\n    Type \"list[Unknown]\" is not assignable to type \"dict[str, Any] | None\"\n      \"list[Unknown]\" is not assignable to \"dict[str, Any]\"\n      \"list[Unknown]\" is not assignable to \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 889,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 889,
|
|
"character": 18
|
|
}
|
|
},
|
|
"rule": "reportReturnType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\feature_adapter.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[str]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"list[str]\" is not assignable to type \"Axes | None\"\n    \"list[str]\" is not assignable to \"ExtensionArray\"\n    \"list[str]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"list[str]\" is not assignable to \"Index\"\n    \"list[str]\" is not assignable to \"Series\"\n    \"list[str]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: str, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 212,
|
|
"character": 41
|
|
},
|
|
"end": {
|
|
"line": 212,
|
|
"character": 49
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\h2h_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"int\" cannot be assigned to parameter \"object\" of type \"str\" in function \"append\"\n  \"int\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 133,
|
|
"character": 26
|
|
},
|
|
"end": {
|
|
"line": 133,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\h2h_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"int\" cannot be assigned to parameter \"object\" of type \"str\" in function \"append\"\n  \"int\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 136,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 136,
|
|
"character": 27
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\h2h_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"int\" cannot be assigned to parameter \"object\" of type \"str\" in function \"append\"\n  \"int\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 236,
|
|
"character": 26
|
|
},
|
|
"end": {
|
|
"line": 236,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\htft_tendency_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[str, bool, int | None]\" cannot be assigned to parameter \"key\" of type \"Tuple[str, bool]\" in function \"__getitem__\"\n  \"tuple[str, bool, int | None]\" is not assignable to \"Tuple[str, bool]\"\n    Tuple size mismatch; expected 2 but received 3",
|
|
"range": {
|
|
"start": {
|
|
"line": 134,
|
|
"character": 19
|
|
},
|
|
"end": {
|
|
"line": 134,
|
|
"character": 46
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\htft_tendency_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"int\" cannot be assigned to parameter \"object\" of type \"str\" in function \"append\"\n  \"int\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 164,
|
|
"character": 26
|
|
},
|
|
"end": {
|
|
"line": 164,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\htft_tendency_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"int\" cannot be assigned to parameter \"object\" of type \"str\" in function \"append\"\n  \"int\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 167,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 167,
|
|
"character": 27
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\htft_tendency_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[str, bool, int | None]\" cannot be assigned to parameter \"key\" of type \"Tuple[str, bool]\" in function \"__setitem__\"\n  \"tuple[str, bool, int | None]\" is not assignable to \"Tuple[str, bool]\"\n    Tuple size mismatch; expected 2 but received 3",
|
|
"range": {
|
|
"start": {
|
|
"line": 198,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 198,
|
|
"character": 35
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\htft_tendency_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"int\" cannot be assigned to parameter \"object\" of type \"str\" in function \"append\"\n  \"int\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 227,
|
|
"character": 26
|
|
},
|
|
"end": {
|
|
"line": 227,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\htft_tendency_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[str, int | None]\" cannot be assigned to parameter \"key\" of type \"str\" in function \"__setitem__\"\n  \"tuple[str, int | None]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 252,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 252,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\momentum_engine.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 87,
|
|
"character": 48
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"character": 62
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\momentum_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str\" cannot be assigned to parameter \"object\" of type \"int\" in function \"append\"\n  \"str\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 94,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\momentum_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str\" cannot be assigned to parameter \"object\" of type \"int\" in function \"append\"\n  \"str\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 97,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\momentum_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[str]\" cannot be assigned to parameter \"iterable\" of type \"Iterable[int]\" in function \"extend\"\n  \"str\" is not assignable to \"int\"\n  \"str\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 100,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 100,
|
|
"character": 48
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\momentum_engine.py",
|
|
"severity": "error",
|
|
"message": "Type \"list[RealDictRow]\" is not assignable to return type \"List[Dict[Unknown, Unknown]]\"\n  \"list[RealDictRow]\" is not assignable to \"List[Dict[Unknown, Unknown]]\"\n    Type parameter \"_T@list\" is invariant, but \"RealDictRow\" is not the same as \"Dict[Unknown, Unknown]\"\n    Consider switching from \"list\" to \"Sequence\" which is covariant",
|
|
"range": {
|
|
"start": {
|
|
"line": 113,
|
|
"character": 19
|
|
},
|
|
"end": {
|
|
"line": 113,
|
|
"character": 36
|
|
}
|
|
},
|
|
"rule": "reportReturnType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\odds_band_analyzer.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 1152,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 1152,
|
|
"character": 36
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 74,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 74,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 75,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 75,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 76,
|
|
"character": 34
|
|
},
|
|
"end": {
|
|
"line": 76,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 242,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 242,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 243,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 243,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 244,
|
|
"character": 34
|
|
},
|
|
"end": {
|
|
"line": 244,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 293,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 293,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 294,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 294,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\poisson_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 295,
|
|
"character": 34
|
|
},
|
|
"end": {
|
|
"line": 295,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\referee_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"str\"\n  \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 153,
|
|
"character": 76
|
|
},
|
|
"end": {
|
|
"line": 153,
|
|
"character": 80
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\referee_engine.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 170,
|
|
"character": 44
|
|
},
|
|
"end": {
|
|
"line": 170,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\referee_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[str, str]\" cannot be assigned to parameter \"key\" of type \"str\" in function \"__setitem__\"\n  \"tuple[str, str]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 266,
|
|
"character": 12
|
|
},
|
|
"end": {
|
|
"line": 266,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\referee_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"str\"\n  \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 273,
|
|
"character": 59
|
|
},
|
|
"end": {
|
|
"line": 273,
|
|
"character": 63
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\referee_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"str\"\n  \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 310,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 310,
|
|
"character": 75
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\sidelined_analyzer.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 140,
|
|
"character": 45
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"character": 59
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\squad_analysis_engine.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"int\"\n  \"None\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 194,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 194,
|
|
"character": 72
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\squad_analysis_engine.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 207,
|
|
"character": 44
|
|
},
|
|
"end": {
|
|
"line": 207,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\squad_analysis_engine.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 274,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 274,
|
|
"character": 47
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\squad_analysis_engine.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 295,
|
|
"character": 44
|
|
},
|
|
"end": {
|
|
"line": 295,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\squad_analysis_engine.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 387,
|
|
"character": 45
|
|
},
|
|
"end": {
|
|
"line": 387,
|
|
"character": 59
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\squad_analysis_engine.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 510,
|
|
"character": 44
|
|
},
|
|
"end": {
|
|
"line": 510,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine.py",
|
|
"severity": "error",
|
|
"message": "\"RealDictCursor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 228,
|
|
"character": 48
|
|
},
|
|
"end": {
|
|
"line": 228,
|
|
"character": 62
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "\"cursor\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 191,
|
|
"character": 35
|
|
},
|
|
"end": {
|
|
"line": 191,
|
|
"character": 41
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"int\"\n  \"None\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 333,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 333,
|
|
"character": 33
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"int\"\n  \"None\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 334,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 334,
|
|
"character": 33
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"int\"\n  \"None\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 335,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 335,
|
|
"character": 33
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"Dict[str, float]\"\n  \"None\" is not assignable to \"Dict[str, float]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 336,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 336,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"str\"\n  \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 337,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 337,
|
|
"character": 32
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"str\"\n  \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 340,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 340,
|
|
"character": 33
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\features\\upset_engine_v2.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"float\"\n  \"None\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 341,
|
|
"character": 31
|
|
},
|
|
"end": {
|
|
"line": 341,
|
|
"character": 35
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\main.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"reconfigure\" for class \"TextIO\"\n  Attribute \"reconfigure\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 27,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"character": 26
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\main.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"reconfigure\" for class \"TextIO\"\n  Attribute \"reconfigure\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 29,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"character": 26
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\main.py",
|
|
"severity": "error",
|
|
"message": "\"get_basketball_v25_predictor\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 127,
|
|
"character": 35
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"character": 63
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\main.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"readiness_summary\" for class \"BasketballV25Predictor\"\n  Attribute \"readiness_summary\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 128,
|
|
"character": 56
|
|
},
|
|
"end": {
|
|
"line": 128,
|
|
"character": 73
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\calibration.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 248,
|
|
"character": 39
|
|
},
|
|
"end": {
|
|
"line": 248,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\calibration.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 249,
|
|
"character": 39
|
|
},
|
|
"end": {
|
|
"line": 249,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\calibration.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"mean\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 263,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 263,
|
|
"character": 51
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\calibration.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"ArrayLike | Unknown | Any\" cannot be assigned to parameter \"a\" of type \"_ArrayLikeComplex_co | _ArrayLikeObject_co\" in function \"mean\"\n  Type \"ArrayLike | Unknown | Any\" is not assignable to type \"_ArrayLikeComplex_co | _ArrayLikeObject_co\"\n    Type \"ExtensionArray\" is not assignable to type \"_ArrayLikeComplex_co | _ArrayLikeObject_co\"\n      \"ExtensionArray\" is incompatible with protocol \"_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, int | float | complex]]]\"\n        \"__array__\" is not present\n      \"ExtensionArray\" is incompatible with protocol \"_NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, int | float | complex]]]]\"\n        \"__reversed__\" is not present\n        \"count\" is not present\n        \"index\" is not present\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 263,
|
|
"character": 41
|
|
},
|
|
"end": {
|
|
"line": 263,
|
|
"character": 50
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\calibration.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"mean\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 264,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 264,
|
|
"character": 46
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\calibration.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"ArrayLike | Unknown | Any\" cannot be assigned to parameter \"a\" of type \"_ArrayLikeComplex_co | _ArrayLikeObject_co\" in function \"mean\"\n  Type \"ArrayLike | Unknown | Any\" is not assignable to type \"_ArrayLikeComplex_co | _ArrayLikeObject_co\"\n    Type \"ExtensionArray\" is not assignable to type \"_ArrayLikeComplex_co | _ArrayLikeObject_co\"\n      \"ExtensionArray\" is incompatible with protocol \"_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, int | float | complex]]]\"\n        \"__array__\" is not present\n      \"ExtensionArray\" is incompatible with protocol \"_NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, int | float | complex]]]]\"\n        \"__reversed__\" is not present\n        \"count\" is not present\n        \"index\" is not present\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 264,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 264,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\calibration.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"ArrayLike | Unknown | Any\" cannot be assigned to parameter \"actuals\" of type \"ndarray[_AnyShape, dtype[Any]]\" in function \"_calculate_ece\"\n  Type \"ArrayLike | Unknown | Any\" is not assignable to type \"ndarray[_AnyShape, dtype[Any]]\"\n    \"ExtensionArray\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 268,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 268,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\v20_ensemble.py",
|
|
"severity": "error",
|
|
"message": "Type \"Series | Unknown | DataFrame\" is not assignable to return type \"DataFrame\"\n  Type \"Series | Unknown | DataFrame\" is not assignable to type \"DataFrame\"\n    \"Series\" is not assignable to \"DataFrame\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 559,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 559,
|
|
"character": 33
|
|
}
|
|
},
|
|
"rule": "reportReturnType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\v20_ensemble.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"home_form_score\" for class \"TeamPrediction\"\n  Attribute \"home_form_score\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 944,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 944,
|
|
"character": 53
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\v20_ensemble.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"away_form_score\" for class \"TeamPrediction\"\n  Attribute \"away_form_score\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 945,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 945,
|
|
"character": 53
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\models\\v27_predictor.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"List[str]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"List[str]\" is not assignable to type \"Axes | None\"\n    \"List[str]\" is not assignable to \"ExtensionArray\"\n    \"List[str]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"List[str]\" is not assignable to \"Index\"\n    \"List[str]\" is not assignable to \"Series\"\n    \"List[str]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: str, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 144,
|
|
"character": 54
|
|
},
|
|
"end": {
|
|
"line": 144,
|
|
"character": 71
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_v2_runtime.py",
|
|
"severity": "warning",
|
|
"message": "Import \"models.betting_engine\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 24,
|
|
"character": 5
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"character": 26
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_v2_runtime.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"object\" cannot be assigned to parameter \"x\" of type \"ConvertibleToInt\" in function \"__new__\"\n  Type \"object\" is not assignable to type \"ConvertibleToInt\"\n    \"object\" is not assignable to \"str\"\n    \"object\" is incompatible with protocol \"Buffer\"\n      \"__buffer__\" is not present\n    \"object\" is incompatible with protocol \"SupportsInt\"\n      \"__int__\" is not present\n    \"object\" is incompatible with protocol \"SupportsIndex\"\n      \"__index__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 136,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 136,
|
|
"character": 46
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_v2_runtime.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"object\" cannot be assigned to parameter \"x\" of type \"ConvertibleToInt\" in function \"__new__\"\n  Type \"object\" is not assignable to type \"ConvertibleToInt\"\n    \"object\" is not assignable to \"str\"\n    \"object\" is incompatible with protocol \"Buffer\"\n      \"__buffer__\" is not present\n    \"object\" is incompatible with protocol \"SupportsInt\"\n      \"__int__\" is not present\n    \"object\" is incompatible with protocol \"SupportsIndex\"\n      \"__index__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 137,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 137,
|
|
"character": 46
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 94,
|
|
"character": 49
|
|
},
|
|
"end": {
|
|
"line": 94,
|
|
"character": 72
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 95,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 95,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 105,
|
|
"character": 91
|
|
},
|
|
"end": {
|
|
"line": 105,
|
|
"character": 116
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 106,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 106,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 115,
|
|
"character": 93
|
|
},
|
|
"end": {
|
|
"line": 115,
|
|
"character": 118
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 116,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 116,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 106,
|
|
"character": 49
|
|
},
|
|
"end": {
|
|
"line": 106,
|
|
"character": 72
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 107,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 107,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 114,
|
|
"character": 91
|
|
},
|
|
"end": {
|
|
"line": 114,
|
|
"character": 116
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 115,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 115,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 121,
|
|
"character": 93
|
|
},
|
|
"end": {
|
|
"line": 121,
|
|
"character": 118
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 122,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 122,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_final.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 124,
|
|
"character": 49
|
|
},
|
|
"end": {
|
|
"line": 124,
|
|
"character": 72
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_final.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 125,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 125,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_final.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 132,
|
|
"character": 91
|
|
},
|
|
"end": {
|
|
"line": 132,
|
|
"character": 116
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_final.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 133,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 133,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_final.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 139,
|
|
"character": 93
|
|
},
|
|
"end": {
|
|
"line": 139,
|
|
"character": 118
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\backtest_vqwen_final.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 140,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 140,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\enrich_ai_features.py",
|
|
"severity": "error",
|
|
"message": "Type \"list[RealDictRow]\" is not assignable to return type \"List[Dict[str, Any]]\"\n  \"list[RealDictRow]\" is not assignable to \"List[Dict[str, Any]]\"\n    Type parameter \"_T@list\" is invariant, but \"RealDictRow\" is not the same as \"Dict[str, Any]\"\n    Consider switching from \"list\" to \"Sequence\" which is covariant",
|
|
"range": {
|
|
"start": {
|
|
"line": 80,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"character": 29
|
|
}
|
|
},
|
|
"rule": "reportReturnType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_basketball_v25_data.py",
|
|
"severity": "warning",
|
|
"message": "Import \"models.basketball_v25_features\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 29,
|
|
"character": 5
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"character": 35
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_basketball_v25_data.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[str, ...]\" cannot be assigned to parameter \"key\" of type \"Tuple[str, str]\" in function \"__getitem__\"\n  \"tuple[str, ...]\" is not assignable to \"Tuple[str, str]\"\n    Tuple size mismatch; expected 2 but received indeterminate",
|
|
"range": {
|
|
"start": {
|
|
"line": 453,
|
|
"character": 24
|
|
},
|
|
"end": {
|
|
"line": 453,
|
|
"character": 46
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_basketball_v25_data.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[str, ...]\" cannot be assigned to parameter \"key\" of type \"Tuple[str, str]\" in function \"__getitem__\"\n  \"tuple[str, ...]\" is not assignable to \"Tuple[str, str]\"\n    Tuple size mismatch; expected 2 but received indeterminate",
|
|
"range": {
|
|
"start": {
|
|
"line": 701,
|
|
"character": 4
|
|
},
|
|
"end": {
|
|
"line": 701,
|
|
"character": 51
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_training_data.py",
|
|
"severity": "error",
|
|
"message": "Operator \">\" not supported for \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 783,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 783,
|
|
"character": 41
|
|
}
|
|
},
|
|
"rule": "reportOptionalOperand"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_training_data.py",
|
|
"severity": "error",
|
|
"message": "Operator \">\" not supported for \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 784,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 784,
|
|
"character": 41
|
|
}
|
|
},
|
|
"rule": "reportOptionalOperand"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_training_data_v26.py",
|
|
"severity": "error",
|
|
"message": "\"fillna\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 49,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_training_data_v26.py",
|
|
"severity": "error",
|
|
"message": "\"fillna\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 51,
|
|
"character": 76
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"character": 82
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_training_data_v27.py",
|
|
"severity": "error",
|
|
"message": "Method \"_extract_one\" overrides class \"FeatureExtractor\" in an incompatible manner\n  Parameter 11 name mismatch: base parameter is named \"home_name\", override parameter is named \"hn\"\n  Parameter 12 name mismatch: base parameter is named \"away_name\", override parameter is named \"an\"\n  Parameter 13 name mismatch: base parameter is named \"league_name\", override parameter is named \"ln\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 218,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 218,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportIncompatibleMethodOverride"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\extract_training_data_v27.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"league_matches_cache\" for class \"BatchDataLoader\"\n  Attribute \"league_matches_cache\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 240,
|
|
"character": 37
|
|
},
|
|
"end": {
|
|
"line": 240,
|
|
"character": 57
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 34
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 151,
|
|
"character": 29
|
|
},
|
|
"end": {
|
|
"line": 151,
|
|
"character": 34
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 152,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 152,
|
|
"character": 28
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 153,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 153,
|
|
"character": 28
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 154,
|
|
"character": 21
|
|
},
|
|
"end": {
|
|
"line": 154,
|
|
"character": 26
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 155,
|
|
"character": 21
|
|
},
|
|
"end": {
|
|
"line": 155,
|
|
"character": 26
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 156,
|
|
"character": 25
|
|
},
|
|
"end": {
|
|
"line": 156,
|
|
"character": 30
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 157,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 157,
|
|
"character": 27
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\live_tracker.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 158,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 158,
|
|
"character": 27
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\strategy_generator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Literal['signal']\" cannot be assigned to parameter \"keep\" of type \"Literal['first', 'last', 'all']\" in function \"nlargest\"\n  Type \"Literal['signal']\" is not assignable to type \"Literal['first', 'last', 'all']\"\n    \"Literal['signal']\" is not assignable to type \"Literal['first']\"\n    \"Literal['signal']\" is not assignable to type \"Literal['last']\"\n    \"Literal['signal']\" is not assignable to type \"Literal['all']\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 292,
|
|
"character": 51
|
|
},
|
|
"end": {
|
|
"line": 292,
|
|
"character": 59
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_advanced_basketball.py",
|
|
"severity": "error",
|
|
"message": "\"df_filtered\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 80,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 80,
|
|
"character": 19
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_advanced_basketball.py",
|
|
"severity": "error",
|
|
"message": "\"df_filtered\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 81,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 81,
|
|
"character": 19
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_advanced_basketball.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Literal[0]\" cannot be assigned to parameter \"zero_division\" of type \"str\" in function \"precision_score\"\n  \"Literal[0]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 110,
|
|
"character": 57
|
|
},
|
|
"end": {
|
|
"line": 110,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_advanced_basketball.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Literal[0]\" cannot be assigned to parameter \"zero_division\" of type \"str\" in function \"recall_score\"\n  \"Literal[0]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 111,
|
|
"character": 53
|
|
},
|
|
"end": {
|
|
"line": 111,
|
|
"character": 54
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_basketball_markets.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Literal[0]\" cannot be assigned to parameter \"zero_division\" of type \"str\" in function \"classification_report\"\n  \"Literal[0]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 103,
|
|
"character": 62
|
|
},
|
|
"end": {
|
|
"line": 103,
|
|
"character": 63
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_basketball_v25.py",
|
|
"severity": "warning",
|
|
"message": "Import \"models.basketball_v25_features\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 21,
|
|
"character": 5
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"character": 35
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_basketball_v25.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Literal[0]\" cannot be assigned to parameter \"zero_division\" of type \"str\" in function \"classification_report\"\n  \"Literal[0]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 127,
|
|
"character": 61
|
|
},
|
|
"end": {
|
|
"line": 127,
|
|
"character": 62
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_basketball_v25.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"DataFrame | Series | Unknown\" cannot be assigned to parameter \"frame\" of type \"DataFrame\" in function \"temporal_split\"\n  Type \"DataFrame | Series | Unknown\" is not assignable to type \"DataFrame\"\n    \"Series\" is not assignable to \"DataFrame\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 136,
|
|
"character": 47
|
|
},
|
|
"end": {
|
|
"line": 136,
|
|
"character": 52
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_calibration.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"List[str]\"\n  \"None\" is not assignable to \"List[str]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 90,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 90,
|
|
"character": 32
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_calibration.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"List[str]\" cannot be assigned to parameter \"iterable\" of type \"Iterable[int]\" in function \"extend\"\n  \"List[str]\" is not assignable to \"Iterable[int]\"\n    Type parameter \"_T_co@Iterable\" is covariant, but \"str\" is not a subtype of \"int\"\n      \"str\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 112,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 112,
|
|
"character": 32
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_calibration.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[Unknown]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"list[Unknown]\" is not assignable to type \"Axes | None\"\n    \"list[Unknown]\" is not assignable to \"ExtensionArray\"\n    \"list[Unknown]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"list[Unknown]\" is not assignable to \"Index\"\n    \"list[Unknown]\" is not assignable to \"Series\"\n    \"list[Unknown]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: Unknown, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 152,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 152,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_calibration.py",
|
|
"severity": "error",
|
|
"message": "Expression of type \"None\" cannot be assigned to parameter of type \"List[str]\"\n  \"None\" is not assignable to \"List[str]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 293,
|
|
"character": 25
|
|
},
|
|
"end": {
|
|
"line": 293,
|
|
"character": 29
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_calibration.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"List[str] | None\" cannot be assigned to parameter \"league_ids\" of type \"List[str]\" in function \"fetch_training_data\"\n  Type \"List[str] | None\" is not assignable to type \"List[str]\"\n    \"None\" is not assignable to \"List[str]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 396,
|
|
"character": 60
|
|
},
|
|
"end": {
|
|
"line": 396,
|
|
"character": 70
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_cards_model.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 101,
|
|
"character": 27
|
|
},
|
|
"end": {
|
|
"line": 101,
|
|
"character": 31
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_cards_model.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 101,
|
|
"character": 52
|
|
},
|
|
"end": {
|
|
"line": 101,
|
|
"character": 56
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_cards_model.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 102,
|
|
"character": 27
|
|
},
|
|
"end": {
|
|
"line": 102,
|
|
"character": 31
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_cards_model.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 102,
|
|
"character": 52
|
|
},
|
|
"end": {
|
|
"line": 102,
|
|
"character": 56
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_htft_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"_empty_features\" for class \"HtftTendencyEngine\"\n  Attribute \"_empty_features\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 179,
|
|
"character": 37
|
|
},
|
|
"end": {
|
|
"line": 179,
|
|
"character": 52
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_htft_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Literal[0]\" cannot be assigned to parameter \"zero_division\" of type \"str\" in function \"classification_report\"\n  \"Literal[0]\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 299,
|
|
"character": 88
|
|
},
|
|
"end": {
|
|
"line": 299,
|
|
"character": 89
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_htft_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"FeatureNames | None\" cannot be assigned to parameter \"obj\" of type \"Sized\" in function \"len\"\n  Type \"FeatureNames | None\" is not assignable to type \"Sized\"\n    \"None\" is incompatible with protocol \"Sized\"\n      \"__len__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 347,
|
|
"character": 59
|
|
},
|
|
"end": {
|
|
"line": 347,
|
|
"character": 80
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_htft_with_tendencies.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[str]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"list[str]\" is not assignable to type \"Axes | None\"\n    \"list[str]\" is not assignable to \"ExtensionArray\"\n    \"list[str]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"list[str]\" is not assignable to \"Index\"\n    \"list[str]\" is not assignable to \"Series\"\n    \"list[str]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: str, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 102,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 102,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_htft_with_tendencies.py",
|
|
"severity": "error",
|
|
"message": "Operator \"/\" not supported for \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 357,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 357,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportOptionalOperand"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_score_model.py",
|
|
"severity": "error",
|
|
"message": "Type \"DataFrame | Series | Unknown\" is not assignable to return type \"DataFrame\"\n  Type \"DataFrame | Series | Unknown\" is not assignable to type \"DataFrame\"\n    \"Series\" is not assignable to \"DataFrame\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 99,
|
|
"character": 11
|
|
},
|
|
"end": {
|
|
"line": 99,
|
|
"character": 13
|
|
}
|
|
},
|
|
"rule": "reportReturnType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Operator \">\" not supported for types \"Series | ArrowExtensionArray | BooleanArray | ExtensionArray | FloatingArray | IntegerArray | Index | DatetimeIndex | TimedeltaIndex | Any | Unknown\" and \"float\"\n  Operator \">\" not supported for types \"ExtensionArray\" and \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 164,
|
|
"character": 27
|
|
},
|
|
"end": {
|
|
"line": 166,
|
|
"character": 13
|
|
}
|
|
},
|
|
"rule": "reportOperatorIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"float\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Number\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"number[Any, int | float | complex]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NAType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NaTType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timestamp\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timedelta\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_clean.py",
|
|
"severity": "error",
|
|
"message": "Expression with type \"tuple[None, None] | tuple[xgboost.core.Booster, lightgbm.basic.Booster, dict[str, Unknown]]\" cannot be assigned to target tuple\n  Type \"tuple[None, None]\" is incompatible with target tuple\n    Tuple size mismatch; expected 3 but received 2",
|
|
"range": {
|
|
"start": {
|
|
"line": 418,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 418,
|
|
"character": 37
|
|
}
|
|
},
|
|
"rule": "reportAssignmentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "warning",
|
|
"message": "Import \"optuna\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 21,
|
|
"character": 7
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"character": 13
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "warning",
|
|
"message": "Import \"optuna.samplers\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 22,
|
|
"character": 5
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Operator \">\" not supported for types \"Series | ArrowExtensionArray | BooleanArray | ExtensionArray | FloatingArray | IntegerArray | Index | DatetimeIndex | TimedeltaIndex | Any | Unknown\" and \"float\"\n  Operator \">\" not supported for types \"ExtensionArray\" and \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 149,
|
|
"character": 27
|
|
},
|
|
"end": {
|
|
"line": 151,
|
|
"character": 13
|
|
}
|
|
},
|
|
"rule": "reportOperatorIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"float\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Number\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"number[Any, int | float | complex]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NAType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NaTType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timestamp\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timedelta\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 150,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 150,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "\"predict\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 191,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 191,
|
|
"character": 35
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"shape\" for class \"List[spmatrix]\"\n  Attribute \"shape\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 261,
|
|
"character": 17
|
|
},
|
|
"end": {
|
|
"line": 261,
|
|
"character": 22
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"column_stack\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 262,
|
|
"character": 16
|
|
},
|
|
"end": {
|
|
"line": 262,
|
|
"character": 51
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Operator \"-\" not supported for types \"Literal[1]\" and \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"spmatrix\" when expected type is \"ArrayLike\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"List[spmatrix]\" when expected type is \"ArrayLike\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 262,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 262,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportOperatorIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[ndarray[_AnyShape, dtype[Any]] | Unknown | spmatrix | List[spmatrix]]\" cannot be assigned to parameter \"tup\" of type \"Sequence[ArrayLike]\" in function \"column_stack\"\n  Type \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\" is not assignable to type \"ArrayLike\"\n    Type \"spmatrix\" is not assignable to type \"ArrayLike\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_SupportsArray[dtype[Any]]\"\n        \"__array__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_NestedSequence[_SupportsArray[dtype[Any]]]\"\n        \"__len__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 262,
|
|
"character": 44
|
|
},
|
|
"end": {
|
|
"line": 262,
|
|
"character": 49
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"shape\" for class \"List[spmatrix]\"\n  Attribute \"shape\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 376,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 376,
|
|
"character": 28
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"column_stack\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 377,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 377,
|
|
"character": 69
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Operator \"-\" not supported for types \"Literal[1]\" and \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"spmatrix\" when expected type is \"ArrayLike\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"List[spmatrix]\" when expected type is \"ArrayLike\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 377,
|
|
"character": 39
|
|
},
|
|
"end": {
|
|
"line": 377,
|
|
"character": 54
|
|
}
|
|
},
|
|
"rule": "reportOperatorIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[ndarray[_AnyShape, dtype[Any]] | Unknown | spmatrix | List[spmatrix]]\" cannot be assigned to parameter \"tup\" of type \"Sequence[ArrayLike]\" in function \"column_stack\"\n  Type \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\" is not assignable to type \"ArrayLike\"\n    Type \"spmatrix\" is not assignable to type \"ArrayLike\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_SupportsArray[dtype[Any]]\"\n        \"__array__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_NestedSequence[_SupportsArray[dtype[Any]]]\"\n        \"__len__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 377,
|
|
"character": 56
|
|
},
|
|
"end": {
|
|
"line": 377,
|
|
"character": 67
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "\"__getitem__\" method not defined on type \"spmatrix\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 383,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 383,
|
|
"character": 26
|
|
}
|
|
},
|
|
"rule": "reportIndexIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"__getitem__\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 383,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 383,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[slice[None, None, None], int]\" cannot be assigned to parameter \"s\" of type \"slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None]\" in function \"__getitem__\"\n  \"tuple[slice[None, None, None], int]\" is not assignable to \"slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 383,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 383,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"shape\" for class \"List[spmatrix]\"\n  Attribute \"shape\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 404,
|
|
"character": 25
|
|
},
|
|
"end": {
|
|
"line": 404,
|
|
"character": 30
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"column_stack\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 405,
|
|
"character": 24
|
|
},
|
|
"end": {
|
|
"line": 405,
|
|
"character": 75
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Operator \"-\" not supported for types \"Literal[1]\" and \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"spmatrix\" when expected type is \"ArrayLike\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"List[spmatrix]\" when expected type is \"ArrayLike\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 405,
|
|
"character": 41
|
|
},
|
|
"end": {
|
|
"line": 405,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportOperatorIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[ndarray[_AnyShape, dtype[Any]] | Unknown | spmatrix | List[spmatrix]]\" cannot be assigned to parameter \"tup\" of type \"Sequence[ArrayLike]\" in function \"column_stack\"\n  Type \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\" is not assignable to type \"ArrayLike\"\n    Type \"spmatrix\" is not assignable to type \"ArrayLike\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_SupportsArray[dtype[Any]]\"\n        \"__array__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_NestedSequence[_SupportsArray[dtype[Any]]]\"\n        \"__len__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 405,
|
|
"character": 60
|
|
},
|
|
"end": {
|
|
"line": 405,
|
|
"character": 73
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "\"__getitem__\" method not defined on type \"spmatrix\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 409,
|
|
"character": 39
|
|
},
|
|
"end": {
|
|
"line": 409,
|
|
"character": 52
|
|
}
|
|
},
|
|
"rule": "reportIndexIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"__getitem__\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 409,
|
|
"character": 39
|
|
},
|
|
"end": {
|
|
"line": 409,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v25_pro.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"tuple[slice[None, None, None], int]\" cannot be assigned to parameter \"s\" of type \"slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None]\" in function \"__getitem__\"\n  \"tuple[slice[None, None, None], int]\" is not assignable to \"slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None]\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 409,
|
|
"character": 39
|
|
},
|
|
"end": {
|
|
"line": 409,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"float\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"Number\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"number[Any, int | float | complex]\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"ArrowExtensionArray\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"NAType\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"NaTType\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"Timestamp\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"Timedelta\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"BooleanArray\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"FloatingArray\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"IntegerArray\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"ExtensionArray\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"notna\" for class \"ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]\"\n  Attribute \"notna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 60,
|
|
"character": 71
|
|
},
|
|
"end": {
|
|
"line": 60,
|
|
"character": 76
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"column_stack\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 153,
|
|
"character": 16
|
|
},
|
|
"end": {
|
|
"line": 153,
|
|
"character": 41
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Operator \"-\" not supported for types \"Literal[1]\" and \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"spmatrix\" when expected type is \"ArrayLike\"\n  Operator \"-\" not supported for types \"Literal[1]\" and \"List[spmatrix]\" when expected type is \"ArrayLike\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 153,
|
|
"character": 33
|
|
},
|
|
"end": {
|
|
"line": 153,
|
|
"character": 36
|
|
}
|
|
},
|
|
"rule": "reportOperatorIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[ndarray[_AnyShape, dtype[Any]] | Unknown | spmatrix | List[spmatrix]]\" cannot be assigned to parameter \"tup\" of type \"Sequence[ArrayLike]\" in function \"column_stack\"\n  Type \"ndarray[_AnyShape, dtype[Any]] | spmatrix | List[spmatrix]\" is not assignable to type \"ArrayLike\"\n    Type \"spmatrix\" is not assignable to type \"ArrayLike\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_SupportsArray[dtype[Any]]\"\n        \"__array__\" is not present\n      \"spmatrix\" is incompatible with protocol \"_NestedSequence[_SupportsArray[dtype[Any]]]\"\n        \"__len__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 153,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 153,
|
|
"character": 39
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"argmax\" for class \"spmatrix\"\n  Attribute \"argmax\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 154,
|
|
"character": 37
|
|
},
|
|
"end": {
|
|
"line": 154,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"argmax\" for class \"List[spmatrix]\"\n  Attribute \"argmax\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 154,
|
|
"character": 37
|
|
},
|
|
"end": {
|
|
"line": 154,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "\"p\" is possibly unbound",
|
|
"range": {
|
|
"start": {
|
|
"line": 196,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 196,
|
|
"character": 31
|
|
}
|
|
},
|
|
"rule": "reportPossiblyUnboundVariable"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"float\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Number\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"number[Any, int | float | complex]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NAType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NaTType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timestamp\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timedelta\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 72
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 78
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"ArrowExtensionArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 85
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 91
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"BooleanArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 85
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 91
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"ExtensionArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 85
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 91
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"FloatingArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 85
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 91
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"IntegerArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 231,
|
|
"character": 85
|
|
},
|
|
"end": {
|
|
"line": 231,
|
|
"character": 91
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"float\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Number\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"number[Any, int | float | complex]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NAType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NaTType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timestamp\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timedelta\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 73
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 79
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"ArrowExtensionArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 86
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 92
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"BooleanArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 86
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 92
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"ExtensionArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 86
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 92
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"FloatingArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 86
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 92
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"values\" for class \"IntegerArray\"\n  Attribute \"values\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 232,
|
|
"character": 86
|
|
},
|
|
"end": {
|
|
"line": 232,
|
|
"character": 92
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"column_stack\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 233,
|
|
"character": 19
|
|
},
|
|
"end": {
|
|
"line": 233,
|
|
"character": 53
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[ArrayLike | Unknown | Any | _Array[tuple[int], Any]]\" cannot be assigned to parameter \"tup\" of type \"Sequence[ArrayLike]\" in function \"column_stack\"\n  Type \"ArrayLike | Unknown | Any | _Array[tuple[int], Any]\" is not assignable to type \"ArrayLike\"\n    Type \"ExtensionArray\" is not assignable to type \"ArrayLike\"\n      \"ExtensionArray\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"ExtensionArray\" is incompatible with protocol \"_SupportsArray[dtype[Any]]\"\n        \"__array__\" is not present\n      \"ExtensionArray\" is incompatible with protocol \"_NestedSequence[_SupportsArray[dtype[Any]]]\"\n        \"__reversed__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 233,
|
|
"character": 35
|
|
},
|
|
"end": {
|
|
"line": 233,
|
|
"character": 52
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 335,
|
|
"character": 38
|
|
},
|
|
"end": {
|
|
"line": 335,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"median\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"median\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 335,
|
|
"character": 61
|
|
},
|
|
"end": {
|
|
"line": 335,
|
|
"character": 67
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"nunique\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"nunique\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 338,
|
|
"character": 51
|
|
},
|
|
"end": {
|
|
"line": 338,
|
|
"character": 58
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"float\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Number\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"number[Any, int | float | complex]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NAType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NaTType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timestamp\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timedelta\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 477,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 477,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"float\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Number\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"number[Any, int | float | complex]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NAType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"NaTType\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timestamp\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"Timedelta\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_v27_value_sniper.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"fillna\" for class \"ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]\"\n  Attribute \"fillna\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 480,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 480,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[str]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"list[str]\" is not assignable to type \"Axes | None\"\n    \"list[str]\" is not assignable to \"ExtensionArray\"\n    \"list[str]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"list[str]\" is not assignable to \"Index\"\n    \"list[str]\" is not assignable to \"Series\"\n    \"list[str]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: str, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 73,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 77,
|
|
"character": 5
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[str]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"list[str]\" is not assignable to type \"Axes | None\"\n    \"list[str]\" is not assignable to \"ExtensionArray\"\n    \"list[str]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"list[str]\" is not assignable to \"Index\"\n    \"list[str]\" is not assignable to \"Series\"\n    \"list[str]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: str, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 76,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 83,
|
|
"character": 5
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"apply\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"apply\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 103,
|
|
"character": 35
|
|
},
|
|
"end": {
|
|
"line": 103,
|
|
"character": 40
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_deep.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"apply\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"apply\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 104,
|
|
"character": 35
|
|
},
|
|
"end": {
|
|
"line": 104,
|
|
"character": 40
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[str]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"list[str]\" is not assignable to type \"Axes | None\"\n    \"list[str]\" is not assignable to \"ExtensionArray\"\n    \"list[str]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"list[str]\" is not assignable to \"Index\"\n    \"list[str]\" is not assignable to \"Series\"\n    \"list[str]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: str, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 81,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 86,
|
|
"character": 5
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"apply\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"apply\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 101,
|
|
"character": 31
|
|
},
|
|
"end": {
|
|
"line": 101,
|
|
"character": 36
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"apply\" for class \"ndarray[_AnyShape, dtype[Any]]\"\n  Attribute \"apply\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 102,
|
|
"character": 31
|
|
},
|
|
"end": {
|
|
"line": 102,
|
|
"character": 36
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "\"__getitem__\" method not defined on type \"spmatrix\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 168,
|
|
"character": 19
|
|
},
|
|
"end": {
|
|
"line": 168,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportIndexIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | Unknown | spmatrix\" cannot be assigned to parameter \"iter2\" of type \"Iterable[_T2@__new__]\" in function \"__new__\"\n  Type \"Any | Unknown | spmatrix\" is not assignable to type \"Iterable[_T2@__new__]\"\n    \"spmatrix\" is incompatible with protocol \"Iterable[_T2@__new__]\"\n      \"__iter__\" is not present",
|
|
"range": {
|
|
"start": {
|
|
"line": 169,
|
|
"character": 52
|
|
},
|
|
"end": {
|
|
"line": 169,
|
|
"character": 60
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 178,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 178,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "\"__getitem__\" method not defined on type \"spmatrix\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 182,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 182,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportIndexIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | Unknown | spmatrix\" cannot be assigned to parameter \"x\" of type \"ConvertibleToFloat\" in function \"__new__\"\n  Type \"Any | Unknown | spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n    Type \"spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n      \"spmatrix\" is not assignable to \"str\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsFloat\"\n        \"__float__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsIndex\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 182,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 182,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | Unknown | spmatrix\" cannot be assigned to parameter \"x\" of type \"ConvertibleToFloat\" in function \"__new__\"\n  Type \"Any | Unknown | spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n    Type \"spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n      \"spmatrix\" is not assignable to \"str\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsFloat\"\n        \"__float__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsIndex\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 182,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 182,
|
|
"character": 45
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 185,
|
|
"character": 75
|
|
},
|
|
"end": {
|
|
"line": 185,
|
|
"character": 100
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 186,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 186,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "\"__getitem__\" method not defined on type \"spmatrix\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 189,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 189,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportIndexIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | Unknown | spmatrix\" cannot be assigned to parameter \"x\" of type \"ConvertibleToFloat\" in function \"__new__\"\n  Type \"Any | Unknown | spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n    Type \"spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n      \"spmatrix\" is not assignable to \"str\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsFloat\"\n        \"__float__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsIndex\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 189,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 189,
|
|
"character": 47
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | Unknown | spmatrix\" cannot be assigned to parameter \"x\" of type \"ConvertibleToFloat\" in function \"__new__\"\n  Type \"Any | Unknown | spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n    Type \"spmatrix\" is not assignable to type \"ConvertibleToFloat\"\n      \"spmatrix\" is not assignable to \"str\"\n      \"spmatrix\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsFloat\"\n        \"__float__\" is not present\n      \"spmatrix\" is incompatible with protocol \"SupportsIndex\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 189,
|
|
"character": 23
|
|
},
|
|
"end": {
|
|
"line": 189,
|
|
"character": 47
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 192,
|
|
"character": 77
|
|
},
|
|
"end": {
|
|
"line": 192,
|
|
"character": 102
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_stress.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"float\" cannot be assigned to parameter \"value\" of type \"int\" in function \"__setitem__\"\n  \"float\" is not assignable to \"int\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 193,
|
|
"character": 18
|
|
},
|
|
"end": {
|
|
"line": 193,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_v3.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"list[str]\" cannot be assigned to parameter \"columns\" of type \"Axes | None\" in function \"__init__\"\n  Type \"list[str]\" is not assignable to type \"Axes | None\"\n    \"list[str]\" is not assignable to \"ExtensionArray\"\n    \"list[str]\" is not assignable to \"ndarray[_AnyShape, dtype[Any]]\"\n    \"list[str]\" is not assignable to \"Index\"\n    \"list[str]\" is not assignable to \"Series\"\n    \"list[str]\" is incompatible with protocol \"SequenceNotStr[Unknown]\"\n      \"index\" is an incompatible type\n        Type \"(value: str, start: SupportsIndex = 0, stop: SupportsIndex = sys.maxsize, /) -> int\" is not assignable to type \"(value: Any, /, start: int = 0, stop: int = ...) -> int\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 244,
|
|
"character": 16
|
|
},
|
|
"end": {
|
|
"line": 265,
|
|
"character": 9
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_v3.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 297,
|
|
"character": 17
|
|
},
|
|
"end": {
|
|
"line": 297,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_vqwen_v3.py",
|
|
"severity": "error",
|
|
"message": "Type \"DataFrame | Series | Unknown\" is not assignable to declared type \"DataFrame\"\n  Type \"DataFrame | Series | Unknown\" is not assignable to type \"DataFrame\"\n    \"Series\" is not assignable to \"DataFrame\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 506,
|
|
"character": 9
|
|
},
|
|
"end": {
|
|
"line": 506,
|
|
"character": 74
|
|
}
|
|
},
|
|
"rule": "reportAssignmentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_markets.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"map\" for class \"list[Unknown]\"\n  Attribute \"map\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 128,
|
|
"character": 40
|
|
},
|
|
"end": {
|
|
"line": 128,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_pro.py",
|
|
"severity": "warning",
|
|
"message": "Import \"optuna\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 22,
|
|
"character": 7
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"character": 13
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_pro.py",
|
|
"severity": "warning",
|
|
"message": "Import \"optuna.samplers\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 23,
|
|
"character": 5
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"character": 20
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 134,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 134,
|
|
"character": 40
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 134,
|
|
"character": 66
|
|
},
|
|
"end": {
|
|
"line": 134,
|
|
"character": 70
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 135,
|
|
"character": 36
|
|
},
|
|
"end": {
|
|
"line": 135,
|
|
"character": 40
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"iloc\" for class \"list[Unknown]\"\n  Attribute \"iloc\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 135,
|
|
"character": 66
|
|
},
|
|
"end": {
|
|
"line": 135,
|
|
"character": 70
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\scripts\\train_xgboost_pro.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"map\" for class \"list[Unknown]\"\n  Attribute \"map\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 165,
|
|
"character": 35
|
|
},
|
|
"end": {
|
|
"line": 165,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\betting_brain.py",
|
|
"severity": "error",
|
|
"message": "\"get\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 105,
|
|
"character": 58
|
|
},
|
|
"end": {
|
|
"line": 105,
|
|
"character": 61
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Type \"() -> BasketballV25Predictor\" is not assignable to declared type \"() -> NoReturn\"\n  Type \"() -> BasketballV25Predictor\" is not assignable to type \"() -> NoReturn\"\n    Function return type \"BasketballV25Predictor\" is incompatible with type \"NoReturn\"\n      Type \"BasketballV25Predictor\" is not assignable to type \"NoReturn\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 43,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"character": 36
|
|
}
|
|
},
|
|
"rule": "reportAssignmentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Variable not allowed in type expression",
|
|
"range": {
|
|
"start": {
|
|
"line": 162,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 162,
|
|
"character": 40
|
|
}
|
|
},
|
|
"rule": "reportInvalidTypeForm"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Variable not allowed in type expression",
|
|
"range": {
|
|
"start": {
|
|
"line": 195,
|
|
"character": 45
|
|
},
|
|
"end": {
|
|
"line": 195,
|
|
"character": 57
|
|
}
|
|
},
|
|
"rule": "reportInvalidTypeForm"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str | None\" cannot be assigned to parameter \"key\" of type \"str\" in function \"__setitem__\"\n  Type \"str | None\" is not assignable to type \"str\"\n    \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 742,
|
|
"character": 16
|
|
},
|
|
"end": {
|
|
"line": 742,
|
|
"character": 31
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str | None\" cannot be assigned to parameter \"key\" of type \"str\" in function \"__setitem__\"\n  Type \"str | None\" is not assignable to type \"str\"\n    \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 750,
|
|
"character": 16
|
|
},
|
|
"end": {
|
|
"line": 750,
|
|
"character": 31
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"str | None\" cannot be assigned to parameter \"key\" of type \"str\" in function \"__setitem__\"\n  Type \"str | None\" is not assignable to type \"str\"\n    \"None\" is not assignable to \"str\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 761,
|
|
"character": 20
|
|
},
|
|
"end": {
|
|
"line": 761,
|
|
"character": 35
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Method declaration \"get_daily_bankers\" is obscured by a declaration of the same name",
|
|
"range": {
|
|
"start": {
|
|
"line": 2268,
|
|
"character": 8
|
|
},
|
|
"end": {
|
|
"line": 2268,
|
|
"character": 25
|
|
}
|
|
},
|
|
"rule": "reportRedeclaration"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | None\" cannot be assigned to parameter \"x\" of type \"ConvertibleToInt\" in function \"__new__\"\n  Type \"Any | None\" is not assignable to type \"ConvertibleToInt\"\n    Type \"None\" is not assignable to type \"ConvertibleToInt\"\n      \"None\" is not assignable to \"str\"\n      \"None\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"None\" is incompatible with protocol \"SupportsInt\"\n        \"__int__\" is not present\n      \"None\" is incompatible with protocol \"SupportsIndex\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 2783,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 2783,
|
|
"character": 49
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | None\" cannot be assigned to parameter \"x\" of type \"ConvertibleToInt\" in function \"__new__\"\n  Type \"Any | None\" is not assignable to type \"ConvertibleToInt\"\n    Type \"None\" is not assignable to type \"ConvertibleToInt\"\n      \"None\" is not assignable to \"str\"\n      \"None\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"None\" is incompatible with protocol \"SupportsInt\"\n        \"__int__\" is not present\n      \"None\" is incompatible with protocol \"SupportsIndex\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 2783,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 2783,
|
|
"character": 49
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | None\" cannot be assigned to parameter \"x\" of type \"ConvertibleToInt\" in function \"__new__\"\n  Type \"Any | None\" is not assignable to type \"ConvertibleToInt\"\n    Type \"None\" is not assignable to type \"ConvertibleToInt\"\n      \"None\" is not assignable to \"str\"\n      \"None\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"None\" is incompatible with protocol \"SupportsInt\"\n        \"__int__\" is not present\n      \"None\" is incompatible with protocol \"SupportsIndex\"\n ...",
|
|
"range": {
|
|
"start": {
|
|
"line": 2788,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 2788,
|
|
"character": 49
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Any | None\" cannot be assigned to parameter \"x\" of type \"ConvertibleToInt\" in function \"__new__\"\n  Type \"Any | None\" is not assignable to type \"ConvertibleToInt\"\n    Type \"None\" is not assignable to type \"ConvertibleToInt\"\n      \"None\" is not assignable to \"str\"\n      \"None\" is incompatible with protocol \"Buffer\"\n        \"__buffer__\" is not present\n      \"None\" is incompatible with protocol \"SupportsInt\"\n        \"__int__\" is not present\n      \"None\" is incompatible with protocol \"SupportsIndex\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 2788,
|
|
"character": 28
|
|
},
|
|
"end": {
|
|
"line": 2788,
|
|
"character": 49
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\v26_shadow_engine.py",
|
|
"severity": "error",
|
|
"message": "No overloads for \"max\" match the provided arguments",
|
|
"range": {
|
|
"start": {
|
|
"line": 1957,
|
|
"character": 15
|
|
},
|
|
"end": {
|
|
"line": 1957,
|
|
"character": 40
|
|
}
|
|
},
|
|
"rule": "reportCallIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\v26_shadow_engine.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"Overload[(key: str, default: None = None, /) -> (float | None), (key: str, default: float, /) -> float, (key: str, default: _T@get, /) -> (float | _T@get)]\" cannot be assigned to parameter \"key\" of type \"(_T@max) -> SupportsRichComparison\" in function \"max\"\n  No overloaded function matches type \"(str) -> SupportsRichComparison\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 1957,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 1957,
|
|
"character": 39
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\services\\v2_router.py",
|
|
"severity": "warning",
|
|
"message": "Import \"models.betting_engine\" could not be resolved",
|
|
"range": {
|
|
"start": {
|
|
"line": 24,
|
|
"character": 5
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"character": 26
|
|
}
|
|
},
|
|
"rule": "reportMissingImports"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\test_db.py",
|
|
"severity": "error",
|
|
"message": "\"split\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 3,
|
|
"character": 50
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"character": 55
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_engine_null_safety.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"dict[str, Decimal]\" cannot be assigned to parameter \"odds_data\" of type \"Dict[str, float]\" in function \"predict\"\n  \"Decimal\" is not assignable to \"float\"\n  \"Decimal\" is not assignable to \"float\"\n  \"Decimal\" is not assignable to \"float\"\n  \"Decimal\" is not assignable to \"float\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 19,
|
|
"character": 22
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"character": 13
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"_StaticFetchAllCursor\" cannot be assigned to parameter \"cur\" of type \"RealDictCursor\" in function \"_extract_odds\"\n  \"_StaticFetchAllCursor\" is not assignable to \"RealDictCursor\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 294,
|
|
"character": 47
|
|
},
|
|
"end": {
|
|
"line": 294,
|
|
"character": 50
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"_StaticFetchAllCursor\" cannot be assigned to parameter \"cur\" of type \"RealDictCursor\" in function \"_extract_odds\"\n  \"_StaticFetchAllCursor\" is not assignable to \"RealDictCursor\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 309,
|
|
"character": 47
|
|
},
|
|
"end": {
|
|
"line": 309,
|
|
"character": 50
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Expression with type \"Tuple[List[str] | None, List[str] | None, str, float]\" cannot be assigned to target tuple\n  Type \"Tuple[List[str] | None, List[str] | None, str, float]\" is incompatible with target tuple\n    Tuple size mismatch; expected 3 but received 4",
|
|
"range": {
|
|
"start": {
|
|
"line": 358,
|
|
"character": 12
|
|
},
|
|
"end": {
|
|
"line": 358,
|
|
"character": 30
|
|
}
|
|
},
|
|
"rule": "reportAssignmentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"_StaticFetchAllCursor\" cannot be assigned to parameter \"cur\" of type \"RealDictCursor\" in function \"_extract_lineups\"\n  \"_StaticFetchAllCursor\" is not assignable to \"RealDictCursor\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 358,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 358,
|
|
"character": 71
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Expression with type \"Tuple[List[str] | None, List[str] | None, str, float]\" cannot be assigned to target tuple\n  Type \"Tuple[List[str] | None, List[str] | None, str, float]\" is incompatible with target tuple\n    Tuple size mismatch; expected 3 but received 4",
|
|
"range": {
|
|
"start": {
|
|
"line": 380,
|
|
"character": 12
|
|
},
|
|
"end": {
|
|
"line": 380,
|
|
"character": 30
|
|
}
|
|
},
|
|
"rule": "reportAssignmentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"_StaticFetchAllCursor\" cannot be assigned to parameter \"cur\" of type \"RealDictCursor\" in function \"_extract_lineups\"\n  \"_StaticFetchAllCursor\" is not assignable to \"RealDictCursor\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 380,
|
|
"character": 68
|
|
},
|
|
"end": {
|
|
"line": 380,
|
|
"character": 71
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"match_id\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 427,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 427,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"home_team_id\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 428,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 428,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"away_team_id\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 429,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 429,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"sport\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 430,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 430,
|
|
"character": 35
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"referee_name\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 431,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 431,
|
|
"character": 42
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"home_lineup\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 432,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 432,
|
|
"character": 41
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"away_lineup\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 433,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 433,
|
|
"character": 41
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"lineup_source\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 434,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 434,
|
|
"character": 43
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Object of type \"None\" is not subscriptable",
|
|
"range": {
|
|
"start": {
|
|
"line": 435,
|
|
"character": 25
|
|
},
|
|
"end": {
|
|
"line": 435,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportOptionalSubscript"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"sidelined_data\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 435,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 435,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"odds_data\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 436,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 436,
|
|
"character": 39
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"odds_data\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 437,
|
|
"character": 30
|
|
},
|
|
"end": {
|
|
"line": 437,
|
|
"character": 39
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Cannot assign to attribute \"predict_market_bundle\" for class \"V25Predictor\"\n  Attribute \"predict_market_bundle\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 469,
|
|
"character": 40
|
|
},
|
|
"end": {
|
|
"line": 469,
|
|
"character": 61
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"predict_market_bundle\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 469,
|
|
"character": 40
|
|
},
|
|
"end": {
|
|
"line": 469,
|
|
"character": 61
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"predict\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 518,
|
|
"character": 47
|
|
},
|
|
"end": {
|
|
"line": 518,
|
|
"character": 54
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"predict\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 526,
|
|
"character": 47
|
|
},
|
|
"end": {
|
|
"line": 526,
|
|
"character": 54
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"predict\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 527,
|
|
"character": 56
|
|
},
|
|
"end": {
|
|
"line": 527,
|
|
"character": 63
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "Cannot access attribute \"predict_market_bundle\" for class \"V25Predictor\"\n  Attribute \"predict_market_bundle\" is unknown",
|
|
"range": {
|
|
"start": {
|
|
"line": 533,
|
|
"character": 40
|
|
},
|
|
"end": {
|
|
"line": 533,
|
|
"character": 61
|
|
}
|
|
},
|
|
"rule": "reportAttributeAccessIssue"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_single_match_orchestrator.py",
|
|
"severity": "error",
|
|
"message": "\"predict_market_bundle\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 533,
|
|
"character": 40
|
|
},
|
|
"end": {
|
|
"line": 533,
|
|
"character": 61
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_skip_logic.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"DummyContext\" cannot be assigned to parameter \"ctx\" of type \"CalculationContext\" in function \"calculate\"\n  \"DummyContext\" is not assignable to \"CalculationContext\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 82,
|
|
"character": 41
|
|
},
|
|
"end": {
|
|
"line": 82,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_skip_logic.py",
|
|
"severity": "error",
|
|
"message": "\"is_skip\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 87,
|
|
"character": 31
|
|
},
|
|
"end": {
|
|
"line": 87,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_skip_logic.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"DummyContext\" cannot be assigned to parameter \"ctx\" of type \"CalculationContext\" in function \"calculate\"\n  \"DummyContext\" is not assignable to \"CalculationContext\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 97,
|
|
"character": 41
|
|
},
|
|
"end": {
|
|
"line": 97,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_skip_logic.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"DummyContext\" cannot be assigned to parameter \"ctx\" of type \"CalculationContext\" in function \"calculate\"\n  \"DummyContext\" is not assignable to \"CalculationContext\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 114,
|
|
"character": 41
|
|
},
|
|
"end": {
|
|
"line": 114,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_skip_logic.py",
|
|
"severity": "error",
|
|
"message": "\"is_skip\" is not a known attribute of \"None\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 118,
|
|
"character": 31
|
|
},
|
|
"end": {
|
|
"line": 118,
|
|
"character": 38
|
|
}
|
|
},
|
|
"rule": "reportOptionalMemberAccess"
|
|
},
|
|
{
|
|
"file": "c:\\Users\\fahri\\OneDrive\\المستندات\\GitHub\\iddaai\\iddaai-be\\ai-engine\\tests\\test_skip_logic.py",
|
|
"severity": "error",
|
|
"message": "Argument of type \"DummyContext\" cannot be assigned to parameter \"ctx\" of type \"CalculationContext\" in function \"calculate\"\n  \"DummyContext\" is not assignable to \"CalculationContext\"",
|
|
"range": {
|
|
"start": {
|
|
"line": 133,
|
|
"character": 41
|
|
},
|
|
"end": {
|
|
"line": 133,
|
|
"character": 44
|
|
}
|
|
},
|
|
"rule": "reportArgumentType"
|
|
}
|
|
],
|
|
"summary": {
|
|
"filesAnalyzed": 118,
|
|
"errorCount": 334,
|
|
"warningCount": 8,
|
|
"informationCount": 0,
|
|
"timeInSec": 18.691
|
|
}
|
|
}
|
|
|