Skip to content

Assignment 1#1

Merged
elioc1341 merged 7 commits intomainfrom
assignment
Apr 12, 2025
Merged

Assignment 1#1
elioc1341 merged 7 commits intomainfrom
assignment

Conversation

@elioc1341
Copy link
Owner

@elioc1341 elioc1341 commented Apr 10, 2025

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

  • From the base assignment, learning to put all the lessons into practice altogether such as:
  • Git basics (making folders/files, changing working directory, creating lists, copying, moving/renaming)
  • Git and Github functions (staging, committing, pushing, pull requests, merging, conflict resolution)

What did you learn from the changes you have made?

  • The biggest takeaway is learning how to get comfortable with using the commands both individually and together. Also getting comfortable with the expectations of using the terminal and Github.
  • Also learning how to diagnose error messages - generally they are intuitive, but can also google to check.
  • Also learning to save more often. Had the computer crash once and lost my work, and also tried adding before properly saving my changes to my work.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

  • One other approach was to utilize loops for questions 5/6 and 7.
  • For question 5/6, a loop could be used to copy files using the key words server/user/event into the respective log folders, since they are all direct child folders of data/processed
  • For question 7, a loop could be used to remove the ipaddr files that looped through the two folders data/raw and data/processed/user_logs.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

  • I wasn't initially sure how to handle question 8 - I know how to create a text file and a list separately, but not together. I did a bit of googling and reading on stack overflow and did some testing to be sure it was working the way I needed it to.
  • I also should have been saving more - probably every coder learns this eventually. First time my computer crashed while I was debugging and I lost my work from not saving since the beginning. However by that point I already had a good understanding of how I needed to complete the assignment.
  • Also occurred when I tried doing a pull request but errors were forming because I did not properly save before staging my changes. Lesson learned.

How were these changes tested?

For questions that did not pass the auto checker, I would debug the individual line of code(s) within the terminal while checking the results in file explorer to learn and confirm visually.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • I can confirm that my changes are working as intended

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Autograder results

question status comment
Part 1 - Q1
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3 ls command not run
Part 1 - Q4 Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Autograder results

question status comment
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7 One or more files with ipaddr in data/raw not removed.; One or more files with ipaddr in data/processed/user_logs not removed
Part 1 - Q8 data/inventory.txt does not exist
Part 2

Please address the issues listed above.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Autograder results

question status comment
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2

Please address the issues listed above.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Autograder results

question status
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7
Part 1 - Q8
Part 2

@elioc1341 elioc1341 merged commit 79226e5 into main Apr 12, 2025
2 checks passed
@elioc1341 elioc1341 changed the title Finished question 1 on assignment Assignment 1 Apr 12, 2025
@elioc1341 elioc1341 mentioned this pull request Apr 12, 2025
@l-mack
Copy link

l-mack commented Apr 16, 2025

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.

3 participants