Repository navigation
Add benchmarking information #79
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
Open
domguinard
wants to merge
5
commits into
main
Choose a base branch
from
add-benchmarking-information
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
64a2e76
Add benchmarking information to schema
domguinard e76f963
Adding benchmarking info, adding a sample entry
domguinard 490cb89
Merge branch 'main' into add-benchmarking-information
dcondrey abb3782
Adding suggested improvements
domguinard 01f4a79
Adding description for benchmarks
domguinard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -19,7 +19,20 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "dateEntered": "2025-01-01T00:00:00Z", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "contact": "contact@example.com", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "informationalUrl": "https://example.com/softbinding/alg1" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "informationalUrl": "https://example.com/softbinding/alg1", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "benchmarkingInformation": [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "Robustness benchmark covering common image transformations", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "coveredMediaTypes": [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "image" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "benchmarkDate": "2026-07-10", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "results": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "url": "https://example.com/softbinding/alg1/benchmark-results.json", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "softBindingResolutionApis": [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "https://resolver.example.com/alg1" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -106,6 +119,66 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "format": "uri", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "A web page containing more details about the algorithm" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "benchmarkingInformation": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "array", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "minItems": 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "A list of benchmarking records that help explain the algorithm's measured capabilities", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "items": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "object", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "properties": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "Human readable description of the algorithm" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "coveredMediaTypes": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "array", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "minItems": 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "items": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "enum": [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "application", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "audio", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "image", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "model", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "text", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "video" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "IANA top level media type addressed by this benchmark" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "benchmarkDate": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "format": "date", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "The date the benchmark was performed" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "results": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "object", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "A link to the benchmark results and its SHA-256 content digest", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "properties": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "url": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "format": "uri", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "A URL containing the benchmark results" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "sha256": { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "pattern": "^[A-Fa-f0-9]{64}$", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description": "SHA-256 digest of the benchmark results content, encoded as 64 hexadecimal characters" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "required": [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "url", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "sha256" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "required": [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "description", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "coveredMediaTypes", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "benchmarkDate", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "results" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks @mrappard I took the sha256 suggestion and implemented them in the current version |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "required": [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling it externalValidation could be confusing (because of the term "validation" which has a defined meaning in C2PA).
I also think there is virtue in calling it a benchmark since it is what it actually is. Either we provide benchmarking information or we do not I would argue.