Add geometry optimization evaluation metrics#719
Open
janosh wants to merge 14 commits into
Open
Conversation
Port Matbench Discovery scoring and artifact schemas without coupling evaluation to model execution or bundled prediction data.
Provide Matbench-compatible structure schemas, symmetry analysis, and aggregate metrics while keeping heavy dependencies optional.
Allow pytest framework filtering to select the imported Matbench Discovery suite.
Allow pytest framework filtering to select the imported Matbench Discovery suite.
Remove redundant copies and wrappers while preserving schema validation, metric semantics, and structure conversion behavior.
Consolidate energy preparation and fold overlapping regression tests without changing scoring behavior.
Wrap subset metrics with a schema version and Matbench Discovery source metadata so serialized outputs can evolve safely.
Add schema and Matbench Discovery version metadata to serialized geometry-optimization results.
Note the schema and source version fields included in serialized evaluation output.
Note the schema, framework, and runtime versions included in serialized analysis output.
Accept only the versioned JSON list encoding and corrected symmetry columns defined by the new schema.
Route all public scoring and subset APIs through artifact masking and rounding, leaving raw helpers private.
Document parameters and return values required by the repository's numpydoc validation hook.
Document parameters and return values required by the repository's numpydoc validation hook.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
geo-optextraDependencies
Test plan
pytest -q tests/metrics/test_geo_opt_metrics.py tests/structure/test_symmetry.py(52 passed)