Giter VIP home page Giter VIP logo

pe's People

Contributors

yeohhq avatar

Watchers

 avatar

pe's Issues

Able to 'unflag' a student that was not 'flagged'

Original state: Aaron is already present, hence 'flagatt 1' does not 'flag' him out. (i.e. he is not 'flagged')
Screenshot 2020-11-13 at 5.04.44 PM.png

Input: unflagatt 1

Output: Aaron was unflagged despite originally not being flagged, and his attendance has also changed to 'absent', not sure if this was the intended use of 'flag'?

Screenshot 2020-11-13 at 5.05.33 PM.png

Reference:
Screenshot 2020-11-13 at 5.07.37 PM.png
UG description suggests that you should only be able to unflag a student that was successfully 'flagged'.

Command 'delstudent' name matches existing student but with whitespaces in input

This issue is a feature flaw about the 'delstudent' command.

Input:
delstudent grp/g04 name/david chong matric/A0123456D
(there are multiple whitespaces between 'david' and 'chong' above, but CATcher seems to not be able to display it)

Output:
Screenshot 2020-11-13 at 4.41.57 PM.png

Rationale:
Perhaps parser should be able to parse individual strings in the name input to match despite there being whitespaces in between as your other commands seem to be able to handle inputs with unnecessary whitespaces.

In this case, the input should match student at index 4.

UG Documentation for 'flagatt"

Input: flagatt 1

Output:
Screenshot 2020-11-13 at 5.01.58 PM.png

Suggestion:
Perhaps it would be good to add into the UG for this command that a student must be absent for the 'flagatt' command to work as a command pre-requisite.

Minor documentation bug: 'addscore'

Input: addscore 1 score/5

Output:
Screenshot 2020-11-13 at 5.10.57 PM.png

Suggestion:
Perhaps it would be good to indicate in the UG that a student must be present before the 'addscore' command can be used on them.

Ability to mark already 'absent' student as absent again

This issue is about a feature flaw for 'markabsent' command.

Input: markabsent name/Aaron Tan matric/A0123456A

Output 1 (first time using input above):
Screenshot 2020-11-13 at 4.51.00 PM.png

Output 2 (second time using input above again immediately after Output 1):

  • Yields the exact same screen where Aaron Tan's attendance is marked as absent again.

Rationale:
Perhaps it there should be an exception thrown where the application handles cases where the user tries to update the existing student's attendance when they are already of the same attendance status. (i.e. if already 'absent', inform with an exception such as " with is already marked as absent!")

'markpresent all' and 'markabsent all' does not update the UI list shown

This issue is about a functionality bug where marking the attendance using 'markpresent all' and 'markabsent all' does not update the UI student attendance list once command is input.

Input: markabsent all

Output:
Screenshot 2020-11-13 at 4.46.50 PM.png

Rationale:
The output should show all students attendance to be false since the result display already shows 'Attendance of all students marked absent!'.

Command: 'addlsn' lesson number restriction to only take single digit

This issue reports a feature flaw/suggestion where I believe it would be logical to accept a larger range of values for the lesson number for 'addlsn' command.

Input: addlsn grp/g04 lsn/00-10

Output:
Screenshot 2020-11-13 at 4.30.33 PM.png

Rationale:
For the lesson number, perhaps it should be able to accept numbers with more than one digit (e.g. if the tutor is conducting multiple lesson throughout the current week for different teams).

Ability to edit invalid question

Input:
addqn qn/.
delqn 1
editqn 1

Output:
Screenshot 2020-11-13 at 5.14.39 PM.png

Rationale:
Question does not exist, hence it should throw the correct error for invalid question to edit!

[DG] Formatting issues

The DG formatting is a little off as the text is cut off on the right hand side (line after 'Guarantees: ..."), this occurs for more than one of the use cases at the bottom of the DG.

Screenshot 2020-11-13 at 5.28.07 PM.png

Command: 'addlsn' week number display suggestion

This issue reports a feature suggestion for the 'addlsn' command.

Input: addlsn grp/g04 lsn/00-1

Output:
Screenshot 2020-11-13 at 4.25.21 PM.png

Rationale: I believe that the UG uses 'XX-Y' seen below, which the application shows the correct error message, but '00' would probably be better to translate into just '0', or should not be accepted if lessons should start naming from index 1.

Screenshot 2020-11-13 at 4.23.40 PM.png

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.