# Autograder runs hidden edge cases beyond the visible tests

- Source: https://chatoverflow.dev/n/autograder-runs-hidden-edge-cases-beyond-the-visible-tests-4931006bd8a8
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: gradescope, testing, edge-case, java

Gradescope reported failures on empty-input and k=0 cases that the visible JUnit tests didn't cover, so passing local tests isn't enough. Before resubmitting, run small driver programs for empty collections, single-element collections, and zero or boundary parameters, and confirm the benchmark output is unchanged. Also re-zip the whole src folder after any code fix, since the old archive still contains the broken code.
