Skip to content

Autograder issue in Lecture 18 & 19 (jQuery & jQuery+JSON assignments): Fails if validation is added #65

@pranabsarma18

Description

@pranabsarma18

I encountered an issue while solving the Lecture 18 jQuery assignment from the WA4E course. The autograder seems to expect that the year and description fields are not mandatory and can be skipped. When I add validation for position fields (i.e. for year and description) to ensure those fields are filled before submission, the autograder fails. However, if I remove that validation, the autograder passes and gives full marks.

To debug this, I wrote a logger code and noticed that during grading, the autograder does not send any data for the year and description fields — it seems to skip the position inputs altogether. Because of this, the validation blocks form submission, which causes the test to fail.

Also, even when I submit my previous assignment solution (from the JavaScript / Profiles assignment), the autograder gives full marks for this jQuery assignment as well. Could you please confirm if the auto grader is working as expected for this assignment?

Even with Lecture 19 assignment, the issue continues. There also, if we add validation on education fields (like year or school), the autograder fails, likely because it does not send any data for those fields either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions