Giter Club home page Giter Club logo

pe's People

Contributors

javiery3889 avatar

Watchers

 avatar

pe's Issues

Constructor method should not have `new` keyword

In the following sequence diagram under the "Sequence Diagrams Illustrating Exam Modification" section, the constructor method should be AddExamCommand(e) instead following the Class() format in the textbook here.
Screenshot 2024-04-19 at 17.26.25.png

Supported prefixes for find command not stated in UG

Describe the bug

In the program itself, the supported prefixes are stated in the command usage as shown below.
Screenshot 2024-04-19 at 16.39.01.png

In contrast, this is not explicitly stated in the UG, as shown below.
Screenshot 2024-04-19 at 16.39.58.png

Suggested fix

Perhaps it would be better to state the supported prefixes in the UG as well.

Steps to reproduce

find

No error thrown for single-digit INDEX with prefix "0" for `delete`

Describe the bug

The UG currently states the following for the delete command:

Screenshot 2024-04-19 at 16.58.49.png

If the user enters a single digit INDEX with a prefix string of "0" prepended, the command still runs successfully.

Steps to reproduce

Assume that the list has at least one person
delete 0000000001

Expected

Throw an error for invalid INDEX

Actual

Person at index 1 is deleted successfully

Suggested fix

Perhaps it would be better to reject such instances and throw an error for invalid index instead

Case sensitivity not mentioned in exam names in UG

Describe the bug

TheaddExam command section in the UG currently is as follows:
Screenshot 2024-04-19 at 16.48.20.png

However, this definition of duplicate names is not clearly defined, as users are able to enter the same exam name with differing case with no error.

Steps to reproduce

addExam n|Midterm s|1000000
addExam n|midterm s|1

Expected

Product displays an error for duplicate exam names

Actual

Screenshot 2024-04-19 at 16.52.20.png

Suggested fix

Perhaps it would be better to mention that exam names are case sensitive in the UG

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.