Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to schemas and problem instances #21

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schemas/problem_instance.schema.0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"calendar_due_date",
"contact_info",
"problem_type",
"instance_data",
"tasks",
"status",
"superseded_by",
"application_domain",
Expand Down
18 changes: 8 additions & 10 deletions schemas/solution.schema.0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@
"classical_resources": {
"title": "Classical Resources",
"description": "Required classical compute resources. Values defined here are considered to override those of solver_details where conflict exists.",
"type": "object"
"type": "object",
"properties" : {
"ram_used_gb" : {
"title": "RAM (GB)",
"description": "Total RAM available for the computation, in GB.",
"type": "number"
},
}
}
},
"quantum_resources": {
Expand Down Expand Up @@ -185,9 +185,6 @@
"title": "Wall Clock Runtime",
"description": "A breakdown of start/stop wall clock time(s) reported according to ISO 8601 in UTC and duration in seconds. run_time is broken down into (1) overall_time, (2) preprocessing_time, (3), algorithm_run_time, and (4) postprocessing_time. See descriptions of each object.",
"type": "object",
"required": [
"overall_time"
],
"properties": {
"overall_time": {
"title": "Overall Wall Clock Time",
Expand Down Expand Up @@ -337,7 +334,7 @@
"classical_hardware_details": {
"title": "Classical Compute Hardware Details",
"description": "Details on the hardware used by the solver. All tasks are assumed to have the included values unless specified otherwise at the task level.",
"type": "object"
"type": "object",
"properties" : {
"cpu_description" : {
"title": "CPU Description",
Expand All @@ -363,7 +360,7 @@
"title": "Computing Environment Name",
"description": "Identifying name of computing environment (e.g. cluster or facility name), if relevant.",
"type": "string"
},
}
}

},
Expand Down Expand Up @@ -421,13 +418,14 @@
"solution_data": {
"items": {
"required": ["energy"],
"properties" : {
"runtime" : {
"required" : "overall_time"
"properties": {
"run_time": {
"required": ["overall_time"]
}
}
}
}
}
}

}
Loading