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

feat(attribute-completeness): improve attribute-completeness for single attribute #810

Merged
merged 31 commits into from
Aug 29, 2024

Conversation

Gigaszi
Copy link
Collaborator

@Gigaszi Gigaszi commented Jul 22, 2024

Description

Corresponding issue

Closes #
#805

New or changed dependencies

Checklist

  • I have updated my branch to main (e.g. through git rebase main)
  • My code follows the style guide and was checked with pre-commit before committing
  • I have commented my code
  • I have added sufficient unit and integration tests
  • I have updated the CHANGELOG.md

TODO

  • Let's put attribute metadata information also into /metadata as with the other metadata.
  • Fix figure (needle and figure heading)
  • Make attribute request parameter optional for other indicators. This request parameter should be required for the Attribute Completeness
  • Take a look at swagger → Swagger should not have Attribute Completeness indicator as example. Example should not container a attribute key.
  • Add Attribute Enum and use it pydantic request models to generate a clean OpenAPI spec
  • Add validation of topic-attribute combination to attribute-completeness

The UI-related tasks were moved to an issue in the Ohsome Dashboard project:

GIScience/ohsome-dashboard#42

Some forward-looking backend-related tasks were moved to a new issue:

#819

mmerdes added a commit that referenced this pull request Aug 28, 2024
mmerdes added a commit that referenced this pull request Aug 28, 2024
mmerdes added a commit that referenced this pull request Aug 28, 2024
@sfendrich sfendrich changed the title feat(attribute-completeness): add functionality to use multiple attributes and combine them to one filter feat(attribute-completeness): improve attribute-completeness for single attribute Aug 29, 2024
mmerdes added a commit that referenced this pull request Aug 29, 2024
mmerdes added a commit that referenced this pull request Aug 29, 2024
mmerdes added a commit that referenced this pull request Aug 29, 2024
mmerdes added a commit that referenced this pull request Aug 29, 2024
#810

Co-authored-by: Sascha Fendrich <[email protected]>
Gigaszi and others added 21 commits August 29, 2024 13:19
… `attribute`

discuss with @matthiasschaub if the new parameter should rather be optional
…uest param named attribute

discuss with @matthiasschaub if the new parameter should rather be optional
discuss with @matthiasschaub if the new parameter should rather be optional
@mmerdes mmerdes force-pushed the attribute-completeness-enhancement branch from ee363ae to f47ced3 Compare August 29, 2024 11:48
@mmerdes mmerdes requested review from sfendrich and mmerdes August 29, 2024 11:52
Copy link
Collaborator

@mmerdes mmerdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review jointly done by @Gigaszi, @sfendrich, and @mmerdes

ohsome_quality_api/utils/validators.py Outdated Show resolved Hide resolved
tests/integrationtests/api/test_indicators.py Outdated Show resolved Hide resolved
tests/integrationtests/api/test_indicators.py Outdated Show resolved Hide resolved
mmerdes and others added 2 commits August 29, 2024 14:54
#810

Co-authored-by: Sascha Fendrich <[email protected]>
Co-authored-by: Gigaszi <[email protected]>
Copy link
Collaborator

@mmerdes mmerdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@mmerdes mmerdes merged commit 6f087b4 into main Aug 29, 2024
2 checks passed
@mmerdes mmerdes deleted the attribute-completeness-enhancement branch August 29, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants