Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development/lab 7 #216

Merged
merged 82 commits into from Mar 8, 2023
Merged

Development/lab 7 #216

merged 82 commits into from Mar 8, 2023

Conversation

notcruz
Copy link
Contributor

@notcruz notcruz commented Feb 15, 2023

  • No discrepancies across browsers. Eg. chrome vs safari
  • Pages pass W3C Validation for HTML (https://validator.w3.org)
  • CSS (https://jigsaw.w3.org/css-validator/)
  • Google sign-in is operational
  • Accessibility functions
  • Pages can scale without distorting page
  • No dead links
  • Navbar is consistent across the site
  • Pages are screen-reader accessible
  • Contrast meets standards for accessibility
  • Pages are keyboard accessible
  • Passes WAVE Evaluation Tool chrome extension

@Mster115
Copy link
Contributor

Screenshot 2023-02-28 at 8 38 57 AM

Also could you add a button at the bottom that allows transition to an exercise end wrapping up what they learned and turning gamestate back to idle so they can navigate the site.

@Mster115
Copy link
Contributor

Screenshot 2023-02-28 at 8 38 57 AM

Also could you add a button at the bottom that allows transition to an exercise end wrapping up what they learned and turning gamestate back to idle so they can navigate the site.

At the end it should also have a button that returns the exercise to the exercise start page, or to the reinforcement page whatever makes the most sense.

Copy link
Contributor

@Mster115 Mster115 left a comment

Choose a reason for hiding this comment

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

Final remarks above

Copy link
Contributor

@AndreasLc1103 AndreasLc1103 left a comment

Choose a reason for hiding this comment

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

Some minor fixes. also, could you include it in the git ignore to ignore changes to the eslintrcs

client/src/components/exercise/lab7/components/Code.js Outdated Show resolved Hide resolved
client/src/components/exercise/lab7/Main.js Outdated Show resolved Hide resolved
client/src/services/lab7/RepairService.js Outdated Show resolved Hide resolved
@notcruz
Copy link
Contributor Author

notcruz commented Mar 1, 2023

Lab 7 Review

More Info

Nice job with this. It is very clear and concise.

  • Would this sound better as either "through a cybersecurity lens." or "with a focus on cybersecurity." ?
image

About

Looks good! I just noticed a missing comma (below).

image

Reading

Excellent job with the reading section, I found it incredibly informative. I only have a couple of small comments.

  • Would this sound better without the second "to you" ? ie, "Whether cybersecurity seems interesting to you, or irrelevant, anyone who uses the internet ..."
image
  • Great statistic!
image

With the rise of AI chatbots like ChatGPT, scammers can quickly and cheaply produce more convincing phishing emails and webpages. It might be worth including something about this in the reading section.

  • This would be binary classification. There are other forms of classification, such as multi-class classification. This might be rephrased as: "The algorithm categorizes the output into distinct classes: yes or no, true or false, or a letter of the alphabet (in a letter recognition model)."
image

Exercise

Instructions

The instructions are rather dense. I think they would benefit from some white space between nested bullet sections.

  • Is this meant to say 'sensitivity level'?
image

Exercise

  • These were all home address, resulting in the message staying the same each time.
image
  • Clicking update doesn't appear to do anything. It was only when I scrolled up that I saw the message that the fixed was applied. This could be fixed by having the page scroll up when the fix is successful.
image

I don't see the utility of going through the repair section multiple times since the inputs only ask for a specific value. Is there something I'm missing?

After applying the fix, the AI was still marked as having made many mistakes. Overall I had a hard time grokking how the activity worked, specifically around the connection between a file's sensitivity level and whether it should be open or locked for a particular threat level.

Reinforcement

The last two reinforcement videos are around 18 minutes long. Because of this, the likelihood that a user will follow through and watch them is low. Here are a couple alternatives that might be considered:

Quiz

  • These two sentences are missing a subject ("models").
image
  • "Machine learning models are expensive to develop and to use" - "Machine learning models need to perform well to replace humans in the workplace"

Thanks for the review! Updated the lab accordingly.

@notcruz
Copy link
Contributor Author

notcruz commented Mar 1, 2023

Small change before merge, can the repair close after update button is submitted successfully to make next button more prominent. Also follows format of other labs

Updated functionality

@notcruz
Copy link
Contributor Author

notcruz commented Mar 1, 2023

Screenshot 2023-02-28 at 8 38 57 AM Also could you add a button at the bottom that allows transition to an exercise end wrapping up what they learned and turning gamestate back to idle so they can navigate the site.

At the end it should also have a button that returns the exercise to the exercise start page, or to the reinforcement page whatever makes the most sense.

Updated and Fixed

notcruz added a commit that referenced this pull request Mar 1, 2023
notcruz added a commit that referenced this pull request Mar 1, 2023
@Mster115
Copy link
Contributor

Mster115 commented Mar 3, 2023

Screenshot 2023-02-28 at 8 38 57 AM Also could you add a button at the bottom that allows transition to an exercise end wrapping up what they learned and turning gamestate back to idle so they can navigate the site.

At the end it should also have a button that returns the exercise to the exercise start page, or to the reinforcement page whatever makes the most sense.

Updated and Fixed

@notcruz is there a button that goes to an exercise end page? or a return to beginning of exercise?

@notcruz
Copy link
Contributor Author

notcruz commented Mar 3, 2023

Screenshot 2023-02-28 at 8 38 57 AM Also could you add a button at the bottom that allows transition to an exercise end wrapping up what they learned and turning gamestate back to idle so they can navigate the site.

At the end it should also have a button that returns the exercise to the exercise start page, or to the reinforcement page whatever makes the most sense.

Updated and Fixed

@notcruz is there a button that goes to an exercise end page? or a return to beginning of exercise?

Yeah, the state is updated to EXERCISE_IDLE. Are you running on the latest changes? I'll have Dom check it out as well.

image

@Mster115
Copy link
Contributor

Mster115 commented Mar 5, 2023

Screenshot 2023-02-28 at 8 38 57 AM Also could you add a button at the bottom that allows transition to an exercise end wrapping up what they learned and turning gamestate back to idle so they can navigate the site.

At the end it should also have a button that returns the exercise to the exercise start page, or to the reinforcement page whatever makes the most sense.

Updated and Fixed

@notcruz is there a button that goes to an exercise end page? or a return to beginning of exercise?

Yeah, the state is updated to EXERCISE_IDLE. Are you running on the latest changes? I'll have Dom check it out as well.

image

@notcruz addressed offline waiting for change

Copy link
Collaborator

@stthazin stthazin left a comment

Choose a reason for hiding this comment

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

I just wanted to point out some typos - very brief review

"Home Address":
"Someone’s home address was stolen during the security breach. As a result of the breach, an identity thief was able to change the individual’s mailing address and reroute their mail to another address. This autonomous system decision-mistake caused a case of address fraud.",
"Mother Maiden Name":
"Someone’s mother's maiden was stolen during the security breach. As a result of the breach, an identity thief was able to answer the individual's security questions for all their accounts. This autonomous system decision-mistake caused a case of hacking and identity fraud.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you meant to say "maiden name"

"Mother Maiden Name":
"Someone’s mother's maiden was stolen during the security breach. As a result of the breach, an identity thief was able to answer the individual's security questions for all their accounts. This autonomous system decision-mistake caused a case of hacking and identity fraud.",
"Full Name":
"Someone’s full was stolen during the security breach. As a result of the breach, an identity thief was able to sign up and create fake accounts under the individual's name. This autonomous system decision-mistake caused a case of identity fraud.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

same thing here - "full name"

export const THREAT_LEVEL_TEXT = { 1: "Low", 2: "Medium", 3: "High" };

export const MESSAGES = {
SSN: "Someone’s social security number was stolen during the security breach. As a result of the breach, an identity thief was able to steal an individual's identity. This autonomous system decision-mistake caused a case of indentity theft.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo in "identity" at the end

Copy link
Collaborator

@stthazin stthazin left a comment

Choose a reason for hiding this comment

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

Just some more grammatical things

client/src/components/exercise/lab7/components/File.js Outdated Show resolved Hide resolved
</li>
<li>
At the end, a summary report containing all of the information
displayed throughout the simulation will be displayed
Copy link
Collaborator

Choose a reason for hiding this comment

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

full stop at the end?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm a bit confused here, what do you mean?

Copy link
Contributor

Choose a reason for hiding this comment

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

"." a period at the end I believe
@notcruz

<p className={"playthrough__sentence"}>
Your goal should be to implement a utility equation into the
autonomous system. The utility equation is calculated by
weighting the reward of a decision and the cost of making said
Copy link
Collaborator

Choose a reason for hiding this comment

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

"weighing" instead of "weighting"

</p>
<p className="playthrough__sentence">
This is due to the factors of the files that the AI is using to
determine in a file&lsquo;s access should be restricted or not.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is "determine if" instead of "in"?


export const POPUP_MESSAGES = {
INVALID_EXPRESSION: "You must pass a valid expression.",
ZERO_DIVISION: "Zero division is not allowed.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

"Division by zero" is the correct term I think

export const ROUND_LIMIT = 10;

export const POPUP_MESSAGES = {
INVALID_EXPRESSION: "You must pass a valid expression.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

"pass in"

@notcruz
Copy link
Contributor Author

notcruz commented Mar 7, 2023

Looking into a bug that causes the modal div to still be on the Elements Tree even though the div is disabled.

@notcruz
Copy link
Contributor Author

notcruz commented Mar 8, 2023

Looking into a bug that causes the modal div to still be on the Elements Tree even though the div is disabled.

Found this issue online. I believe the bug came from the setTimeout invocations, which updated the states at the wrong times. I updated/fixed the timing, which has fixed the problem.

@Mster115
Copy link
Contributor

Mster115 commented Mar 8, 2023

NOTES: For now everything seems fine, possible typos addressed in hotfix, and addressing repair page instructions

@Mster115 Mster115 merged commit 2d881f2 into dev Mar 8, 2023
@AndreasLc1103 AndreasLc1103 deleted the development/Lab-7 branch September 19, 2023 01:55
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.

Lab 7: AI Security
9 participants