Skip to content

Wip dashboard#349

Open
bstuder wants to merge 45 commits intodevelopfrom
wip-dashboard
Open

Wip dashboard#349
bstuder wants to merge 45 commits intodevelopfrom
wip-dashboard

Conversation

@bstuder
Copy link
Collaborator

@bstuder bstuder commented Feb 18, 2026

Dashboard de-coupling: create & use only lomas json-RPC api

@PaulineMauryL
Copy link
Member

PaulineMauryL commented Feb 19, 2026

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  core/lomas_core/models
  collections.py
  requests.py
  server/lomas_server
  app.py
  constants.py
  server/lomas_server/admin_database
  admin_database.py
  local_database.py 81
  server/lomas_server/administration/dex
  dex_admin.py
  server/lomas_server/administration/scripts
  lomas_demo_setup.py 100-102
  server/lomas_server/administration/tests
  test_streamlit_app.py
  server/lomas_server/auth
  auth.py 99-102
  server/lomas_server/data_connector
  data_connector.py
  server/lomas_server/dp_queries
  dp_querier.py
  dummy_dataset.py
  server/lomas_server/dp_queries/dp_libraries
  diffprivlib.py
  opendp.py
  smartnoise_sql.py
  utils.py 63
  server/lomas_server/models
  config.py
  server/lomas_server/routes
  routes_admin.py 512-513, 636-639
  routes_dp.py
  utils.py 174-177
  server/lomas_server/tests
  test_api.py
  test_auth.py
  test_dex_admin.py
  utils.py
Project Total  

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

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

@bstuder bstuder force-pushed the wip-dashboard branch 4 times, most recently from 5119700 to f067573 Compare February 26, 2026 08:22
@bstuder bstuder force-pushed the wip-dashboard branch 2 times, most recently from ac1a7da to a632d19 Compare March 2, 2026 08:23
@bstuder bstuder force-pushed the wip-dashboard branch 8 times, most recently from ec98b8f to cbc7118 Compare March 5, 2026 08:13
@bstuder bstuder marked this pull request as ready for review March 5, 2026 08:16
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice to have those examples for functional programming.

Comment on lines -234 to -235
for col in datetime_columns:
dummy_df[col] = dummy_df[col].dt.strftime("%Y-%m-%dT%H:%M:%S")
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks for cleaning all this

process-compose = {
working_dir = "${config.env.DEVENV_ROOT}/server";
environment = [
"STREAMLIT_SERVER_PORT=${toString cfg.dashboard.port}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I we wanted to be picky I guess we could unify how we configure streamlit?


@dataset_must_exist
def set_dataset_metadata(self, dataset_name: str, yaml_file: Path) -> None:
metadata_dict = yaml.safe_load(yaml_file)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why sometimes hasattr(yaml_file, "resolve") and sometimes not?

clean=True,
yaml_file=user_yaml_file,
add_dex_users: IOResultE = flow(
config.dex_config, # DexAdminConfig | None
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for commenting!



@router.get("/datasets")
def list_datasets(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should these be docummented for the openapi docs?

lomas_app.state.admin_database = LocalAdminDatabase(path=config.admin_database_url)
logger.info("Loading authenticator")
lomas_app.state.authenticator = config.authenticator
lomas_app.state.bootstrap = config.bootstrap
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did I miss the endpoint to disable the boostrap?

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.

4 participants