Help us shape the future of Go! Take the 2026 Go Developer Survey

judgecmd

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package judgecmd implements the "judge" CLI command: score an output against a JSON array of deterministic rule checks (SPEC-ADDITIONS §11). Exit 1 when hard is 0, so a script can branch on a failed behavioral check.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	Checks  string
	Output  string
	Flags   *ff.FlagSet
	Command *ff.Command
}

Config holds the configuration for the judge command.

func New

func New(parent *root.Config) *Config

New creates and registers the judge command with the given parent config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL