Skip to content

CSVW-SAFE Implementation#357

Merged
PaulineMauryL merged 20 commits intodevelopfrom
metadata_extension
Apr 15, 2026
Merged

CSVW-SAFE Implementation#357
PaulineMauryL merged 20 commits intodevelopfrom
metadata_extension

Conversation

@PaulineMauryL
Copy link
Copy Markdown
Member

Just for testing, not open PR

@PaulineMauryL PaulineMauryL changed the title rough conversion, all metadata to tablemetadata from csvw-safe CSVW-SAFE Implementation Mar 31, 2026
@PaulineMauryL PaulineMauryL force-pushed the metadata_extension branch 2 times, most recently from 38c381d to 8dfae30 Compare April 2, 2026 16:05
@PaulineMauryL
Copy link
Copy Markdown
Member Author

PaulineMauryL commented Apr 9, 2026

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  client/lomas_client
  client.py 95, 103, 107-109, 116-124, 137, 142, 215
  http_client.py
  client/lomas_client/tests
  test_integrations.py
  core/lomas_core/models
  constants.py
  server/lomas_server
  app.py
  constants.py
  server/lomas_server/admin_database
  admin_database.py
  local_database.py 120-121, 241, 248-250
  server/lomas_server/administration/dex
  dex_admin.py
  server/lomas_server/administration/tests
  test_streamlit_app.py
  server/lomas_server/data_connector
  data_connector.py
  s3_connector.py 52-55
  server/lomas_server/dp_queries
  dp_querier.py
  dummy_dataset.py
  server/lomas_server/dp_queries/dp_libraries
  diffprivlib.py 80-83, 96
  opendp.py 75-79
  smartnoise_sql.py 125, 130
  utils.py
  server/lomas_server/routes
  routes_admin.py
  routes_dp.py
  utils.py
  server/lomas_server/tests
  test_api.py
  test_api_opendp_polars.py
  test_api_smartnoise_sql.py
  test_dex_admin.py
Project Total  

The report is truncated to 25 files out of 34. To see the full report, please visit the workflow summary page.

This report was generated by python-coverage-comment-action

@PaulineMauryL
Copy link
Copy Markdown
Member Author

I plan to put csvw-safe in pypi after documenting it and then I will modify the imports requirements.
Otherwise, it is ready for review.

@PaulineMauryL PaulineMauryL marked this pull request as ready for review April 9, 2026 15:51
@bstuder bstuder force-pushed the metadata_extension branch from f9eea27 to e4607be Compare April 9, 2026 16:05
Comment thread client/lomas_client/client.py Outdated
Comment thread server/lomas_server/dp_queries/dummy_dataset.py
Comment thread server/lomas_server/tests/test_api_smartnoise_sql.py Outdated
Comment thread pyproject.toml Outdated
lomas-core = { workspace = true }
lomas-client = { workspace = true }
lomas-server = { workspace = true }
csvw-safe = { git = "https://github.com/dscc-admin-ch/csvw-safe.git", subdirectory = "csvw-safe-library", rev = "add_column_group_invariance" }
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As you mentioned this is pypa-blocking right ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes I think that's why the push to Pypi workflow fails. I think it will work once the other library is on pypi and I remove it from here (i just want to do the documentation before uploading to pypi)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread docs/source/server_managing_dataset.rst
Comment thread server/lomas_server/admin_database/local_database.py Outdated
Comment thread server/lomas_server/administration/tests/test_streamlit_app.py
Comment thread server/lomas_server/data_connector/data_connector.py
Comment thread core/lomas_core/opendp_utils.py Outdated
Comment thread core/lomas_core/opendp_utils.py Outdated
Copy link
Copy Markdown
Collaborator

@LancelotMarti LancelotMarti left a comment

Choose a reason for hiding this comment

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

Very nice PR! Thanks :)

Copy link
Copy Markdown
Collaborator

@bstuder bstuder left a comment

Choose a reason for hiding this comment

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

LGTM (waiting on @csvw-safe/ release and 👍 )

@PaulineMauryL PaulineMauryL merged commit d305fc8 into develop Apr 15, 2026
14 checks passed
@PaulineMauryL PaulineMauryL deleted the metadata_extension branch April 15, 2026 09:33
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