TA 1:1 - assign4

Written by Nick Troccoli, based on a writeup by Nick Troccoli, Peter Benitez and James Varah

Completed your 1:1? Please take a few minutes to fill out our feedback form here: click here. Your feedback is invaluable in helping improve 1:1s!

assign4 1-on-1s will take place from Mon Nov 16 through Thu Nov 19. Signups open Fri Nov 13 2:30 pm PT at this link: click here.

After assign4 is due, you'll meet 1:1 in-person for 15 minutes with the TA who graded your assign4 submission.

During this meeting the TA will bring up questions about your assignment implementation, your process for completing it, and why you made the design decisions you did on the assignment. This is your chance to show off your understanding of your own implementation and communicate about your process! This is also meant to provide practice for communicating about your work as you would do in other industry and project settings.

The motivation behind the 1:1s is to (1) help benefit assignment learnings as much as possible and put emphasis on both the process of completing the assignments as well as the completed work, (2) help build skills to communicate your work, and (3) provide a chance for more frequent check-ins and discussions about your work in the course.

For CGOE students, please see our CGOE TA 1:1s information in our CGOE handout here: click here.

IMPORTANT: Signups open on the course website on Fri Nov 13 2:30 pm PT at the link listed at the top of the page. You will see appointment slots only for the TA who graded your work. Your TA will have many available slots on campus throughout the week, at various times each day, to sign up (a fair bit more than the number of students who will be signing up for slots), to help provide slots that can work with your schedule. You can sign up for 1 appointment slot at a time, but can change appointment slot later if you'd like - you can change your selected slot as long as it is more than 24 hours prior to that appointment time. If you are a student with OAE accommodations for extended time on assessments/exams, the page will provide an option to sign up for an extended time slot. See "logistics" below for more information.

Logistics

Each TA will have slots available on various days during the week for you to sign up for a time to meet for your 1-on-1. Please bring a laptop (so that you and the TA can reference your code during the 1:1) - you can bring one if you have one, or email the Head TA if you aren't able to get one for your 1:1. The 1:1 is entirely oral; you won't be asked to write any code or write answers to questions.

TAs will list many available slots across the days when 1-on-1s are taking place, and with the large number of 1:1s, we ask that you do your best to be flexible in times that you may be able to sign up for. If you absolutely cannot attend any of the listed times, email your assigned TA with information about your conflict(s) to look into alternatives; however, because of the large number of 1:1s taking place, we ask that you please only email if you are absolutely not able to attend any listed times. We'll do our best to provide as wide a range of times as possible.

During each TA 1:1, the TA will use Zoom (with audio but no video) to record a transcript of the 1:1; the audio will be deleted, and only the Zoom autogenerated text transcript will be saved. Transcripts will be fully anonymized before being referenced or used. Transcripts can help evaluate the efficacy of TA 1:1s and to help iterate on future offerings of 1:1s.

If you would like to opt-out of having your transcript saved, you can fill out this form below - you only need to fill this form out once for all 1:1s during the quarter:

Transcript Opt-Out Form

Structure

The 1:1 will take about 15 minutes (with a few minutes at the end to optionally fill out a short feedback survey). The first half will discuss the Caltrain portion of the assignment, and the second half will discuss the Party portion of the assignment. The TA will spend equal time on both portions. A final few minutes will be reserved for time for you to ask any questions to your grader about the grading feedback for your assignment submission.

During each section of the 1:1, the TA will bring up questions about your implementation of that part of the assignment, your process for completing it, and why you made the design decisions you did. For example, there may be questions asking you to explain all or part of your code, how it behaves in or handles different cases, why you implemented it the way you did (e.g. why you locked in certain places, why you stored your state information in a particular way), if certain smaller-scale modifications (e.g. adjusting where you lock/unlock, notifying in different places) would or would not also work, considering possible race conditions that could occur in different scenarios or with certain smaller-scale changes, and similar kinds of questions, oriented around your submission, how you implemented it, and why. These are samples, and 1:1s will use a variety of questions throughout the 1:1 slots. In addition to this, per the Honor Code, please do not discuss the details of your 1:1 until after Thu Nov 19.

Preparing

The best way to prepare is to squeeze the most out of your work on assign4; here are some specific tips:

  • Understand every line of code you write and why: don't make a change unless you understand why it must be made, and why it works.
  • Orient yourself with the needed provided code: you should be particularly familiar with the structure and functionality of the Caltrain and Party classes.
  • Make the most of testing and debugging: as you're working, reflect on how you are approaching testing and debugging on this assignment. In particular, every bug is an opportunity to resolve a misconception or unintended issue; reflect on what you learned each time you resolve a bug, and why the fix you implemented solves the problem without introducing any new issues.
  • Reflect on big picture takeaways: you're implementing two monitor pattern classes - rock on! Take the time as you work to reflect on your accomplishment, and the big picture takeaways of synchronization (and the trickiness involved in eliminating race conditions), deciding what state to include in your monitor pattern class, understanding what different orderings of events are possible, and where and why to use mutexes and condition variables. As you go, ask yourself about the thinking behind your design; "why do I feel I need to lock here? why do I feel I need to use a condition variable here? is there a possible race condition? what ordering(s) of events would be possible that would cause a problem?"

Honor Code

The 1:1 is to be completed individually and without any assistance from any external resources (other than your own assignment code) such as online sources, tools, etc. Follow the Stanford Honor Code (see link on main course homepage) during the 1:1, and do not discuss your 1:1 with other students until after the final day of 1-on-1s for this assignment.

Grading

Each TA 1:1 is worth 2.5% of your overall grade. For the 1:1, grades will be assigned using a bucket system; each of the questions will receive a bucket score, from the following buckets:

  • Full credit: demonstrating a full and correct understanding, and an ability to think critically about the question
  • Partial credit: demonstrated ok understanding, but with some parts that could be improved or some areas that showed less strong understanding
  • 0: did not answer the question, or demonstrated little to no understanding

We don't disclose the specific numeric scores for the bucket system, but we expect most grades to be between full credit and partial credit overall.