Persist coding audit coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/SHA256SUMSAdded
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/config.jsonAdded
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/evidence.jsonAdded
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/report.jsonAdded+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/grader-transcript.jsonAdded+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/reward.rawAdded+3
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0000Added
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0001Added+21
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0002Added+377
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0003Added+5
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0004Added+5
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0005Added+5
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0006Added+5
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0007Added+5
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0008Added+8
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0009Added+5
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0010Added+5
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0011Added+3
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0012Added+3
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0013Added+51
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0014Added+51
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0015Added+4
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0016Added+10
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0017Added+42
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0018Added+3
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0019Added+3
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0020Added+46
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0021Added+43
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0022Added+8
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0023Added+13
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0024Added+75
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0025Added+39
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0026Added+6
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0027Added+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0028Added+4
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0029Added+8
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0030Added+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0031Added+7
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0032Added+48
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0033Added+33
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0034Added+6
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0035Added+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0036Added+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0037Added+91
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0038Added+4
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0039Added+10
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0040Added+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0041Added+1
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0042Added+3
- runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0043Added+5
1{"accepted":true,"budget":{"controller_jobs_max":1,"fresh_source_control_jobs":0,"generated_candidates":0,"inference_calls_max":576,"sandbox_jobs_max":8,"source_control_profile":"reused immutable HF semantic gate","target_attempts":4},"checks":{"artifact_integrity":{"reasons":[],"status":"pass"},"dedicated_leak_control_audit":{"reason":"privacy/isolation safeguards are separate; no dedicated leak audit performed","required":false,"runs":0,"status":"not_run"},"fresh_target_reliability":{"reasons":[],"status":"pass"},"generated_alternatives":{"reason":"explicit target-only control profile","required":false,"runs":0,"status":"not_run"},"privacy_isolation":{"reasons":[],"status":"pass"},"source_semantic_gate":{"fresh_negative_runs":0,"fresh_reference_runs":0,"immutable_report_path":"scale800_v1/20261112/gate-evidence/3110ef81b64825076ae5ce83/report.json","immutable_report_revision":"3afa3ffb350eae408cdc4962952452726a680559","immutable_report_sha256":"ff36f1220b6155ca7c6b3f2cd8279d939d86a90f5b63e7cc2092e3646af6bd17","profile":"harbor-semantic-jobs-v1","reasons":[],"reused_native_negative_runs":3,"reused_nop_runs":1,"reused_provided_oracle_runs":2,"reused_terminal_jobs":12,"status":"pass"},"target_difficulty":{"attempted":4,"completed":4,"difficulty":"mixed","failed":0,"infrastructure_errors":0,"latency_seconds_total":400.74935993691906,"missing":0,"mixed_success":true,"reasons":[],"reward_variance":0.1875,"solve_count":3,"solve_rate":0.75,"solve_rate_wilson95":[0.30064184258240184,0.9544127391902995],"status":"pass","telemetry_errors":[],"telemetry_invalid":{"input_tokens":0,"latency_seconds":0,"output_tokens":0},"telemetry_missing":{"input_tokens":0,"latency_seconds":0,"output_tokens":0},"truncated_attempts":1,"usage_totals":{"input_tokens":891386,"output_tokens":7723}}},"configuration_digest":"bb7f7fe71ed265f0991a7fc85864b5c2ceb0fe9f4d917a56b3b71d6177a7cad2","control_profile":"harbor-semantic-gate-targets-v1","generation_status":"not_run","limitations":["Supplemental coding audit; full RFC 008 qualification is not established.","Provider model source SHA does not attest served weights or deterministic sampling.","Image identities are control-plane immutable references, not runtime image attestations.","Sandbox RPC exposes its execution credential to the workload server; only reviewed workloads are supported.","Separate verifier Jobs do not prove submitted code cannot read or tamper with its grader."],"planned_target_attempt_ids":[0,1,2,3],"profile":"harbor-semantic-gate-targets-v1","protocol_id":"qwen38-auto48-64k-2m-nothink-r3-a4-v1","protocol_qualified":false,"rfc008_complete":false,"source_control_reuse_authorization":"direct_user_authorized","source_gate_jobs_receipt_sha256":"0461fa1b863affb97de5ce56f8eb5da339c34209e8942a98bc290b43c763b906","staged_not_authorized_live":false,"target":{"model":"Qwen/Qwen3.8-27B","provider":"deepinfra","revision":"37561816e66b5b9153b1b64c10968c18c1e6f4a0"},"task_digest":"d31fce52d1ff0da7cf2e3b0ad4fc617d1f1caa9c1a40afb9fb43af72c1eb77b1","trainability_established":false,"verdict":"pass","verifier_digest":"977ce8132915f6eb77081ee2c14fe434c06d4b20d1d35a4e8f56ae20fc542511"}1[{"exit_code":0,"output":"","output_truncated":false}]123version https://git-lfs.github.com/spec/v1oid sha256:4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865size 2123456789101112131415161718192021MIT License
Copyright (c) 2016, 2017 Christian Zangl
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377# hjson-go
[](https://github.com/hjson/hjson-go/actions)[](https://github.com/hjson/hjson-go/releases)[](https://goreportcard.com/report/github.com/hjson/hjson-go)[](https://gocover.io/github.com/hjson/hjson-go/)[](https://godoc.org/github.com/hjson/hjson-go/v4)

```{ # specify rate in requests/second (because comments are helpful!) rate: 1000
// prefer c-style comments? /* feeling old fashioned? */
# did you notice that rate doesn't need quotes? hey: look ma, no quotes for strings either!
# best of all notice: [] anything: ?
# yes, commas are optional!}```
The Go implementation of Hjson is based on [hjson-js](https://github.com/hjson/hjson-js). For other platforms see [hjson.github.io](https://hjson.github.io).
More documentation can be found at https://pkg.go.dev/github.com/hjson/hjson-go/v4
# Install
Instructions for installing a pre-built **hjson-cli** tool can be found at https://hjson.github.io/users-bin.html
If you instead want to build locally, make sure you have a working Go environment. See the [install instructions](https://golang.org/doc/install.html).
- In order to use Hjson from your own Go source code, just add an import line like the one here below. Before building your project, run `go mod tidy` in order to download the Hjson source files. The suffix `/v4` is required in the import path, unless you specifically want to use an older major version.```goimport "github.com/hjson/hjson-go/v4"```- If you instead want to use the **hjson-cli** command line tool, run the command here below in your terminal. The executable will be installed into your `go/bin` folder, make sure that folder is included in your `PATH` environment variable.```bashgo install github.com/hjson/hjson-go/v4/hjson-cli@latest```# Usage as command line tool```usage: hjson-cli [OPTIONS] [INPUT]hjson can be used to convert JSON from/to Hjson.
hjson will read the given JSON/Hjson input file or read from stdin.
Options: -bracesSameLine Print braces on the same line. -c Output as JSON. -h Show this screen. -indentBy string The indent string. (default " ") -j Output as formatted JSON. -omitRootBraces Omit braces at the root. -preserveKeyOrder Preserve key order in objects/maps. -quoteAlways Always quote string values. -v Show version.```
Sample:- run `hjson-cli test.json > test.hjson` to convert to Hjson- run `hjson-cli -j test.hjson > test.json` to convert to JSON
# Usage as a GO library
```go
package main
import ( "github.com/hjson/hjson-go/v4" "fmt")
func main() { // Now let's look at decoding Hjson data into Go // values. sampleText := []byte(` { # specify rate in requests/second rate: 1000 array: [ foo bar ] }`)
// We need to provide a variable where Hjson // can put the decoded data. var dat map[string]interface{}
// Decode with default options and check for errors. if err := hjson.Unmarshal(sampleText, &dat); err != nil { panic(err) } // short for: // options := hjson.DefaultDecoderOptions() // err := hjson.UnmarshalWithOptions(sampleText, &dat, options) fmt.Println(dat)
// In order to use the values in the decoded map, // we'll need to cast them to their appropriate type.
rate := dat["rate"].(float64) fmt.Println(rate)
array := dat["array"].([]interface{}) str1 := array[0].(string) fmt.Println(str1)
// To encode to Hjson with default options: sampleMap := map[string]int{"apple": 5, "lettuce": 7} hjson, _ := hjson.Marshal(sampleMap) // short for: // options := hjson.DefaultOptions() // hjson, _ := hjson.MarshalWithOptions(sampleMap, options) fmt.Println(string(hjson))}```
## Unmarshal to Go structs
If you prefer, you can also unmarshal to Go structs (including structs implementing the json.Unmarshaler interface or the encoding.TextUnmarshaler interface). The Go JSON package is used for this, so the same rules apply. Specifically for the "json" key in struct field tags. For more details about this type of unmarshalling, see the [documentation for json.Unmarshal()](https://pkg.go.dev/encoding/json#Unmarshal).
```go
package main
import ( "github.com/hjson/hjson-go/v4" "fmt")
type Sample struct { Rate int Array []string}
type SampleAlias struct { Rett int `json:"rate"` Ashtray []string `json:"array"`}
func main() { sampleText := []byte(` { # specify rate in requests/second rate: 1000 array: [ foo bar ] }`)
// unmarshal var sample Sample hjson.Unmarshal(sampleText, &sample)
fmt.Println(sample.Rate) fmt.Println(sample.Array)
// unmarshal using json tags on struct fields var sampleAlias SampleAlias hjson.Unmarshal(sampleText, &sampleAlias)
fmt.Println(sampleAlias.Rett) fmt.Println(sampleAlias.Ashtray)}```
## Comments on struct fields
By using key `comment` in struct field tags you can specify comments to be written on one or more lines preceding the struct field in the Hjson output. Another way to output comments is to use *hjson.Node* structs, more on than later.
```go
package main
import ( "github.com/hjson/hjson-go/v4" "fmt")
type foo struct { A string `json:"x" comment:"First comment"` B int32 `comment:"Second comment\nLook ma, new lines"` C string D int32}
func main() { a := foo{A: "hi!", B: 3, C: "some text", D: 5} buf, err := hjson.Marshal(a) if err != nil { fmt.Println(err) }
fmt.Println(string(buf))}```
Output:
```{ # First comment x: hi!
# Second comment # Look ma, new lines B: 3
C: some text D: 5}```
## Read and write comments
The only way to read comments from Hjson input is to use a destination variable of type *hjson.Node* or **hjson.Node*. The *hjson.Node* must be the root destination, it won't work if you create a field of type *hjson.Node* in some other struct and use that struct as destination. An *hjson.Node* struct is simply a wrapper for a value and comments stored in an *hjson.Comments* struct. It also has several convenience functions, for example *AtIndex()* or *SetKey()* that can be used when you know that the node contains a value of type `[]interface{}` or **hjson.OrderedMap*. All of the elements in `[]interface{}` or **hjson.OrderedMap* will be of type **hjson.Node* in trees created by *hjson.Unmarshal*, but the *hjson.Node* convenience functions unpack the actual values from them.
When *hjson.Node* or **hjson.Node* is used as destination for Hjson unmarshal the output will be a tree of **hjson.Node* where all of the values contained in tree nodes will be of these types:
* `nil` (no type)* `float64` (if *UseJSONNumber* == `false`)* *json.Number* (if *UseJSONNumber* == `true`)* `string`* `bool`* `[]interface{}`* **hjson.OrderedMap*
These are just the types used by Hjson unmarshal and the convenience functions, you are free to assign any type of values to nodes in your own code.
The comments will contain all whitespace chars too (including line feeds) so that an Hjson document can be read and written without altering the layout. This can be disabled by setting the decoding option *WhitespaceAsComments* to `false`.
```go
package main
import ( "fmt"
"github.com/hjson/hjson-go/v4")
func main() { // Now let's look at decoding Hjson data into hjson.Node. sampleText := []byte(` { # specify rate in requests/second rate: 1000 array: [ foo bar ] }`)
var node hjson.Node if err := hjson.Unmarshal(sampleText, &node); err != nil { panic(err) }
node.NK("array").Cm.Before = ` # please specify an array `
if _, _, err := node.NKC("subMap").SetKey("subVal", 1); err != nil { panic(err) }
outBytes, err := hjson.Marshal(node) if err != nil { panic(err) }
fmt.Println(string(outBytes))}```
Output:
```
{ # specify rate in requests/second rate: 1000 # please specify an array array: [ foo bar ] subMap: { subVal: 1 } }```
## Type ambiguity
Hjson allows quoteless strings. But if a value is a valid number, boolean or `null` then it will be unmarshalled into that type instead of a string when unmarshalling into `interface{}`. This can lead to unintended consequences if the creator of an Hjson file meant to write a string but didn't think of that the quoteless string they wrote also was a valid number.
The ambiguity can be avoided by using typed destinations when unmarshalling. A string destination will receive a string even if the quoteless string also was a valid number, boolean or `null`. Example:
```go
package main
import ( "github.com/hjson/hjson-go/v4" "fmt")
type foo struct { A string}
func main() { var dest foo err := hjson.Unmarshal([]byte(`a: 3`), &dest) if err != nil { fmt.Println(err) }
fmt.Println(dest)}```
Output:
```{3}```
String pointer destinations can be set to `nil` by writing `null` in an Hjson file. The same goes for a pointer destination of any type that implements `UnmarshalText()`.
## ElemTyper interface
If a destination type implements hjson.ElemTyper, Unmarshal() will call ElemType() on the destination when unmarshalling an array or an object, to see if any array element or leaf node should be of type string even if it can be treated as a number, boolean or null. This is most useful if the destination also implements the json.Unmarshaler interface, because then there is no other way for Unmarshal() to know the type of the elements on the destination. If a destination implements ElemTyper all of its elements must be of the same type.
Example implementation for a generic ordered map:
```go
func (o *OrderedMap[T]) ElemType() reflect.Type { return reflect.TypeOf((*T)(nil)).Elem()}```
## Max nesting depth
In order to avoid stack overflow all unmarshal-functions return an error if the Hjson input contains a tree more than 10000 levels deep. This is the same limit as in the Go standard library package `encoding/json`.
# API
[](https://godoc.org/github.com/hjson/hjson-go/v4)
# History
[see releases](https://github.com/hjson/hjson-go/releases)12345{ uescape: "\u0000,\u0001,\uffff" "um\u000blaut": äöüßÄÖÜ hex: ģ䕧覫췯ꯍ}12345{ "uescape": "\u0000,\u0001,", "um\u000blaut": "äöüßÄÖÜ", "hex": "ģ䕧覫췯ꯍ"}12345{ uescape: "\u0000,\u0001,\uffff" "um\u000blaut": äöüßÄÖÜ hex: "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A"}12345{ ql-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ js-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ml-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~}12345{ "ql-ascii": "! \"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~", "js-ascii": "! \"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~", "ml-ascii": "! \"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"}12345678{ ql-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ js-ascii: "! \"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ml-ascii: ''' ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ '''}12345{ uescape: "\u0000,\u0001,\uffff" "um\u000blaut": äöüßÄÖÜ hex: ģ䕧覫췯ꯍ}12345{ ql-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ js-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ml-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~}123// before/* before2 */ 3 // after1// after2123// before/* before2 */ a string value // still part of the string// after2123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051// before/* before2 */ [ #before1 /*key1keycm*/a string value // still part of the string /* key2keycm */ "a string value" // not part of the string // map1before /* map1key */ {}//map2after {} { // map3 inner comment } [] // map4before /*map4key*/{ /* map4inner */ } // map4after //map5before /*map5key*/ { //map5ab4 val5a: /* map5akey */ 1 // map5aAfter val5b: 2 /* map5bb4comma */ #map5bAfter #map5extra } /* map5after */ // vec1bbefore /* vec1bkey */ []//vec1bafter [] [ // vec3 inner comment ] // vec4before /*vec4key*/[ /* vec4inner */ ] // vec4after //vec5before /*vec5key*/ [ //vec5ab4 1 // vec5aAfter 2 /* vec5bb4comma */ #vec5bAfter #vec5extra ] /* map5after */ // before3
3 # after3 # before4 /*before4b*/4/*after4*/ #after4b]// after2
/* after3 */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051// before/* before2 */ { #before1 key1:/*key1keycm*/a string value // still part of the string key2: /* key2keycm */ "a string value" // not part of the string // map1before map1: /* map1key */ {}//map2after map2: {} map3: { // map3 inner comment } vec1: [] // map4before map4:/*map4key*/{ /* map4inner */ } // map4after //map5before map5: /*map5key*/ { //map5ab4 val5a: /* map5akey */ 1 // map5aAfter val5b: 2 /* map5bb4comma */ #map5bAfter #map5extra } /* map5after */ // vec1bbefore vec1b: /* vec1bkey */ []//vec1bafter vec2: [] vec3: [ // vec3 inner comment ] // vec4before vec4:/*vec4key*/[ /* vec4inner */ ] // vec4after //vec5before vec5: /*vec5key*/ [ //vec5ab4 1 // vec5aAfter 2 /* vec5bb4comma */ #vec5bAfter #vec5extra ] /* map5after */ // before3
key3: 3 # after3 # before4 /*before4b*/key4: 4/*after4*/ #after4b}// after2
/* after3 */1234// before/* before2 */ 3 // after1// after2
12345678910{# comment beforeb: /* key comment */ { sub1: 3 # comment after sub2: 4 # comment more after } # cm after obj// Comment B4a: 2/* Last comment */}123456789101112131415161718192021222324252627282930313233343536373839404142// test# all// comment/*styles*/# with lf
# !
{ # hjson style comment foo1: This is a string value. # part of the string foo2: "This is a string value." # a comment
// js style comment bar1: This is a string value. // part of the string bar2: "This is a string value." // a comment
/* js block style comments */foobar1:/* more */This is a string value./* part of the string */ /* js block style comments */foobar2:/* more */"This is a string value."/* a comment */ rem1: "# test" rem2: "// test" rem3: "/* test */" num1: 0 # comment num2: 0 // comment num3: 2 /* comment */ true1: true # comment true2: true // comment true3: true /* comment */ false1: false # comment false2: false // comment false3: false /* comment */ null1: null # comment null2: null // comment null3: null /* comment */ str1: 00 # part of the string str2: 00.0 // part of the string str3: 02 /* part of the string */}123{ "": empty}123{ bigInt: 144115188075855870}12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ # the comma forces a whitespace check numbers: [ 0 0 0 42 42.1 -5 -5.1 1701 -1701 12.345 -12.345 ] native: [ true true false false null null ] strings: [ x 0 .0 00 01 0 0 0 42 x 42.1 asdf 1.2.3 -5 0 - -5.1 -- 17.01e2 + -17.01e2 : 12345e-3 @ -12345e-3 $ true true x true false false x false null null x null ]}12345678910111213141516171819202122232425262728293031323334353637383940414243{ # unquoted keys unquoted_key: test _unquoted: test test-key: test -test: test .key: test # trailing spaces in key names are ignored trailing: test trailing2: test # comment char in key name "#c1": test "foo#bar": test "//bar": test "foo//bar": test "/*foo*/": test "foo/*foo*/bar": test "/*": test "foo/*bar": test # quotes in key name "\"": test "foo\"bar": test "'''": test "foo'''bar": test "'": test "'foo": test "foo'bar": test # control char in key name ":": test "foo:bar": test "{": test "foo{bar": test "}": test "foo}bar": test "[": test "foo[bar": test "]": test "foo]bar": test # newline nl1: test nl2: test nl3: test}12345678{ foo: ''' bar joe oki doki two tabs '''}12345678910111213[ a {} {} [] [] { b: 1 c: [] d: {} } []]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475[ JSON Test Pattern pass1 { "object with 1 member": [ array with 1 element ] } {} [] -42 true false null { integer: 1234567890 real: -9876.54321 e: 1.23456789e-13 E: 1.23456789e+34 -: 2.3456789012e+76 zero: 0 one: 1 space: " " quote: '''"''' backslash: \ controls: "\b\f\n\r\t" slash: / & / alpha: abcdefghijklmnopqrstuvwyz ALPHA: ABCDEFGHIJKLMNOPQRSTUVWYZ digit: 0123456789 0123456789: digit special: `1~!@#$%^&*()_+-={':[,]}|;.</>? hex: ģ䕧覫췯ꯍ true: true false: false null: null array: [] object: {} address: 50 St. James Street url: http://www.JSON.org/ comment: "// /* <!-- --" "# -- --> */": " " " s p a c e d ": [ 1 2 3 4 5 6 7 ] compact: [ 1 2 3 4 5 6 7 ] jsontext: '''{"object with 1 member":["array with 1 element"]}''' quotes: " " %22 0x22 034 " "/\\\"쫾몾ꮘﳞ볚\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?": A key can be any string } 0.5 98.6 99.44 1066 10 1 0.1 1 2 2 rosebud]123456789101112131415161718192021222324252627282930313233343536373839[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ Not too deep ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ]]123456{ "JSON Test Pattern pass3": { "The outermost value": must be an object or array. "In this test": It is an object. }}1101234{ bigDouble: 9.223372036854776e+58 bigInt: 9.223372036854776e+58}12345678{ a: 1 b: 2 c: 3 d: /*cm1*/ 4 /*cm2 */ e: /* cm3*/ 5 /* cm 4 */ f: 6}1allow quoteless strings1234567{// a object with the root braces omitteddatabase: { host: 127.0.0.1 port: 555 }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748// test if stringify produces correct output{ quotes: { num1: "1,2" num2: "-1.1 ," num3: "1e10 ,2" num4: "-1e-10," kw1: "true," kw2: "false ," kw3: "null,123" close1: "1}" close1b: "1 }" close2: "1]" close2b: "1 ]" close3: "1," close3b: "1 ," comment1: "1#str" comment2: "1//str" comment3: "1/*str*/" punc1: "{" punc1b: "{foo" punc2: "}" punc2b: "}foo" punc3: "[" punc3b: "[foo" punc4: "]" punc4b: "]foo" punc5: "," punc5b: ",foo" punc6: ":" punc6b: ":foo" } noquotes: { num0: .1,2 num1: 1.1.1,2 num2: -.1, num3: 1e10e,2 num4: -1e--10, kw1: true1, kw2: false0, kw3: null0, close1: a} close2: a] comment1: a#str comment2: a//str comment3: a/*str*/ }}123456789101112131415161718192021222324252627282930313233{ # Hjson 3 allows the use of single quotes
key1: a key in single quotes "key 2": a key in single quotes "key \"": a key in single quotes text: [ single quoted string '''You need quotes for escapes''' " untrimmed " "untrimmed " containing " double quotes containing " double quotes containing " double quotes '''"containing more " double quotes"''' containing ' single quotes containing ' single quotes containing ' single quotes "'containing more ' single quotes'" "'containing more ' single quotes'" "\n" " \n" "\n \n \n \n" "\t\n" ]
# escapes/no escape
foo3a: asdf''' foo3b: "'''asdf" foo4a: "asdf'''\nasdf" foo4b: "asdf\n'''asdf"}123456{ // Empty string a: "" // Unicode code points that require escape inside quotes. b: "\u00ad\u0600\u0604\u070f\u17b4\u17b5\u200c\u200f\u2028\u202f\u2060\u206f\ufeff\ufff0\uffff"}1""1""12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091{ # simple
text1: This is a valid string value. text2: a \ is just a \ text3: '''You need quotes for escapes''' text4a: " untrimmed " text4b: " untrimmed" text4c: "untrimmed " notml1: "\n" notml2: " \n" notml3: "\n \n \n \n" notml4: "\t\n"
# multiline string
multiline1: ''' first line indented line last line ''' multiline2: ''' first line indented line last line ''' multiline3: ''' first line indented line last line
''' # trailing lf multiline4: ←→±≠Я
# escapes/no escape
foo1a: asdf\"'a\s\w foo1b: asdf\"'a\s\w foo1c: asdf\"'a\s\w foo2a: '''"asdf"''' foo2b: '''"asdf"''' foo3a: asdf''' foo3b: "'''asdf" foo4a: "asdf'''\nasdf" foo4b: "asdf\n'''asdf"
# in arrays arr: [ one two three four ]
# not strings not: { number: 5 negative: -4.2 yes: true no: false null: null array: [ 1 2 3 4 5 6 7 8 9 0 -1 0.5 ] }
# special quoted special: { true: "true" false: "false" null: "null" one: "1" two: "2" minus: "-3" zero: "0" }}1234{ // the following line contains trailing whitespace: foo: 0 -- this string starts at 0 and ends at 1, preceding and trailing whitespace is ignored -- 1}12345678910{ ql-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ js-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ml-ascii: ! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ newline: ''' 1 2 '''}1313123// before/* before2 */ 3 // after1// after212345{ uescape: "\u0000,\u0001,\uffff" "um\u000blaut": äöüßÄÖÜ hex: ģ䕧覫췯ꯍ}runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/SHA256SUMSAdded
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/config.jsonAdded
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/evidence.jsonAdded
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/report.jsonAdded+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/grader-transcript.jsonAdded+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/reward.rawAdded+3
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0000Added
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0001Added+21
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0002Added+377
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0003Added+5
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0004Added+5
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0005Added+5
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0006Added+5
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0007Added+5
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0008Added+8
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0009Added+5
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0010Added+5
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0011Added+3
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0012Added+3
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0013Added+51
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0014Added+51
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0015Added+4
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0016Added+10
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0017Added+42
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0018Added+3
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0019Added+3
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0020Added+46
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0021Added+43
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0022Added+8
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0023Added+13
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0024Added+75
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0025Added+39
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0026Added+6
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0027Added+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0028Added+4
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0029Added+8
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0030Added+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0031Added+7
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0032Added+48
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0033Added+33
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0034Added+6
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0035Added+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0036Added+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0037Added+91
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0038Added+4
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0039Added+10
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0040Added+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0041Added+1
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0042Added+3
runs/coding-11f8a0b2edc916917cb83bd81c7fcbb3ef58add277dadf441b02e8772c6c2d34/audit/trials/0000/submission/0043Added+5