Closed zhxchd closed 4 years ago
You may want to have a look at this commit, which was committed by me 7 days ago, at here. I think I included assertions in this commit.
We go by what's shown in the cod dashboard. Check if any asserts are included in the code that is shown as your code in the code dashboard.
We go by what's shown in the cod dashboard. Check if any asserts are included in the code that is shown as your code in the code dashboard.
I just checked the reposense code dashboard. I found the commit (named Add assertions
, on 2020-10-20, can check at here). This is the commit I mentioned in the previous comment. The screenshot is shown below
Inside this commit, you can find there are assert()
used in my code.
I just checked the reposense code dashboard. I found the commit (named
Add assertions
, on 2020-10-20, can check at here). This is the commit I mentioned in the previous comment. The screenshot is shown below
It doesn't matter if the commit is detected as past commits can be overwritten by later commits. What matters is the code view which shows the final state of the code. Check if those lines are shown under your name in the code view (click on the </>
icon to see the code view)
It doesn't matter if the commit is detected as past commits can be overwritten by later commits. What matters is the code view which shows the final state of the code. Check if those lines are shown under your name in the code view (click on the
</>
icon to see the code view)
I checked the code and it shows something like this.
Only the assert() lines are not highlighted as green, does this mean that the assertions are not detected as my code? I think it is because that someone else in the group make changes after I wrote the code because last week this item was detected as done but not this week. If I use the author
tags to indicate these lines are actually my code, will the system detect this and mark this item as done (it is now marked as overdue)? Thanks prof!
Only the assert() lines are not highlighted as green, does this mean that the assertions are not detected as my code? I think it is because that someone else in the group make changes after I wrote the code because last week this item was detected as done but not this week. If I use the
author
tags to indicate these lines are actually my code, will the system detect this and mark this item as done (it is now marked as overdue)? Thanks prof!
Yes, that should work @zhXchD The item will turn back to green if you do that.
I remember that last week when I checked the tp dashboard the "assertions" tag has been marked as done. While now as I check the dashboard, it says overdue. I did use a few assertions in last week's commits which have been merged into master last week. May I check why this happened? My GitHub name is
zhXchD
, student number isA0194512H
and my Git author name isZhu Xiaochen <zhuxiaochen1005@gmail.com>
.