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

Adding Shop result explorer streamlit app #482

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

eriklien
Copy link
Contributor

Description

Adding streamlit app for exploring Shop results as a toolkit module.

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.85%. Comparing base (aca3186) to head (210b0a5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #482      +/-   ##
==========================================
+ Coverage   44.83%   44.85%   +0.01%     
==========================================
  Files         344      344              
  Lines       29556    29556              
==========================================
+ Hits        13252    13256       +4     
+ Misses      16304    16300       -4     

see 2 files with indirect coverage changes

Copy link

Toolkit dry run triggered: 12538274878

Build status: success
Dry run status: success
Resync purge status: success

╭──────────────────────────────────────────────────────────────────╮
│ Checkingresource files from cdf-tk-build directory.              │
│                                                                  │
│ Connected to CDF Project power-ops-staging in cluster bluefield: │
│   CDF_CLUSTER=bluefield                                          │
│   CDF_PROJECT=power-ops-staging                                  │
│   CDF_URL=https://bluefield.cognitedata.com                      │
│   IDP_SCOPES=https://bluefield.cognitedata.com/.default          │
│   IDP_AUDIENCE=https://bluefield.cognitedata.com                 │
│                                                                  │
╰──────────────────────────────────────────────────────────────────╯
Would deploy 3 spaces to CDF...
 spaces: Untouched ['power_ops_instances', 'power_ops_core', 'power_ops_types']

Would deploy 31 containers to CDF...
 containers: Untouched 31 items

Would deploy 64 views to CDF...
 views: Untouched 64 items

Would deploy 12 data models to CDF...
 data models: Untouched 12 items

Would deploy 552 nodes to CDF...
 nodes: Untouched 552 items

Would deploy 621 edges to CDF...
 edges: Untouched 621 items

                              Summary of Resources Deploy operation:                               
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┓
┃                                ┃   Would have ┃   Would have ┃   Would have ┃           ┃       ┃
┃                       Resource ┃      Created ┃      Deleted ┃      Changed ┃ Untouched ┃ Total ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━┩
│                     containers │            0 │            0 │            0 │        31 │    31 │
│                    data models │            0 │            0 │            0 │        12 │    12 │
│                          edges │            0 │            0 │            0 │       621 │   621 │
│                          nodes │            0 │            0 │            0 │       552 │   552 │
│                         spaces │            0 │            0 │            0 │         3 │     3 │
│                          views │            0 │            0 │            0 │        64 │    64 │
└────────────────────────────────┴──────────────┴──────────────┴──────────────┴───────────┴───────┘
                   Summary of Data Deploy operation (data is always uploaded):                    
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃   Resource ┃ Would have Uploaded Data ┃       Item Type ┃ From files ┃ Would have Deleted Data ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ containers │                        - │ nodes and edges │          - │                       0 │
│      edges │                        - │           edges │          - │                       0 │
│      nodes │                        - │           nodes │          - │                       0 │
│     spaces │                        - │ nodes and edges │          - │                       0 │
└────────────┴──────────────────────────┴─────────────────┴────────────┴─────────────────────────┘

Resync Purge dry run
NODES to be deleted:

  • GeneratorEfficiencyCurve: 12
  • TurbineEfficiencyCurve: 15
  • MarketConfiguration: 1
  • PriceAreaInformation: 1
  • BidConfigurationDayAhead: 3
  • ShopAttributeMapping: 361
  • ShopCommands: 1
  • ShopModel: 104
  • ShopScenarioSet: 5
  • ShopBasedPartialBidConfiguration: 9
  • DateSpecification: 9
    EDGES to be deleted:
  • ShopScenarioSet.scenarios: 108
  • ShopAttributeMapping: 117
  • ShopOutputTimeSeriesDefinition: 327
  • ShopModel.cogShopFilesConfig: 4
  • ShopModel.baseAttributeMappings: 4
  • BidConfiguration.partials: 18
  • isSubAssetOf: 15
    Purge Summary:
  • Found 521 nodes in total to delete.
  • Found 593 edges in total to delete.
    Dry run mode enabled. Exiting without deleting any data.

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.

2 participants