Skip to content

Sprint2 - #2

Closed
AlgoriThai07 wants to merge 6 commits into
mainfrom
sprint2
Closed

AlgoriThai07 wants to merge 6 commits into
mainfrom
sprint2

Conversation

@AlgoriThai07

Copy link
Copy Markdown
Owner

No description provided.

…feasibility

- db: Strip whitespace from keys loaded from .env in session.py to prevent malformed environment variable names (e.g. trailing space in 'DATABASE_URL').
- tasks: Fix DetachedInstanceError in 
un_baseline_xp_predictions by loading and processing player IDs within the session context before closing it.
- tasks: Fix NameError inside predictions task loop (referencing player.id instead of player_id).
- seeding: Update create_mock_squad.py to seed a valid FPL squad (exactly 2 GKP, 5 DEF, 5 MID, 3 FWD) that respects the 3-players-per-club rule, resolving ILP infeasibility errors in the lineup and transfer optimizers.
- tests: Update test cleanup fixtures in 	est_ingestion.py and 	est_features.py to purge PlayerFeature and XpPrediction tables, resolving ForeignKeyViolation errors.
- tests: Revert cookie authentication assertions in 	est_squad_api.py.
- frontend: Align default API port in the recommendations page and mock squad print output to port 8000.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant