Skip to content

fmorriso/CodeHS-AutoGrader-Print-Every-Third

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

CodeHS Autograder example AP CS A - 6.2.8 - Print Every Third Index

A CodeHS Autograder example based on Unit 6 of AP CS A - problem 6.2.8 Print Every Third Index

Tools Used

Tool Version
Java 23.0.1.0
IntelliJ 2024.3.1
VSCode 1.96.2
json 20250107

Change History

Date Description
2025-01-12 Initial creation
2025-01-13 Rename top level directory

References

Developer Notes

The following JSON library JAR file is referenced and needs to be present to run this code stand-alone:

<component name="libraryTable">
  <library name="json" type="repository">
    <properties maven-id="org.json:json:20250107" />
    <CLASSES>
      <root url="jar://$MAVEN_REPOSITORY$/org/json/json/20250107/json-20250107.jar!/" />
    </CLASSES>
    <JAVADOC />
    <SOURCES />
  </library>
</component>

What Mother (CodeHS) Never Told You About Customizing Java Autograders

  1. There are multiple main programs. Ignore the one in ConsoleProgram.java.
  2. Most of your work will be performed in grader.java.
    1. They use far too many "magic strings"that have to repeat in several places instead of well chosen variable names. This make is extremely difficult to change the name of the existing tests or add new ones.
  3. If all possible, try to develop a local stand-alone test harness on your own laptop, but make sure you download the extra JAR file to support JSON.

About

CodeHS AutoGrader Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages