Skip to content

Commit

Permalink
[#216] Ryan's review implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
notcruz committed Mar 1, 2023
1 parent 61396c3 commit 23b819f
Show file tree
Hide file tree
Showing 17 changed files with 634 additions and 633 deletions.
20 changes: 12 additions & 8 deletions client/src/components/exercise/lab7/components/Code.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,6 @@ class Code extends Component {
</div>

<div className="code_editor__code">
<div className="code_editor__line">
{/* AI file description comment */}
<span className="code_editor__line--darkgreen">
&#47;&#47; This is where you can change the equation that the AI
makes decisions with to improve its accuracy.
</span>
</div>

{/* import React, Component from react */}
<div className="code_editor__line">
<span className="code_editor__line--purple">import&nbsp;</span>
Expand Down Expand Up @@ -204,6 +196,18 @@ class Code extends Component {
</div>

{/* makeDecision(){ */}
<div className="code_editor__line">
{/* AI function comment */}
<span className="code_editor__line--darkgreen">
&#47;&#47; Here is where you will update the equation to improve the AI&lsquo;s accuracy
</span>
</div>
<div className="code_editor__line">
{/* AI function comment */}
<span className="code_editor__line--darkgreen">
&#47;&#47; Feel free to add other math operations to improve its accuracy
</span>
</div>
<div className="code_editor__line">
<span>&nbsp;&nbsp;</span>
<span className="code_editor__line--yellow">makeDecision</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ Collapsible.propTypes = {
fileName: PropTypes.string,
content: PropTypes.string,
sensitivityLevel: PropTypes.number,
accessStatus: PropTypes.string,
decision: PropTypes.string,
result: PropTypes.string,
report: PropTypes.string,
Expand Down
1 change: 0 additions & 1 deletion client/src/components/exercise/lab7/components/File.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ File.propTypes = {
fileName: PropTypes.string,
content: PropTypes.string,
sensitivityLevel: PropTypes.number,
accessStatus: PropTypes.string,
decision: PropTypes.string,
result: PropTypes.string,
report: PropTypes.string,
Expand Down

0 comments on commit 23b819f

Please sign in to comment.