Closed jonsnowpt closed 1 year ago
NOTES
Correct number of seasons (total):
10,944
-Sportmonks (total) = 10,944
Fixture-Odds [widget]
Cache
appears to be lagging behind. However, using directfallback Hasura
data shows correct data.
Premier League
League Id: 8 NEW Season Id: 21646
📌 Reason for
CACHE
inconsistency Nofixtures
played yet [?]
***********************************
✅ - Direct Hasura (Fallback) Data
***********************************
{
"league_id": 8,
"seasons": [
{
✅ "season_id": 21646,
"fixtures": [ __380_items__ ],
"weeks": [ __34_items__ ],
"rounds": [ __38_items__ ]
}
]
}
***********************************
❌ - Cache
***********************************
{
"league_id": 8,
"seasons": [
{
❌ "season_id": 19734,
"fixtures": [ __380_items__ ],
❗️❓ "weeks": [ __0_items__ ],
"rounds": [ __38_items__ ]
}
]
}
Champions League
League Id: 2 NEW Season Id: 21638
📌 Reason for
CACHE
inconsistencyNew Season Fixtures
have already played, andcache
correctly injected new data. However, thesurgical
data was injected into the existingcache
, as aNEW Season
object. This is incorrect, ascache
should only hold 1 season object - thecurrent-season
data.🟩 SOLUTION Check for data in
cache
as being outdated, and re-generate data for theentire
NEW season.
***********************************
✅ - Direct Hasura (Fallback) Data
***********************************
{
"league_id": 2,
"seasons": [
{
✅ "season_id": 21638,
"fixtures": [ __57_items__ ],
"weeks": [ __5_items__ ],
"rounds": [ __4_items__ ]
}
]
}
***********************************
🟠 - Cache
***********************************
{
"league_id": 2,
"seasons": [
{
❌ "season_id": 19699,
"fixtures": [ __214_items__ ],
❗️❓ "weeks": [ __0_items__ ],
❗️❓ "rounds": [ __0_items__ ]
},
{
✅ "season_id": 21638,
"fixtures": [ __3_items__ ],
"weeks": [ __1_items__ ],
"rounds": [ __1_items__ ]
}
]
}
Standings [widget]
Cache
appears to be lagging behind. However, using directfallback Hasura
data shows correct data.
Premier League
League Id: 8 NEW Season Id: 21646
📌 Reason for
data
inconsistency Invalidstandings (current)
+standings (historic)
data onHasura
. Thenow
past(current) season 22/23
is using thehistoric
standings, andnow
(official) current season 23/24, is using thepast (current) season 22/23
data. FIX => ?
***********************************
🟠 - Direct Hasura (Fallback) Data
***********************************
{
"league_id": 8,
"seasons": [
... __16_other_items__ ,
{
✅ "season_id": 19734,
"standings":
[
{
"stage_name": "Regular Season",
"group_based": false,
❌ "total":
[
{
"team_logo": "https://cdn.sportmonks.com/images/soccer/teams/19/19.png",
"team_name": "Arsenal",
"color_code": "#8DD890",
"points": 54,
"position": 1,
"games_played": 23,
"won": 17,
...
},
... __19_other_items__ ,
],
❌ "home": [...],
❌ "away": [...],
}
],
},
{
✅ "season_id": 21646,
"standings":
[
{
"stage_name": "Regular Season",
"group_based": false,
❌ "total":
[
{
"team_logo": "https://cdn.sportmonks.com/images/soccer/teams/9/9.png",
"team_name": "Manchester City",
"color_code": "#8DD890",
"points": 89,
"position": 1,
"games_played": 38,
"won": 28,
...
},
... __19_other_items__ ,
],
❌ "home": [...],
❌ "away": [...],
}
],
}
]
}
***********************************
❌ - Cache
***********************************
(same issue as Fallback)
Champions League
League Id: 2 NEW Season Id: 21638
📌 Reason for
CACHE
inconsistency Same reason as forPremier League (previous)
Top-Players [widget] // TODO:
@migbash
https://betarena-scores-platform.herokuapp.com/football/indonesia/liga-1
Missing data also on current season top players and data about the season:
@migbash
Also, live are not shown on the fixtures:
This was features that worked in the past.
NOTES
This -> https://github.com/Betarena/scores/issues/1435#issuecomment-1625654280, has been updated, fixed and deployed to
DEV
. RequiresPROD
PR.
This -> https://github.com/Betarena/scores/issues/1435#issuecomment-1625345162
(the indonesian league)
has been updated.
@migbash
Considering that the season is yet to start, there should not be stats available.
===
The provider does not have available for example the number of teams playing in the tournament?
https://betarena-scores-platform.herokuapp.com/football/england/premier-league
@migbash
Also top players is missing from almost every tournament:
https://betarena-scores-platform.herokuapp.com/football/republic-of-ireland/premier-division
https://betarena-scores-platform.herokuapp.com/football/estonia/meistriliiga
https://betarena-scores-platform.herokuapp.com/football/iceland/pepsideild
https://betarena-scores-platform.herokuapp.com/football/norway/eliteserien
https://betarena-scores-platform.herokuapp.com/football/argentina/superliga
https://betarena-scores-platform.herokuapp.com/football/brazil/serie-b
@migbash
Ignore this one. Suppose its missing data.
@migbash
Standings are not updating at this time. Is it because of the data updating that's happening?
Example:
https://scores.betarena.com/football/brazil/serie-b
Botafogo should have 16 played games, not 15.
This is happening on all tournament standings.
It seems that none of the tournaments have the new season included.
https://scores.betarena.com/football/europe/champions-league