Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 52 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
source venv_test/bin/activate
export _GRID2OP_FORCE_TEST=1
cd grid2op/tests/
python -m unittest -v test_Agent test_AgentsFast test_recopowerlineperarea
python -m unittest -v test_Agent test_AgentsFast test_recopowerlineperarea test_Opponent test_baseline_alert

test_converter:
executor: grid2op-executor
Expand Down Expand Up @@ -168,8 +168,8 @@ jobs:
source venv_test/bin/activate
export _GRID2OP_FORCE_TEST=1
cd grid2op/tests/
python -m unittest -v test_attached_envs test_attached_envs_compat test_l2rpn_idf_2023 test_MultiMix test_timeOutEnvironment test_MaskedEnvironment test_MakeEnv test_multi_steps_env test_simenv_blackout test_get_default_env_kwargs

python -m unittest -v test_attached_envs test_attached_envs_compat test_l2rpn_idf_2023 test_MultiMix test_timeOutEnvironment test_MaskedEnvironment test_MakeEnv test_multi_steps_env test_simenv_blackout test_get_default_env_kwargs test_Environment test_EnvironmentCpy test_generate_classes test_basic_env_ls
test_alert_alarm:
executor: grid2op-executor
resource_class: small
Expand All @@ -195,6 +195,54 @@ jobs:
cd grid2op/tests/
python -m unittest -v test_AlarmFeature test_alert_gym_compat test_alert_obs_act test_alert_trust_score test_AlertReward

test_time_series:
executor: grid2op-executor
resource_class: small
steps:
- checkout
- run: apt-get update -y
- run: python -m pip install virtualenv
- run: python -m virtualenv venv_test
- run:
command: |
source venv_test/bin/activate
pip install -U pip setuptools wheel
- run:
command: |
source venv_test/bin/activate
pip install -e .[test]
pip freeze
- run:
command: |
source venv_test/bin/activate
export _GRID2OP_FORCE_TEST=1
cd grid2op/tests/
python -m unittest -v test_ts_handlers test_ChronicsHandler test_env_from_episode

test_backend:
executor: grid2op-executor
resource_class: small
steps:
- checkout
- run: apt-get update -y
- run: python -m pip install virtualenv
- run: python -m virtualenv venv_test
- run:
command: |
source venv_test/bin/activate
pip install -U pip setuptools wheel
- run:
command: |
source venv_test/bin/activate
pip install -e .[test]
pip freeze
- run:
command: |
source venv_test/bin/activate
export _GRID2OP_FORCE_TEST=1
cd grid2op/tests/
python -m unittest -v test_ts_handlers test_basicBackendInterface test_action_set_orig_state test_PandaPowerBackendDefaultFunc test_PandaPowerBackend test_BackendAction

test_issue:
executor: grid2op-executor
resource_class: small
Expand Down Expand Up @@ -602,6 +650,7 @@ workflows:
- test_env_general
- test_alert_alarm
- test_issue
- test_time_series
- legacy_lightsim_old_pp
- legacy_lightsim
- test_chronix2grid
Expand Down
1 change: 1 addition & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ exclude_paths:
- '*.md'
- "examples/**"
- "getting_started/**"
- utils/**
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
strategy:
matrix:
python:
- {
name: cp38,
abi: cp38,
version: '3.8',
}
# - {
# name: cp38,
# abi: cp38,
# version: '3.8',
# }
- {
name: cp39,
abi: cp39,
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ Native multi agents support:
- add detachment
- add change_bus / set_bus

[1.12.5] 2026-xx-yy
--------------------
- [FIXED] license issues in the documentation
- [IMPROVED] tests splitting to reduce the duration on circle ci
- [IMPROVED] handling of redispatching as a separate module now
(grid2op/Environment/dispatch)
- [IMPROVED] remove the use of "assert" block in the main codebase

[1.12.4] - 2026-04-28
----------------------
Expand Down
130 changes: 130 additions & 0 deletions docs/_static/colors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
/*
SPDX-License-Identifier: MPL-2.0
This file is part of Grid2Op, Grid2Op a testbed platform to model sequential decision making in power systems.
*/

/*Allow to add some custom colors and text decoration.
For example, :black:`text in black` or :blink:`text blinking` in rST. */

.aqua {
color: aqua;
}

.black {
color: black;
}

.blue {
color: blue;
}

.cyan {
color: cyan;
}

.fuchsia {
color: fuchsia;
}

.gray {
color: gray;
}

.green {
color: green;
}

.lime {
color: lime;
}

.magenta {
color: magenta;
}

.maroon {
color: maroon;
}

.navy {
color: navy;
}

.olive {
color: olive;
}

.orange {
color: orange;
}

.pink {
color: pink;
}

.purple {
color: purple;
}

.red {
color: red;
}

.silver {
color: silver;
}

.teal {
color: teal;
}

.white {
color: white;
}

.yellow {
color: yellow;
}


/** font type **/

.blink {
text-decoration: blink;
}

.it {
font-style: italic;
}

.large {
font-size: large;
}

.line {
text-decoration: line-through;
}

.ob {
font-style: oblique;
}

.over {
text-decoration: overline;
}

.small {
font-size: small;
}

.smallpar {
font-size: small;
}

.strike {
text-decoration: line-through;
}

.under {
text-decoration: underline;
}
Loading