Skip to content

Commit

Permalink
Tuning
Browse files Browse the repository at this point in the history
avgupta456 committed Apr 18, 2024
1 parent f8d18ea commit 5b01c32
Showing 5 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions backend/deploy/api_app.yaml
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@ service: default
runtime: python311
entrypoint: gunicorn -w 1 -t 600 -k uvicorn.workers.UvicornWorker main:app

instance_class: F1
instance_class: F2

automatic_scaling:
min_instances: 0
max_instances: 16
max_instances: 8

#set to minimums
resources:
2 changes: 0 additions & 2 deletions frontend/src/app/(site)/event/[event_id]/insightsTable.tsx
Original file line number Diff line number Diff line change
@@ -48,8 +48,6 @@ const columnHelper = createColumnHelper<TeamEventInsights>();
const detailedColumnHelper = createColumnHelper<DetailedTeamEventInsights>();

const PageEventInsightsTable = ({ eventId, data }: { eventId: string; data: EventData }) => {
console.log(data);

const [disableHighlight, setDisableHighlight] = useState(false);

const sortFunc = (a: TeamEventInsights, b: TeamEventInsights) => {
2 changes: 0 additions & 2 deletions frontend/src/app/(site)/match/[match_id]/table.tsx
Original file line number Diff line number Diff line change
@@ -29,8 +29,6 @@ const PageMatchTable = ({ data }: { data: MatchData }) => {
const blue2EventData = data.team_events.find((te) => te.team === blue2)?.epa?.breakdown;
const blue3EventData = data.team_events.find((te) => te.team === blue3)?.epa?.breakdown;

console.log(red1Data, red1EventData);

// Used for both upcoming and completed matches
const redPredTotal = data?.match?.pred?.red_score;
const bluePredTotal = data?.match?.pred?.blue_score;
2 changes: 0 additions & 2 deletions frontend/src/components/Figures/TeamLine.tsx
Original file line number Diff line number Diff line change
@@ -37,8 +37,6 @@ const TeamLineChart = ({
const lastEvent = filteredData[filteredData.length - 1]?.match.split("_")[0];
arr.push({ x: filteredData.length, event: lastEvent, label: "End", y: lastEPA });

console.log(arr);

let teamData = [
{
id: teamNum.toString(),
1 change: 0 additions & 1 deletion frontend/src/components/Figures/YearLine.tsx
Original file line number Diff line number Diff line change
@@ -92,7 +92,6 @@ const YearLineChart = ({
};

const currTeamYear = teamYears.find((teamYear) => teamYear.team === teamNum);
console.log(currTeamYear);
const lastEPA = yAxis.yearAccessor(currTeamYear);
teamData.data.push({ x: xAxis === "match" ? N : 1, label: "End", y: lastEPA });

0 comments on commit 5b01c32

Please sign in to comment.