Skip to content

Conversation

@ladriennel
Copy link
Collaborator

@ladriennel ladriennel commented Oct 5, 2025

Summary

  • Updated semester from Spring 2025 to Fall 2025
  • Removed dev advisor checks since that is no longer a coffee chat category
  • Ran script to update new coffee chat suggestions
  • Adjusted tests to reflect these changes

Linear

coffee chat suggestions

Test plan

  • Go to coffee chat bingo board
  • Check that each category has populated suggestions, no duplicate names (newbies should be easy to verify for accuracy of suggestions)

Note

I wanted to make a pr to merge the script since we would need to use it every semester (originally from Chris's branch).

Also right now, we need to manually check for members who make multiple submissions to the google form or submit their name in lowercase (generally just validate the data). Do we want to handle those cases in the script? Or since it's not too much work it's fine?

@ladriennel ladriennel requested a review from a team as a code owner October 5, 2025 20:33
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dti-github-bot
Copy link
Member

dti-github-bot commented Oct 5, 2025

[diff-counting] Significant lines: 140.

Copy link
Contributor

@jane-leon jane-leon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good Adrienne, just fixing the formatting of some lines is needed!


require('dotenv').config();

import { configureAccount } from '../src/utils/firebase-utils';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would move this to the top of the file along with the other imports.


import { configureAccount } from '../src/utils/firebase-utils';

//const serviceAcc = require('../resources/cornelldti-idol-firebase-adminsdk-ifi28-9aaca97159.json');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For comments, make sure to add a space after '//'

.map((mem) => ({ name: `${mem.firstName} ${mem.lastName}`, netid: mem.netid }));

const getMembersByCategory = async () => {
//update csv path to current suggestions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same suggestion here with the comments .

const main = async () => {
const membersByCategory = await getMembersByCategory();

const members = await memberPromise;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really great Adrienne! I did notice that you fetch members both here and in the getMembersByCategory function (line 45). I would suggest passing members as a parameter instead to avoid redundant fetching. Otherwise, great job!

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.

6 participants